Module telexide::api::types [−][src]
This modules provides all the objects describing the payloads to be send to the different telegram API endpoints
Structs
AddStickerToSet | struct for holding data needed to call
|
AnswerCallbackQuery | struct for holding data needed to call
|
AnswerInlineQuery | struct for holding data needed to call
|
AnswerPreCheckoutQuery | struct for holding data needed to call
|
AnswerShippingQuery | struct for holding data needed to call
|
CopyMessage | struct for holding data needed to call |
CreateChatInviteLink | struct for holding data needed to call |
CreateNewStickerSet | struct for holding data needed to call
|
DeleteChatPhoto | struct for holding data needed to call
|
DeleteChatStickerSet | struct for holding data needed to call
|
DeleteMessage | struct for holding data needed to call
|
DeleteStickerFromSet | struct for holding data needed to call
|
DeleteWebhook | Struct for holding data needed to call |
EditChatInviteLink | struct for holding data needed to call |
EditMessageCaption | struct for holding data needed to call
|
EditMessageLiveLocation | struct for holding data needed to call
|
EditMessageMedia | struct for holding data needed to call
|
EditMessageReplyMarkup | struct for holding data needed to call
|
EditMessageText | struct for holding data needed to call
|
ExportChatInviteLink | struct for holding data needed to call |
ForwardMessage | struct for holding data needed to call
|
GetChat | struct for holding data needed to call
|
GetChatAdministrators | struct for holding data needed to call
|
GetChatMember | struct for holding data needed to call
|
GetChatMembersCount | struct for holding data needed to call
|
GetFile | struct for holding data needed to call
|
GetGameHighScores | struct for holding data needed to call
|
GetStickerSet | struct for holding data needed to call
|
GetUpdates | struct for holding data needed to call
|
GetUserProfilePhotos | struct for holding data needed to call
|
InlineQueryResultArticle | Represents a link to an article or web page. |
InlineQueryResultAudio | Represents a link to an MP3 audio file. By default, this audio file will be
sent by the user. Alternatively, you can use |
InlineQueryResultContact | Represents a contact with a phone number. By default, this contact will be
sent by the user. Alternatively, you can use |
InlineQueryResultDocument | Represents a link to a file. By default, this file will be sent by the user
with an optional caption. Alternatively, you can use |
InlineQueryResultGame | Represents a Game. |
InlineQueryResultGif | 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 |
InlineQueryResultLocation | Represents a location on a map. By default, the location will be sent by the
user. Alternatively, you can use |
InlineQueryResultMpeg4Gif | 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 |
InlineQueryResultPhoto | Represents a link to a photo. By default, this photo will be sent by the
user with optional caption. Alternatively, you can use
|
InlineQueryResultVenue | Represents a venue. By default, the venue will be sent by the user.
Alternatively, you can use |
InlineQueryResultVideo | 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 |
InlineQueryResultVoice | 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 |
InputContactMessageContent | Represents the content of a contact message to be sent as the result of an inline query. |
InputInvoiceMessageContent | Represents the content of an invoice message to be sent as the result of an inline query. |
InputLocationMessageContent | Represents the content of a location message to be sent as the result of an inline query. |
InputMediaAnimation | Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent. |
InputMediaAudio | Represents an audio file to be treated as music to be sent. |
InputMediaDocument | Represents a general file to be sent. |
InputMediaPhoto | Represents a photo to be sent. |
InputMediaVideo | |
InputTextMessageContent | Represents the content of a text message to be sent as the result of an inline query. |
InputVenueMessageContent | Represents the content of a venue message to be sent as the result of an inline query. |
KickChatMember | struct for holding data needed to call
|
LeaveChat | struct for holding data needed to call
|
PassportElementErrorDataField | 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. |
PassportElementErrorFile | Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes. |
PassportElementErrorFiles | Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes. |
PassportElementErrorFrontSide | 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. |
PassportElementErrorReverseSide | 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. |
PassportElementErrorSelfie | Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes. |
PassportElementErrorTranslationFile | Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes. |
PassportElementErrorTranslationFiles | Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change. |
PassportElementErrorUnspecified | Represents an issue in an unspecified place. The error is considered resolved when new data is added. |
PinChatMessage | struct for holding data needed to call
|
PromoteChatMember | struct for holding data needed to call
|
RestrictChatMember | struct for holding data needed to call
|
RevokeChatInviteLink | struct for holding data needed to call |
SendAnimation | struct for holding data needed to call
|
SendAudio | struct for holding data needed to call
|
SendChatAction | struct for holding data needed to call
|
SendContact | struct for holding data needed to call
|
SendDice | struct for holding data needed to call
|
SendDocument | struct for holding data needed to call
|
SendGame | struct for holding data needed to call
|
SendInvoice | struct for holding data needed to call
|
SendLocation | struct for holding data needed to call
|
SendMediaGroup | struct for sending photos, videos, documents or audios as an album
|
SendMessage | struct for holding data needed to call
|
SendPhoto | struct for holding data needed to call
|
SendPoll | struct for holding data needed to call
|
SendSticker | struct for holding data needed to call
|
SendVenue | struct for holding data needed to call
|
SendVideo | struct for holding data needed to call
|
SendVideoNote | struct for holding data needed to call
|
SendVoice | struct for holding data needed to call
|
SetChatAdministratorCustomTitle | struct for holding data needed to call
|
SetChatDescription | struct for holding data needed to call
|
SetChatPermissions | struct for holding data needed to call |
SetChatPhoto | struct for holding data needed to call
|
SetChatStickerSet | struct for holding data needed to call
|
SetChatTitle | struct for holding data needed to call
|
SetGameScore | struct for holding data needed to call
|
SetMyCommands | struct for holding data needed to call
|
SetPassportDataErrors | struct for holding data needed to call
|
SetStickerPositionInSet | struct for holding data needed to call
|
SetStickerSetThumb | struct for holding data needed to call
|
SetWebhook | struct for holding data needed to call |
StopMessageLiveLocation | struct for holding data needed to call
|
StopPoll | struct for holding data needed to call
|
UnbanChatMember | struct for holding data needed to call
|
UnpinAllChatMessages | struct for holding data needed to call
|
UnpinChatMessage | struct for holding data needed to call
|
UploadStickerFile | struct for holding data needed to call
|
Enums
InlineQueryResult | This object represents one result of an inline query. |
InputFile | This object represents either the |
InputMedia | This object represents the content of a media message to be sent |
InputMessageContent | This object represents the content of a message to be sent as a result of an inline query. |
PassportElementError | This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user |
TrueOrObject | Is either true (the bool), or is object T |
UpdateType | The type of an update, can be used for specifying which update types you want to receive |