@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Telegram Bot API
@base https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
@version 5.0.0
@endpoints 74
@hint download_for_search
@toc getUpdates(1), setWebhook(1), deleteWebhook(1), getWebhookInfo(1), getMe(1), logOut(1), close(1), sendMessage(1), forwardMessage(1), copyMessage(1), sendPhoto(1), sendAudio(1), sendDocument(1), sendVideo(1), sendAnimation(1), sendVoice(1), sendVideoNote(1), sendMediaGroup(1), sendLocation(1), editMessageLiveLocation(1), stopMessageLiveLocation(1), sendVenue(1), sendContact(1), sendPoll(1), sendDice(1), sendChatAction(1), getUserProfilePhotos(1), getFile(1), kickChatMember(1), unbanChatMember(1), restrictChatMember(1), promoteChatMember(1), setChatAdministratorCustomTitle(1), setChatPermissions(1), exportChatInviteLink(1), setChatPhoto(1), deleteChatPhoto(1), setChatTitle(1), setChatDescription(1), pinChatMessage(1), unpinChatMessage(1), unpinAllChatMessages(1), leaveChat(1), getChat(1), getChatAdministrators(1), getChatMembersCount(1), getChatMember(1), setChatStickerSet(1), deleteChatStickerSet(1), answerCallbackQuery(1), setMyCommands(1), getMyCommands(1), editMessageText(1), editMessageCaption(1), editMessageMedia(1), editMessageReplyMarkup(1), stopPoll(1), deleteMessage(1), sendSticker(1), getStickerSet(1), uploadStickerFile(1), createNewStickerSet(1), addStickerToSet(1), setStickerPositionInSet(1), deleteStickerFromSet(1), setStickerSetThumb(1), answerInlineQuery(1), sendInvoice(1), answerShippingQuery(1), answerPreCheckoutQuery(1), setPassportDataErrors(1), sendGame(1), setGameScore(1), getGameHighScores(1)

@group getUpdates
@endpoint POST /getUpdates
@optional {offset: int, limit: int=100, timeout: int=0, allowed_updates: [str]}
@returns(200) {ok: bool, result: [map]}

@endgroup

@group setWebhook
@endpoint POST /setWebhook
@returns(200) {ok: bool, result: bool}

@endgroup

@group deleteWebhook
@endpoint POST /deleteWebhook
@optional {drop_pending_updates: bool}
@returns(200) {ok: bool, result: bool}

@endgroup

@group getWebhookInfo
@endpoint POST /getWebhookInfo
@returns(200) {ok: bool, result: map{url: str, has_custom_certificate: bool, pending_update_count: int, ip_address: str, last_error_date: int, last_error_message: str, max_connections: int, allowed_updates: [str]}}

@endgroup

@group getMe
@endpoint POST /getMe
@returns(200) {ok: bool, result: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}}

@endgroup

@group logOut
@endpoint POST /logOut
@returns(200) {ok: bool, result: bool}

@endgroup

@group close
@endpoint POST /close
@returns(200) {ok: bool, result: bool}

@endgroup

@group sendMessage
@endpoint POST /sendMessage
@required {chat_id: any, text: str}
@optional {parse_mode: str, entities: [map{type!: str, offset!: int, length!: int, url: str, user: map, language: str}], disable_web_page_preview: bool, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group forwardMessage
@endpoint POST /forwardMessage
@required {chat_id: any, from_chat_id: any, message_id: int}
@optional {disable_notification: bool}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group copyMessage
@endpoint POST /copyMessage
@required {chat_id: any, from_chat_id: any, message_id: int}
@optional {caption: str, parse_mode: str, caption_entities: [map{type!: str, offset!: int, length!: int, url: str, user: map, language: str}], disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int}}

@endgroup

@group sendPhoto
@endpoint POST /sendPhoto
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendAudio
@endpoint POST /sendAudio
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendDocument
@endpoint POST /sendDocument
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendVideo
@endpoint POST /sendVideo
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendAnimation
@endpoint POST /sendAnimation
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendVoice
@endpoint POST /sendVoice
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendVideoNote
@endpoint POST /sendVideoNote
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendMediaGroup
@endpoint POST /sendMediaGroup
@returns(200) {ok: bool, result: [map]}

@endgroup

