Expand description
This modules provides all the objects describing the payloads to be send to the different telegram API endpoints
Structs
- struct for holding data needed to call
add_sticker_to_set
- struct for holding data needed to call
answer_callback_query
- struct for holding data needed to call
answer_inline_query
- struct for holding data needed to call
answer_pre_checkout_query
- struct for holding data needed to call
answer_shipping_query
- Represents the content of an answer to a web app query
- struct for holding data needed to call
approve_chat_join_request
- struct for holding data needed to call
ban_chat_member
- struct for holding data needed to call
ban_chat_sender_chat
- struct for holding data needed to call
close_forum_topic
- struct for holding data needed to call
close_general_forum_topic
- struct for holding data needed to call
copy_message
- struct for holding data needed to call
create_chat_invite_link
- struct for holding data needed to call
create_forum_topic
- struct for holding data needed to call
create_invoice_link
- struct for holding data needed to call
create_new_sticker_set
- struct for holding data needed to call
decline_chat_join_request
- struct for holding data needed to call
delete_chat_photo
- struct for holding data needed to call
delete_chat_sticker_set
- struct for holding data needed to call
delete_forum_topic
- struct for holding data needed to call
delete_message
- struct for holding data needed to call
delete_my_commands
- struct for holding data needed to call
delete_sticker_from_set
- struct for holding data needed to call
delete_sticker_set
- Struct for holding data needed to call
delete_webhook
- struct for holding data needed to call
edit_chat_invite_link
- struct for holding data needed to call
edit_forum_topic
- struct for holding data needed to call
edit_general_forum_topic
- struct for holding data needed to call
edit_message_caption
- struct for holding data needed to call
edit_message_live_location
- struct for holding data needed to call
edit_message_media
- struct for holding data needed to call
edit_message_reply_markup
- struct for holding data needed to call
edit_message_text
- struct for holding data needed to call
export_chat_invite_link
- struct for holding data needed to call
forward_message
- struct for holding data needed to call
get_chat
- struct for holding data needed to call
get_chat_administrator
- struct for holding data needed to call
get_chat_member
- struct for holding data needed to call
get_chat_member_count
- struct for holding data needed to call
get_chat_menu_button
- struct for holding data needed to call
get_custom_emoji_stickers
- struct for holding data needed to call
get_file
- struct for holding data needed to call
get_game_high_scores
- struct for holding data needed to call
get_my_commands
- struct for holding data needed to call
set_my_default_administrator_rights
- struct for holding data needed to call
get_my_description
- struct for holding data needed to call
get_my_name
- struct for holding data needed to call
get_my_short_description
- struct for holding data needed to call
get_sticker_set
- struct for holding data needed to call
get_updates
- struct for holding data needed to call
get_user_profile_photos
- struct for holding data needed to call
hide_general_forum_topic
- Represents a link to an article or web page.
- Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the audio. - Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the contact. - Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method. - Represents a Game.
- Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the animation. - Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the location. - Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the animation. - Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the photo. - Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the venue. - Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the video. - Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use
input_message_content
to send a message with the specified content instead of the the voice message. - Represents the content of a contact message to be sent as the result of an inline query.
- Represents the content of an invoice message to be sent as the result of an inline query.
- Represents the content of a location message to be sent as the result of an inline query.
- Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
- Represents an audio file to be treated as music to be sent.
- Represents a general file to be sent.
- Represents a photo to be sent.
- Represents the content of a text message to be sent as the result of an inline query.
- Represents the content of a venue message to be sent as the result of an inline query.
- struct for holding data needed to call
leave_chat
- Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field’s value changes.
- Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.
- Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
- Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.
- Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.
- Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
- Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
- Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
- Represents an issue in an unspecified place. The error is considered resolved when new data is added.
- struct for holding data needed to call
pin_chat_message
- struct for holding data needed to call
promote_chat_member
- struct for holding data needed to call
reopen_forum_topic
- struct for holding data needed to call
reopen_general_forum_topic
- struct for holding data needed to call
restrict_chat_member
- struct for holding data needed to call
revoke_chat_invite_link
- struct for holding data needed to call
send_animation
- struct for holding data needed to call
send_audio
- struct for holding data needed to call
send_chat_action
- struct for holding data needed to call
send_contact
- struct for holding data needed to call
send_dice
- struct for holding data needed to call
send_document
- struct for holding data needed to call
send_game
- struct for holding data needed to call
send_invoice
- struct for holding data needed to call
send_location
- struct for sending photos, videos, documents or audios as an album
send_media_group
- struct for holding data needed to call
send_message
- struct for holding data needed to call
send_photo
- struct for holding data needed to call
send_poll
- struct for holding data needed to call
send_sticker
- struct for holding data needed to call
send_venue
- struct for holding data needed to call
send_video
- struct for holding data needed to call
send_video_note
- struct for holding data needed to call
send_voice
- struct for holding data needed to call
set_chat_administrator_custom_title
- struct for holding data needed to call
set_chat_description
- struct for holding data needed to call
set_chat_menu_button
- struct for holding data needed to call
set_chat_permissions
- struct for holding data needed to call
set_chat_photo
- struct for holding data needed to call
set_chat_sticker_set
- struct for holding data needed to call
set_chat_title
- struct for holding data needed to call
set_custom_emoji_sticker_set_thumbnail
- struct for holding data needed to call
set_game_score
- struct for holding data needed to call
set_my_commands
- struct for holding data needed to call
set_my_default_administrator_rights
- struct for holding data needed to call
set_my_description
- struct for holding data needed to call
set_my_name
- struct for holding data needed to call
set_my_short_description
- struct for holding data needed to call
set_passport_data_errors
- struct for holding data needed to call
set_sticker_emoji_list
- struct for holding data needed to call
set_sticker_keywords
- struct for holding data needed to call
set_sticker_mask_position
- struct for holding data needed to call
set_sticker_position_in_set
- struct for holding data needed to call
set_sticker_set_thumbnail
- struct for holding data needed to call
set_sticker_set_title
- struct for holding data needed to call
set_webhook
- struct for holding data needed to call
stop_message_live_location
- struct for holding data needed to call
stop_poll
- struct for holding data needed to call
unban_chat_member
- struct for holding data needed to call
unban_chat_sender_chat
- struct for holding data needed to call
unhide_general_forum_topic
- struct for holding data needed to call
unpin_all_chat_messages
- struct for holding data needed to call
unpin_all_forum_topic_messages
- struct for holding data needed to call [
unpin_all_general_forum_topic_messages
] - struct for holding data needed to call
unpin_chat_message
- struct for holding data needed to call
upload_sticker_file
Enums
- This object represents one result of an inline query.
- This object represents either the
file_id
, http url or the contents of a file to be uploaded. - This object represents the content of a media message to be sent
- This object represents the content of a message to be sent as a result of an inline query.
- This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user
- Is either true (the bool), or is object T
- The type of an update, can be used for specifying which update types you want to receive