Versions in this module Expand all Collapse all v1 v1.5.2 May 27, 2023 Changes in this version + const TypeArrayOfBotCommand + const TypeArrayOfChatMember + const TypeArrayOfGameHighScore + const TypeArrayOfMessage + const TypeArrayOfSticker + const TypeArrayOfUpdate + const TypeBoolean + const TypeBotDescription + const TypeBotName + const TypeBotShortDescription + const TypeChat + const TypeChatAdministratorRights + const TypeChatInviteLink + const TypeChatMember + const TypeChatMemberAdministrator + const TypeChatMemberBanned + const TypeChatMemberLeft + const TypeChatMemberMember + const TypeChatMemberOwner + const TypeChatMemberRestricted + const TypeErrorMessage + const TypeFile + const TypeForumTopic + const TypeInteger + const TypeMenuButton + const TypeMessage + const TypeMessageId + const TypePoll + const TypeSentWebAppMessage + const TypeStickerSet + const TypeString + const TypeUser + const TypeUserProfilePhotos + const TypeWebhookInfo + func InputFile(filePath string) raw.InputFile + type Animation struct + Duration int + FileID string + FileName string + FileSize int + FileUniqueID string + Height int + MimeType string + Thumbnail *PhotoSize + Width int64 + type Audio struct + Duration int + FileID string + FileName string + FileSize int + FileUniqueID string + MimeType string + Performer string + Thumbnail *PhotoSize + Title string + type BotCommand struct + Command string + Description string + type BotCommandScope any + type BotCommandScopeAllChatAdministrators struct + Type string + type BotCommandScopeAllGroupChats struct + Type string + type BotCommandScopeAllPrivateChats struct + Type string + type BotCommandScopeChat struct + ChatID any + Type string + func (entity BotCommandScopeChat) MarshalJSON() ([]byte, error) + type BotCommandScopeChatAdministrators struct + ChatID any + Type string + func (entity BotCommandScopeChatAdministrators) MarshalJSON() ([]byte, error) + type BotCommandScopeChatMember struct + ChatID any + Type string + UserID int64 + func (entity BotCommandScopeChatMember) MarshalJSON() ([]byte, error) + type BotCommandScopeDefault struct + Type string + type BotDescription struct + Description string + type BotName struct + Name string + type BotShortDescription struct + ShortDescription string + type CallbackGame any + type CallbackQuery struct + ChatInstance string + Data string + From User + GameShortName string + ID string + InlineMessageID string + Message *Message + type Chat struct + ActiveUsernames []string + Bio string + CanSetStickerSet bool + Description string + EmojiStatusCustomEmojiID string + FirstName string + HasAggressiveAntiSpamEnabled bool + HasHiddenMembers bool + HasPrivateForwards bool + HasProtectedContent bool + HasRestrictedVoiceAndVideoMessages bool + ID int64 + InviteLink string + IsForum bool + JoinByRequest bool + JoinToSendMessages bool + LastName string + LinkedChatID int64 + Location *ChatLocation + MessageAutoDeleteTime int + Permissions *ChatPermissions + Photo *ChatPhoto + PinnedMessage *Message + SlowModeDelay int + StickerSetName string + Title string + Type string + Username string + type ChatAdministratorRights struct + CanChangeInfo bool + CanDeleteMessages bool + CanEditMessages bool + CanInviteUsers bool + CanManageChat bool + CanManageTopics bool + CanManageVideoChats bool + CanPinMessages bool + CanPostMessages bool + CanPromoteMembers bool + CanRestrictMembers bool + IsAnonymous bool + type ChatInviteLink struct + CreatesJoinRequest bool + Creator User + ExpireDate int64 + InviteLink string + IsPrimary bool + IsRevoked bool + MemberLimit int + Name string + PendingJoinRequestCount int + type ChatJoinRequest struct + Bio string + Chat Chat + Date int64 + From User + InviteLink *ChatInviteLink + UserChatID int64 + type ChatLocation struct + Address string + Location Location + type ChatMember struct + CanAddWebPagePreviews bool + CanBeEdited bool + CanChangeInfo bool + CanDeleteMessages bool + CanEditMessages bool + CanInviteUsers bool + CanManageChat bool + CanManageTopics bool + CanManageVideoChats bool + CanPinMessages bool + CanPostMessages bool + CanPromoteMembers bool + CanRestrictMembers bool + CanSendAudios bool + CanSendDocuments bool + CanSendMessages bool + CanSendOtherMessages bool + CanSendPhotos bool + CanSendPolls bool + CanSendVideoNotes bool + CanSendVideos bool + CanSendVoiceNotes bool + CustomTitle string + IsAnonymous bool + IsMember bool + Status string + UntilDate int64 + User User + func (x ChatMember) Kind() int + type ChatMemberUpdated struct + Chat Chat + Date int64 + From User + InviteLink *ChatInviteLink + NewChatMember ChatMember + OldChatMember ChatMember + ViaChatFolderInviteLink bool + type ChatPermissions struct + CanAddWebPagePreviews bool + CanChangeInfo bool + CanInviteUsers bool + CanManageTopics bool + CanPinMessages bool + CanSendAudios bool + CanSendDocuments bool + CanSendMessages bool + CanSendOtherMessages bool + CanSendPhotos bool + CanSendPolls bool + CanSendVideoNotes bool + CanSendVideos bool + CanSendVoiceNotes bool + type ChatPhoto struct + BigFileID string + BigFileUniqueID string + SmallFileID string + SmallFileUniqueID string + type ChatShared struct + ChatID int64 + RequestID int64 + type ChosenInlineResult struct + From User + InlineMessageID string + Location *Location + Query string + ResultID string + type Contact struct + FirstName string + LastName string + PhoneNumber string + UserID int64 + Vcard string + type Dice struct + Emoji string + Value int + type Document struct + FileID string + FileName string + FileSize int + FileUniqueID string + MimeType string + Thumbnail *PhotoSize + type EncryptedCredentials struct + Data string + Hash string + Secret string + type EncryptedPassportElement struct + Data string + Email string + Files []PassportFile + FrontSide *PassportFile + Hash string + PhoneNumber string + ReverseSide *PassportFile + Selfie *PassportFile + Translation []PassportFile + Type string + type File struct + FileID string + FilePath string + FileSize int + FileUniqueID string + type ForceReply struct + ForceReply bool + InputFieldPlaceholder string + Selective bool + type ForumTopic struct + IconColor int + IconCustomEmojiID string + MessageThreadID int64 + Name string + type ForumTopicClosed any + type ForumTopicCreated struct + IconColor int + IconCustomEmojiID string + Name string + type ForumTopicEdited struct + IconCustomEmojiID string + Name string + type ForumTopicReopened any + type Game struct + Animation *Animation + Description string + Photo []PhotoSize + Text string + TextEntities []MessageEntity + Title string + type GameHighScore struct + Position int + Score int + User User + type GeneralForumTopicHidden any + type GeneralForumTopicUnhidden any + type InlineKeyboardButton struct + CallbackData string + CallbackGame *CallbackGame + LoginURL *LoginUrl + Pay bool + SwitchInlineQuery string + SwitchInlineQueryChosenChat *SwitchInlineQueryChosenChat + SwitchInlineQueryCurrentChat string + Text string + URL string + WebApp *WebAppInfo + type InlineKeyboardMarkup struct + InlineKeyboard [][]InlineKeyboardButton + type InlineQuery struct + ChatType string + From User + ID string + Location *Location + Offset string + Query string + type InlineQueryResult any + type InlineQueryResultArticle struct + Description string + HideURL bool + ID string + InputMessageContent any + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int64 + Title string + URL string + func (entity InlineQueryResultArticle) MarshalJSON() ([]byte, error) + type InlineQueryResultAudio struct + AudioDuration int + AudioURL string + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent any + ParseMode string + Performer string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (entity InlineQueryResultAudio) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedAudio struct + AudioFileID string + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + func (entity InlineQueryResultCachedAudio) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentFileID string + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (entity InlineQueryResultCachedDocument) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedGif struct + Caption string + CaptionEntities []MessageEntity + GifFileID string + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (entity InlineQueryResultCachedGif) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent any + Mpeg4FileID string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (entity InlineQueryResultCachedMpeg4Gif) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent any + ParseMode string + PhotoFileID string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (entity InlineQueryResultCachedPhoto) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedSticker struct + ID string + InputMessageContent any + ReplyMarkup *InlineKeyboardMarkup + StickerFileID string + func (entity InlineQueryResultCachedSticker) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedVideo struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + VideoFileID string + func (entity InlineQueryResultCachedVideo) MarshalJSON() ([]byte, error) + type InlineQueryResultCachedVoice struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + VoiceFileID string + func (entity InlineQueryResultCachedVoice) MarshalJSON() ([]byte, error) + type InlineQueryResultContact struct + FirstName string + ID string + InputMessageContent any + LastName string + PhoneNumber string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int64 + Vcard string + func (entity InlineQueryResultContact) MarshalJSON() ([]byte, error) + type InlineQueryResultDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentURL string + ID string + InputMessageContent any + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int64 + Title string + func (entity InlineQueryResultDocument) MarshalJSON() ([]byte, error) + type InlineQueryResultGame struct + GameShortName string + ID string + ReplyMarkup *InlineKeyboardMarkup + func (entity InlineQueryResultGame) MarshalJSON() ([]byte, error) + type InlineQueryResultGif struct + Caption string + CaptionEntities []MessageEntity + GifDuration int + GifHeight int + GifURL string + GifWidth int64 + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailMimeType string + ThumbnailURL string + Title string + func (entity InlineQueryResultGif) MarshalJSON() ([]byte, error) + type InlineQueryResultLocation struct + Heading int + HorizontalAccuracy float64 + ID string + InputMessageContent any + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int64 + Title string + func (entity InlineQueryResultLocation) MarshalJSON() ([]byte, error) + type InlineQueryResultMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent any + Mpeg4Duration int + Mpeg4Height int + Mpeg4URL string + Mpeg4Width int64 + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailMimeType string + ThumbnailURL string + Title string + func (entity InlineQueryResultMpeg4Gif) MarshalJSON() ([]byte, error) + type InlineQueryResultPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent any + ParseMode string + PhotoHeight int + PhotoURL string + PhotoWidth int64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailURL string + Title string + func (entity InlineQueryResultPhoto) MarshalJSON() ([]byte, error) + type InlineQueryResultVenue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + ID string + InputMessageContent any + Latitude float64 + Longitude float64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int64 + Title string + func (entity InlineQueryResultVenue) MarshalJSON() ([]byte, error) + type InlineQueryResultVideo struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent any + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailURL string + Title string + VideoDuration int64 + VideoHeight int64 + VideoURL string + VideoWidth int64 + func (entity InlineQueryResultVideo) MarshalJSON() ([]byte, error) + type InlineQueryResultVoice struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent any + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + VoiceDuration int + VoiceURL string + func (entity InlineQueryResultVoice) MarshalJSON() ([]byte, error) + type InlineQueryResultsButton struct + StartParameter string + Text string + WebApp *WebAppInfo + type InputBytes struct + Data []byte + Name string + func (r InputBytes) Content() []byte + func (r InputBytes) FileName() string + type InputContactMessageContent struct + FirstName string + LastName string + PhoneNumber string + Vcard string + type InputInvoiceMessageContent struct + Currency string + Description string + IsFlexible bool + MaxTipAmount int + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + Payload string + PhotoHeight int + PhotoSize int + PhotoURL string + PhotoWidth int64 + Prices []LabeledPrice + ProviderData string + ProviderToken string + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SuggestedTipAmounts []int + Title string + type InputLocationMessageContent struct + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + type InputMedia interface + SetAttachment func(string) + SetAttachmentThumb func(string) + type InputMediaAnimation struct + Caption string + CaptionEntities []MessageEntity + Duration int + HasSpoiler bool + Height int + Media rawTypes.InputFile + ParseMode string + Thumbnail rawTypes.InputFile + Width int64 + func (entity *InputMediaAnimation) Files() map[string]rawTypes.InputFile + func (entity *InputMediaAnimation) SetAttachment(attach string) + func (entity *InputMediaAnimation) SetAttachmentThumb(_ string) + func (entity InputMediaAnimation) MarshalJSON() ([]byte, error) + type InputMediaAudio struct + Caption string + CaptionEntities []MessageEntity + Duration int + Media rawTypes.InputFile + ParseMode string + Performer string + Thumbnail rawTypes.InputFile + Title string + func (entity *InputMediaAudio) Files() map[string]rawTypes.InputFile + func (entity *InputMediaAudio) SetAttachment(attach string) + func (entity *InputMediaAudio) SetAttachmentThumb(_ string) + func (entity InputMediaAudio) MarshalJSON() ([]byte, error) + type InputMediaDocument struct + Caption string + CaptionEntities []MessageEntity + DisableContentTypeDetection bool + Media rawTypes.InputFile + ParseMode string + Thumbnail rawTypes.InputFile + func (entity *InputMediaDocument) Files() map[string]rawTypes.InputFile + func (entity *InputMediaDocument) SetAttachment(attach string) + func (entity *InputMediaDocument) SetAttachmentThumb(_ string) + func (entity InputMediaDocument) MarshalJSON() ([]byte, error) + type InputMediaPhoto struct + Caption string + CaptionEntities []MessageEntity + HasSpoiler bool + Media rawTypes.InputFile + ParseMode string + func (entity *InputMediaPhoto) Files() map[string]rawTypes.InputFile + func (entity *InputMediaPhoto) SetAttachment(attach string) + func (entity *InputMediaPhoto) SetAttachmentThumb(_ string) + func (entity InputMediaPhoto) MarshalJSON() ([]byte, error) + type InputMediaVideo struct + Caption string + CaptionEntities []MessageEntity + Duration int + HasSpoiler bool + Height int + Media rawTypes.InputFile + ParseMode string + SupportsStreaming bool + Thumbnail rawTypes.InputFile + Width int64 + func (entity *InputMediaVideo) Files() map[string]rawTypes.InputFile + func (entity *InputMediaVideo) SetAttachment(attach string) + func (entity *InputMediaVideo) SetAttachmentThumb(_ string) + func (entity InputMediaVideo) MarshalJSON() ([]byte, error) + type InputMessageContent any + type InputSticker struct + EmojiList []string + Keywords []string + MaskPosition *MaskPosition + Sticker rawTypes.InputFile + type InputTextMessageContent struct + DisableWebPagePreview bool + Entities []MessageEntity + MessageText string + ParseMode string + type InputURL string + func (r InputURL) Content() []byte + func (r InputURL) FileName() string + type InputVenueMessageContent struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + Title string + type Invoice struct + Currency string + Description string + StartParameter string + Title string + TotalAmount int + type KeyboardButton struct + RequestChat *KeyboardButtonRequestChat + RequestContact bool + RequestLocation bool + RequestPoll *KeyboardButtonPollType + RequestUser *KeyboardButtonRequestUser + Text string + WebApp *WebAppInfo + type KeyboardButtonPollType struct + Type string + type KeyboardButtonRequestChat struct + BotAdministratorRights *ChatAdministratorRights + BotIsMember bool + ChatHasUsername bool + ChatIsChannel bool + ChatIsCreated bool + ChatIsForum bool + RequestID int64 + UserAdministratorRights *ChatAdministratorRights + type KeyboardButtonRequestUser struct + RequestID int64 + UserIsBot bool + UserIsPremium bool + type LabeledPrice struct + Amount int + Label string + type Location struct + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + type LoginUrl struct + BotUsername string + ForwardText string + RequestWriteAccess bool + URL string + type MaskPosition struct + Point string + Scale float64 + XShift float64 + YShift float64 + type MenuButton any + type MenuButtonCommands struct + Type string + type MenuButtonDefault struct + Type string + type MenuButtonWebApp struct + Text string + Type string + WebApp WebAppInfo + type Message struct + Animation *Animation + Audio *Audio + AuthorSignature string + Caption string + CaptionEntities []MessageEntity + ChannelChatCreated bool + Chat Chat + ChatShared *ChatShared + ConnectedWebsite string + Contact *Contact + Date int64 + DeleteChatPhoto bool + Dice *Dice + Document *Document + EditDate int64 + Entities []MessageEntity + ForumTopicClosed *ForumTopicClosed + ForumTopicCreated *ForumTopicCreated + ForumTopicEdited *ForumTopicEdited + ForumTopicReopened *ForumTopicReopened + ForwardDate int64 + ForwardFrom *User + ForwardFromChat *Chat + ForwardFromMessageID int64 + ForwardSenderName string + ForwardSignature string + From *User + Game *Game + GeneralForumTopicHidden *GeneralForumTopicHidden + GeneralForumTopicUnhidden *GeneralForumTopicUnhidden + GroupChatCreated bool + HasMediaSpoiler bool + HasProtectedContent bool + Invoice *Invoice + IsAutomaticForward bool + IsTopicMessage bool + LeftChatMember *User + Location *Location + MediaGroupID string + MessageAutoDeleteTimerChanged *MessageAutoDeleteTimerChanged + MessageID int64 + MessageThreadID int64 + MigrateFromChatID int64 + MigrateToChatID int64 + NewChatMembers []User + NewChatPhoto []PhotoSize + NewChatTitle string + PassportData *PassportData + Photo []PhotoSize + PinnedMessage *Message + Poll *Poll + ProximityAlertTriggered *ProximityAlertTriggered + ReplyMarkup *InlineKeyboardMarkup + ReplyToMessage *Message + SenderChat *Chat + Sticker *Sticker + SuccessfulPayment *SuccessfulPayment + SupergroupChatCreated bool + Text string + UserShared *UserShared + Venue *Venue + ViaBot *User + Video *Video + VideoChatEnded *VideoChatEnded + VideoChatParticipantsInvited *VideoChatParticipantsInvited + VideoChatScheduled *VideoChatScheduled + VideoChatStarted *VideoChatStarted + VideoNote *VideoNote + Voice *Voice + WebAppData *WebAppData + WriteAccessAllowed *WriteAccessAllowed + type MessageAutoDeleteTimerChanged struct + MessageAutoDeleteTime int + type MessageEntity struct + CustomEmojiID string + Language string + Length int + Offset int + Type string + URL string + User *User + type MessageId struct + MessageID int64 + type OrderInfo struct + Email string + Name string + PhoneNumber string + ShippingAddress *ShippingAddress + type PassportData struct + Credentials EncryptedCredentials + Data []EncryptedPassportElement + type PassportElementError any + type PassportElementErrorDataField struct + DataHash string + FieldName string + Message string + Source string + Type string + type PassportElementErrorFile struct + FileHash string + Message string + Source string + Type string + type PassportElementErrorFiles struct + FileHashes []string + Message string + Source string + Type string + type PassportElementErrorFrontSide struct + FileHash string + Message string + Source string + Type string + type PassportElementErrorReverseSide struct + FileHash string + Message string + Source string + Type string + type PassportElementErrorSelfie struct + FileHash string + Message string + Source string + Type string + type PassportElementErrorTranslationFile struct + FileHash string + Message string + Source string + Type string + type PassportElementErrorTranslationFiles struct + FileHashes []string + Message string + Source string + Type string + type PassportElementErrorUnspecified struct + ElementHash string + Message string + Source string + Type string + type PassportFile struct + FileDate int64 + FileID string + FileSize int + FileUniqueID string + type PhotoSize struct + FileID string + FileSize int + FileUniqueID string + Height int + Width int64 + type Poll struct + AllowsMultipleAnswers bool + CloseDate int64 + CorrectOptionID int64 + Explanation string + ExplanationEntities []MessageEntity + ID string + IsAnonymous bool + IsClosed bool + OpenPeriod int + Options []PollOption + Question string + TotalVoterCount int + Type string + type PollAnswer struct + OptionIDs []int64 + PollID string + User User + type PollOption struct + Text string + VoterCount int + type PreCheckoutQuery struct + Currency string + From User + ID string + InvoicePayload string + OrderInfo *OrderInfo + ShippingOptionID string + TotalAmount int + type ProximityAlertTriggered struct + Distance int + Traveler User + Watcher User + type ReplyKeyboardMarkup struct + InputFieldPlaceholder string + IsPersistent bool + Keyboard [][]KeyboardButton + OneTimeKeyboard bool + ResizeKeyboard bool + Selective bool + type ReplyKeyboardRemove struct + RemoveKeyboard bool + Selective bool + type SentWebAppMessage struct + InlineMessageID string + type ShippingAddress struct + City string + CountryCode string + PostCode string + State string + StreetLine1 string + StreetLine2 string + type ShippingOption struct + ID string + Prices []LabeledPrice + Title string + type ShippingQuery struct + From User + ID string + InvoicePayload string + ShippingAddress ShippingAddress + type Sticker struct + CustomEmojiID string + Emoji string + FileID string + FileSize int + FileUniqueID string + Height int + IsAnimated bool + IsVideo bool + MaskPosition *MaskPosition + NeedsRepainting bool + PremiumAnimation *File + SetName string + Thumbnail *PhotoSize + Type string + Width int64 + type StickerSet struct + IsAnimated bool + IsVideo bool + Name string + StickerType string + Stickers []Sticker + Thumbnail *PhotoSize + Title string + type SuccessfulPayment struct + Currency string + InvoicePayload string + OrderInfo *OrderInfo + ProviderPaymentChargeID string + ShippingOptionID string + TelegramPaymentChargeID string + TotalAmount int + type SwitchInlineQueryChosenChat struct + AllowBotChats bool + AllowChannelChats bool + AllowGroupChats bool + AllowUserChats bool + Query string + type Update struct + CallbackQuery *CallbackQuery + ChannelPost *Message + ChatJoinRequest *ChatJoinRequest + ChatMember *ChatMemberUpdated + ChosenInlineResult *ChosenInlineResult + EditedChannelPost *Message + EditedMessage *Message + InlineQuery *InlineQuery + Message *Message + MyChatMember *ChatMemberUpdated + Poll *Poll + PollAnswer *PollAnswer + PreCheckoutQuery *PreCheckoutQuery + ShippingQuery *ShippingQuery + UpdateID int64 + type User struct + AddedToAttachmentMenu bool + CanJoinGroups bool + CanReadAllGroupMessages bool + FirstName string + ID int64 + IsBot bool + IsPremium bool + LanguageCode string + LastName string + SupportsInlineQueries bool + Username string + type UserProfilePhotos struct + Photos [][]PhotoSize + TotalCount int + type UserShared struct + RequestID int64 + UserID int64 + type Venue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Location Location + Title string + type Video struct + Duration int + FileID string + FileName string + FileSize int + FileUniqueID string + Height int + MimeType string + Thumbnail *PhotoSize + Width int64 + type VideoChatEnded struct + Duration int + type VideoChatParticipantsInvited struct + Users []User + type VideoChatScheduled struct + StartDate int64 + type VideoChatStarted any + type VideoNote struct + Duration int + FileID string + FileSize int + FileUniqueID string + Length int + Thumbnail *PhotoSize + type Voice struct + Duration int + FileID string + FileSize int + FileUniqueID string + MimeType string + type WebAppData struct + ButtonText string + Data string + type WebAppInfo struct + URL string + type WebhookInfo struct + AllowedUpdates []string + HasCustomCertificate bool + IPAddress string + LastErrorDate int64 + LastErrorMessage string + LastSynchronizationErrorDate int64 + MaxConnections int + PendingUpdateCount int64 + URL string + type WriteAccessAllowed struct + WebAppName string