@group sendLocation
@endpoint POST /sendLocation
@required {chat_id: any, latitude: num, longitude: num}
@optional {horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group editMessageLiveLocation
@endpoint POST /editMessageLiveLocation
@required {latitude: num, longitude: num}
@optional {chat_id: any, message_id: int, inline_message_id: str, horizontal_accuracy: num, heading: int, proximity_alert_radius: int, reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: any}

@endgroup

@group stopMessageLiveLocation
@endpoint POST /stopMessageLiveLocation
@optional {chat_id: any, message_id: int, inline_message_id: str, reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: any}

@endgroup

@group sendVenue
@endpoint POST /sendVenue
@required {chat_id: any, latitude: num, longitude: num, title: str, address: str}
@optional {foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendContact
@endpoint POST /sendContact
@required {chat_id: any, phone_number: str, first_name: str}
@optional {last_name: str, vcard: str, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendPoll
@endpoint POST /sendPoll
@required {chat_id: any, question: str, options: [str]}
@optional {is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_parse_mode: str, explanation_entities: [map{type!: str, offset!: int, length!: int, url: str, user: map, language: str}], open_period: int, close_date: int, is_closed: bool, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendDice
@endpoint POST /sendDice
@required {chat_id: any}
@optional {emoji: str(🎲/🎯/🏀/⚽/🎰)=🎲, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: any}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group sendChatAction
@endpoint POST /sendChatAction
@required {chat_id: any, action: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group getUserProfilePhotos
@endpoint POST /getUserProfilePhotos
@required {user_id: int}
@optional {offset: int, limit: int=100}
@returns(200) {ok: bool, result: map{total_count: int, photos: [[map]]}}

@endgroup

@group getFile
@endpoint POST /getFile
@required {file_id: str}
@returns(200) {ok: bool, result: map{file_id: str, file_unique_id: str, file_size: int, file_path: str}}

@endgroup

@group kickChatMember
@endpoint POST /kickChatMember
@required {chat_id: any, user_id: int}
@optional {until_date: int}
@returns(200) {ok: bool, result: bool}

@endgroup

@group unbanChatMember
@endpoint POST /unbanChatMember
@required {chat_id: any, user_id: int}
@optional {only_if_banned: bool}
@returns(200) {ok: bool, result: bool}

@endgroup

@group restrictChatMember
@endpoint POST /restrictChatMember
@required {chat_id: any, user_id: int, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}}
@optional {until_date: int}
@returns(200) {ok: bool, result: bool}

@endgroup

@group promoteChatMember
@endpoint POST /promoteChatMember
@required {chat_id: any, user_id: int}
@optional {is_anonymous: bool, can_change_info: bool, can_post_messages: bool, can_edit_messages: bool, can_delete_messages: bool, can_invite_users: bool, can_restrict_members: bool, can_pin_messages: bool, can_promote_members: bool}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setChatAdministratorCustomTitle
@endpoint POST /setChatAdministratorCustomTitle
@required {chat_id: any, user_id: int, custom_title: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setChatPermissions
@endpoint POST /setChatPermissions
@required {chat_id: any, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}}
@returns(200) {ok: bool, result: bool}

@endgroup

@group exportChatInviteLink
@endpoint POST /exportChatInviteLink
@required {chat_id: any}
@returns(200) {ok: bool, result: str}

@endgroup

@group setChatPhoto
@endpoint POST /setChatPhoto
@returns(200) {ok: bool, result: bool}

@endgroup

@group deleteChatPhoto
@endpoint POST /deleteChatPhoto
@required {chat_id: any}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setChatTitle
@endpoint POST /setChatTitle
@required {chat_id: any, title: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setChatDescription
@endpoint POST /setChatDescription
@required {chat_id: any}
@optional {description: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group pinChatMessage
@endpoint POST /pinChatMessage
@required {chat_id: any, message_id: int}
@optional {disable_notification: bool}
@returns(200) {ok: bool, result: bool}

@endgroup

@group unpinChatMessage
@endpoint POST /unpinChatMessage
@required {chat_id: any}
@optional {message_id: int}
@returns(200) {ok: bool, result: bool}

@endgroup

@group unpinAllChatMessages
@endpoint POST /unpinAllChatMessages
@required {chat_id: any}
@returns(200) {ok: bool, result: bool}

@endgroup

@group leaveChat
@endpoint POST /leaveChat
@required {chat_id: any}
@returns(200) {ok: bool, result: bool}

@endgroup

@group getChat
@endpoint POST /getChat
@required {chat_id: any}
@returns(200) {ok: bool, result: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, address: str}}}

@endgroup

@group getChatAdministrators
@endpoint POST /getChatAdministrators
@required {chat_id: any}
@returns(200) {ok: bool, result: [map]}

@endgroup

@group getChatMembersCount
@endpoint POST /getChatMembersCount
@required {chat_id: any}
@returns(200) {ok: bool, result: int}

@endgroup

@group getChatMember
@endpoint POST /getChatMember
@required {chat_id: any, user_id: int}
@returns(200) {ok: bool, result: map{user: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, status: str, custom_title: str, is_anonymous: bool, can_be_edited: bool, can_post_messages: bool, can_edit_messages: bool, can_delete_messages: bool, can_restrict_members: bool, can_promote_members: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool, is_member: bool, can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, until_date: int}}

@endgroup

@group setChatStickerSet
@endpoint POST /setChatStickerSet
@required {chat_id: any, sticker_set_name: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group deleteChatStickerSet
@endpoint POST /deleteChatStickerSet
@required {chat_id: any}
@returns(200) {ok: bool, result: bool}

@endgroup

@group answerCallbackQuery
@endpoint POST /answerCallbackQuery
@required {callback_query_id: str}
@optional {text: str, show_alert: bool=false, url: str, cache_time: int=0}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setMyCommands
@endpoint POST /setMyCommands
@required {commands: [map{command!: str, description!: str}]}
@returns(200) {ok: bool, result: bool}

@endgroup

@group getMyCommands
@endpoint POST /getMyCommands
@returns(200) {ok: bool, result: [map]}

@endgroup

@group editMessageText
@endpoint POST /editMessageText
@required {text: str}
@optional {chat_id: any, message_id: int, inline_message_id: str, parse_mode: str, entities: [map{type!: str, offset!: int, length!: int, url: str, user: map, language: str}], disable_web_page_preview: bool, reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: any}

@endgroup

@group editMessageCaption
@endpoint POST /editMessageCaption
@optional {chat_id: any, message_id: int, inline_message_id: str, caption: str, parse_mode: str, caption_entities: [map{type!: str, offset!: int, length!: int, url: str, user: map, language: str}], reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: any}

@endgroup

@group editMessageMedia
@endpoint POST /editMessageMedia
@returns(200) {ok: bool, result: any}

@endgroup

@group editMessageReplyMarkup
@endpoint POST /editMessageReplyMarkup
@optional {chat_id: any, message_id: int, inline_message_id: str, reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: any}

@endgroup

@group stopPoll
@endpoint POST /stopPoll
@required {chat_id: any, message_id: int}
@optional {reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}}

@endgroup

@group deleteMessage
@endpoint POST /deleteMessage
@required {chat_id: any, message_id: int}
@returns(200) {ok: bool, result: bool}

@endgroup

@group sendSticker
@endpoint POST /sendSticker
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group getStickerSet
@endpoint POST /getStickerSet
@required {name: str}
@returns(200) {ok: bool, result: map{name: str, title: str, is_animated: bool, contains_masks: bool, stickers: [map], thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}}

@endgroup

@group uploadStickerFile
@endpoint POST /uploadStickerFile
@returns(200) {ok: bool, result: map{file_id: str, file_unique_id: str, file_size: int, file_path: str}}

@endgroup

@group createNewStickerSet
@endpoint POST /createNewStickerSet
@returns(200) {ok: bool, result: bool}

@endgroup

@group addStickerToSet
@endpoint POST /addStickerToSet
@returns(200) {ok: bool, result: bool}

@endgroup

@group setStickerPositionInSet
@endpoint POST /setStickerPositionInSet
@required {sticker: str, position: int}
@returns(200) {ok: bool, result: bool}

@endgroup

@group deleteStickerFromSet
@endpoint POST /deleteStickerFromSet
@required {sticker: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setStickerSetThumb
@endpoint POST /setStickerSetThumb
@returns(200) {ok: bool, result: bool}

@endgroup

@group answerInlineQuery
@endpoint POST /answerInlineQuery
@required {inline_query_id: str, results: [any]}
@optional {cache_time: int=300, is_personal: bool, next_offset: str, switch_pm_text: str, switch_pm_parameter: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group sendInvoice
@endpoint POST /sendInvoice
@required {chat_id: int, title: str, description: str, payload: str, provider_token: str, start_parameter: str, currency: str, prices: [map{label!: str, amount!: int}]}
@optional {provider_data: str, photo_url: str, photo_size: int, photo_width: int, photo_height: int, need_name: bool, need_phone_number: bool, need_email: bool, need_shipping_address: bool, send_phone_number_to_provider: bool, send_email_to_provider: bool, is_flexible: bool, disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group answerShippingQuery
@endpoint POST /answerShippingQuery
@required {shipping_query_id: str, ok: bool}
@optional {shipping_options: [map{id!: str, title!: str, prices!: [map]}], error_message: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group answerPreCheckoutQuery
@endpoint POST /answerPreCheckoutQuery
@required {pre_checkout_query_id: str, ok: bool}
@optional {error_message: str}
@returns(200) {ok: bool, result: bool}

@endgroup

@group setPassportDataErrors
@endpoint POST /setPassportDataErrors
@required {user_id: int, errors: [any]}
@returns(200) {ok: bool, result: bool}

@endgroup

@group sendGame
@endpoint POST /sendGame
@required {chat_id: int, game_short_name: str}
@optional {disable_notification: bool, reply_to_message_id: int, allow_sending_without_reply: bool, reply_markup: map{inline_keyboard!: [[map]]}}
@returns(200) {ok: bool, result: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map{small_file_id: str, small_file_unique_id: str, big_file_id: str, big_file_unique_id: str}, bio: str, description: str, invite_link: str, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, permissions: map{can_send_messages: bool, can_send_media_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool}, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map{location: map, address: str}}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}}, document: map{file_id: str, file_unique_id: str, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, emoji: str, set_name: str, mask_position: map{point: str, x_shift: num, y_shift: num, scale: num}, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map{file_id: str, file_unique_id: str, width: int, height: int, file_size: int}, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, sender_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, date: int, chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, forward_from_chat: map{id: int, type: str, title: str, username: str, first_name: str, last_name: str, photo: map, bio: str, description: str, invite_link: str, pinned_message: map, permissions: map, slow_mode_delay: int, sticker_set_name: str, can_set_sticker_set: bool, linked_chat_id: int, location: map}, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, via_bot: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, audio: map{file_id: str, file_unique_id: str, duration: int, performer: str, title: str, file_name: str, mime_type: str, file_size: int, thumb: map}, document: map{file_id: str, file_unique_id: str, thumb: map, file_name: str, mime_type: str, file_size: int}, photo: [map], sticker: map{file_id: str, file_unique_id: str, width: int, height: int, is_animated: bool, thumb: map, emoji: str, set_name: str, mask_position: map, file_size: int}, video: map{file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumb: map, file_name: str, mime_type: str, file_size: int}, video_note: map{file_id: str, file_unique_id: str, length: int, duration: int, thumb: map, file_size: int}, voice: map{file_id: str, file_unique_id: str, duration: int, mime_type: str, file_size: int}, caption: str, caption_entities: [map], contact: map{phone_number: str, first_name: str, last_name: str, user_id: int, vcard: str}, dice: map{emoji: str, value: int}, game: map{title: str, description: str, photo: [map], text: str, text_entities: [map], animation: map}, poll: map{id: str, question: str, options: [map], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int, explanation: str, explanation_entities: [map], open_period: int, close_date: int}, venue: map{location: map, title: str, address: str, foursquare_id: str, foursquare_type: str, google_place_id: str, google_place_type: str}, location: map{longitude: num, latitude: num, horizontal_accuracy: num, live_period: int, heading: int, proximity_alert_radius: int}, new_chat_members: [map], left_chat_member: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map{message_id: int, from: map, sender_chat: map, date: int, chat: map, forward_from: map, forward_from_chat: map, forward_from_message_id: int, forward_signature: str, forward_sender_name: str, forward_date: int, reply_to_message: map, via_bot: map, edit_date: int, media_group_id: str, author_signature: str, text: str, entities: [map], animation: map, audio: map, document: map, photo: [map], sticker: map, video: map, video_note: map, voice: map, caption: str, caption_entities: [map], contact: map, dice: map, game: map, poll: map, venue: map, location: map, new_chat_members: [map], left_chat_member: map, new_chat_title: str, new_chat_photo: [map], delete_chat_photo: bool, group_chat_created: bool, supergroup_chat_created: bool, channel_chat_created: bool, migrate_to_chat_id: int, migrate_from_chat_id: int, pinned_message: map, invoice: map, successful_payment: map, connected_website: str, passport_data: map, proximity_alert_triggered: map, reply_markup: map}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map}, proximity_alert_triggered: map{traveler: map, watcher: map, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}, invoice: map{title: str, description: str, start_parameter: str, currency: str, total_amount: int}, successful_payment: map{currency: str, total_amount: int, invoice_payload: str, shipping_option_id: str, order_info: map{name: str, phone_number: str, email: str, shipping_address: map}, telegram_payment_charge_id: str, provider_payment_charge_id: str}, connected_website: str, passport_data: map{data: [map], credentials: map{data: str, hash: str, secret: str}}, proximity_alert_triggered: map{traveler: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, watcher: map{id: int, is_bot: bool, first_name: str, last_name: str, username: str, language_code: str, can_join_groups: bool, can_read_all_group_messages: bool, supports_inline_queries: bool}, distance: int}, reply_markup: map{inline_keyboard: [[map]]}}}

@endgroup

@group setGameScore
@endpoint POST /setGameScore
@required {user_id: int, score: int}
@optional {force: bool, disable_edit_message: bool, chat_id: int, message_id: int, inline_message_id: str}
@returns(200) {ok: bool, result: any}

@endgroup

@group getGameHighScores
@endpoint POST /getGameHighScores
@required {user_id: int}
@optional {chat_id: int, message_id: int, inline_message_id: str}
@returns(200) {ok: bool, result: [map]}

@endgroup

@end
