Versions in this module Expand all Collapse all v2 v2.0.1 Nov 23, 2023 Changes in this version + const ChatTypeChannel + const ChatTypeGroup + const ChatTypePrivate + const ChatTypeSupergroup + const DefaultAPIURL + const DefaultTimeout + const ParseModeHTML + const ParseModeMarkdown + const ParseModeMarkdownV2 + const ParseModeNone + const StickerTypeCustomEmoji + const StickerTypeMask + const StickerTypeRegular + const UpdateTypeCallbackQuery + const UpdateTypeChannelPost + const UpdateTypeChatJoinRequest + const UpdateTypeChatMember + const UpdateTypeChosenInlineResult + const UpdateTypeEditedChannelPost + const UpdateTypeEditedMessage + const UpdateTypeInlineQuery + const UpdateTypeMessage + const UpdateTypeMyChatMember + const UpdateTypePoll + const UpdateTypePollAnswer + const UpdateTypePreCheckoutQuery + const UpdateTypeShippingQuery + var ErrNilBotClient = errors.New("nil BotClient") + type AddStickerToSetOpts struct + RequestOpts *RequestOpts + type Animation struct + Duration int64 + FileId string + FileName string + FileSize int64 + FileUniqueId string + Height int64 + MimeType string + Thumbnail *PhotoSize + Width int64 + type AnswerCallbackQueryOpts struct + CacheTime int64 + RequestOpts *RequestOpts + ShowAlert bool + Text string + Url string + type AnswerInlineQueryOpts struct + Button *InlineQueryResultsButton + CacheTime int64 + IsPersonal bool + NextOffset string + RequestOpts *RequestOpts + type AnswerPreCheckoutQueryOpts struct + ErrorMessage string + RequestOpts *RequestOpts + type AnswerShippingQueryOpts struct + ErrorMessage string + RequestOpts *RequestOpts + ShippingOptions []ShippingOption + type AnswerWebAppQueryOpts struct + RequestOpts *RequestOpts + type ApproveChatJoinRequestOpts struct + RequestOpts *RequestOpts + type Audio struct + Duration int64 + FileId string + FileName string + FileSize int64 + FileUniqueId string + MimeType string + Performer string + Thumbnail *PhotoSize + Title string + type BanChatMemberOpts struct + RequestOpts *RequestOpts + RevokeMessages bool + UntilDate int64 + type BanChatSenderChatOpts struct + RequestOpts *RequestOpts + type BaseBotClient struct + Client http.Client + DefaultRequestOpts *RequestOpts + UseTestEnvironment bool + func (bot *BaseBotClient) FileURL(token string, tgFilePath string, opts *RequestOpts) string + func (bot *BaseBotClient) GetAPIURL(opts *RequestOpts) string + func (bot *BaseBotClient) RequestWithContext(ctx context.Context, token string, method string, params map[string]string, ...) (json.RawMessage, error) + func (bot *BaseBotClient) TimeoutContext(opts *RequestOpts) (context.Context, context.CancelFunc) + type Bot struct + Token string + func NewBot(token string, opts *BotOpts) (*Bot, error) + func NewBotNoConnect(token string, opts *BotOpts) *Bot + func (bot *Bot) AddStickerToSet(userId int64, name string, sticker InputSticker, opts *AddStickerToSetOpts) (bool, error) + func (bot *Bot) AnswerCallbackQuery(callbackQueryId string, opts *AnswerCallbackQueryOpts) (bool, error) + func (bot *Bot) AnswerInlineQuery(inlineQueryId string, results []InlineQueryResult, opts *AnswerInlineQueryOpts) (bool, error) + func (bot *Bot) AnswerPreCheckoutQuery(preCheckoutQueryId string, ok bool, opts *AnswerPreCheckoutQueryOpts) (bool, error) + func (bot *Bot) AnswerShippingQuery(shippingQueryId string, ok bool, opts *AnswerShippingQueryOpts) (bool, error) + func (bot *Bot) AnswerWebAppQuery(webAppQueryId string, result InlineQueryResult, opts *AnswerWebAppQueryOpts) (*SentWebAppMessage, error) + func (bot *Bot) ApproveChatJoinRequest(chatId int64, userId int64, opts *ApproveChatJoinRequestOpts) (bool, error) + func (bot *Bot) BanChatMember(chatId int64, userId int64, opts *BanChatMemberOpts) (bool, error) + func (bot *Bot) BanChatSenderChat(chatId int64, senderChatId int64, opts *BanChatSenderChatOpts) (bool, error) + func (bot *Bot) Close(opts *CloseOpts) (bool, error) + func (bot *Bot) CloseForumTopic(chatId int64, messageThreadId int64, opts *CloseForumTopicOpts) (bool, error) + func (bot *Bot) CloseGeneralForumTopic(chatId int64, opts *CloseGeneralForumTopicOpts) (bool, error) + func (bot *Bot) CopyMessage(chatId int64, fromChatId int64, messageId int64, opts *CopyMessageOpts) (*MessageId, error) + func (bot *Bot) CreateChatInviteLink(chatId int64, opts *CreateChatInviteLinkOpts) (*ChatInviteLink, error) + func (bot *Bot) CreateForumTopic(chatId int64, name string, opts *CreateForumTopicOpts) (*ForumTopic, error) + func (bot *Bot) CreateInvoiceLink(title string, description string, payload string, providerToken string, ...) (string, error) + func (bot *Bot) CreateNewStickerSet(userId int64, name string, title string, stickers []InputSticker, ...) (bool, error) + func (bot *Bot) DeclineChatJoinRequest(chatId int64, userId int64, opts *DeclineChatJoinRequestOpts) (bool, error) + func (bot *Bot) DeleteChatPhoto(chatId int64, opts *DeleteChatPhotoOpts) (bool, error) + func (bot *Bot) DeleteChatStickerSet(chatId int64, opts *DeleteChatStickerSetOpts) (bool, error) + func (bot *Bot) DeleteForumTopic(chatId int64, messageThreadId int64, opts *DeleteForumTopicOpts) (bool, error) + func (bot *Bot) DeleteMessage(chatId int64, messageId int64, opts *DeleteMessageOpts) (bool, error) + func (bot *Bot) DeleteMyCommands(opts *DeleteMyCommandsOpts) (bool, error) + func (bot *Bot) DeleteStickerFromSet(sticker string, opts *DeleteStickerFromSetOpts) (bool, error) + func (bot *Bot) DeleteStickerSet(name string, opts *DeleteStickerSetOpts) (bool, error) + func (bot *Bot) DeleteWebhook(opts *DeleteWebhookOpts) (bool, error) + func (bot *Bot) EditChatInviteLink(chatId int64, inviteLink string, opts *EditChatInviteLinkOpts) (*ChatInviteLink, error) + func (bot *Bot) EditForumTopic(chatId int64, messageThreadId int64, opts *EditForumTopicOpts) (bool, error) + func (bot *Bot) EditGeneralForumTopic(chatId int64, name string, opts *EditGeneralForumTopicOpts) (bool, error) + func (bot *Bot) EditMessageCaption(opts *EditMessageCaptionOpts) (*Message, bool, error) + func (bot *Bot) EditMessageLiveLocation(latitude float64, longitude float64, opts *EditMessageLiveLocationOpts) (*Message, bool, error) + func (bot *Bot) EditMessageMedia(media InputMedia, opts *EditMessageMediaOpts) (*Message, bool, error) + func (bot *Bot) EditMessageReplyMarkup(opts *EditMessageReplyMarkupOpts) (*Message, bool, error) + func (bot *Bot) EditMessageText(text string, opts *EditMessageTextOpts) (*Message, bool, error) + func (bot *Bot) ExportChatInviteLink(chatId int64, opts *ExportChatInviteLinkOpts) (string, error) + func (bot *Bot) ForwardMessage(chatId int64, fromChatId int64, messageId int64, opts *ForwardMessageOpts) (*Message, error) + func (bot *Bot) GetChat(chatId int64, opts *GetChatOpts) (*Chat, error) + func (bot *Bot) GetChatAdministrators(chatId int64, opts *GetChatAdministratorsOpts) ([]ChatMember, error) + func (bot *Bot) GetChatMember(chatId int64, userId int64, opts *GetChatMemberOpts) (ChatMember, error) + func (bot *Bot) GetChatMemberCount(chatId int64, opts *GetChatMemberCountOpts) (int64, error) + func (bot *Bot) GetChatMenuButton(opts *GetChatMenuButtonOpts) (MenuButton, error) + func (bot *Bot) GetCustomEmojiStickers(customEmojiIds []string, opts *GetCustomEmojiStickersOpts) ([]Sticker, error) + func (bot *Bot) GetFile(fileId string, opts *GetFileOpts) (*File, error) + func (bot *Bot) GetForumTopicIconStickers(opts *GetForumTopicIconStickersOpts) ([]Sticker, error) + func (bot *Bot) GetGameHighScores(userId int64, opts *GetGameHighScoresOpts) ([]GameHighScore, error) + func (bot *Bot) GetMe(opts *GetMeOpts) (*User, error) + func (bot *Bot) GetMyCommands(opts *GetMyCommandsOpts) ([]BotCommand, error) + func (bot *Bot) GetMyDefaultAdministratorRights(opts *GetMyDefaultAdministratorRightsOpts) (*ChatAdministratorRights, error) + func (bot *Bot) GetMyDescription(opts *GetMyDescriptionOpts) (*BotDescription, error) + func (bot *Bot) GetMyName(opts *GetMyNameOpts) (*BotName, error) + func (bot *Bot) GetMyShortDescription(opts *GetMyShortDescriptionOpts) (*BotShortDescription, error) + func (bot *Bot) GetStickerSet(name string, opts *GetStickerSetOpts) (*StickerSet, error) + func (bot *Bot) GetUpdates(opts *GetUpdatesOpts) ([]Update, error) + func (bot *Bot) GetUserProfilePhotos(userId int64, opts *GetUserProfilePhotosOpts) (*UserProfilePhotos, error) + func (bot *Bot) GetWebhookInfo(opts *GetWebhookInfoOpts) (*WebhookInfo, error) + func (bot *Bot) HideGeneralForumTopic(chatId int64, opts *HideGeneralForumTopicOpts) (bool, error) + func (bot *Bot) LeaveChat(chatId int64, opts *LeaveChatOpts) (bool, error) + func (bot *Bot) LogOut(opts *LogOutOpts) (bool, error) + func (bot *Bot) PinChatMessage(chatId int64, messageId int64, opts *PinChatMessageOpts) (bool, error) + func (bot *Bot) PromoteChatMember(chatId int64, userId int64, opts *PromoteChatMemberOpts) (bool, error) + func (bot *Bot) Reconnect(opts *BotOpts) error + func (bot *Bot) ReopenForumTopic(chatId int64, messageThreadId int64, opts *ReopenForumTopicOpts) (bool, error) + func (bot *Bot) ReopenGeneralForumTopic(chatId int64, opts *ReopenGeneralForumTopicOpts) (bool, error) + func (bot *Bot) Request(method string, params map[string]string, data map[string]NamedReader, ...) (json.RawMessage, error) + func (bot *Bot) RestrictChatMember(chatId int64, userId int64, permissions ChatPermissions, ...) (bool, error) + func (bot *Bot) RevokeChatInviteLink(chatId int64, inviteLink string, opts *RevokeChatInviteLinkOpts) (*ChatInviteLink, error) + func (bot *Bot) SendAnimation(chatId int64, animation InputFile, opts *SendAnimationOpts) (*Message, error) + func (bot *Bot) SendAudio(chatId int64, audio InputFile, opts *SendAudioOpts) (*Message, error) + func (bot *Bot) SendChatAction(chatId int64, action string, opts *SendChatActionOpts) (bool, error) + func (bot *Bot) SendContact(chatId int64, phoneNumber string, firstName string, opts *SendContactOpts) (*Message, error) + func (bot *Bot) SendDice(chatId int64, opts *SendDiceOpts) (*Message, error) + func (bot *Bot) SendDocument(chatId int64, document InputFile, opts *SendDocumentOpts) (*Message, error) + func (bot *Bot) SendGame(chatId int64, gameShortName string, opts *SendGameOpts) (*Message, error) + func (bot *Bot) SendInvoice(chatId int64, title string, description string, payload string, ...) (*Message, error) + func (bot *Bot) SendLocation(chatId int64, latitude float64, longitude float64, opts *SendLocationOpts) (*Message, error) + func (bot *Bot) SendMediaGroup(chatId int64, media []InputMedia, opts *SendMediaGroupOpts) ([]Message, error) + func (bot *Bot) SendMessage(chatId int64, text string, opts *SendMessageOpts) (*Message, error) + func (bot *Bot) SendPhoto(chatId int64, photo InputFile, opts *SendPhotoOpts) (*Message, error) + func (bot *Bot) SendPoll(chatId int64, question string, options []string, opts *SendPollOpts) (*Message, error) + func (bot *Bot) SendSticker(chatId int64, sticker InputFile, opts *SendStickerOpts) (*Message, error) + func (bot *Bot) SendVenue(chatId int64, latitude float64, longitude float64, title string, ...) (*Message, error) + func (bot *Bot) SendVideo(chatId int64, video InputFile, opts *SendVideoOpts) (*Message, error) + func (bot *Bot) SendVideoNote(chatId int64, videoNote InputFile, opts *SendVideoNoteOpts) (*Message, error) + func (bot *Bot) SendVoice(chatId int64, voice InputFile, opts *SendVoiceOpts) (*Message, error) + func (bot *Bot) SetChatAdministratorCustomTitle(chatId int64, userId int64, customTitle string, ...) (bool, error) + func (bot *Bot) SetChatDescription(chatId int64, opts *SetChatDescriptionOpts) (bool, error) + func (bot *Bot) SetChatMenuButton(opts *SetChatMenuButtonOpts) (bool, error) + func (bot *Bot) SetChatPermissions(chatId int64, permissions ChatPermissions, opts *SetChatPermissionsOpts) (bool, error) + func (bot *Bot) SetChatPhoto(chatId int64, photo InputFile, opts *SetChatPhotoOpts) (bool, error) + func (bot *Bot) SetChatStickerSet(chatId int64, stickerSetName string, opts *SetChatStickerSetOpts) (bool, error) + func (bot *Bot) SetChatTitle(chatId int64, title string, opts *SetChatTitleOpts) (bool, error) + func (bot *Bot) SetCustomEmojiStickerSetThumbnail(name string, opts *SetCustomEmojiStickerSetThumbnailOpts) (bool, error) + func (bot *Bot) SetGameScore(userId int64, score int64, opts *SetGameScoreOpts) (*Message, bool, error) + func (bot *Bot) SetMyCommands(commands []BotCommand, opts *SetMyCommandsOpts) (bool, error) + func (bot *Bot) SetMyDefaultAdministratorRights(opts *SetMyDefaultAdministratorRightsOpts) (bool, error) + func (bot *Bot) SetMyDescription(opts *SetMyDescriptionOpts) (bool, error) + func (bot *Bot) SetMyName(opts *SetMyNameOpts) (bool, error) + func (bot *Bot) SetMyShortDescription(opts *SetMyShortDescriptionOpts) (bool, error) + func (bot *Bot) SetPassportDataErrors(userId int64, errors []PassportElementError, opts *SetPassportDataErrorsOpts) (bool, error) + func (bot *Bot) SetStickerEmojiList(sticker string, emojiList []string, opts *SetStickerEmojiListOpts) (bool, error) + func (bot *Bot) SetStickerKeywords(sticker string, opts *SetStickerKeywordsOpts) (bool, error) + func (bot *Bot) SetStickerMaskPosition(sticker string, opts *SetStickerMaskPositionOpts) (bool, error) + func (bot *Bot) SetStickerPositionInSet(sticker string, position int64, opts *SetStickerPositionInSetOpts) (bool, error) + func (bot *Bot) SetStickerSetThumbnail(name string, userId int64, opts *SetStickerSetThumbnailOpts) (bool, error) + func (bot *Bot) SetStickerSetTitle(name string, title string, opts *SetStickerSetTitleOpts) (bool, error) + func (bot *Bot) SetWebhook(url string, opts *SetWebhookOpts) (bool, error) + func (bot *Bot) StopMessageLiveLocation(opts *StopMessageLiveLocationOpts) (*Message, bool, error) + func (bot *Bot) StopPoll(chatId int64, messageId int64, opts *StopPollOpts) (*Poll, error) + func (bot *Bot) UnbanChatMember(chatId int64, userId int64, opts *UnbanChatMemberOpts) (bool, error) + func (bot *Bot) UnbanChatSenderChat(chatId int64, senderChatId int64, opts *UnbanChatSenderChatOpts) (bool, error) + func (bot *Bot) UnhideGeneralForumTopic(chatId int64, opts *UnhideGeneralForumTopicOpts) (bool, error) + func (bot *Bot) UnpinAllChatMessages(chatId int64, opts *UnpinAllChatMessagesOpts) (bool, error) + func (bot *Bot) UnpinAllForumTopicMessages(chatId int64, messageThreadId int64, opts *UnpinAllForumTopicMessagesOpts) (bool, error) + func (bot *Bot) UnpinAllGeneralForumTopicMessages(chatId int64, opts *UnpinAllGeneralForumTopicMessagesOpts) (bool, error) + func (bot *Bot) UnpinChatMessage(chatId int64, opts *UnpinChatMessageOpts) (bool, error) + func (bot *Bot) UploadStickerFile(userId int64, sticker InputFile, stickerFormat string, ...) (*File, error) + func (bot *Bot) UseMiddleware(mw func(client BotClient) BotClient) *Bot + type BotClient interface + FileURL func(token string, tgFilePath string, opts *RequestOpts) string + GetAPIURL func(opts *RequestOpts) string + RequestWithContext func(ctx context.Context, token string, method string, params map[string]string, ...) (json.RawMessage, error) + TimeoutContext func(opts *RequestOpts) (context.Context, context.CancelFunc) + type BotCommand struct + Command string + Description string + type BotCommandScope interface + GetType func() string + MergeBotCommandScope func() MergedBotCommandScope + type BotCommandScopeAllChatAdministrators struct + func (v BotCommandScopeAllChatAdministrators) GetType() string + func (v BotCommandScopeAllChatAdministrators) MarshalJSON() ([]byte, error) + func (v BotCommandScopeAllChatAdministrators) MergeBotCommandScope() MergedBotCommandScope + type BotCommandScopeAllGroupChats struct + func (v BotCommandScopeAllGroupChats) GetType() string + func (v BotCommandScopeAllGroupChats) MarshalJSON() ([]byte, error) + func (v BotCommandScopeAllGroupChats) MergeBotCommandScope() MergedBotCommandScope + type BotCommandScopeAllPrivateChats struct + func (v BotCommandScopeAllPrivateChats) GetType() string + func (v BotCommandScopeAllPrivateChats) MarshalJSON() ([]byte, error) + func (v BotCommandScopeAllPrivateChats) MergeBotCommandScope() MergedBotCommandScope + type BotCommandScopeChat struct + ChatId int64 + func (v BotCommandScopeChat) GetType() string + func (v BotCommandScopeChat) MarshalJSON() ([]byte, error) + func (v BotCommandScopeChat) MergeBotCommandScope() MergedBotCommandScope + type BotCommandScopeChatAdministrators struct + ChatId int64 + func (v BotCommandScopeChatAdministrators) GetType() string + func (v BotCommandScopeChatAdministrators) MarshalJSON() ([]byte, error) + func (v BotCommandScopeChatAdministrators) MergeBotCommandScope() MergedBotCommandScope + type BotCommandScopeChatMember struct + ChatId int64 + UserId int64 + func (v BotCommandScopeChatMember) GetType() string + func (v BotCommandScopeChatMember) MarshalJSON() ([]byte, error) + func (v BotCommandScopeChatMember) MergeBotCommandScope() MergedBotCommandScope + type BotCommandScopeDefault struct + func (v BotCommandScopeDefault) GetType() string + func (v BotCommandScopeDefault) MarshalJSON() ([]byte, error) + func (v BotCommandScopeDefault) MergeBotCommandScope() MergedBotCommandScope + type BotDescription struct + Description string + type BotName struct + Name string + type BotOpts struct + BotClient BotClient + DisableTokenCheck bool + RequestOpts *RequestOpts + type BotShortDescription struct + ShortDescription string + type CallbackGame struct + type CallbackQuery struct + ChatInstance string + Data string + From User + GameShortName string + Id string + InlineMessageId string + Message *Message + func (cq CallbackQuery) Answer(b *Bot, opts *AnswerCallbackQueryOpts) (bool, error) + type Chat struct + ActiveUsernames []string + Bio string + CanSetStickerSet bool + Description string + EmojiStatusCustomEmojiId string + EmojiStatusExpirationDate int64 + 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 int64 + Permissions *ChatPermissions + Photo *ChatPhoto + PinnedMessage *Message + SlowModeDelay int64 + StickerSetName string + Title string + Type string + Username string + func (c Chat) ApproveJoinRequest(b *Bot, userId int64, opts *ApproveChatJoinRequestOpts) (bool, error) + func (c Chat) BanMember(b *Bot, userId int64, opts *BanChatMemberOpts) (bool, error) + func (c Chat) BanSenderChat(b *Bot, senderChatId int64, opts *BanChatSenderChatOpts) (bool, error) + func (c Chat) CreateInviteLink(b *Bot, opts *CreateChatInviteLinkOpts) (*ChatInviteLink, error) + func (c Chat) DeclineJoinRequest(b *Bot, userId int64, opts *DeclineChatJoinRequestOpts) (bool, error) + func (c Chat) DeletePhoto(b *Bot, opts *DeleteChatPhotoOpts) (bool, error) + func (c Chat) DeleteStickerSet(b *Bot, opts *DeleteChatStickerSetOpts) (bool, error) + func (c Chat) EditInviteLink(b *Bot, inviteLink string, opts *EditChatInviteLinkOpts) (*ChatInviteLink, error) + func (c Chat) ExportInviteLink(b *Bot, opts *ExportChatInviteLinkOpts) (string, error) + func (c Chat) Get(b *Bot, opts *GetChatOpts) (*Chat, error) + func (c Chat) GetAdministrators(b *Bot, opts *GetChatAdministratorsOpts) ([]ChatMember, error) + func (c Chat) GetMember(b *Bot, userId int64, opts *GetChatMemberOpts) (ChatMember, error) + func (c Chat) GetMemberCount(b *Bot, opts *GetChatMemberCountOpts) (int64, error) + func (c Chat) GetMenuButton(b *Bot, opts *GetChatMenuButtonOpts) (MenuButton, error) + func (c Chat) Leave(b *Bot, opts *LeaveChatOpts) (bool, error) + func (c Chat) PinMessage(b *Bot, messageId int64, opts *PinChatMessageOpts) (bool, error) + func (c Chat) Promote(b *Bot, userId int64, opts *PromoteChatMemberOpts) (bool, error) + func (c Chat) PromoteMember(b *Bot, userId int64, opts *PromoteChatMemberOpts) (bool, error) + func (c Chat) RestrictMember(b *Bot, userId int64, permissions ChatPermissions, ...) (bool, error) + func (c Chat) RevokeInviteLink(b *Bot, inviteLink string, opts *RevokeChatInviteLinkOpts) (*ChatInviteLink, error) + func (c Chat) SendAction(b *Bot, action string, opts *SendChatActionOpts) (bool, error) + func (c Chat) SendMessage(b *Bot, text string, opts *SendMessageOpts) (*Message, error) + func (c Chat) SetAdministratorCustomTitle(b *Bot, userId int64, customTitle string, ...) (bool, error) + func (c Chat) SetDescription(b *Bot, opts *SetChatDescriptionOpts) (bool, error) + func (c Chat) SetMenuButton(b *Bot, opts *SetChatMenuButtonOpts) (bool, error) + func (c Chat) SetPermissions(b *Bot, permissions ChatPermissions, opts *SetChatPermissionsOpts) (bool, error) + func (c Chat) SetPhoto(b *Bot, photo InputFile, opts *SetChatPhotoOpts) (bool, error) + func (c Chat) SetStickerSet(b *Bot, stickerSetName string, opts *SetChatStickerSetOpts) (bool, error) + func (c Chat) SetTitle(b *Bot, title string, opts *SetChatTitleOpts) (bool, error) + func (c Chat) Unban(b *Bot, userId int64, opts *UnbanChatMemberOpts) (bool, error) + func (c Chat) UnbanMember(b *Bot, userId int64, opts *UnbanChatMemberOpts) (bool, error) + func (c Chat) UnbanSenderChat(b *Bot, senderChatId int64, opts *UnbanChatSenderChatOpts) (bool, error) + func (c Chat) UnpinAllMessages(b *Bot, opts *UnpinAllChatMessagesOpts) (bool, error) + func (c Chat) UnpinMessage(b *Bot, opts *UnpinChatMessageOpts) (bool, error) + type ChatAdministratorRights struct + CanChangeInfo bool + CanDeleteMessages bool + CanDeleteStories bool + CanEditMessages bool + CanEditStories bool + CanInviteUsers bool + CanManageChat bool + CanManageTopics bool + CanManageVideoChats bool + CanPinMessages bool + CanPostMessages bool + CanPostStories bool + CanPromoteMembers bool + CanRestrictMembers bool + IsAnonymous bool + type ChatInviteLink struct + CreatesJoinRequest bool + Creator User + ExpireDate int64 + InviteLink string + IsPrimary bool + IsRevoked bool + MemberLimit int64 + Name string + PendingJoinRequestCount int64 + type ChatJoinRequest struct + Bio string + Chat Chat + Date int64 + From User + InviteLink *ChatInviteLink + UserChatId int64 + type ChatLocation struct + Address string + Location Location + type ChatMember interface + GetStatus func() string + GetUser func() User + MergeChatMember func() MergedChatMember + type ChatMemberAdministrator struct + CanBeEdited bool + CanChangeInfo bool + CanDeleteMessages bool + CanDeleteStories bool + CanEditMessages bool + CanEditStories bool + CanInviteUsers bool + CanManageChat bool + CanManageTopics bool + CanManageVideoChats bool + CanPinMessages bool + CanPostMessages bool + CanPostStories bool + CanPromoteMembers bool + CanRestrictMembers bool + CustomTitle string + IsAnonymous bool + User User + func (v ChatMemberAdministrator) GetStatus() string + func (v ChatMemberAdministrator) GetUser() User + func (v ChatMemberAdministrator) MarshalJSON() ([]byte, error) + func (v ChatMemberAdministrator) MergeChatMember() MergedChatMember + type ChatMemberBanned struct + UntilDate int64 + User User + func (v ChatMemberBanned) GetStatus() string + func (v ChatMemberBanned) GetUser() User + func (v ChatMemberBanned) MarshalJSON() ([]byte, error) + func (v ChatMemberBanned) MergeChatMember() MergedChatMember + type ChatMemberLeft struct + User User + func (v ChatMemberLeft) GetStatus() string + func (v ChatMemberLeft) GetUser() User + func (v ChatMemberLeft) MarshalJSON() ([]byte, error) + func (v ChatMemberLeft) MergeChatMember() MergedChatMember + type ChatMemberMember struct + User User + func (v ChatMemberMember) GetStatus() string + func (v ChatMemberMember) GetUser() User + func (v ChatMemberMember) MarshalJSON() ([]byte, error) + func (v ChatMemberMember) MergeChatMember() MergedChatMember + type ChatMemberOwner struct + CustomTitle string + IsAnonymous bool + User User + func (v ChatMemberOwner) GetStatus() string + func (v ChatMemberOwner) GetUser() User + func (v ChatMemberOwner) MarshalJSON() ([]byte, error) + func (v ChatMemberOwner) MergeChatMember() MergedChatMember + type ChatMemberRestricted 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 + IsMember bool + UntilDate int64 + User User + func (v ChatMemberRestricted) GetStatus() string + func (v ChatMemberRestricted) GetUser() User + func (v ChatMemberRestricted) MarshalJSON() ([]byte, error) + func (v ChatMemberRestricted) MergeChatMember() MergedChatMember + type ChatMemberUpdated struct + Chat Chat + Date int64 + From User + InviteLink *ChatInviteLink + NewChatMember ChatMember + OldChatMember ChatMember + ViaChatFolderInviteLink bool + func (v *ChatMemberUpdated) UnmarshalJSON(b []byte) error + 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 CloseForumTopicOpts struct + RequestOpts *RequestOpts + type CloseGeneralForumTopicOpts struct + RequestOpts *RequestOpts + type CloseOpts struct + RequestOpts *RequestOpts + type Contact struct + FirstName string + LastName string + PhoneNumber string + UserId int64 + Vcard string + type CopyMessageOpts struct + AllowSendingWithoutReply bool + Caption *string + CaptionEntities []MessageEntity + DisableNotification bool + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type CreateChatInviteLinkOpts struct + CreatesJoinRequest bool + ExpireDate int64 + MemberLimit int64 + Name string + RequestOpts *RequestOpts + type CreateForumTopicOpts struct + IconColor int64 + IconCustomEmojiId string + RequestOpts *RequestOpts + type CreateInvoiceLinkOpts struct + IsFlexible bool + MaxTipAmount int64 + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + PhotoHeight int64 + PhotoSize int64 + PhotoUrl string + PhotoWidth int64 + ProviderData string + RequestOpts *RequestOpts + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SuggestedTipAmounts []int64 + type CreateNewStickerSetOpts struct + NeedsRepainting bool + RequestOpts *RequestOpts + StickerType string + type DeclineChatJoinRequestOpts struct + RequestOpts *RequestOpts + type DeleteChatPhotoOpts struct + RequestOpts *RequestOpts + type DeleteChatStickerSetOpts struct + RequestOpts *RequestOpts + type DeleteForumTopicOpts struct + RequestOpts *RequestOpts + type DeleteMessageOpts struct + RequestOpts *RequestOpts + type DeleteMyCommandsOpts struct + LanguageCode string + RequestOpts *RequestOpts + Scope BotCommandScope + type DeleteStickerFromSetOpts struct + RequestOpts *RequestOpts + type DeleteStickerSetOpts struct + RequestOpts *RequestOpts + type DeleteWebhookOpts struct + DropPendingUpdates bool + RequestOpts *RequestOpts + type Dice struct + Emoji string + Value int64 + type Document struct + FileId string + FileName string + FileSize int64 + FileUniqueId string + MimeType string + Thumbnail *PhotoSize + type EditChatInviteLinkOpts struct + CreatesJoinRequest bool + ExpireDate int64 + MemberLimit int64 + Name string + RequestOpts *RequestOpts + type EditForumTopicOpts struct + IconCustomEmojiId *string + Name string + RequestOpts *RequestOpts + type EditGeneralForumTopicOpts struct + RequestOpts *RequestOpts + type EditMessageCaptionOpts struct + Caption string + CaptionEntities []MessageEntity + ChatId int64 + InlineMessageId string + MessageId int64 + ParseMode string + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + type EditMessageLiveLocationOpts struct + ChatId int64 + Heading int64 + HorizontalAccuracy float64 + InlineMessageId string + MessageId int64 + ProximityAlertRadius int64 + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + type EditMessageMediaOpts struct + ChatId int64 + InlineMessageId string + MessageId int64 + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + type EditMessageReplyMarkupOpts struct + ChatId int64 + InlineMessageId string + MessageId int64 + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + type EditMessageTextOpts struct + ChatId int64 + DisableWebPagePreview bool + Entities []MessageEntity + InlineMessageId string + MessageId int64 + ParseMode string + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + 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 ExportChatInviteLinkOpts struct + RequestOpts *RequestOpts + type File struct + FileId string + FilePath string + FileSize int64 + FileUniqueId string + func (f File) URL(b *Bot, opts *RequestOpts) string + type ForceReply struct + ForceReply bool + InputFieldPlaceholder string + Selective bool + type ForumTopic struct + IconColor int64 + IconCustomEmojiId string + MessageThreadId int64 + Name string + type ForumTopicClosed struct + type ForumTopicCreated struct + IconColor int64 + IconCustomEmojiId string + Name string + type ForumTopicEdited struct + IconCustomEmojiId string + Name string + type ForumTopicReopened struct + type ForwardMessageOpts struct + DisableNotification bool + MessageThreadId int64 + ProtectContent bool + RequestOpts *RequestOpts + type Game struct + Animation *Animation + Description string + Photo []PhotoSize + Text string + TextEntities []MessageEntity + Title string + type GameHighScore struct + Position int64 + Score int64 + User User + type GeneralForumTopicHidden struct + type GeneralForumTopicUnhidden struct + type GetChatAdministratorsOpts struct + RequestOpts *RequestOpts + type GetChatMemberCountOpts struct + RequestOpts *RequestOpts + type GetChatMemberOpts struct + RequestOpts *RequestOpts + type GetChatMenuButtonOpts struct + ChatId *int64 + RequestOpts *RequestOpts + type GetChatOpts struct + RequestOpts *RequestOpts + type GetCustomEmojiStickersOpts struct + RequestOpts *RequestOpts + type GetFileOpts struct + RequestOpts *RequestOpts + type GetForumTopicIconStickersOpts struct + RequestOpts *RequestOpts + type GetGameHighScoresOpts struct + ChatId int64 + InlineMessageId string + MessageId int64 + RequestOpts *RequestOpts + type GetMeOpts struct + RequestOpts *RequestOpts + type GetMyCommandsOpts struct + LanguageCode string + RequestOpts *RequestOpts + Scope BotCommandScope + type GetMyDefaultAdministratorRightsOpts struct + ForChannels bool + RequestOpts *RequestOpts + type GetMyDescriptionOpts struct + LanguageCode string + RequestOpts *RequestOpts + type GetMyNameOpts struct + LanguageCode string + RequestOpts *RequestOpts + type GetMyShortDescriptionOpts struct + LanguageCode string + RequestOpts *RequestOpts + type GetStickerSetOpts struct + RequestOpts *RequestOpts + type GetUpdatesOpts struct + AllowedUpdates []string + Limit int64 + Offset int64 + RequestOpts *RequestOpts + Timeout int64 + type GetUserProfilePhotosOpts struct + Limit int64 + Offset int64 + RequestOpts *RequestOpts + type GetWebhookInfoOpts struct + RequestOpts *RequestOpts + type HideGeneralForumTopicOpts struct + RequestOpts *RequestOpts + 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 + func (iq InlineQuery) Answer(b *Bot, results []InlineQueryResult, opts *AnswerInlineQueryOpts) (bool, error) + type InlineQueryResult interface + GetId func() string + GetType func() string + MergeInlineQueryResult func() MergedInlineQueryResult + type InlineQueryResultArticle struct + Description string + HideUrl bool + Id string + InputMessageContent InputMessageContent + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailUrl string + ThumbnailWidth int64 + Title string + Url string + func (v InlineQueryResultArticle) GetId() string + func (v InlineQueryResultArticle) GetType() string + func (v InlineQueryResultArticle) MarshalJSON() ([]byte, error) + func (v InlineQueryResultArticle) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultAudio struct + AudioDuration int64 + AudioUrl string + Caption string + CaptionEntities []MessageEntity + Id string + InputMessageContent *InputMessageContent + ParseMode string + Performer string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (v InlineQueryResultAudio) GetId() string + func (v InlineQueryResultAudio) GetType() string + func (v InlineQueryResultAudio) MarshalJSON() ([]byte, error) + func (v InlineQueryResultAudio) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedAudio struct + AudioFileId string + Caption string + CaptionEntities []MessageEntity + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + func (v InlineQueryResultCachedAudio) GetId() string + func (v InlineQueryResultCachedAudio) GetType() string + func (v InlineQueryResultCachedAudio) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedAudio) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentFileId string + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (v InlineQueryResultCachedDocument) GetId() string + func (v InlineQueryResultCachedDocument) GetType() string + func (v InlineQueryResultCachedDocument) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedDocument) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedGif struct + Caption string + CaptionEntities []MessageEntity + GifFileId string + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (v InlineQueryResultCachedGif) GetId() string + func (v InlineQueryResultCachedGif) GetType() string + func (v InlineQueryResultCachedGif) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedGif) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + Id string + InputMessageContent *InputMessageContent + Mpeg4FileId string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (v InlineQueryResultCachedMpeg4Gif) GetId() string + func (v InlineQueryResultCachedMpeg4Gif) GetType() string + func (v InlineQueryResultCachedMpeg4Gif) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedMpeg4Gif) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + Id string + InputMessageContent *InputMessageContent + ParseMode string + PhotoFileId string + ReplyMarkup *InlineKeyboardMarkup + Title string + func (v InlineQueryResultCachedPhoto) GetId() string + func (v InlineQueryResultCachedPhoto) GetType() string + func (v InlineQueryResultCachedPhoto) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedPhoto) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedSticker struct + Id string + InputMessageContent *InputMessageContent + ReplyMarkup *InlineKeyboardMarkup + StickerFileId string + func (v InlineQueryResultCachedSticker) GetId() string + func (v InlineQueryResultCachedSticker) GetType() string + func (v InlineQueryResultCachedSticker) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedSticker) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedVideo struct + Caption string + CaptionEntities []MessageEntity + Description string + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + VideoFileId string + func (v InlineQueryResultCachedVideo) GetId() string + func (v InlineQueryResultCachedVideo) GetType() string + func (v InlineQueryResultCachedVideo) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedVideo) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultCachedVoice struct + Caption string + CaptionEntities []MessageEntity + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + VoiceFileId string + func (v InlineQueryResultCachedVoice) GetId() string + func (v InlineQueryResultCachedVoice) GetType() string + func (v InlineQueryResultCachedVoice) MarshalJSON() ([]byte, error) + func (v InlineQueryResultCachedVoice) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultContact struct + FirstName string + Id string + InputMessageContent *InputMessageContent + LastName string + PhoneNumber string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailUrl string + ThumbnailWidth int64 + Vcard string + func (v InlineQueryResultContact) GetId() string + func (v InlineQueryResultContact) GetType() string + func (v InlineQueryResultContact) MarshalJSON() ([]byte, error) + func (v InlineQueryResultContact) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentUrl string + Id string + InputMessageContent *InputMessageContent + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailUrl string + ThumbnailWidth int64 + Title string + func (v InlineQueryResultDocument) GetId() string + func (v InlineQueryResultDocument) GetType() string + func (v InlineQueryResultDocument) MarshalJSON() ([]byte, error) + func (v InlineQueryResultDocument) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultGame struct + GameShortName string + Id string + ReplyMarkup *InlineKeyboardMarkup + func (v InlineQueryResultGame) GetId() string + func (v InlineQueryResultGame) GetType() string + func (v InlineQueryResultGame) MarshalJSON() ([]byte, error) + func (v InlineQueryResultGame) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultGif struct + Caption string + CaptionEntities []MessageEntity + GifDuration int64 + GifHeight int64 + GifUrl string + GifWidth int64 + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailMimeType string + ThumbnailUrl string + Title string + func (v InlineQueryResultGif) GetId() string + func (v InlineQueryResultGif) GetType() string + func (v InlineQueryResultGif) MarshalJSON() ([]byte, error) + func (v InlineQueryResultGif) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultLocation struct + Heading int64 + HorizontalAccuracy float64 + Id string + InputMessageContent *InputMessageContent + Latitude float64 + LivePeriod int64 + Longitude float64 + ProximityAlertRadius int64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailUrl string + ThumbnailWidth int64 + Title string + func (v InlineQueryResultLocation) GetId() string + func (v InlineQueryResultLocation) GetType() string + func (v InlineQueryResultLocation) MarshalJSON() ([]byte, error) + func (v InlineQueryResultLocation) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + Id string + InputMessageContent *InputMessageContent + Mpeg4Duration int64 + Mpeg4Height int64 + Mpeg4Url string + Mpeg4Width int64 + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailMimeType string + ThumbnailUrl string + Title string + func (v InlineQueryResultMpeg4Gif) GetId() string + func (v InlineQueryResultMpeg4Gif) GetType() string + func (v InlineQueryResultMpeg4Gif) MarshalJSON() ([]byte, error) + func (v InlineQueryResultMpeg4Gif) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + Id string + InputMessageContent *InputMessageContent + ParseMode string + PhotoHeight int64 + PhotoUrl string + PhotoWidth int64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailUrl string + Title string + func (v InlineQueryResultPhoto) GetId() string + func (v InlineQueryResultPhoto) GetType() string + func (v InlineQueryResultPhoto) MarshalJSON() ([]byte, error) + func (v InlineQueryResultPhoto) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultVenue struct + Address string + FoursquareId string + FoursquareType string + GooglePlaceId string + GooglePlaceType string + Id string + InputMessageContent *InputMessageContent + Latitude float64 + Longitude float64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailUrl string + ThumbnailWidth int64 + Title string + func (v InlineQueryResultVenue) GetId() string + func (v InlineQueryResultVenue) GetType() string + func (v InlineQueryResultVenue) MarshalJSON() ([]byte, error) + func (v InlineQueryResultVenue) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultVideo struct + Caption string + CaptionEntities []MessageEntity + Description string + Id string + InputMessageContent *InputMessageContent + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailUrl string + Title string + VideoDuration int64 + VideoHeight int64 + VideoUrl string + VideoWidth int64 + func (v InlineQueryResultVideo) GetId() string + func (v InlineQueryResultVideo) GetType() string + func (v InlineQueryResultVideo) MarshalJSON() ([]byte, error) + func (v InlineQueryResultVideo) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultVoice struct + Caption string + CaptionEntities []MessageEntity + Id string + InputMessageContent *InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + VoiceDuration int64 + VoiceUrl string + func (v InlineQueryResultVoice) GetId() string + func (v InlineQueryResultVoice) GetType() string + func (v InlineQueryResultVoice) MarshalJSON() ([]byte, error) + func (v InlineQueryResultVoice) MergeInlineQueryResult() MergedInlineQueryResult + type InlineQueryResultsButton struct + StartParameter string + Text string + WebApp *WebAppInfo + type InputContactMessageContent struct + FirstName string + LastName string + PhoneNumber string + Vcard string + type InputFile interface + type InputInvoiceMessageContent struct + Currency string + Description string + IsFlexible bool + MaxTipAmount int64 + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + Payload string + PhotoHeight int64 + PhotoSize int64 + PhotoUrl string + PhotoWidth int64 + Prices []LabeledPrice + ProviderData string + ProviderToken string + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SuggestedTipAmounts []int64 + Title string + type InputLocationMessageContent struct + Heading int64 + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int64 + Longitude float64 + ProximityAlertRadius int64 + type InputMedia interface + GetMedia func() InputFile + GetType func() string + InputParams func(string, map[string]NamedReader) ([]byte, error) + MergeInputMedia func() MergedInputMedia + type InputMediaAnimation struct + Caption string + CaptionEntities []MessageEntity + Duration int64 + HasSpoiler bool + Height int64 + Media InputFile + ParseMode string + Thumbnail *InputFile + Width int64 + func (v InputMediaAnimation) GetMedia() InputFile + func (v InputMediaAnimation) GetType() string + func (v InputMediaAnimation) InputParams(mediaName string, data map[string]NamedReader) ([]byte, error) + func (v InputMediaAnimation) MarshalJSON() ([]byte, error) + func (v InputMediaAnimation) MergeInputMedia() MergedInputMedia + type InputMediaAudio struct + Caption string + CaptionEntities []MessageEntity + Duration int64 + Media InputFile + ParseMode string + Performer string + Thumbnail *InputFile + Title string + func (v InputMediaAudio) GetMedia() InputFile + func (v InputMediaAudio) GetType() string + func (v InputMediaAudio) InputParams(mediaName string, data map[string]NamedReader) ([]byte, error) + func (v InputMediaAudio) MarshalJSON() ([]byte, error) + func (v InputMediaAudio) MergeInputMedia() MergedInputMedia + type InputMediaDocument struct + Caption string + CaptionEntities []MessageEntity + DisableContentTypeDetection bool + Media InputFile + ParseMode string + Thumbnail *InputFile + func (v InputMediaDocument) GetMedia() InputFile + func (v InputMediaDocument) GetType() string + func (v InputMediaDocument) InputParams(mediaName string, data map[string]NamedReader) ([]byte, error) + func (v InputMediaDocument) MarshalJSON() ([]byte, error) + func (v InputMediaDocument) MergeInputMedia() MergedInputMedia + type InputMediaPhoto struct + Caption string + CaptionEntities []MessageEntity + HasSpoiler bool + Media InputFile + ParseMode string + func (v InputMediaPhoto) GetMedia() InputFile + func (v InputMediaPhoto) GetType() string + func (v InputMediaPhoto) InputParams(mediaName string, data map[string]NamedReader) ([]byte, error) + func (v InputMediaPhoto) MarshalJSON() ([]byte, error) + func (v InputMediaPhoto) MergeInputMedia() MergedInputMedia + type InputMediaVideo struct + Caption string + CaptionEntities []MessageEntity + Duration int64 + HasSpoiler bool + Height int64 + Media InputFile + ParseMode string + SupportsStreaming bool + Thumbnail *InputFile + Width int64 + func (v InputMediaVideo) GetMedia() InputFile + func (v InputMediaVideo) GetType() string + func (v InputMediaVideo) InputParams(mediaName string, data map[string]NamedReader) ([]byte, error) + func (v InputMediaVideo) MarshalJSON() ([]byte, error) + func (v InputMediaVideo) MergeInputMedia() MergedInputMedia + type InputMessageContent interface + type InputSticker struct + EmojiList []string + Keywords []string + MaskPosition *MaskPosition + Sticker InputFile + func (v InputSticker) InputParams(mediaName string, data map[string]NamedReader) ([]byte, error) + type InputTextMessageContent struct + DisableWebPagePreview bool + Entities []MessageEntity + MessageText string + ParseMode 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 int64 + 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 int64 + Label string + type LeaveChatOpts struct + RequestOpts *RequestOpts + type Location struct + Heading int64 + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int64 + Longitude float64 + ProximityAlertRadius int64 + type LogOutOpts struct + RequestOpts *RequestOpts + type LoginUrl struct + BotUsername *string + ForwardText string + RequestWriteAccess bool + Url string + type MaskPosition struct + Point string + Scale float64 + XShift float64 + YShift float64 + type MenuButton interface + GetType func() string + MergeMenuButton func() MergedMenuButton + type MenuButtonCommands struct + func (v MenuButtonCommands) GetType() string + func (v MenuButtonCommands) MarshalJSON() ([]byte, error) + func (v MenuButtonCommands) MergeMenuButton() MergedMenuButton + type MenuButtonDefault struct + func (v MenuButtonDefault) GetType() string + func (v MenuButtonDefault) MarshalJSON() ([]byte, error) + func (v MenuButtonDefault) MergeMenuButton() MergedMenuButton + type MenuButtonWebApp struct + Text string + WebApp WebAppInfo + func (v MenuButtonWebApp) GetType() string + func (v MenuButtonWebApp) MarshalJSON() ([]byte, error) + func (v MenuButtonWebApp) MergeMenuButton() MergedMenuButton + type MergedBotCommandScope struct + ChatId int64 + Type string + UserId int64 + func (v MergedBotCommandScope) GetType() string + func (v MergedBotCommandScope) MergeBotCommandScope() MergedBotCommandScope + type MergedChatMember struct + CanAddWebPagePreviews bool + CanBeEdited bool + CanChangeInfo bool + CanDeleteMessages bool + CanDeleteStories bool + CanEditMessages bool + CanEditStories bool + CanInviteUsers bool + CanManageChat bool + CanManageTopics bool + CanManageVideoChats bool + CanPinMessages bool + CanPostMessages bool + CanPostStories 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 (v MergedChatMember) GetStatus() string + func (v MergedChatMember) GetUser() User + func (v MergedChatMember) MergeChatMember() MergedChatMember + type MergedInlineQueryResult struct + Address string + AudioDuration int64 + AudioFileId string + AudioUrl string + Caption string + CaptionEntities []MessageEntity + Description string + DocumentFileId string + DocumentUrl string + FirstName string + FoursquareId string + FoursquareType string + GameShortName string + GifDuration int64 + GifFileId string + GifHeight int64 + GifUrl string + GifWidth int64 + GooglePlaceId string + GooglePlaceType string + Heading int64 + HideUrl bool + HorizontalAccuracy float64 + Id string + InputMessageContent *InputMessageContent + LastName string + Latitude float64 + LivePeriod int64 + Longitude float64 + MimeType string + Mpeg4Duration int64 + Mpeg4FileId string + Mpeg4Height int64 + Mpeg4Url string + Mpeg4Width int64 + ParseMode string + Performer string + PhoneNumber string + PhotoFileId string + PhotoHeight int64 + PhotoUrl string + PhotoWidth int64 + ProximityAlertRadius int64 + ReplyMarkup *InlineKeyboardMarkup + StickerFileId string + ThumbnailHeight int64 + ThumbnailMimeType string + ThumbnailUrl string + ThumbnailWidth int64 + Title string + Type string + Url string + Vcard string + VideoDuration int64 + VideoFileId string + VideoHeight int64 + VideoUrl string + VideoWidth int64 + VoiceDuration int64 + VoiceFileId string + VoiceUrl string + func (v MergedInlineQueryResult) GetId() string + func (v MergedInlineQueryResult) GetType() string + func (v MergedInlineQueryResult) MergeInlineQueryResult() MergedInlineQueryResult + type MergedInputMedia struct + Caption string + CaptionEntities []MessageEntity + DisableContentTypeDetection bool + Duration int64 + HasSpoiler bool + Height int64 + Media InputFile + ParseMode string + Performer string + SupportsStreaming bool + Thumbnail *InputFile + Title string + Type string + Width int64 + func (v MergedInputMedia) GetMedia() InputFile + func (v MergedInputMedia) GetType() string + func (v MergedInputMedia) MergeInputMedia() MergedInputMedia + type MergedMenuButton struct + Text string + Type string + WebApp *WebAppInfo + func (v MergedMenuButton) GetType() string + func (v MergedMenuButton) MergeMenuButton() MergedMenuButton + type MergedPassportElementError struct + DataHash string + ElementHash string + FieldName string + FileHash string + FileHashes []string + Message string + Source string + Type string + func (v MergedPassportElementError) GetMessage() string + func (v MergedPassportElementError) GetSource() string + func (v MergedPassportElementError) GetType() string + func (v MergedPassportElementError) MergePassportElementError() MergedPassportElementError + 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 + Story *Story + 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 + func (m Message) Copy(b *Bot, chatId int64, opts *CopyMessageOpts) (*MessageId, error) + func (m Message) Delete(b *Bot, opts *DeleteMessageOpts) (bool, error) + func (m Message) EditCaption(b *Bot, opts *EditMessageCaptionOpts) (*Message, bool, error) + func (m Message) EditLiveLocation(b *Bot, latitude float64, longitude float64, opts *EditMessageLiveLocationOpts) (*Message, bool, error) + func (m Message) EditMedia(b *Bot, media InputMedia, opts *EditMessageMediaOpts) (*Message, bool, error) + func (m Message) EditReplyMarkup(b *Bot, opts *EditMessageReplyMarkupOpts) (*Message, bool, error) + func (m Message) EditText(b *Bot, text string, opts *EditMessageTextOpts) (*Message, bool, error) + func (m Message) Forward(b *Bot, chatId int64, opts *ForwardMessageOpts) (*Message, error) + func (m Message) GetLink() string + func (m Message) GetSender() *Sender + func (m Message) OriginalCaptionHTML() string + func (m Message) OriginalCaptionMD() string + func (m Message) OriginalCaptionMDV2() string + func (m Message) OriginalHTML() string + func (m Message) OriginalMD() string + func (m Message) OriginalMDV2() string + func (m Message) ParseCaptionEntities() (out []ParsedMessageEntity) + func (m Message) ParseCaptionEntity(entity MessageEntity) ParsedMessageEntity + func (m Message) ParseCaptionEntityTypes(accepted map[string]struct{}) (out []ParsedMessageEntity) + func (m Message) ParseEntities() (out []ParsedMessageEntity) + func (m Message) ParseEntity(entity MessageEntity) ParsedMessageEntity + func (m Message) ParseEntityTypes(accepted map[string]struct{}) (out []ParsedMessageEntity) + func (m Message) Pin(b *Bot, opts *PinChatMessageOpts) (bool, error) + func (m Message) Reply(b *Bot, text string, opts *SendMessageOpts) (*Message, error) + func (m Message) StopLiveLocation(b *Bot, opts *StopMessageLiveLocationOpts) (*Message, bool, error) + func (m Message) Unpin(b *Bot, opts *UnpinChatMessageOpts) (bool, error) + type MessageAutoDeleteTimerChanged struct + MessageAutoDeleteTime int64 + type MessageEntity struct + CustomEmojiId string + Language string + Length int64 + Offset int64 + Type string + Url string + User *User + type MessageId struct + MessageId int64 + type NamedFile struct + File io.Reader + FileName string + func (nf NamedFile) Name() string + func (nf NamedFile) Read(p []byte) (n int, err error) + type NamedReader interface + Name func() string + type OrderInfo struct + Email string + Name string + PhoneNumber string + ShippingAddress *ShippingAddress + type ParsedMessageEntity struct + Text string + type PassportData struct + Credentials EncryptedCredentials + Data []EncryptedPassportElement + type PassportElementError interface + GetMessage func() string + GetSource func() string + GetType func() string + MergePassportElementError func() MergedPassportElementError + type PassportElementErrorDataField struct + DataHash string + FieldName string + Message string + Type string + func (v PassportElementErrorDataField) GetMessage() string + func (v PassportElementErrorDataField) GetSource() string + func (v PassportElementErrorDataField) GetType() string + func (v PassportElementErrorDataField) MarshalJSON() ([]byte, error) + func (v PassportElementErrorDataField) MergePassportElementError() MergedPassportElementError + type PassportElementErrorFile struct + FileHash string + Message string + Type string + func (v PassportElementErrorFile) GetMessage() string + func (v PassportElementErrorFile) GetSource() string + func (v PassportElementErrorFile) GetType() string + func (v PassportElementErrorFile) MarshalJSON() ([]byte, error) + func (v PassportElementErrorFile) MergePassportElementError() MergedPassportElementError + type PassportElementErrorFiles struct + FileHashes []string + Message string + Type string + func (v PassportElementErrorFiles) GetMessage() string + func (v PassportElementErrorFiles) GetSource() string + func (v PassportElementErrorFiles) GetType() string + func (v PassportElementErrorFiles) MarshalJSON() ([]byte, error) + func (v PassportElementErrorFiles) MergePassportElementError() MergedPassportElementError + type PassportElementErrorFrontSide struct + FileHash string + Message string + Type string + func (v PassportElementErrorFrontSide) GetMessage() string + func (v PassportElementErrorFrontSide) GetSource() string + func (v PassportElementErrorFrontSide) GetType() string + func (v PassportElementErrorFrontSide) MarshalJSON() ([]byte, error) + func (v PassportElementErrorFrontSide) MergePassportElementError() MergedPassportElementError + type PassportElementErrorReverseSide struct + FileHash string + Message string + Type string + func (v PassportElementErrorReverseSide) GetMessage() string + func (v PassportElementErrorReverseSide) GetSource() string + func (v PassportElementErrorReverseSide) GetType() string + func (v PassportElementErrorReverseSide) MarshalJSON() ([]byte, error) + func (v PassportElementErrorReverseSide) MergePassportElementError() MergedPassportElementError + type PassportElementErrorSelfie struct + FileHash string + Message string + Type string + func (v PassportElementErrorSelfie) GetMessage() string + func (v PassportElementErrorSelfie) GetSource() string + func (v PassportElementErrorSelfie) GetType() string + func (v PassportElementErrorSelfie) MarshalJSON() ([]byte, error) + func (v PassportElementErrorSelfie) MergePassportElementError() MergedPassportElementError + type PassportElementErrorTranslationFile struct + FileHash string + Message string + Type string + func (v PassportElementErrorTranslationFile) GetMessage() string + func (v PassportElementErrorTranslationFile) GetSource() string + func (v PassportElementErrorTranslationFile) GetType() string + func (v PassportElementErrorTranslationFile) MarshalJSON() ([]byte, error) + func (v PassportElementErrorTranslationFile) MergePassportElementError() MergedPassportElementError + type PassportElementErrorTranslationFiles struct + FileHashes []string + Message string + Type string + func (v PassportElementErrorTranslationFiles) GetMessage() string + func (v PassportElementErrorTranslationFiles) GetSource() string + func (v PassportElementErrorTranslationFiles) GetType() string + func (v PassportElementErrorTranslationFiles) MarshalJSON() ([]byte, error) + func (v PassportElementErrorTranslationFiles) MergePassportElementError() MergedPassportElementError + type PassportElementErrorUnspecified struct + ElementHash string + Message string + Type string + func (v PassportElementErrorUnspecified) GetMessage() string + func (v PassportElementErrorUnspecified) GetSource() string + func (v PassportElementErrorUnspecified) GetType() string + func (v PassportElementErrorUnspecified) MarshalJSON() ([]byte, error) + func (v PassportElementErrorUnspecified) MergePassportElementError() MergedPassportElementError + type PassportFile struct + FileDate int64 + FileId string + FileSize int64 + FileUniqueId string + type PhotoSize struct + FileId string + FileSize int64 + FileUniqueId string + Height int64 + Width int64 + type PinChatMessageOpts struct + DisableNotification bool + RequestOpts *RequestOpts + type Poll struct + AllowsMultipleAnswers bool + CloseDate int64 + CorrectOptionId int64 + Explanation string + ExplanationEntities []MessageEntity + Id string + IsAnonymous bool + IsClosed bool + OpenPeriod int64 + Options []PollOption + Question string + TotalVoterCount int64 + Type string + type PollAnswer struct + OptionIds []int64 + PollId string + User *User + VoterChat *Chat + type PollOption struct + Text string + VoterCount int64 + type PreCheckoutQuery struct + Currency string + From User + Id string + InvoicePayload string + OrderInfo *OrderInfo + ShippingOptionId string + TotalAmount int64 + func (pcq PreCheckoutQuery) Answer(b *Bot, ok bool, opts *AnswerPreCheckoutQueryOpts) (bool, error) + type PromoteChatMemberOpts struct + CanChangeInfo bool + CanDeleteMessages bool + CanDeleteStories bool + CanEditMessages bool + CanEditStories bool + CanInviteUsers bool + CanManageChat bool + CanManageTopics bool + CanManageVideoChats bool + CanPinMessages bool + CanPostMessages bool + CanPostStories bool + CanPromoteMembers bool + CanRestrictMembers bool + IsAnonymous bool + RequestOpts *RequestOpts + type ProximityAlertTriggered struct + Distance int64 + Traveler User + Watcher User + type ReopenForumTopicOpts struct + RequestOpts *RequestOpts + type ReopenGeneralForumTopicOpts struct + RequestOpts *RequestOpts + type ReplyKeyboardMarkup struct + InputFieldPlaceholder string + IsPersistent bool + Keyboard [][]KeyboardButton + OneTimeKeyboard bool + ResizeKeyboard bool + Selective bool + type ReplyKeyboardRemove struct + RemoveKeyboard bool + Selective bool + type ReplyMarkup interface + type RequestOpts struct + APIURL string + Timeout time.Duration + type Response struct + Description string + ErrorCode int + Ok bool + Parameters *ResponseParameters + Result json.RawMessage + type ResponseParameters struct + MigrateToChatId int64 + RetryAfter int64 + type RestrictChatMemberOpts struct + RequestOpts *RequestOpts + UntilDate int64 + UseIndependentChatPermissions bool + type RevokeChatInviteLinkOpts struct + RequestOpts *RequestOpts + type SendAnimationOpts struct + AllowSendingWithoutReply bool + Caption string + CaptionEntities []MessageEntity + DisableNotification bool + Duration int64 + HasSpoiler bool + Height int64 + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + Thumbnail InputFile + Width int64 + type SendAudioOpts struct + AllowSendingWithoutReply bool + Caption string + CaptionEntities []MessageEntity + DisableNotification bool + Duration int64 + MessageThreadId int64 + ParseMode string + Performer string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + Thumbnail InputFile + Title string + type SendChatActionOpts struct + MessageThreadId int64 + RequestOpts *RequestOpts + type SendContactOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + LastName string + MessageThreadId int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + Vcard string + type SendDiceOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + Emoji string + MessageThreadId int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendDocumentOpts struct + AllowSendingWithoutReply bool + Caption string + CaptionEntities []MessageEntity + DisableContentTypeDetection bool + DisableNotification bool + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + Thumbnail InputFile + type SendGameOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + MessageThreadId int64 + ProtectContent bool + ReplyMarkup InlineKeyboardMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendInvoiceOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + IsFlexible bool + MaxTipAmount int64 + MessageThreadId int64 + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + PhotoHeight int64 + PhotoSize int64 + PhotoUrl string + PhotoWidth int64 + ProtectContent bool + ProviderData string + ReplyMarkup InlineKeyboardMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + SendEmailToProvider bool + SendPhoneNumberToProvider bool + StartParameter string + SuggestedTipAmounts []int64 + type SendLocationOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + Heading int64 + HorizontalAccuracy float64 + LivePeriod int64 + MessageThreadId int64 + ProtectContent bool + ProximityAlertRadius int64 + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendMediaGroupOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + MessageThreadId int64 + ProtectContent bool + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendMessageOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + DisableWebPagePreview bool + Entities []MessageEntity + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendPhotoOpts struct + AllowSendingWithoutReply bool + Caption string + CaptionEntities []MessageEntity + DisableNotification bool + HasSpoiler bool + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendPollOpts struct + AllowSendingWithoutReply bool + AllowsMultipleAnswers bool + CloseDate int64 + CorrectOptionId int64 + DisableNotification bool + Explanation string + ExplanationEntities []MessageEntity + ExplanationParseMode string + IsAnonymous bool + IsClosed bool + MessageThreadId int64 + OpenPeriod int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + Type string + type SendStickerOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + Emoji string + MessageThreadId int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendVenueOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + FoursquareId string + FoursquareType string + GooglePlaceId string + GooglePlaceType string + MessageThreadId int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type SendVideoNoteOpts struct + AllowSendingWithoutReply bool + DisableNotification bool + Duration int64 + Length int64 + MessageThreadId int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + Thumbnail InputFile + type SendVideoOpts struct + AllowSendingWithoutReply bool + Caption string + CaptionEntities []MessageEntity + DisableNotification bool + Duration int64 + HasSpoiler bool + Height int64 + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + SupportsStreaming bool + Thumbnail InputFile + Width int64 + type SendVoiceOpts struct + AllowSendingWithoutReply bool + Caption string + CaptionEntities []MessageEntity + DisableNotification bool + Duration int64 + MessageThreadId int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyToMessageId int64 + RequestOpts *RequestOpts + type Sender struct + AuthorSignature string + Chat *Chat + ChatId int64 + IsAutomaticForward bool + User *User + func (s Sender) FirstName() string + func (s Sender) Id() int64 + func (s Sender) IsAnonymousAdmin() bool + func (s Sender) IsAnonymousChannel() bool + func (s Sender) IsBot() bool + func (s Sender) IsChannelPost() bool + func (s Sender) IsLinkedChannel() bool + func (s Sender) IsUser() bool + func (s Sender) LastName() string + func (s Sender) Name() string + func (s Sender) Username() string + type SentWebAppMessage struct + InlineMessageId string + type SetChatAdministratorCustomTitleOpts struct + RequestOpts *RequestOpts + type SetChatDescriptionOpts struct + Description string + RequestOpts *RequestOpts + type SetChatMenuButtonOpts struct + ChatId *int64 + MenuButton MenuButton + RequestOpts *RequestOpts + type SetChatPermissionsOpts struct + RequestOpts *RequestOpts + UseIndependentChatPermissions bool + type SetChatPhotoOpts struct + RequestOpts *RequestOpts + type SetChatStickerSetOpts struct + RequestOpts *RequestOpts + type SetChatTitleOpts struct + RequestOpts *RequestOpts + type SetCustomEmojiStickerSetThumbnailOpts struct + CustomEmojiId string + RequestOpts *RequestOpts + type SetGameScoreOpts struct + ChatId int64 + DisableEditMessage bool + Force bool + InlineMessageId string + MessageId int64 + RequestOpts *RequestOpts + type SetMyCommandsOpts struct + LanguageCode string + RequestOpts *RequestOpts + Scope BotCommandScope + type SetMyDefaultAdministratorRightsOpts struct + ForChannels bool + RequestOpts *RequestOpts + Rights *ChatAdministratorRights + type SetMyDescriptionOpts struct + Description string + LanguageCode string + RequestOpts *RequestOpts + type SetMyNameOpts struct + LanguageCode string + Name string + RequestOpts *RequestOpts + type SetMyShortDescriptionOpts struct + LanguageCode string + RequestOpts *RequestOpts + ShortDescription string + type SetPassportDataErrorsOpts struct + RequestOpts *RequestOpts + type SetStickerEmojiListOpts struct + RequestOpts *RequestOpts + type SetStickerKeywordsOpts struct + Keywords []string + RequestOpts *RequestOpts + type SetStickerMaskPositionOpts struct + MaskPosition *MaskPosition + RequestOpts *RequestOpts + type SetStickerPositionInSetOpts struct + RequestOpts *RequestOpts + type SetStickerSetThumbnailOpts struct + RequestOpts *RequestOpts + Thumbnail InputFile + type SetStickerSetTitleOpts struct + RequestOpts *RequestOpts + type SetWebhookOpts struct + AllowedUpdates []string + Certificate InputFile + DropPendingUpdates bool + IpAddress string + MaxConnections int64 + RequestOpts *RequestOpts + SecretToken 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 + func (sq ShippingQuery) Answer(b *Bot, ok bool, opts *AnswerShippingQueryOpts) (bool, error) + type Sticker struct + CustomEmojiId string + Emoji string + FileId string + FileSize int64 + FileUniqueId string + Height int64 + 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 StopMessageLiveLocationOpts struct + ChatId int64 + InlineMessageId string + MessageId int64 + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + type StopPollOpts struct + ReplyMarkup InlineKeyboardMarkup + RequestOpts *RequestOpts + type Story struct + type SuccessfulPayment struct + Currency string + InvoicePayload string + OrderInfo *OrderInfo + ProviderPaymentChargeId string + ShippingOptionId string + TelegramPaymentChargeId string + TotalAmount int64 + type SwitchInlineQueryChosenChat struct + AllowBotChats bool + AllowChannelChats bool + AllowGroupChats bool + AllowUserChats bool + Query string + type TelegramError struct + Code int + Description string + Method string + Params map[string]string + ResponseParams *ResponseParameters + func (t *TelegramError) Error() string + type UnbanChatMemberOpts struct + OnlyIfBanned bool + RequestOpts *RequestOpts + type UnbanChatSenderChatOpts struct + RequestOpts *RequestOpts + type UnhideGeneralForumTopicOpts struct + RequestOpts *RequestOpts + type UnpinAllChatMessagesOpts struct + RequestOpts *RequestOpts + type UnpinAllForumTopicMessagesOpts struct + RequestOpts *RequestOpts + type UnpinAllGeneralForumTopicMessagesOpts struct + RequestOpts *RequestOpts + type UnpinChatMessageOpts struct + MessageId *int64 + RequestOpts *RequestOpts + 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 UploadStickerFileOpts struct + RequestOpts *RequestOpts + 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 + func (u User) GetProfilePhotos(b *Bot, opts *GetUserProfilePhotosOpts) (*UserProfilePhotos, error) + type UserProfilePhotos struct + Photos [][]PhotoSize + TotalCount int64 + 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 int64 + FileId string + FileName string + FileSize int64 + FileUniqueId string + Height int64 + MimeType string + Thumbnail *PhotoSize + Width int64 + type VideoChatEnded struct + Duration int64 + type VideoChatParticipantsInvited struct + Users []User + type VideoChatScheduled struct + StartDate int64 + type VideoChatStarted struct + type VideoNote struct + Duration int64 + FileId string + FileSize int64 + FileUniqueId string + Length int64 + Thumbnail *PhotoSize + type Voice struct + Duration int64 + FileId string + FileSize int64 + 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 int64 + PendingUpdateCount int64 + Url string + type WriteAccessAllowed struct + FromAttachmentMenu bool + FromRequest bool + WebAppName string