Versions in this module Expand all Collapse all v0 v0.31.2 Aug 19, 2024 Changes in this version + const BackgroundFilledFreeformGradient + const BackgroundFilledGradient + const BackgroundFilledSolid + const BackgroundTypeNameChatTheme + const BackgroundTypeNameFill + const BackgroundTypeNamePattern + const BackgroundTypeNameWallpaper + const BoostSourceGiftCode + const BoostSourceGiveaway + const BoostSourcePremium + const ButtonTypeCommands + const ButtonTypeDefault + const ButtonTypeWebApp + const CallbackQueryUpdates + const ChannelPostUpdates + const ChatActionChooseSticker + const ChatActionFindLocation + const ChatActionRecordVideo + const ChatActionRecordVideoNote + const ChatActionRecordVoice + const ChatActionTyping + const ChatActionUploadDocument + const ChatActionUploadPhoto + const ChatActionUploadVideo + const ChatActionUploadVideoNote + const ChatActionUploadVoice + const ChatJoinRequestUpdates + const ChatMemberUpdates + const ChatTypeChannel + const ChatTypeGroup + const ChatTypePrivate + const ChatTypeSender + const ChatTypeSupergroup + const ChosenInlineResultUpdates + const ContentTypeContact + const ContentTypeInvoice + const ContentTypeLocation + const ContentTypeText + const ContentTypeVenue + const DefaultLoggerTokenReplacement + const EditedChannelPostUpdates + const EditedMessageUpdates + const ElementTypeAddress + const ElementTypeBankStatement + const ElementTypeDriverLicense + const ElementTypeEmail + const ElementTypeIdentityCard + const ElementTypeInternalPassport + const ElementTypePassport + const ElementTypePassportRegistration + const ElementTypePersonalDetails + const ElementTypePhoneNumber + const ElementTypeRentalAgreement + const ElementTypeTemporaryRegistration + const ElementTypeUtilityBill + const EmojiBasketball + const EmojiBowling + const EmojiDarts + const EmojiDice + const EmojiSlotMachine + const EmojiSoccer + const EntityTypeBlockquote + const EntityTypeBold + const EntityTypeBotCommand + const EntityTypeCashtag + const EntityTypeCode + const EntityTypeCustomEmoji + const EntityTypeEmail + const EntityTypeExpandableBlockquote + const EntityTypeHashtag + const EntityTypeItalic + const EntityTypeMention + const EntityTypePhoneNumber + const EntityTypePre + const EntityTypeSpoiler + const EntityTypeStrikethrough + const EntityTypeTextLink + const EntityTypeTextMention + const EntityTypeURL + const EntityTypeUnderline + const ErrorSourceDataField + const ErrorSourceFile + const ErrorSourceFiles + const ErrorSourceFrontSide + const ErrorSourceReverseSide + const ErrorSourceSelfie + const ErrorSourceTranslationFile + const ErrorSourceTranslationFiles + const ErrorSourceUnspecified + const InlineQueryUpdates + const MarkupTypeForceReply + const MarkupTypeInlineKeyboard + const MarkupTypeReplyKeyboard + const MarkupTypeReplyKeyboardRemove + const MediaTypeAnimation + const MediaTypeAudio + const MediaTypeDocument + const MediaTypePhoto + const MediaTypeVideo + const MemberStatusAdministrator + const MemberStatusBanned + const MemberStatusCreator + const MemberStatusLeft + const MemberStatusMember + const MemberStatusRestricted + const MessageReaction + const MessageReactionCount + const MessageUpdates + const MimeTypeApplicationPDF + const MimeTypeApplicationZip + const MimeTypeImageGif + const MimeTypeImageJpeg + const MimeTypeTextHTML + const MimeTypeVideoMp4 + const ModeHTML + const ModeMarkdown + const ModeMarkdownV2 + const MyChatMemberUpdates + const OriginTypeChannel + const OriginTypeChat + const OriginTypeHiddenUser + const OriginTypeUser + const PaidMediaTypePhoto + const PaidMediaTypePreview + const PaidMediaTypeVideo + const PartnerTypeFragment + const PartnerTypeOther + const PartnerTypeTelegramAds + const PartnerTypeUser + const PointChin + const PointEyes + const PointForehead + const PointMouth + const PollAnswerUpdates + const PollTypeQuiz + const PollTypeRegular + const PollUpdates + const PreCheckoutQueryUpdates + const ReactionCustomEmoji + const ReactionEmoji + const ReactionPaid + const ResultTypeArticle + const ResultTypeAudio + const ResultTypeContact + const ResultTypeDocument + const ResultTypeGame + const ResultTypeGif + const ResultTypeLocation + const ResultTypeMpeg4Gif + const ResultTypePhoto + const ResultTypeSticker + const ResultTypeVenue + const ResultTypeVideo + const ResultTypeVoice + const ScopeTypeAllChatAdministrators + const ScopeTypeAllGroupChats + const ScopeTypeAllPrivateChats + const ScopeTypeChat + const ScopeTypeChatAdministrators + const ScopeTypeChatMember + const ScopeTypeDefault + const ShippingQueryUpdates + const StickerAnimated + const StickerFormatAnimated + const StickerFormatStatic + const StickerFormatVideo + const StickerStatic + const StickerTypeCustomEmoji + const StickerTypeMask + const StickerTypeRegular + const StickerVideo + const WebhookSecretTokenHeader + const WithdrawalStateFailed + const WithdrawalStatePending + const WithdrawalStateSucceeded + var ErrEmptyToken = errors.New("telego: empty token") + var ErrInvalidToken = errors.New("telego: invalid token format") + func ToPtr[T any](value T) *T + type AddStickerToSetParams struct + Name string + Sticker InputSticker + UserID int64 + func (p *AddStickerToSetParams) WithName(name string) *AddStickerToSetParams + func (p *AddStickerToSetParams) WithSticker(sticker InputSticker) *AddStickerToSetParams + type Animation struct + Duration int + FileID string + FileName string + FileSize int64 + FileUniqueID string + Height int + MimeType string + Thumbnail *PhotoSize + Width int + type AnswerCallbackQueryParams struct + CacheTime int + CallbackQueryID string + ShowAlert bool + Text string + URL string + func (p *AnswerCallbackQueryParams) WithCacheTime(cacheTime int) *AnswerCallbackQueryParams + func (p *AnswerCallbackQueryParams) WithCallbackQueryID(callbackQueryID string) *AnswerCallbackQueryParams + func (p *AnswerCallbackQueryParams) WithShowAlert() *AnswerCallbackQueryParams + func (p *AnswerCallbackQueryParams) WithText(text string) *AnswerCallbackQueryParams + func (p *AnswerCallbackQueryParams) WithURL(url string) *AnswerCallbackQueryParams + type AnswerInlineQueryParams struct + Button *InlineQueryResultsButton + CacheTime int + InlineQueryID string + IsPersonal bool + NextOffset string + Results []InlineQueryResult + func (p *AnswerInlineQueryParams) WithButton(button *InlineQueryResultsButton) *AnswerInlineQueryParams + func (p *AnswerInlineQueryParams) WithCacheTime(cacheTime int) *AnswerInlineQueryParams + func (p *AnswerInlineQueryParams) WithInlineQueryID(inlineQueryID string) *AnswerInlineQueryParams + func (p *AnswerInlineQueryParams) WithIsPersonal() *AnswerInlineQueryParams + func (p *AnswerInlineQueryParams) WithNextOffset(nextOffset string) *AnswerInlineQueryParams + func (p *AnswerInlineQueryParams) WithResults(results ...InlineQueryResult) *AnswerInlineQueryParams + type AnswerPreCheckoutQueryParams struct + ErrorMessage string + Ok bool + PreCheckoutQueryID string + func (p *AnswerPreCheckoutQueryParams) WithErrorMessage(errorMessage string) *AnswerPreCheckoutQueryParams + func (p *AnswerPreCheckoutQueryParams) WithOk() *AnswerPreCheckoutQueryParams + func (p *AnswerPreCheckoutQueryParams) WithPreCheckoutQueryID(preCheckoutQueryID string) *AnswerPreCheckoutQueryParams + type AnswerShippingQueryParams struct + ErrorMessage string + Ok bool + ShippingOptions []ShippingOption + ShippingQueryID string + func (p *AnswerShippingQueryParams) WithErrorMessage(errorMessage string) *AnswerShippingQueryParams + func (p *AnswerShippingQueryParams) WithOk() *AnswerShippingQueryParams + func (p *AnswerShippingQueryParams) WithShippingOptions(shippingOptions ...ShippingOption) *AnswerShippingQueryParams + func (p *AnswerShippingQueryParams) WithShippingQueryID(shippingQueryID string) *AnswerShippingQueryParams + type AnswerWebAppQueryParams struct + Result InlineQueryResult + WebAppQueryID string + func (p *AnswerWebAppQueryParams) WithResult(result InlineQueryResult) *AnswerWebAppQueryParams + func (p *AnswerWebAppQueryParams) WithWebAppQueryID(webAppQueryID string) *AnswerWebAppQueryParams + type ApproveChatJoinRequestParams struct + ChatID ChatID + UserID int64 + func (p *ApproveChatJoinRequestParams) WithChatID(chatID ChatID) *ApproveChatJoinRequestParams + type Audio struct + Duration int + FileID string + FileName string + FileSize int64 + FileUniqueID string + MimeType string + Performer string + Thumbnail *PhotoSize + Title string + type BackgroundFill interface + BackgroundFilled func() string + type BackgroundFillFreeformGradient struct + Colors []int + Type string + func (b *BackgroundFillFreeformGradient) BackgroundFilled() string + type BackgroundFillGradient struct + BottomColor int + RotationAngle int + TopColor int + Type string + func (b *BackgroundFillGradient) BackgroundFilled() string + type BackgroundFillSolid struct + Color int + Type string + func (b *BackgroundFillSolid) BackgroundFilled() string + type BackgroundType interface + BackgroundType func() string + type BackgroundTypeChatTheme struct + ThemeName string + Type string + func (b *BackgroundTypeChatTheme) BackgroundType() string + type BackgroundTypeFill struct + DarkThemeDimming int + Fill BackgroundFill + Type string + func (b *BackgroundTypeFill) BackgroundType() string + func (b *BackgroundTypeFill) UnmarshalJSON(data []byte) error + type BackgroundTypePattern struct + Document Document + Fill BackgroundFill + Intensity int + IsInverted bool + IsMoving bool + Type string + func (b *BackgroundTypePattern) BackgroundType() string + type BackgroundTypeWallpaper struct + DarkThemeDimming int + Document Document + IsBlurred bool + IsMoving bool + Type string + func (b *BackgroundTypeWallpaper) BackgroundType() string + type BanChatMemberParams struct + ChatID ChatID + RevokeMessages bool + UntilDate int64 + UserID int64 + func (p *BanChatMemberParams) WithChatID(chatID ChatID) *BanChatMemberParams + func (p *BanChatMemberParams) WithRevokeMessages() *BanChatMemberParams + type BanChatSenderChatParams struct + ChatID ChatID + SenderChatID int64 + func (p *BanChatSenderChatParams) WithChatID(chatID ChatID) *BanChatSenderChatParams + type Birthdate struct + Day int + Month int + Year int + type Bot struct + func NewBot(token string, options ...BotOption) (*Bot, error) + func (b *Bot) AddStickerToSet(params *AddStickerToSetParams) error + func (b *Bot) AnswerCallbackQuery(params *AnswerCallbackQueryParams) error + func (b *Bot) AnswerInlineQuery(params *AnswerInlineQueryParams) error + func (b *Bot) AnswerPreCheckoutQuery(params *AnswerPreCheckoutQueryParams) error + func (b *Bot) AnswerShippingQuery(params *AnswerShippingQueryParams) error + func (b *Bot) AnswerWebAppQuery(params *AnswerWebAppQueryParams) (*SentWebAppMessage, error) + func (b *Bot) ApproveChatJoinRequest(params *ApproveChatJoinRequestParams) error + func (b *Bot) BanChatMember(params *BanChatMemberParams) error + func (b *Bot) BanChatSenderChat(params *BanChatSenderChatParams) error + func (b *Bot) Close() error + func (b *Bot) CloseForumTopic(params *CloseForumTopicParams) error + func (b *Bot) CloseGeneralForumTopic(params *CloseGeneralForumTopicParams) error + func (b *Bot) CopyMessage(params *CopyMessageParams) (*MessageID, error) + func (b *Bot) CopyMessages(params *CopyMessagesParams) (*MessageID, error) + func (b *Bot) CreateChatInviteLink(params *CreateChatInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) CreateForumTopic(params *CreateForumTopicParams) (*ForumTopic, error) + func (b *Bot) CreateInvoiceLink(params *CreateInvoiceLinkParams) (*string, error) + func (b *Bot) CreateNewStickerSet(params *CreateNewStickerSetParams) error + func (b *Bot) DeclineChatJoinRequest(params *DeclineChatJoinRequestParams) error + func (b *Bot) DeleteChatPhoto(params *DeleteChatPhotoParams) error + func (b *Bot) DeleteChatStickerSet(params *DeleteChatStickerSetParams) error + func (b *Bot) DeleteForumTopic(params *DeleteForumTopicParams) error + func (b *Bot) DeleteMessage(params *DeleteMessageParams) error + func (b *Bot) DeleteMessages(params *DeleteMessagesParams) error + func (b *Bot) DeleteMyCommands(params *DeleteMyCommandsParams) error + func (b *Bot) DeleteStickerFromSet(params *DeleteStickerFromSetParams) error + func (b *Bot) DeleteStickerSet(params *DeleteStickerSetParams) error + func (b *Bot) DeleteWebhook(params *DeleteWebhookParams) error + func (b *Bot) EditChatInviteLink(params *EditChatInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) EditForumTopic(params *EditForumTopicParams) error + func (b *Bot) EditGeneralForumTopic(params *EditGeneralForumTopicParams) error + func (b *Bot) EditMessageCaption(params *EditMessageCaptionParams) (*Message, error) + func (b *Bot) EditMessageLiveLocation(params *EditMessageLiveLocationParams) (*Message, error) + func (b *Bot) EditMessageMedia(params *EditMessageMediaParams) (*Message, error) + func (b *Bot) EditMessageReplyMarkup(params *EditMessageReplyMarkupParams) (*Message, error) + func (b *Bot) EditMessageText(params *EditMessageTextParams) (*Message, error) + func (b *Bot) ExportChatInviteLink(params *ExportChatInviteLinkParams) (*string, error) + func (b *Bot) FileDownloadURL(filepath string) string + func (b *Bot) ForwardMessage(params *ForwardMessageParams) (*Message, error) + func (b *Bot) ForwardMessages(params *ForwardMessagesParams) (*MessageID, error) + func (b *Bot) GetBusinessConnection(params *GetBusinessConnectionParams) (*BusinessConnection, error) + func (b *Bot) GetChat(params *GetChatParams) (*ChatFullInfo, error) + func (b *Bot) GetChatAdministrators(params *GetChatAdministratorsParams) ([]ChatMember, error) + func (b *Bot) GetChatMember(params *GetChatMemberParams) (ChatMember, error) + func (b *Bot) GetChatMemberCount(params *GetChatMemberCountParams) (*int, error) + func (b *Bot) GetChatMenuButton(params *GetChatMenuButtonParams) (MenuButton, error) + func (b *Bot) GetCustomEmojiStickers(params *GetCustomEmojiStickersParams) ([]Sticker, error) + func (b *Bot) GetFile(params *GetFileParams) (*File, error) + func (b *Bot) GetForumTopicIconStickers() ([]Sticker, error) + func (b *Bot) GetGameHighScores(params *GetGameHighScoresParams) ([]GameHighScore, error) + func (b *Bot) GetMe() (*User, error) + func (b *Bot) GetMyCommands(params *GetMyCommandsParams) ([]BotCommand, error) + func (b *Bot) GetMyDefaultAdministratorRights(params *GetMyDefaultAdministratorRightsParams) (*ChatAdministratorRights, error) + func (b *Bot) GetMyDescription(params *GetMyDescriptionParams) (*BotDescription, error) + func (b *Bot) GetMyName(params *GetMyNameParams) (*BotName, error) + func (b *Bot) GetMyShortDescription(params *GetMyShortDescriptionParams) (*BotShortDescription, error) + func (b *Bot) GetStarTransactions(params *GetStarTransactionsParams) (*StarTransactions, error) + func (b *Bot) GetStickerSet(params *GetStickerSetParams) (*StickerSet, error) + func (b *Bot) GetUpdates(params *GetUpdatesParams) ([]Update, error) + func (b *Bot) GetUserChatBoosts(params *GetUserChatBoostsParams) (*UserChatBoosts, error) + func (b *Bot) GetUserProfilePhotos(params *GetUserProfilePhotosParams) (*UserProfilePhotos, error) + func (b *Bot) GetWebhookInfo() (*WebhookInfo, error) + func (b *Bot) HideGeneralForumTopic(params *HideGeneralForumTopicParams) error + func (b *Bot) IsRunningLongPolling() bool + func (b *Bot) IsRunningWebhook() bool + func (b *Bot) LeaveChat(params *LeaveChatParams) error + func (b *Bot) LogOut() error + func (b *Bot) Logger() Logger + func (b *Bot) PinChatMessage(params *PinChatMessageParams) error + func (b *Bot) PromoteChatMember(params *PromoteChatMemberParams) error + func (b *Bot) RefundStarPayment(params *RefundStarPaymentParams) error + func (b *Bot) ReopenForumTopic(params *ReopenForumTopicParams) error + func (b *Bot) ReopenGeneralForumTopic(params *ReopenGeneralForumTopicParams) error + func (b *Bot) ReplaceStickerInSet(params *ReplaceStickerInSetParams) error + func (b *Bot) RestrictChatMember(params *RestrictChatMemberParams) error + func (b *Bot) RevokeChatInviteLink(params *RevokeChatInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) SendAnimation(params *SendAnimationParams) (*Message, error) + func (b *Bot) SendAudio(params *SendAudioParams) (*Message, error) + func (b *Bot) SendChatAction(params *SendChatActionParams) error + func (b *Bot) SendContact(params *SendContactParams) (*Message, error) + func (b *Bot) SendDice(params *SendDiceParams) (*Message, error) + func (b *Bot) SendDocument(params *SendDocumentParams) (*Message, error) + func (b *Bot) SendGame(params *SendGameParams) (*Message, error) + func (b *Bot) SendInvoice(params *SendInvoiceParams) (*Message, error) + func (b *Bot) SendLocation(params *SendLocationParams) (*Message, error) + func (b *Bot) SendMediaGroup(params *SendMediaGroupParams) ([]Message, error) + func (b *Bot) SendMessage(params *SendMessageParams) (*Message, error) + func (b *Bot) SendPaidMedia(params *SendPaidMediaParams) (*Message, error) + func (b *Bot) SendPhoto(params *SendPhotoParams) (*Message, error) + func (b *Bot) SendPoll(params *SendPollParams) (*Message, error) + func (b *Bot) SendSticker(params *SendStickerParams) (*Message, error) + func (b *Bot) SendVenue(params *SendVenueParams) (*Message, error) + func (b *Bot) SendVideo(params *SendVideoParams) (*Message, error) + func (b *Bot) SendVideoNote(params *SendVideoNoteParams) (*Message, error) + func (b *Bot) SendVoice(params *SendVoiceParams) (*Message, error) + func (b *Bot) SetChatAdministratorCustomTitle(params *SetChatAdministratorCustomTitleParams) error + func (b *Bot) SetChatDescription(params *SetChatDescriptionParams) error + func (b *Bot) SetChatMenuButton(params *SetChatMenuButtonParams) error + func (b *Bot) SetChatPermissions(params *SetChatPermissionsParams) error + func (b *Bot) SetChatPhoto(params *SetChatPhotoParams) error + func (b *Bot) SetChatStickerSet(params *SetChatStickerSetParams) error + func (b *Bot) SetChatTitle(params *SetChatTitleParams) error + func (b *Bot) SetCustomEmojiStickerSetThumbnail(params *SetCustomEmojiStickerSetThumbnailParams) error + func (b *Bot) SetGameScore(params *SetGameScoreParams) (*Message, error) + func (b *Bot) SetMessageReaction(params *SetMessageReactionParams) error + func (b *Bot) SetMyCommands(params *SetMyCommandsParams) error + func (b *Bot) SetMyDefaultAdministratorRights(params *SetMyDefaultAdministratorRightsParams) error + func (b *Bot) SetMyDescription(params *SetMyDescriptionParams) error + func (b *Bot) SetMyName(params *SetMyNameParams) error + func (b *Bot) SetMyShortDescription(params *SetMyShortDescriptionParams) error + func (b *Bot) SetPassportDataErrors(params *SetPassportDataErrorsParams) error + func (b *Bot) SetStickerEmojiList(params *SetStickerEmojiListParams) error + func (b *Bot) SetStickerKeywords(params *SetStickerKeywordsParams) error + func (b *Bot) SetStickerMaskPosition(params *SetStickerMaskPositionParams) error + func (b *Bot) SetStickerPositionInSet(params *SetStickerPositionInSetParams) error + func (b *Bot) SetStickerSetThumbnail(params *SetStickerSetThumbnailParams) error + func (b *Bot) SetStickerSetTitle(params *SetStickerSetTitleParams) error + func (b *Bot) SetWebhook(params *SetWebhookParams) error + func (b *Bot) StartWebhook(address string) error + func (b *Bot) StopLongPolling() + func (b *Bot) StopMessageLiveLocation(params *StopMessageLiveLocationParams) (*Message, error) + func (b *Bot) StopPoll(params *StopPollParams) (*Poll, error) + func (b *Bot) StopWebhook() error + func (b *Bot) StopWebhookWithContext(ctx context.Context) error + func (b *Bot) Token() string + func (b *Bot) UnbanChatMember(params *UnbanChatMemberParams) error + func (b *Bot) UnbanChatSenderChat(params *UnbanChatSenderChatParams) error + func (b *Bot) UnhideGeneralForumTopic(params *UnhideGeneralForumTopicParams) error + func (b *Bot) UnpinAllChatMessages(params *UnpinAllChatMessagesParams) error + func (b *Bot) UnpinAllForumTopicMessages(params *UnpinAllForumTopicMessagesParams) error + func (b *Bot) UnpinAllGeneralForumTopicMessages(params *UnpinAllGeneralForumTopicMessagesParams) error + func (b *Bot) UnpinChatMessage(params *UnpinChatMessageParams) error + func (b *Bot) UpdatesViaLongPolling(params *GetUpdatesParams, options ...LongPollingOption) (<-chan Update, error) + func (b *Bot) UpdatesViaWebhook(path string, options ...WebhookOption) (<-chan Update, error) + func (b *Bot) UploadStickerFile(params *UploadStickerFileParams) (*File, error) + type BotCommand struct + Command string + Description string + type BotCommandScope interface + ScopeType func() string + type BotCommandScopeAllChatAdministrators struct + Type string + func (b *BotCommandScopeAllChatAdministrators) ScopeType() string + type BotCommandScopeAllGroupChats struct + Type string + func (b *BotCommandScopeAllGroupChats) ScopeType() string + type BotCommandScopeAllPrivateChats struct + Type string + func (b *BotCommandScopeAllPrivateChats) ScopeType() string + type BotCommandScopeChat struct + ChatID ChatID + Type string + func (b *BotCommandScopeChat) ScopeType() string + type BotCommandScopeChatAdministrators struct + ChatID ChatID + Type string + func (b *BotCommandScopeChatAdministrators) ScopeType() string + type BotCommandScopeChatMember struct + ChatID ChatID + Type string + UserID int64 + func (b *BotCommandScopeChatMember) ScopeType() string + type BotCommandScopeDefault struct + Type string + func (b *BotCommandScopeDefault) ScopeType() string + type BotDescription struct + Description string + type BotName struct + Name string + type BotOption func(bot *Bot) error + func WithAPICaller(caller ta.Caller) BotOption + func WithAPIServer(apiURL string) BotOption + func WithDefaultDebugLogger() BotOption + func WithDefaultLogger(debugMode, printErrors bool) BotOption + func WithDiscardLogger() BotOption + func WithExtendedDefaultLogger(debugMode, printErrors bool, replacer *strings.Replacer) BotOption + func WithFastHTTPClient(client *fasthttp.Client) BotOption + func WithHTTPClient(client *http.Client) BotOption + func WithHealthCheck() BotOption + func WithLogger(log Logger) BotOption + func WithRequestConstructor(constructor ta.RequestConstructor) BotOption + func WithTestServerPath() BotOption + func WithWarnings() BotOption + type BotShortDescription struct + ShortDescription string + type BusinessConnection struct + CanReply bool + Date int64 + ID string + IsEnabled bool + User User + UserChatID int64 + type BusinessIntro struct + Message string + Sticker *Sticker + Title string + type BusinessLocation struct + Address string + Location *Location + type BusinessMessagesDeleted struct + BusinessConnectionID string + Chat Chat + MessageIDs []int + type BusinessOpeningHours struct + OpeningHours []BusinessOpeningHoursInterval + TimeZoneName string + type BusinessOpeningHoursInterval struct + ClosingMinute int + OpeningMinute int + type CallbackGame struct + type CallbackQuery struct + ChatInstance string + Data string + From User + GameShortName string + ID string + InlineMessageID string + Message MaybeInaccessibleMessage + func (q *CallbackQuery) UnmarshalJSON(data []byte) error + type Chat struct + FirstName string + ID int64 + IsForum bool + LastName string + Title string + Type string + Username string + func (c *Chat) ChatID() ChatID + 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 ChatBackground struct + Type BackgroundType + func (c *ChatBackground) UnmarshalJSON(data []byte) error + type ChatBoost struct + AddDate int64 + BoostID string + ExpirationDate int64 + Source ChatBoostSource + func (b *ChatBoost) UnmarshalJSON(data []byte) error + type ChatBoostAdded struct + BoostCount int + type ChatBoostRemoved struct + BoostID string + Chat Chat + RemoveDate int64 + Source ChatBoostSource + func (b *ChatBoostRemoved) UnmarshalJSON(data []byte) error + type ChatBoostSource interface + BoostSource func() string + type ChatBoostSourceGiftCode struct + Source string + User User + func (b *ChatBoostSourceGiftCode) BoostSource() string + type ChatBoostSourceGiveaway struct + GiveawayMessageID int + IsUnclaimed bool + Source string + User *User + func (b *ChatBoostSourceGiveaway) BoostSource() string + type ChatBoostSourcePremium struct + Source string + User User + func (b *ChatBoostSourcePremium) BoostSource() string + type ChatBoostUpdated struct + Boost ChatBoost + Chat Chat + type ChatFullInfo struct + AccentColorID int + ActiveUsernames []string + AvailableReactions []ReactionType + BackgroundCustomEmojiID string + Bio string + Birthdate *Birthdate + BusinessIntro *BusinessIntro + BusinessLocation *BusinessLocation + BusinessOpeningHours *BusinessOpeningHours + CanSendPaidMedia bool + CanSetStickerSet bool + CustomEmojiStickerSetName string + Description string + EmojiStatusCustomEmojiID string + EmojiStatusExpirationDate int64 + FirstName string + HasAggressiveAntiSpamEnabled bool + HasHiddenMembers bool + HasPrivateForwards bool + HasProtectedContent bool + HasRestrictedVoiceAndVideoMessages bool + HasVisibleHistory bool + ID int64 + InviteLink string + IsForum bool + JoinByRequest bool + JoinToSendMessages bool + LastName string + LinkedChatID int64 + Location *ChatLocation + MaxReactionCount int + MessageAutoDeleteTime int + Permissions *ChatPermissions + PersonalChat *Chat + Photo *ChatPhoto + PinnedMessage *Message + ProfileAccentColorID int + ProfileBackgroundCustomEmojiID string + SlowModeDelay int + StickerSetName string + Title string + Type string + UnrestrictBoostCount int + Username string + func (c *ChatFullInfo) UnmarshalJSON(data []byte) error + type ChatID struct + ID int64 + Username string + func (c ChatID) MarshalJSON() ([]byte, error) + func (c ChatID) String() string + 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 interface + MemberIsMember func() bool + MemberStatus func() string + MemberUser func() User + 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 + Status string + User User + func (c *ChatMemberAdministrator) MemberIsMember() bool + func (c *ChatMemberAdministrator) MemberStatus() string + func (c *ChatMemberAdministrator) MemberUser() User + type ChatMemberBanned struct + Status string + UntilDate int64 + User User + func (c *ChatMemberBanned) MemberIsMember() bool + func (c *ChatMemberBanned) MemberStatus() string + func (c *ChatMemberBanned) MemberUser() User + type ChatMemberLeft struct + Status string + User User + func (c *ChatMemberLeft) MemberIsMember() bool + func (c *ChatMemberLeft) MemberStatus() string + func (c *ChatMemberLeft) MemberUser() User + type ChatMemberMember struct + Status string + User User + func (c *ChatMemberMember) MemberIsMember() bool + func (c *ChatMemberMember) MemberStatus() string + func (c *ChatMemberMember) MemberUser() User + type ChatMemberOwner struct + CustomTitle string + IsAnonymous bool + Status string + User User + func (c *ChatMemberOwner) MemberIsMember() bool + func (c *ChatMemberOwner) MemberStatus() string + func (c *ChatMemberOwner) MemberUser() User + 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 + Status string + UntilDate int64 + User User + func (c *ChatMemberRestricted) MemberIsMember() bool + func (c *ChatMemberRestricted) MemberStatus() string + func (c *ChatMemberRestricted) MemberUser() User + type ChatMemberUpdated struct + Chat Chat + Date int64 + From User + InviteLink *ChatInviteLink + NewChatMember ChatMember + OldChatMember ChatMember + ViaChatFolderInviteLink bool + ViaJoinRequest bool + func (c *ChatMemberUpdated) UnmarshalJSON(data []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 + Photo []PhotoSize + RequestID int + Title string + Username string + type ChosenInlineResult struct + From User + InlineMessageID string + Location *Location + Query string + ResultID string + type CloseForumTopicParams struct + ChatID ChatID + MessageThreadID int + func (p *CloseForumTopicParams) WithChatID(chatID ChatID) *CloseForumTopicParams + func (p *CloseForumTopicParams) WithMessageThreadID(messageThreadID int) *CloseForumTopicParams + type CloseGeneralForumTopicParams struct + ChatID ChatID + func (p *CloseGeneralForumTopicParams) WithChatID(chatID ChatID) *CloseGeneralForumTopicParams + type Contact struct + FirstName string + LastName string + PhoneNumber string + UserID int64 + Vcard string + type CopyMessageParams struct + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + FromChatID ChatID + MessageID int + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + func (p *CopyMessageParams) WithCaption(caption string) *CopyMessageParams + func (p *CopyMessageParams) WithCaptionEntities(captionEntities ...MessageEntity) *CopyMessageParams + func (p *CopyMessageParams) WithChatID(chatID ChatID) *CopyMessageParams + func (p *CopyMessageParams) WithDisableNotification() *CopyMessageParams + func (p *CopyMessageParams) WithFromChatID(fromChatID ChatID) *CopyMessageParams + func (p *CopyMessageParams) WithMessageID(messageID int) *CopyMessageParams + func (p *CopyMessageParams) WithMessageThreadID(messageThreadID int) *CopyMessageParams + func (p *CopyMessageParams) WithParseMode(parseMode string) *CopyMessageParams + func (p *CopyMessageParams) WithProtectContent() *CopyMessageParams + func (p *CopyMessageParams) WithReplyMarkup(replyMarkup ReplyMarkup) *CopyMessageParams + func (p *CopyMessageParams) WithReplyParameters(replyParameters *ReplyParameters) *CopyMessageParams + func (p *CopyMessageParams) WithShowCaptionAboveMedia() *CopyMessageParams + type CopyMessagesParams struct + ChatID ChatID + DisableNotification bool + FromChatID ChatID + MessageIDs []int + MessageThreadID int + ProtectContent bool + RemoveCaption bool + func (p *CopyMessagesParams) WithChatID(chatID ChatID) *CopyMessagesParams + func (p *CopyMessagesParams) WithDisableNotification() *CopyMessagesParams + func (p *CopyMessagesParams) WithFromChatID(fromChatID ChatID) *CopyMessagesParams + func (p *CopyMessagesParams) WithMessageIDs(messageIDs ...int) *CopyMessagesParams + func (p *CopyMessagesParams) WithMessageThreadID(messageThreadID int) *CopyMessagesParams + func (p *CopyMessagesParams) WithProtectContent() *CopyMessagesParams + func (p *CopyMessagesParams) WithRemoveCaption() *CopyMessagesParams + type CreateChatInviteLinkParams struct + ChatID ChatID + CreatesJoinRequest bool + ExpireDate int64 + MemberLimit int + Name string + func (p *CreateChatInviteLinkParams) WithChatID(chatID ChatID) *CreateChatInviteLinkParams + func (p *CreateChatInviteLinkParams) WithCreatesJoinRequest() *CreateChatInviteLinkParams + func (p *CreateChatInviteLinkParams) WithMemberLimit(memberLimit int) *CreateChatInviteLinkParams + func (p *CreateChatInviteLinkParams) WithName(name string) *CreateChatInviteLinkParams + type CreateForumTopicParams struct + ChatID ChatID + IconColor int + IconCustomEmojiID string + Name string + func (p *CreateForumTopicParams) WithChatID(chatID ChatID) *CreateForumTopicParams + func (p *CreateForumTopicParams) WithIconColor(iconColor int) *CreateForumTopicParams + func (p *CreateForumTopicParams) WithIconCustomEmojiID(iconCustomEmojiID string) *CreateForumTopicParams + func (p *CreateForumTopicParams) WithName(name string) *CreateForumTopicParams + type CreateInvoiceLinkParams 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 int + Prices []LabeledPrice + ProviderData string + ProviderToken string + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SuggestedTipAmounts []int + Title string + func (p *CreateInvoiceLinkParams) WithCurrency(currency string) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithDescription(description string) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithIsFlexible() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithMaxTipAmount(maxTipAmount int) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithNeedEmail() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithNeedName() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithNeedPhoneNumber() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithNeedShippingAddress() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithPayload(payload string) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithPhotoHeight(photoHeight int) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithPhotoSize(photoSize int) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithPhotoURL(photoURL string) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithPhotoWidth(photoWidth int) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithPrices(prices ...LabeledPrice) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithProviderData(providerData string) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithProviderToken(providerToken string) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithSendEmailToProvider() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithSendPhoneNumberToProvider() *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithSuggestedTipAmounts(suggestedTipAmounts ...int) *CreateInvoiceLinkParams + func (p *CreateInvoiceLinkParams) WithTitle(title string) *CreateInvoiceLinkParams + type CreateNewStickerSetParams struct + Name string + NeedsRepainting bool + StickerType string + Stickers []InputSticker + Title string + UserID int64 + func (p *CreateNewStickerSetParams) WithName(name string) *CreateNewStickerSetParams + func (p *CreateNewStickerSetParams) WithNeedsRepainting() *CreateNewStickerSetParams + func (p *CreateNewStickerSetParams) WithStickerType(stickerType string) *CreateNewStickerSetParams + func (p *CreateNewStickerSetParams) WithStickers(stickers ...InputSticker) *CreateNewStickerSetParams + func (p *CreateNewStickerSetParams) WithTitle(title string) *CreateNewStickerSetParams + type DeclineChatJoinRequestParams struct + ChatID ChatID + UserID int64 + func (p *DeclineChatJoinRequestParams) WithChatID(chatID ChatID) *DeclineChatJoinRequestParams + type DeleteChatPhotoParams struct + ChatID ChatID + func (p *DeleteChatPhotoParams) WithChatID(chatID ChatID) *DeleteChatPhotoParams + type DeleteChatStickerSetParams struct + ChatID ChatID + func (p *DeleteChatStickerSetParams) WithChatID(chatID ChatID) *DeleteChatStickerSetParams + type DeleteForumTopicParams struct + ChatID ChatID + MessageThreadID int + func (p *DeleteForumTopicParams) WithChatID(chatID ChatID) *DeleteForumTopicParams + func (p *DeleteForumTopicParams) WithMessageThreadID(messageThreadID int) *DeleteForumTopicParams + type DeleteMessageParams struct + ChatID ChatID + MessageID int + func (p *DeleteMessageParams) WithChatID(chatID ChatID) *DeleteMessageParams + func (p *DeleteMessageParams) WithMessageID(messageID int) *DeleteMessageParams + type DeleteMessagesParams struct + ChatID ChatID + MessageIDs []int + func (p *DeleteMessagesParams) WithChatID(chatID ChatID) *DeleteMessagesParams + func (p *DeleteMessagesParams) WithMessageIDs(messageIDs ...int) *DeleteMessagesParams + type DeleteMyCommandsParams struct + LanguageCode string + Scope BotCommandScope + func (p *DeleteMyCommandsParams) WithLanguageCode(languageCode string) *DeleteMyCommandsParams + func (p *DeleteMyCommandsParams) WithScope(scope BotCommandScope) *DeleteMyCommandsParams + type DeleteStickerFromSetParams struct + Sticker string + func (p *DeleteStickerFromSetParams) WithSticker(sticker string) *DeleteStickerFromSetParams + type DeleteStickerSetParams struct + Name string + func (p *DeleteStickerSetParams) WithName(name string) *DeleteStickerSetParams + type DeleteWebhookParams struct + DropPendingUpdates bool + func (p *DeleteWebhookParams) WithDropPendingUpdates() *DeleteWebhookParams + type Dice struct + Emoji string + Value int + type Document struct + FileID string + FileName string + FileSize int64 + FileUniqueID string + MimeType string + Thumbnail *PhotoSize + type EditChatInviteLinkParams struct + ChatID ChatID + CreatesJoinRequest bool + ExpireDate int64 + InviteLink string + MemberLimit int + Name string + func (p *EditChatInviteLinkParams) WithChatID(chatID ChatID) *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithCreatesJoinRequest() *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithInviteLink(inviteLink string) *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithMemberLimit(memberLimit int) *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithName(name string) *EditChatInviteLinkParams + type EditForumTopicParams struct + ChatID ChatID + IconCustomEmojiID *string + MessageThreadID int + Name string + func (p *EditForumTopicParams) WithChatID(chatID ChatID) *EditForumTopicParams + func (p *EditForumTopicParams) WithIconCustomEmojiID(iconCustomEmojiID string) *EditForumTopicParams + func (p *EditForumTopicParams) WithMessageThreadID(messageThreadID int) *EditForumTopicParams + func (p *EditForumTopicParams) WithName(name string) *EditForumTopicParams + type EditGeneralForumTopicParams struct + ChatID ChatID + Name string + func (p *EditGeneralForumTopicParams) WithChatID(chatID ChatID) *EditGeneralForumTopicParams + func (p *EditGeneralForumTopicParams) WithName(name string) *EditGeneralForumTopicParams + type EditMessageCaptionParams struct + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + InlineMessageID string + MessageID int + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + func (p *EditMessageCaptionParams) WithBusinessConnectionID(businessConnectionID string) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithCaption(caption string) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithCaptionEntities(captionEntities ...MessageEntity) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithChatID(chatID ChatID) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithInlineMessageID(inlineMessageID string) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithMessageID(messageID int) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithParseMode(parseMode string) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditMessageCaptionParams + func (p *EditMessageCaptionParams) WithShowCaptionAboveMedia() *EditMessageCaptionParams + type EditMessageLiveLocationParams struct + BusinessConnectionID string + ChatID ChatID + Heading int + HorizontalAccuracy float64 + InlineMessageID string + Latitude float64 + LivePeriod int + Longitude float64 + MessageID int + ProximityAlertRadius int + ReplyMarkup *InlineKeyboardMarkup + func (p *EditMessageLiveLocationParams) WithBusinessConnectionID(businessConnectionID string) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithChatID(chatID ChatID) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithHeading(heading int) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithInlineMessageID(inlineMessageID string) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithLivePeriod(livePeriod int) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithMessageID(messageID int) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithProximityAlertRadius(proximityAlertRadius int) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditMessageLiveLocationParams + type EditMessageMediaParams struct + BusinessConnectionID string + ChatID ChatID + InlineMessageID string + Media InputMedia + MessageID int + ReplyMarkup *InlineKeyboardMarkup + func (p *EditMessageMediaParams) WithBusinessConnectionID(businessConnectionID string) *EditMessageMediaParams + func (p *EditMessageMediaParams) WithChatID(chatID ChatID) *EditMessageMediaParams + func (p *EditMessageMediaParams) WithInlineMessageID(inlineMessageID string) *EditMessageMediaParams + func (p *EditMessageMediaParams) WithMedia(media InputMedia) *EditMessageMediaParams + func (p *EditMessageMediaParams) WithMessageID(messageID int) *EditMessageMediaParams + func (p *EditMessageMediaParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditMessageMediaParams + type EditMessageReplyMarkupParams struct + BusinessConnectionID string + ChatID ChatID + InlineMessageID string + MessageID int + ReplyMarkup *InlineKeyboardMarkup + func (p *EditMessageReplyMarkupParams) WithBusinessConnectionID(businessConnectionID string) *EditMessageReplyMarkupParams + func (p *EditMessageReplyMarkupParams) WithChatID(chatID ChatID) *EditMessageReplyMarkupParams + func (p *EditMessageReplyMarkupParams) WithInlineMessageID(inlineMessageID string) *EditMessageReplyMarkupParams + func (p *EditMessageReplyMarkupParams) WithMessageID(messageID int) *EditMessageReplyMarkupParams + func (p *EditMessageReplyMarkupParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditMessageReplyMarkupParams + type EditMessageTextParams struct + BusinessConnectionID string + ChatID ChatID + Entities []MessageEntity + InlineMessageID string + LinkPreviewOptions *LinkPreviewOptions + MessageID int + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Text string + func (p *EditMessageTextParams) WithBusinessConnectionID(businessConnectionID string) *EditMessageTextParams + func (p *EditMessageTextParams) WithChatID(chatID ChatID) *EditMessageTextParams + func (p *EditMessageTextParams) WithEntities(entities ...MessageEntity) *EditMessageTextParams + func (p *EditMessageTextParams) WithInlineMessageID(inlineMessageID string) *EditMessageTextParams + func (p *EditMessageTextParams) WithLinkPreviewOptions(linkPreviewOptions *LinkPreviewOptions) *EditMessageTextParams + func (p *EditMessageTextParams) WithMessageID(messageID int) *EditMessageTextParams + func (p *EditMessageTextParams) WithParseMode(parseMode string) *EditMessageTextParams + func (p *EditMessageTextParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditMessageTextParams + func (p *EditMessageTextParams) WithText(text string) *EditMessageTextParams + 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 ExportChatInviteLinkParams struct + ChatID ChatID + func (p *ExportChatInviteLinkParams) WithChatID(chatID ChatID) *ExportChatInviteLinkParams + type ExternalReplyInfo struct + Animation *Animation + Audio *Audio + Chat *Chat + Contact *Contact + Dice *Dice + Document *Document + Game *Game + Giveaway *Giveaway + GiveawayWinners *GiveawayWinners + HasMediaSpoiler bool + Invoice *Invoice + LinkPreviewOptions *LinkPreviewOptions + Location *Location + MessageID int + Origin MessageOrigin + PaidMedia *PaidMediaInfo + Photo []PhotoSize + Poll *Poll + Sticker *Sticker + Story *Story + Venue *Venue + Video *Video + VideoNote *VideoNote + Voice *Voice + func (e *ExternalReplyInfo) UnmarshalJSON(data []byte) error + type FastHTTPWebhookServer struct + Logger Logger + Router *router.Router + SecretToken string + Server *fasthttp.Server + func (f FastHTTPWebhookServer) RegisterHandler(path string, handler WebhookHandler) error + func (f FastHTTPWebhookServer) Start(address string) error + func (f FastHTTPWebhookServer) Stop(ctx context.Context) error + type File struct + FileID string + FilePath string + FileSize int64 + FileUniqueID string + type ForceReply struct + ForceReply bool + InputFieldPlaceholder string + Selective bool + func (f *ForceReply) ReplyType() string + func (f *ForceReply) WithForceReply() *ForceReply + func (f *ForceReply) WithInputFieldPlaceholder(inputFieldPlaceholder string) *ForceReply + func (f *ForceReply) WithSelective() *ForceReply + type ForumTopic struct + IconColor int + IconCustomEmojiID string + MessageThreadID int + Name string + type ForumTopicClosed struct + type ForumTopicCreated struct + IconColor int + IconCustomEmojiID string + Name string + type ForumTopicEdited struct + IconCustomEmojiID string + Name string + type ForumTopicReopened struct + type ForwardMessageParams struct + ChatID ChatID + DisableNotification bool + FromChatID ChatID + MessageID int + MessageThreadID int + ProtectContent bool + func (p *ForwardMessageParams) WithChatID(chatID ChatID) *ForwardMessageParams + func (p *ForwardMessageParams) WithDisableNotification() *ForwardMessageParams + func (p *ForwardMessageParams) WithFromChatID(fromChatID ChatID) *ForwardMessageParams + func (p *ForwardMessageParams) WithMessageID(messageID int) *ForwardMessageParams + func (p *ForwardMessageParams) WithMessageThreadID(messageThreadID int) *ForwardMessageParams + func (p *ForwardMessageParams) WithProtectContent() *ForwardMessageParams + type ForwardMessagesParams struct + ChatID ChatID + DisableNotification bool + FromChatID ChatID + MessageIDs []int + MessageThreadID int + ProtectContent bool + func (p *ForwardMessagesParams) WithChatID(chatID ChatID) *ForwardMessagesParams + func (p *ForwardMessagesParams) WithDisableNotification() *ForwardMessagesParams + func (p *ForwardMessagesParams) WithFromChatID(fromChatID ChatID) *ForwardMessagesParams + func (p *ForwardMessagesParams) WithMessageIDs(messageIDs ...int) *ForwardMessagesParams + func (p *ForwardMessagesParams) WithMessageThreadID(messageThreadID int) *ForwardMessagesParams + func (p *ForwardMessagesParams) WithProtectContent() *ForwardMessagesParams + type FuncWebhookServer struct + RegisterHandlerFunc func(path string, handler WebhookHandler) error + Server WebhookServer + StartFunc func(address string) error + StopFunc func(ctx context.Context) error + func (f FuncWebhookServer) RegisterHandler(path string, handler WebhookHandler) error + func (f FuncWebhookServer) Start(address string) error + func (f FuncWebhookServer) Stop(ctx context.Context) error + 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 struct + type GeneralForumTopicUnhidden struct + type GetBusinessConnectionParams struct + BusinessConnectionID string + func (p *GetBusinessConnectionParams) WithBusinessConnectionID(businessConnectionID string) *GetBusinessConnectionParams + type GetChatAdministratorsParams struct + ChatID ChatID + func (p *GetChatAdministratorsParams) WithChatID(chatID ChatID) *GetChatAdministratorsParams + type GetChatMemberCountParams struct + ChatID ChatID + func (p *GetChatMemberCountParams) WithChatID(chatID ChatID) *GetChatMemberCountParams + type GetChatMemberParams struct + ChatID ChatID + UserID int64 + func (p *GetChatMemberParams) WithChatID(chatID ChatID) *GetChatMemberParams + type GetChatMenuButtonParams struct + ChatID int64 + type GetChatParams struct + ChatID ChatID + func (p *GetChatParams) WithChatID(chatID ChatID) *GetChatParams + type GetCustomEmojiStickersParams struct + CustomEmojiIDs []string + func (p *GetCustomEmojiStickersParams) WithCustomEmojiIDs(customEmojiIDs ...string) *GetCustomEmojiStickersParams + type GetFileParams struct + FileID string + func (p *GetFileParams) WithFileID(fileID string) *GetFileParams + type GetGameHighScoresParams struct + ChatID int64 + InlineMessageID string + MessageID int + UserID int64 + func (p *GetGameHighScoresParams) WithInlineMessageID(inlineMessageID string) *GetGameHighScoresParams + func (p *GetGameHighScoresParams) WithMessageID(messageID int) *GetGameHighScoresParams + type GetMyCommandsParams struct + LanguageCode string + Scope BotCommandScope + func (p *GetMyCommandsParams) WithLanguageCode(languageCode string) *GetMyCommandsParams + func (p *GetMyCommandsParams) WithScope(scope BotCommandScope) *GetMyCommandsParams + type GetMyDefaultAdministratorRightsParams struct + ForChannels bool + func (p *GetMyDefaultAdministratorRightsParams) WithForChannels() *GetMyDefaultAdministratorRightsParams + type GetMyDescriptionParams struct + LanguageCode string + func (p *GetMyDescriptionParams) WithLanguageCode(languageCode string) *GetMyDescriptionParams + type GetMyNameParams struct + LanguageCode string + func (p *GetMyNameParams) WithLanguageCode(languageCode string) *GetMyNameParams + type GetMyShortDescriptionParams struct + LanguageCode string + func (p *GetMyShortDescriptionParams) WithLanguageCode(languageCode string) *GetMyShortDescriptionParams + type GetStarTransactionsParams struct + Limit int + Offset int + func (p *GetStarTransactionsParams) WithLimit(limit int) *GetStarTransactionsParams + func (p *GetStarTransactionsParams) WithOffset(offset int) *GetStarTransactionsParams + type GetStickerSetParams struct + Name string + func (p *GetStickerSetParams) WithName(name string) *GetStickerSetParams + type GetUpdatesParams struct + AllowedUpdates []string + Limit int + Offset int + Timeout int + func (p *GetUpdatesParams) WithAllowedUpdates(allowedUpdates ...string) *GetUpdatesParams + func (p *GetUpdatesParams) WithLimit(limit int) *GetUpdatesParams + func (p *GetUpdatesParams) WithOffset(offset int) *GetUpdatesParams + func (p *GetUpdatesParams) WithTimeout(timeout int) *GetUpdatesParams + type GetUserChatBoostsParams struct + ChatID ChatID + UserID int64 + func (p *GetUserChatBoostsParams) WithChatID(chatID ChatID) *GetUserChatBoostsParams + type GetUserProfilePhotosParams struct + Limit int + Offset int + UserID int64 + func (p *GetUserProfilePhotosParams) WithLimit(limit int) *GetUserProfilePhotosParams + func (p *GetUserProfilePhotosParams) WithOffset(offset int) *GetUserProfilePhotosParams + type Giveaway struct + Chats []Chat + CountryCodes []string + HasPublicWinners bool + OnlyNewMembers bool + PremiumSubscriptionMonthCount int + PrizeDescription string + WinnerCount int + WinnersSelectionDate int64 + type GiveawayCompleted struct + GiveawayMessage *Message + UnclaimedPrizeCount int + WinnerCount int + type GiveawayCreated struct + type GiveawayWinners struct + AdditionalChatCount int + Chat Chat + GiveawayMessageID int + OnlyNewMembers bool + PremiumSubscriptionMonthCount int + PrizeDescription string + UnclaimedPrizeCount int + WasRefunded bool + WinnerCount int + Winners []User + WinnersSelectionDate int64 + type HTTPWebhookServer struct + Logger Logger + SecretToken string + ServeMux *http.ServeMux + Server *http.Server + func (h HTTPWebhookServer) RegisterHandler(path string, handler WebhookHandler) error + func (h HTTPWebhookServer) Start(address string) error + func (h HTTPWebhookServer) Stop(ctx context.Context) error + type HideGeneralForumTopicParams struct + ChatID ChatID + func (p *HideGeneralForumTopicParams) WithChatID(chatID ChatID) *HideGeneralForumTopicParams + type InaccessibleMessage struct + Chat Chat + Date int64 + MessageID int + func (m *InaccessibleMessage) GetChat() Chat + func (m *InaccessibleMessage) GetDate() int64 + func (m *InaccessibleMessage) GetMessageID() int + func (m *InaccessibleMessage) IsAccessible() bool + type InlineKeyboardButton struct + CallbackData string + CallbackGame *CallbackGame + LoginURL *LoginURL + Pay bool + SwitchInlineQuery *string + SwitchInlineQueryChosenChat *SwitchInlineQueryChosenChat + SwitchInlineQueryCurrentChat *string + Text string + URL string + WebApp *WebAppInfo + func (i InlineKeyboardButton) WithCallbackData(callbackData string) InlineKeyboardButton + func (i InlineKeyboardButton) WithCallbackGame(callbackGame *CallbackGame) InlineKeyboardButton + func (i InlineKeyboardButton) WithLoginURL(loginURL *LoginURL) InlineKeyboardButton + func (i InlineKeyboardButton) WithPay() InlineKeyboardButton + func (i InlineKeyboardButton) WithSwitchInlineQuery(switchInlineQuery string) InlineKeyboardButton + func (i InlineKeyboardButton) WithSwitchInlineQueryChosenChat(switchInlineQueryChosenChat *SwitchInlineQueryChosenChat) InlineKeyboardButton + func (i InlineKeyboardButton) WithSwitchInlineQueryCurrentChat(switchInlineQueryCurrentChat string) InlineKeyboardButton + func (i InlineKeyboardButton) WithText(text string) InlineKeyboardButton + func (i InlineKeyboardButton) WithURL(url string) InlineKeyboardButton + func (i InlineKeyboardButton) WithWebApp(webApp *WebAppInfo) InlineKeyboardButton + type InlineKeyboardMarkup struct + InlineKeyboard [][]InlineKeyboardButton + func (i *InlineKeyboardMarkup) ReplyType() string + func (i *InlineKeyboardMarkup) WithInlineKeyboard(inlineKeyboard ...[]InlineKeyboardButton) *InlineKeyboardMarkup + type InlineQuery struct + ChatType string + From User + ID string + Location *Location + Offset string + Query string + type InlineQueryResult interface + ResultType func() string + type InlineQueryResultArticle struct + Description string + HideURL bool + ID string + InputMessageContent InputMessageContent + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int + Title string + Type string + URL string + func (i *InlineQueryResultArticle) ResultType() string + func (i *InlineQueryResultArticle) WithDescription(description string) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithHideURL() *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithID(iD string) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithThumbnailHeight(thumbnailHeight int) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithThumbnailURL(thumbnailURL string) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithThumbnailWidth(thumbnailWidth int) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithTitle(title string) *InlineQueryResultArticle + func (i *InlineQueryResultArticle) WithURL(url string) *InlineQueryResultArticle + type InlineQueryResultAudio struct + AudioDuration int + AudioURL string + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + Performer string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + func (i *InlineQueryResultAudio) ResultType() string + func (i *InlineQueryResultAudio) WithAudioDuration(audioDuration int) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithAudioURL(audioURL string) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithCaption(caption string) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithID(iD string) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithParseMode(parseMode string) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithPerformer(performer string) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultAudio + func (i *InlineQueryResultAudio) WithTitle(title string) *InlineQueryResultAudio + type InlineQueryResultCachedAudio struct + AudioFileID string + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Type string + func (i *InlineQueryResultCachedAudio) ResultType() string + func (i *InlineQueryResultCachedAudio) WithAudioFileID(audioFileID string) *InlineQueryResultCachedAudio + func (i *InlineQueryResultCachedAudio) WithCaption(caption string) *InlineQueryResultCachedAudio + func (i *InlineQueryResultCachedAudio) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedAudio + func (i *InlineQueryResultCachedAudio) WithID(iD string) *InlineQueryResultCachedAudio + func (i *InlineQueryResultCachedAudio) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedAudio + func (i *InlineQueryResultCachedAudio) WithParseMode(parseMode string) *InlineQueryResultCachedAudio + func (i *InlineQueryResultCachedAudio) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedAudio + type InlineQueryResultCachedDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentFileID string + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + func (i *InlineQueryResultCachedDocument) ResultType() string + func (i *InlineQueryResultCachedDocument) WithCaption(caption string) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithDescription(description string) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithDocumentFileID(documentFileID string) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithID(iD string) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithParseMode(parseMode string) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedDocument + func (i *InlineQueryResultCachedDocument) WithTitle(title string) *InlineQueryResultCachedDocument + type InlineQueryResultCachedGif struct + Caption string + CaptionEntities []MessageEntity + GifFileID string + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + Title string + Type string + func (i *InlineQueryResultCachedGif) ResultType() string + func (i *InlineQueryResultCachedGif) WithCaption(caption string) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithGifFileID(gifFileID string) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithID(iD string) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithParseMode(parseMode string) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithShowCaptionAboveMedia() *InlineQueryResultCachedGif + func (i *InlineQueryResultCachedGif) WithTitle(title string) *InlineQueryResultCachedGif + type InlineQueryResultCachedMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + Mpeg4FileID string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + Title string + Type string + func (i *InlineQueryResultCachedMpeg4Gif) ResultType() string + func (i *InlineQueryResultCachedMpeg4Gif) WithCaption(caption string) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithID(iD string) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithMpeg4FileID(mpeg4FileID string) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithParseMode(parseMode string) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithShowCaptionAboveMedia() *InlineQueryResultCachedMpeg4Gif + func (i *InlineQueryResultCachedMpeg4Gif) WithTitle(title string) *InlineQueryResultCachedMpeg4Gif + type InlineQueryResultCachedPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent InputMessageContent + ParseMode string + PhotoFileID string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + Title string + Type string + func (i *InlineQueryResultCachedPhoto) ResultType() string + func (i *InlineQueryResultCachedPhoto) WithCaption(caption string) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithDescription(description string) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithID(iD string) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithParseMode(parseMode string) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithPhotoFileID(photoFileID string) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithShowCaptionAboveMedia() *InlineQueryResultCachedPhoto + func (i *InlineQueryResultCachedPhoto) WithTitle(title string) *InlineQueryResultCachedPhoto + type InlineQueryResultCachedSticker struct + ID string + InputMessageContent InputMessageContent + ReplyMarkup *InlineKeyboardMarkup + StickerFileID string + Type string + func (i *InlineQueryResultCachedSticker) ResultType() string + func (i *InlineQueryResultCachedSticker) WithID(iD string) *InlineQueryResultCachedSticker + func (i *InlineQueryResultCachedSticker) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedSticker + func (i *InlineQueryResultCachedSticker) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedSticker + func (i *InlineQueryResultCachedSticker) WithStickerFileID(stickerFileID string) *InlineQueryResultCachedSticker + type InlineQueryResultCachedVideo struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + Title string + Type string + VideoFileID string + func (i *InlineQueryResultCachedVideo) ResultType() string + func (i *InlineQueryResultCachedVideo) WithCaption(caption string) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithDescription(description string) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithID(iD string) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithParseMode(parseMode string) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithShowCaptionAboveMedia() *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithTitle(title string) *InlineQueryResultCachedVideo + func (i *InlineQueryResultCachedVideo) WithVideoFileID(videoFileID string) *InlineQueryResultCachedVideo + type InlineQueryResultCachedVoice struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + VoiceFileID string + func (i *InlineQueryResultCachedVoice) ResultType() string + func (i *InlineQueryResultCachedVoice) WithCaption(caption string) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithID(iD string) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithParseMode(parseMode string) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithTitle(title string) *InlineQueryResultCachedVoice + func (i *InlineQueryResultCachedVoice) WithVoiceFileID(voiceFileID string) *InlineQueryResultCachedVoice + type InlineQueryResultContact struct + FirstName string + ID string + InputMessageContent InputMessageContent + LastName string + PhoneNumber string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int + Type string + Vcard string + func (i *InlineQueryResultContact) ResultType() string + func (i *InlineQueryResultContact) WithFirstName(firstName string) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithID(iD string) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithLastName(lastName string) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithPhoneNumber(phoneNumber string) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithThumbnailHeight(thumbnailHeight int) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithThumbnailURL(thumbnailURL string) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithThumbnailWidth(thumbnailWidth int) *InlineQueryResultContact + func (i *InlineQueryResultContact) WithVcard(vcard string) *InlineQueryResultContact + type InlineQueryResultDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentURL string + ID string + InputMessageContent InputMessageContent + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int + Title string + Type string + func (i *InlineQueryResultDocument) ResultType() string + func (i *InlineQueryResultDocument) WithCaption(caption string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithDescription(description string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithDocumentURL(documentURL string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithID(iD string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithMimeType(mimeType string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithParseMode(parseMode string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithThumbnailHeight(thumbnailHeight int) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithThumbnailURL(thumbnailURL string) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithThumbnailWidth(thumbnailWidth int) *InlineQueryResultDocument + func (i *InlineQueryResultDocument) WithTitle(title string) *InlineQueryResultDocument + type InlineQueryResultGame struct + GameShortName string + ID string + ReplyMarkup *InlineKeyboardMarkup + Type string + func (i *InlineQueryResultGame) ResultType() string + func (i *InlineQueryResultGame) WithGameShortName(gameShortName string) *InlineQueryResultGame + func (i *InlineQueryResultGame) WithID(iD string) *InlineQueryResultGame + func (i *InlineQueryResultGame) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultGame + type InlineQueryResultGif struct + Caption string + CaptionEntities []MessageEntity + GifDuration int + GifHeight int + GifURL string + GifWidth int + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailMimeType string + ThumbnailURL string + Title string + Type string + func (i *InlineQueryResultGif) ResultType() string + func (i *InlineQueryResultGif) WithCaption(caption string) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithGifDuration(gifDuration int) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithGifHeight(gifHeight int) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithGifURL(gifURL string) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithGifWidth(gifWidth int) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithID(iD string) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithParseMode(parseMode string) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithShowCaptionAboveMedia() *InlineQueryResultGif + func (i *InlineQueryResultGif) WithThumbnailMimeType(thumbnailMimeType string) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithThumbnailURL(thumbnailURL string) *InlineQueryResultGif + func (i *InlineQueryResultGif) WithTitle(title string) *InlineQueryResultGif + type InlineQueryResultLocation struct + Heading int + HorizontalAccuracy float64 + ID string + InputMessageContent InputMessageContent + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int + Title string + Type string + func (i *InlineQueryResultLocation) ResultType() string + func (i *InlineQueryResultLocation) WithHeading(heading int) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithID(iD string) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithLivePeriod(livePeriod int) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithProximityAlertRadius(proximityAlertRadius int) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithThumbnailHeight(thumbnailHeight int) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithThumbnailURL(thumbnailURL string) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithThumbnailWidth(thumbnailWidth int) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithTitle(title string) *InlineQueryResultLocation + type InlineQueryResultMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + Mpeg4Duration int + Mpeg4Height int + Mpeg4URL string + Mpeg4Width int + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailMimeType string + ThumbnailURL string + Title string + Type string + func (i *InlineQueryResultMpeg4Gif) ResultType() string + func (i *InlineQueryResultMpeg4Gif) WithCaption(caption string) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithID(iD string) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithMpeg4Duration(mpeg4Duration int) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithMpeg4Height(mpeg4Height int) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithMpeg4URL(mpeg4URL string) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithMpeg4Width(mpeg4Width int) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithParseMode(parseMode string) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithShowCaptionAboveMedia() *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithThumbnailMimeType(thumbnailMimeType string) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithThumbnailURL(thumbnailURL string) *InlineQueryResultMpeg4Gif + func (i *InlineQueryResultMpeg4Gif) WithTitle(title string) *InlineQueryResultMpeg4Gif + type InlineQueryResultPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent InputMessageContent + ParseMode string + PhotoHeight int + PhotoURL string + PhotoWidth int + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailURL string + Title string + Type string + func (i *InlineQueryResultPhoto) ResultType() string + func (i *InlineQueryResultPhoto) WithCaption(caption string) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithDescription(description string) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithID(iD string) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithParseMode(parseMode string) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithPhotoHeight(photoHeight int) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithPhotoURL(photoURL string) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithPhotoWidth(photoWidth int) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithShowCaptionAboveMedia() *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithThumbnailURL(thumbnailURL string) *InlineQueryResultPhoto + func (i *InlineQueryResultPhoto) WithTitle(title string) *InlineQueryResultPhoto + type InlineQueryResultVenue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + ID string + InputMessageContent InputMessageContent + Latitude float64 + Longitude float64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int + ThumbnailURL string + ThumbnailWidth int + Title string + Type string + func (i *InlineQueryResultVenue) ResultType() string + func (i *InlineQueryResultVenue) WithAddress(address string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithFoursquareID(foursquareID string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithFoursquareType(foursquareType string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithGooglePlaceID(googlePlaceID string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithGooglePlaceType(googlePlaceType string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithID(iD string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithThumbnailHeight(thumbnailHeight int) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithThumbnailURL(thumbnailURL string) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithThumbnailWidth(thumbnailWidth int) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithTitle(title string) *InlineQueryResultVenue + type InlineQueryResultVideo struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent InputMessageContent + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailURL string + Title string + Type string + VideoDuration int + VideoHeight int + VideoURL string + VideoWidth int + func (i *InlineQueryResultVideo) ResultType() string + func (i *InlineQueryResultVideo) WithCaption(caption string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithDescription(description string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithID(iD string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithMimeType(mimeType string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithParseMode(parseMode string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithShowCaptionAboveMedia() *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithThumbnailURL(thumbnailURL string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithTitle(title string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithVideoDuration(videoDuration int) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithVideoHeight(videoHeight int) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithVideoURL(videoURL string) *InlineQueryResultVideo + func (i *InlineQueryResultVideo) WithVideoWidth(videoWidth int) *InlineQueryResultVideo + type InlineQueryResultVoice struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + VoiceDuration int + VoiceURL string + func (i *InlineQueryResultVoice) ResultType() string + func (i *InlineQueryResultVoice) WithCaption(caption string) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithCaptionEntities(captionEntities ...MessageEntity) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithID(iD string) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithParseMode(parseMode string) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithTitle(title string) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithVoiceDuration(voiceDuration int) *InlineQueryResultVoice + func (i *InlineQueryResultVoice) WithVoiceURL(voiceURL string) *InlineQueryResultVoice + type InlineQueryResultsButton struct + StartParameter string + Text string + WebApp *WebAppInfo + type InputContactMessageContent struct + FirstName string + LastName string + PhoneNumber string + Vcard string + func (i *InputContactMessageContent) ContentType() string + func (i *InputContactMessageContent) WithFirstName(firstName string) *InputContactMessageContent + func (i *InputContactMessageContent) WithLastName(lastName string) *InputContactMessageContent + func (i *InputContactMessageContent) WithPhoneNumber(phoneNumber string) *InputContactMessageContent + func (i *InputContactMessageContent) WithVcard(vcard string) *InputContactMessageContent + type InputFile struct + File telegoapi.NamedReader + FileID string + URL string + func (i InputFile) MarshalJSON() ([]byte, error) + func (i InputFile) String() 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 int + Prices []LabeledPrice + ProviderData string + ProviderToken string + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SuggestedTipAmounts []int + Title string + func (i *InputInvoiceMessageContent) ContentType() string + func (i *InputInvoiceMessageContent) WithCurrency(currency string) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithDescription(description string) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithIsFlexible() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithMaxTipAmount(maxTipAmount int) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithNeedEmail() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithNeedName() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithNeedPhoneNumber() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithNeedShippingAddress() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithPayload(payload string) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithPhotoHeight(photoHeight int) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithPhotoSize(photoSize int) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithPhotoURL(photoURL string) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithPhotoWidth(photoWidth int) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithPrices(prices ...LabeledPrice) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithProviderData(providerData string) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithProviderToken(providerToken string) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithSendEmailToProvider() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithSendPhoneNumberToProvider() *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithSuggestedTipAmounts(suggestedTipAmounts ...int) *InputInvoiceMessageContent + func (i *InputInvoiceMessageContent) WithTitle(title string) *InputInvoiceMessageContent + type InputLocationMessageContent struct + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + func (i *InputLocationMessageContent) ContentType() string + func (i *InputLocationMessageContent) WithHeading(heading int) *InputLocationMessageContent + func (i *InputLocationMessageContent) WithLivePeriod(livePeriod int) *InputLocationMessageContent + func (i *InputLocationMessageContent) WithProximityAlertRadius(proximityAlertRadius int) *InputLocationMessageContent + type InputMedia interface + MediaType func() string + type InputMediaAnimation struct + Caption string + CaptionEntities []MessageEntity + Duration int + HasSpoiler bool + Height int + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + Thumbnail *InputFile + Type string + Width int + func (i *InputMediaAnimation) MediaType() string + func (i *InputMediaAnimation) WithCaption(caption string) *InputMediaAnimation + func (i *InputMediaAnimation) WithCaptionEntities(captionEntities ...MessageEntity) *InputMediaAnimation + func (i *InputMediaAnimation) WithDuration(duration int) *InputMediaAnimation + func (i *InputMediaAnimation) WithHasSpoiler() *InputMediaAnimation + func (i *InputMediaAnimation) WithHeight(height int) *InputMediaAnimation + func (i *InputMediaAnimation) WithMedia(media InputFile) *InputMediaAnimation + func (i *InputMediaAnimation) WithParseMode(parseMode string) *InputMediaAnimation + func (i *InputMediaAnimation) WithShowCaptionAboveMedia() *InputMediaAnimation + func (i *InputMediaAnimation) WithThumbnail(thumbnail *InputFile) *InputMediaAnimation + func (i *InputMediaAnimation) WithWidth(width int) *InputMediaAnimation + type InputMediaAudio struct + Caption string + CaptionEntities []MessageEntity + Duration int + Media InputFile + ParseMode string + Performer string + Thumbnail *InputFile + Title string + Type string + func (i *InputMediaAudio) MediaType() string + func (i *InputMediaAudio) WithCaption(caption string) *InputMediaAudio + func (i *InputMediaAudio) WithCaptionEntities(captionEntities ...MessageEntity) *InputMediaAudio + func (i *InputMediaAudio) WithDuration(duration int) *InputMediaAudio + func (i *InputMediaAudio) WithMedia(media InputFile) *InputMediaAudio + func (i *InputMediaAudio) WithParseMode(parseMode string) *InputMediaAudio + func (i *InputMediaAudio) WithPerformer(performer string) *InputMediaAudio + func (i *InputMediaAudio) WithThumbnail(thumbnail *InputFile) *InputMediaAudio + func (i *InputMediaAudio) WithTitle(title string) *InputMediaAudio + type InputMediaDocument struct + Caption string + CaptionEntities []MessageEntity + DisableContentTypeDetection bool + Media InputFile + ParseMode string + Thumbnail *InputFile + Type string + func (i *InputMediaDocument) MediaType() string + func (i *InputMediaDocument) WithCaption(caption string) *InputMediaDocument + func (i *InputMediaDocument) WithCaptionEntities(captionEntities ...MessageEntity) *InputMediaDocument + func (i *InputMediaDocument) WithDisableContentTypeDetection() *InputMediaDocument + func (i *InputMediaDocument) WithMedia(media InputFile) *InputMediaDocument + func (i *InputMediaDocument) WithParseMode(parseMode string) *InputMediaDocument + func (i *InputMediaDocument) WithThumbnail(thumbnail *InputFile) *InputMediaDocument + type InputMediaPhoto struct + Caption string + CaptionEntities []MessageEntity + HasSpoiler bool + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + Type string + func (i *InputMediaPhoto) MediaType() string + func (i *InputMediaPhoto) WithCaption(caption string) *InputMediaPhoto + func (i *InputMediaPhoto) WithCaptionEntities(captionEntities ...MessageEntity) *InputMediaPhoto + func (i *InputMediaPhoto) WithHasSpoiler() *InputMediaPhoto + func (i *InputMediaPhoto) WithMedia(media InputFile) *InputMediaPhoto + func (i *InputMediaPhoto) WithParseMode(parseMode string) *InputMediaPhoto + func (i *InputMediaPhoto) WithShowCaptionAboveMedia() *InputMediaPhoto + type InputMediaVideo struct + Caption string + CaptionEntities []MessageEntity + Duration int + HasSpoiler bool + Height int + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + SupportsStreaming bool + Thumbnail *InputFile + Type string + Width int + func (i *InputMediaVideo) MediaType() string + func (i *InputMediaVideo) WithCaption(caption string) *InputMediaVideo + func (i *InputMediaVideo) WithCaptionEntities(captionEntities ...MessageEntity) *InputMediaVideo + func (i *InputMediaVideo) WithDuration(duration int) *InputMediaVideo + func (i *InputMediaVideo) WithHasSpoiler() *InputMediaVideo + func (i *InputMediaVideo) WithHeight(height int) *InputMediaVideo + func (i *InputMediaVideo) WithMedia(media InputFile) *InputMediaVideo + func (i *InputMediaVideo) WithParseMode(parseMode string) *InputMediaVideo + func (i *InputMediaVideo) WithShowCaptionAboveMedia() *InputMediaVideo + func (i *InputMediaVideo) WithSupportsStreaming() *InputMediaVideo + func (i *InputMediaVideo) WithThumbnail(thumbnail *InputFile) *InputMediaVideo + func (i *InputMediaVideo) WithWidth(width int) *InputMediaVideo + type InputMessageContent interface + ContentType func() string + type InputPaidMedia interface + MediaFile func() InputFile + MediaType func() string + type InputPaidMediaPhoto struct + Media InputFile + Type string + func (m *InputPaidMediaPhoto) MediaFile() InputFile + func (m *InputPaidMediaPhoto) MediaType() string + type InputPaidMediaVideo struct + Duration int + Height int + Media InputFile + SupportsStreaming bool + Thumbnail *InputFile + Type string + Width int + func (m *InputPaidMediaVideo) MediaFile() InputFile + func (m *InputPaidMediaVideo) MediaType() string + type InputPollOption struct + Text string + TextEntities []MessageEntity + TextParseMode string + func (i *InputPollOption) WithText(text string) *InputPollOption + func (i *InputPollOption) WithTextEntities(textEntities ...MessageEntity) *InputPollOption + func (i *InputPollOption) WithTextParseMode(textParseMode string) *InputPollOption + type InputSticker struct + EmojiList []string + Format string + Keywords []string + MaskPosition *MaskPosition + Sticker InputFile + func (i *InputSticker) WithEmojiList(emojiList ...string) *InputSticker + func (i *InputSticker) WithFormat(format string) *InputSticker + func (i *InputSticker) WithKeywords(keywords ...string) *InputSticker + func (i *InputSticker) WithMaskPosition(maskPosition *MaskPosition) *InputSticker + func (i *InputSticker) WithSticker(sticker InputFile) *InputSticker + type InputTextMessageContent struct + Entities []MessageEntity + LinkPreviewOptions *LinkPreviewOptions + MessageText string + ParseMode string + func (i *InputTextMessageContent) ContentType() string + func (i *InputTextMessageContent) WithEntities(entities ...MessageEntity) *InputTextMessageContent + func (i *InputTextMessageContent) WithLinkPreviewOptions(linkPreviewOptions *LinkPreviewOptions) *InputTextMessageContent + func (i *InputTextMessageContent) WithMessageText(messageText string) *InputTextMessageContent + func (i *InputTextMessageContent) WithParseMode(parseMode string) *InputTextMessageContent + type InputVenueMessageContent struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + Title string + func (i *InputVenueMessageContent) ContentType() string + func (i *InputVenueMessageContent) WithAddress(address string) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithFoursquareID(foursquareID string) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithFoursquareType(foursquareType string) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithGooglePlaceID(googlePlaceID string) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithGooglePlaceType(googlePlaceType string) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithTitle(title string) *InputVenueMessageContent + type Invoice struct + Currency string + Description string + StartParameter string + Title string + TotalAmount int + type KeyboardButton struct + RequestChat *KeyboardButtonRequestChat + RequestContact bool + RequestLocation bool + RequestPoll *KeyboardButtonPollType + RequestUsers *KeyboardButtonRequestUsers + Text string + WebApp *WebAppInfo + func (k KeyboardButton) WithRequestChat(requestChat *KeyboardButtonRequestChat) KeyboardButton + func (k KeyboardButton) WithRequestContact() KeyboardButton + func (k KeyboardButton) WithRequestLocation() KeyboardButton + func (k KeyboardButton) WithRequestPoll(requestPoll *KeyboardButtonPollType) KeyboardButton + func (k KeyboardButton) WithRequestUsers(requestUsers *KeyboardButtonRequestUsers) KeyboardButton + func (k KeyboardButton) WithText(text string) KeyboardButton + func (k KeyboardButton) WithWebApp(webApp *WebAppInfo) KeyboardButton + type KeyboardButtonPollType struct + Type string + type KeyboardButtonRequestChat struct + BotAdministratorRights *ChatAdministratorRights + BotIsMember *bool + ChatHasUsername *bool + ChatIsChannel bool + ChatIsCreated *bool + ChatIsForum *bool + RequestID int32 + RequestPhoto *bool + RequestTitle *bool + RequestUsername *bool + UserAdministratorRights *ChatAdministratorRights + func (k *KeyboardButtonRequestChat) WithBotAdministratorRights(botAdministratorRights *ChatAdministratorRights) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithBotIsMember(botIsMember bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithChatHasUsername(chatHasUsername bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithChatIsChannel() *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithChatIsCreated(chatIsCreated bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithChatIsForum(chatIsForum bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithRequestPhoto(requestPhoto bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithRequestTitle(requestTitle bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithRequestUsername(requestUsername bool) *KeyboardButtonRequestChat + func (k *KeyboardButtonRequestChat) WithUserAdministratorRights(userAdministratorRights *ChatAdministratorRights) *KeyboardButtonRequestChat + type KeyboardButtonRequestUsers struct + MaxQuantity int + RequestID int32 + RequestName *bool + RequestPhoto *bool + RequestUsername *bool + UserIsBot *bool + UserIsPremium *bool + func (k *KeyboardButtonRequestUsers) WithMaxQuantity(maxQuantity int) *KeyboardButtonRequestUsers + func (k *KeyboardButtonRequestUsers) WithRequestName(requestName bool) *KeyboardButtonRequestUsers + func (k *KeyboardButtonRequestUsers) WithRequestPhoto(requestPhoto bool) *KeyboardButtonRequestUsers + func (k *KeyboardButtonRequestUsers) WithRequestUsername(requestUsername bool) *KeyboardButtonRequestUsers + func (k *KeyboardButtonRequestUsers) WithUserIsBot(userIsBot bool) *KeyboardButtonRequestUsers + func (k *KeyboardButtonRequestUsers) WithUserIsPremium(userIsPremium bool) *KeyboardButtonRequestUsers + type LabeledPrice struct + Amount int + Label string + type LeaveChatParams struct + ChatID ChatID + func (p *LeaveChatParams) WithChatID(chatID ChatID) *LeaveChatParams + type LinkPreviewOptions struct + IsDisabled bool + PreferLargeMedia bool + PreferSmallMedia bool + ShowAboveText bool + URL string + type Location struct + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + type Logger interface + Debugf func(format string, args ...any) + Errorf func(format string, args ...any) + type LoginURL struct + BotUsername string + ForwardText string + RequestWriteAccess bool + URL string + type LongPollingOption func(ctx *longPollingContext) error + func WithLongPollingBuffer(chanBuffer uint) LongPollingOption + func WithLongPollingContext(ctx context.Context) LongPollingOption + func WithLongPollingRetryTimeout(retryTimeout time.Duration) LongPollingOption + func WithLongPollingUpdateInterval(updateInterval time.Duration) LongPollingOption + type MaskPosition struct + Point string + Scale float64 + XShift float64 + YShift float64 + type MaybeInaccessibleMessage interface + GetChat func() Chat + GetDate func() int64 + GetMessageID func() int + IsAccessible func() bool + type MenuButton interface + ButtonType func() string + type MenuButtonCommands struct + Type string + func (m *MenuButtonCommands) ButtonType() string + type MenuButtonDefault struct + Type string + func (m *MenuButtonDefault) ButtonType() string + type MenuButtonWebApp struct + Text string + Type string + WebApp WebAppInfo + func (m *MenuButtonWebApp) ButtonType() string + func (m *MenuButtonWebApp) WithText(text string) *MenuButtonWebApp + func (m *MenuButtonWebApp) WithWebApp(webApp WebAppInfo) *MenuButtonWebApp + type Message struct + Animation *Animation + Audio *Audio + AuthorSignature string + BoostAdded *ChatBoostAdded + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChannelChatCreated bool + Chat Chat + ChatBackgroundSet *ChatBackground + ChatShared *ChatShared + ConnectedWebsite string + Contact *Contact + Date int64 + DeleteChatPhoto bool + Dice *Dice + Document *Document + EditDate int64 + EffectID string + Entities []MessageEntity + ExternalReply *ExternalReplyInfo + ForumTopicClosed *ForumTopicClosed + ForumTopicCreated *ForumTopicCreated + ForumTopicEdited *ForumTopicEdited + ForumTopicReopened *ForumTopicReopened + ForwardOrigin MessageOrigin + From *User + Game *Game + GeneralForumTopicHidden *GeneralForumTopicHidden + GeneralForumTopicUnhidden *GeneralForumTopicUnhidden + Giveaway *Giveaway + GiveawayCompleted *GiveawayCompleted + GiveawayCreated *GiveawayCreated + GiveawayWinners *GiveawayWinners + GroupChatCreated bool + HasMediaSpoiler bool + HasProtectedContent bool + Invoice *Invoice + IsAutomaticForward bool + IsFromOffline bool + IsTopicMessage bool + LeftChatMember *User + LinkPreviewOptions *LinkPreviewOptions + Location *Location + MediaGroupID string + MessageAutoDeleteTimerChanged *MessageAutoDeleteTimerChanged + MessageID int + MessageThreadID int + MigrateFromChatID int64 + MigrateToChatID int64 + NewChatMembers []User + NewChatPhoto []PhotoSize + NewChatTitle string + PaidMedia *PaidMediaInfo + PassportData *PassportData + Photo []PhotoSize + PinnedMessage MaybeInaccessibleMessage + Poll *Poll + ProximityAlertTriggered *ProximityAlertTriggered + Quote *TextQuote + RefundedPayment *RefundedPayment + ReplyMarkup *InlineKeyboardMarkup + ReplyToMessage *Message + ReplyToStory *Story + SenderBoostCount int + SenderBusinessBot *User + SenderChat *Chat + ShowCaptionAboveMedia bool + Sticker *Sticker + Story *Story + SuccessfulPayment *SuccessfulPayment + SupergroupChatCreated bool + Text string + UsersShared *UsersShared + 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) GetChat() Chat + func (m *Message) GetDate() int64 + func (m *Message) GetMessageID() int + func (m *Message) IsAccessible() bool + func (m *Message) UnmarshalJSON(data []byte) error + 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 int + type MessageOrigin interface + OriginType func() string + OriginalDate func() int64 + type MessageOriginChannel struct + AuthorSignature string + Chat Chat + Date int64 + MessageID int + Type string + func (m *MessageOriginChannel) OriginType() string + func (m *MessageOriginChannel) OriginalDate() int64 + type MessageOriginChat struct + AuthorSignature string + Date int64 + SenderChat Chat + Type string + func (m *MessageOriginChat) OriginType() string + func (m *MessageOriginChat) OriginalDate() int64 + type MessageOriginHiddenUser struct + Date int64 + SenderUserName string + Type string + func (m *MessageOriginHiddenUser) OriginType() string + func (m *MessageOriginHiddenUser) OriginalDate() int64 + type MessageOriginUser struct + Date int64 + SenderUser User + Type string + func (m *MessageOriginUser) OriginType() string + func (m *MessageOriginUser) OriginalDate() int64 + type MessageReactionCountUpdated struct + Chat Chat + Date int64 + MessageID int + Reactions []ReactionCount + type MessageReactionUpdated struct + ActorChat *Chat + Chat Chat + Date int64 + MessageID int + NewReaction []ReactionType + OldReaction []ReactionType + User *User + func (u *MessageReactionUpdated) UnmarshalJSON(data []byte) error + type MultiBotWebhookServer struct + Server WebhookServer + func (m *MultiBotWebhookServer) RegisterHandler(path string, handler WebhookHandler) error + func (m *MultiBotWebhookServer) Start(address string) error + func (m *MultiBotWebhookServer) Stop(ctx context.Context) error + type NoOpWebhookServer struct + RegisterHandlerFunc func(path string, handler WebhookHandler) error + func (n NoOpWebhookServer) RegisterHandler(path string, handler WebhookHandler) error + func (n NoOpWebhookServer) Start(_ string) error + func (n NoOpWebhookServer) Stop(_ context.Context) error + type OrderInfo struct + Email string + Name string + PhoneNumber string + ShippingAddress *ShippingAddress + type PaidMedia interface + MediaType func() string + type PaidMediaInfo struct + PaidMedia []PaidMedia + StarCount int + func (m *PaidMediaInfo) UnmarshalJSON(data []byte) error + type PaidMediaPhoto struct + Photo []PhotoSize + Type string + func (m *PaidMediaPhoto) MediaType() string + type PaidMediaPreview struct + Duration int + Height int + Type string + Width int + func (m *PaidMediaPreview) MediaType() string + type PaidMediaVideo struct + Type string + Video Video + func (m *PaidMediaVideo) MediaType() string + type PassportData struct + Credentials EncryptedCredentials + Data []EncryptedPassportElement + type PassportElementError interface + ErrorSource func() string + type PassportElementErrorDataField struct + DataHash string + FieldName string + Message string + Source string + Type string + func (p *PassportElementErrorDataField) ErrorSource() string + type PassportElementErrorFile struct + FileHash string + Message string + Source string + Type string + func (p *PassportElementErrorFile) ErrorSource() string + type PassportElementErrorFiles struct + FileHashes []string + Message string + Source string + Type string + func (p *PassportElementErrorFiles) ErrorSource() string + type PassportElementErrorFrontSide struct + FileHash string + Message string + Source string + Type string + func (p *PassportElementErrorFrontSide) ErrorSource() string + type PassportElementErrorReverseSide struct + FileHash string + Message string + Source string + Type string + func (p *PassportElementErrorReverseSide) ErrorSource() string + type PassportElementErrorSelfie struct + FileHash string + Message string + Source string + Type string + func (p *PassportElementErrorSelfie) ErrorSource() string + type PassportElementErrorTranslationFile struct + FileHash string + Message string + Source string + Type string + func (p *PassportElementErrorTranslationFile) ErrorSource() string + type PassportElementErrorTranslationFiles struct + FileHashes []string + Message string + Source string + Type string + func (p *PassportElementErrorTranslationFiles) ErrorSource() string + type PassportElementErrorUnspecified struct + ElementHash string + Message string + Source string + Type string + func (p *PassportElementErrorUnspecified) ErrorSource() string + type PassportFile struct + FileDate int64 + FileID string + FileSize int + FileUniqueID string + type PhotoSize struct + FileID string + FileSize int + FileUniqueID string + Height int + Width int + type PinChatMessageParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + MessageID int + func (p *PinChatMessageParams) WithBusinessConnectionID(businessConnectionID string) *PinChatMessageParams + func (p *PinChatMessageParams) WithChatID(chatID ChatID) *PinChatMessageParams + func (p *PinChatMessageParams) WithDisableNotification() *PinChatMessageParams + func (p *PinChatMessageParams) WithMessageID(messageID int) *PinChatMessageParams + type Poll struct + AllowsMultipleAnswers bool + CloseDate int64 + CorrectOptionID int + Explanation string + ExplanationEntities []MessageEntity + ID string + IsAnonymous bool + IsClosed bool + OpenPeriod int + Options []PollOption + Question string + QuestionEntities []MessageEntity + TotalVoterCount int + Type string + type PollAnswer struct + OptionIDs []int + PollID string + User *User + VoterChat *Chat + type PollOption struct + Text string + TextEntities []MessageEntity + VoterCount int + type PreCheckoutQuery struct + Currency string + From User + ID string + InvoicePayload string + OrderInfo *OrderInfo + ShippingOptionID string + TotalAmount int + type PromoteChatMemberParams 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 + ChatID ChatID + IsAnonymous *bool + UserID int64 + func (p *PromoteChatMemberParams) WithCanChangeInfo(canChangeInfo bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanDeleteMessages(canDeleteMessages bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanDeleteStories(canDeleteStories bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanEditMessages(canEditMessages bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanEditStories(canEditStories bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanInviteUsers(canInviteUsers bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanManageChat(canManageChat bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanManageTopics(canManageTopics bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanManageVideoChats(canManageVideoChats bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanPinMessages(canPinMessages bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanPostMessages(canPostMessages bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanPostStories(canPostStories bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanPromoteMembers(canPromoteMembers bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanRestrictMembers(canRestrictMembers bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithChatID(chatID ChatID) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithIsAnonymous(isAnonymous bool) *PromoteChatMemberParams + type ProximityAlertTriggered struct + Distance int + Traveler User + Watcher User + type ReactionCount struct + TotalCount int + Type ReactionType + func (c *ReactionCount) UnmarshalJSON(data []byte) error + type ReactionType interface + ReactionType func() string + type ReactionTypeCustomEmoji struct + CustomEmojiID string + Type string + func (r *ReactionTypeCustomEmoji) ReactionType() string + type ReactionTypeEmoji struct + Emoji string + Type string + func (r *ReactionTypeEmoji) ReactionType() string + type ReactionTypePaid struct + Type string + func (r *ReactionTypePaid) ReactionType() string + type RefundStarPaymentParams struct + TelegramPaymentChargeID string + UserID int64 + func (p *RefundStarPaymentParams) WithTelegramPaymentChargeID(telegramPaymentChargeID string) *RefundStarPaymentParams + type RefundedPayment struct + Currency string + InvoicePayload string + ProviderPaymentChargeID string + TelegramPaymentChargeID string + TotalAmount int + type ReopenForumTopicParams struct + ChatID ChatID + MessageThreadID int + func (p *ReopenForumTopicParams) WithChatID(chatID ChatID) *ReopenForumTopicParams + func (p *ReopenForumTopicParams) WithMessageThreadID(messageThreadID int) *ReopenForumTopicParams + type ReopenGeneralForumTopicParams struct + ChatID ChatID + func (p *ReopenGeneralForumTopicParams) WithChatID(chatID ChatID) *ReopenGeneralForumTopicParams + type ReplaceStickerInSetParams struct + Name string + OldSticker string + Sticker InputSticker + UserID int64 + func (p *ReplaceStickerInSetParams) WithName(name string) *ReplaceStickerInSetParams + func (p *ReplaceStickerInSetParams) WithOldSticker(oldSticker string) *ReplaceStickerInSetParams + func (p *ReplaceStickerInSetParams) WithSticker(sticker InputSticker) *ReplaceStickerInSetParams + type ReplyKeyboardMarkup struct + InputFieldPlaceholder string + IsPersistent bool + Keyboard [][]KeyboardButton + OneTimeKeyboard bool + ResizeKeyboard bool + Selective bool + func (r *ReplyKeyboardMarkup) ReplyType() string + func (r *ReplyKeyboardMarkup) WithInputFieldPlaceholder(inputFieldPlaceholder string) *ReplyKeyboardMarkup + func (r *ReplyKeyboardMarkup) WithIsPersistent() *ReplyKeyboardMarkup + func (r *ReplyKeyboardMarkup) WithKeyboard(keyboard ...[]KeyboardButton) *ReplyKeyboardMarkup + func (r *ReplyKeyboardMarkup) WithOneTimeKeyboard() *ReplyKeyboardMarkup + func (r *ReplyKeyboardMarkup) WithResizeKeyboard() *ReplyKeyboardMarkup + func (r *ReplyKeyboardMarkup) WithSelective() *ReplyKeyboardMarkup + type ReplyKeyboardRemove struct + RemoveKeyboard bool + Selective bool + func (r *ReplyKeyboardRemove) ReplyType() string + func (r *ReplyKeyboardRemove) WithRemoveKeyboard() *ReplyKeyboardRemove + func (r *ReplyKeyboardRemove) WithSelective() *ReplyKeyboardRemove + type ReplyMarkup interface + ReplyType func() string + type ReplyParameters struct + AllowSendingWithoutReply bool + ChatID ChatID + MessageID int + Quote string + QuoteEntities []MessageEntity + QuoteParseMode string + QuotePosition int + func (r *ReplyParameters) WithAllowSendingWithoutReply() *ReplyParameters + func (r *ReplyParameters) WithChatID(chatID ChatID) *ReplyParameters + func (r *ReplyParameters) WithMessageID(messageID int) *ReplyParameters + func (r *ReplyParameters) WithQuote(quote string) *ReplyParameters + func (r *ReplyParameters) WithQuoteEntities(quoteEntities ...MessageEntity) *ReplyParameters + func (r *ReplyParameters) WithQuoteParseMode(quoteParseMode string) *ReplyParameters + func (r *ReplyParameters) WithQuotePosition(quotePosition int) *ReplyParameters + type RestrictChatMemberParams struct + ChatID ChatID + Permissions ChatPermissions + UntilDate int64 + UseIndependentChatPermissions bool + UserID int64 + func (p *RestrictChatMemberParams) WithChatID(chatID ChatID) *RestrictChatMemberParams + func (p *RestrictChatMemberParams) WithPermissions(permissions ChatPermissions) *RestrictChatMemberParams + func (p *RestrictChatMemberParams) WithUseIndependentChatPermissions() *RestrictChatMemberParams + type RevenueWithdrawalState interface + WithdrawalState func() string + type RevenueWithdrawalStateFailed struct + Type string + func (r *RevenueWithdrawalStateFailed) WithdrawalState() string + type RevenueWithdrawalStatePending struct + Type string + func (r *RevenueWithdrawalStatePending) WithdrawalState() string + type RevenueWithdrawalStateSucceeded struct + Date int64 + Type string + URL string + func (r *RevenueWithdrawalStateSucceeded) WithdrawalState() string + type RevokeChatInviteLinkParams struct + ChatID ChatID + InviteLink string + func (p *RevokeChatInviteLinkParams) WithChatID(chatID ChatID) *RevokeChatInviteLinkParams + func (p *RevokeChatInviteLinkParams) WithInviteLink(inviteLink string) *RevokeChatInviteLinkParams + type SendAnimationParams struct + Animation InputFile + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + Duration int + HasSpoiler bool + Height int + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + Thumbnail *InputFile + Width int + func (p *SendAnimationParams) WithAnimation(animation InputFile) *SendAnimationParams + func (p *SendAnimationParams) WithBusinessConnectionID(businessConnectionID string) *SendAnimationParams + func (p *SendAnimationParams) WithCaption(caption string) *SendAnimationParams + func (p *SendAnimationParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendAnimationParams + func (p *SendAnimationParams) WithChatID(chatID ChatID) *SendAnimationParams + func (p *SendAnimationParams) WithDisableNotification() *SendAnimationParams + func (p *SendAnimationParams) WithDuration(duration int) *SendAnimationParams + func (p *SendAnimationParams) WithHasSpoiler() *SendAnimationParams + func (p *SendAnimationParams) WithHeight(height int) *SendAnimationParams + func (p *SendAnimationParams) WithMessageEffectID(messageEffectID string) *SendAnimationParams + func (p *SendAnimationParams) WithMessageThreadID(messageThreadID int) *SendAnimationParams + func (p *SendAnimationParams) WithParseMode(parseMode string) *SendAnimationParams + func (p *SendAnimationParams) WithProtectContent() *SendAnimationParams + func (p *SendAnimationParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendAnimationParams + func (p *SendAnimationParams) WithReplyParameters(replyParameters *ReplyParameters) *SendAnimationParams + func (p *SendAnimationParams) WithShowCaptionAboveMedia() *SendAnimationParams + func (p *SendAnimationParams) WithThumbnail(thumbnail *InputFile) *SendAnimationParams + func (p *SendAnimationParams) WithWidth(width int) *SendAnimationParams + type SendAudioParams struct + Audio InputFile + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + Duration int + MessageEffectID string + MessageThreadID int + ParseMode string + Performer string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Thumbnail *InputFile + Title string + func (p *SendAudioParams) WithAudio(audio InputFile) *SendAudioParams + func (p *SendAudioParams) WithBusinessConnectionID(businessConnectionID string) *SendAudioParams + func (p *SendAudioParams) WithCaption(caption string) *SendAudioParams + func (p *SendAudioParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendAudioParams + func (p *SendAudioParams) WithChatID(chatID ChatID) *SendAudioParams + func (p *SendAudioParams) WithDisableNotification() *SendAudioParams + func (p *SendAudioParams) WithDuration(duration int) *SendAudioParams + func (p *SendAudioParams) WithMessageEffectID(messageEffectID string) *SendAudioParams + func (p *SendAudioParams) WithMessageThreadID(messageThreadID int) *SendAudioParams + func (p *SendAudioParams) WithParseMode(parseMode string) *SendAudioParams + func (p *SendAudioParams) WithPerformer(performer string) *SendAudioParams + func (p *SendAudioParams) WithProtectContent() *SendAudioParams + func (p *SendAudioParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendAudioParams + func (p *SendAudioParams) WithReplyParameters(replyParameters *ReplyParameters) *SendAudioParams + func (p *SendAudioParams) WithThumbnail(thumbnail *InputFile) *SendAudioParams + func (p *SendAudioParams) WithTitle(title string) *SendAudioParams + type SendChatActionParams struct + Action string + BusinessConnectionID string + ChatID ChatID + MessageThreadID int + func (p *SendChatActionParams) WithAction(action string) *SendChatActionParams + func (p *SendChatActionParams) WithBusinessConnectionID(businessConnectionID string) *SendChatActionParams + func (p *SendChatActionParams) WithChatID(chatID ChatID) *SendChatActionParams + func (p *SendChatActionParams) WithMessageThreadID(messageThreadID int) *SendChatActionParams + type SendContactParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + FirstName string + LastName string + MessageEffectID string + MessageThreadID int + PhoneNumber string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Vcard string + func (p *SendContactParams) WithBusinessConnectionID(businessConnectionID string) *SendContactParams + func (p *SendContactParams) WithChatID(chatID ChatID) *SendContactParams + func (p *SendContactParams) WithDisableNotification() *SendContactParams + func (p *SendContactParams) WithFirstName(firstName string) *SendContactParams + func (p *SendContactParams) WithLastName(lastName string) *SendContactParams + func (p *SendContactParams) WithMessageEffectID(messageEffectID string) *SendContactParams + func (p *SendContactParams) WithMessageThreadID(messageThreadID int) *SendContactParams + func (p *SendContactParams) WithPhoneNumber(phoneNumber string) *SendContactParams + func (p *SendContactParams) WithProtectContent() *SendContactParams + func (p *SendContactParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendContactParams + func (p *SendContactParams) WithReplyParameters(replyParameters *ReplyParameters) *SendContactParams + func (p *SendContactParams) WithVcard(vcard string) *SendContactParams + type SendDiceParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + Emoji string + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + func (p *SendDiceParams) WithBusinessConnectionID(businessConnectionID string) *SendDiceParams + func (p *SendDiceParams) WithChatID(chatID ChatID) *SendDiceParams + func (p *SendDiceParams) WithDisableNotification() *SendDiceParams + func (p *SendDiceParams) WithEmoji(emoji string) *SendDiceParams + func (p *SendDiceParams) WithMessageEffectID(messageEffectID string) *SendDiceParams + func (p *SendDiceParams) WithMessageThreadID(messageThreadID int) *SendDiceParams + func (p *SendDiceParams) WithProtectContent() *SendDiceParams + func (p *SendDiceParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendDiceParams + func (p *SendDiceParams) WithReplyParameters(replyParameters *ReplyParameters) *SendDiceParams + type SendDocumentParams struct + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableContentTypeDetection bool + DisableNotification bool + Document InputFile + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Thumbnail *InputFile + func (p *SendDocumentParams) WithBusinessConnectionID(businessConnectionID string) *SendDocumentParams + func (p *SendDocumentParams) WithCaption(caption string) *SendDocumentParams + func (p *SendDocumentParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendDocumentParams + func (p *SendDocumentParams) WithChatID(chatID ChatID) *SendDocumentParams + func (p *SendDocumentParams) WithDisableContentTypeDetection() *SendDocumentParams + func (p *SendDocumentParams) WithDisableNotification() *SendDocumentParams + func (p *SendDocumentParams) WithDocument(document InputFile) *SendDocumentParams + func (p *SendDocumentParams) WithMessageEffectID(messageEffectID string) *SendDocumentParams + func (p *SendDocumentParams) WithMessageThreadID(messageThreadID int) *SendDocumentParams + func (p *SendDocumentParams) WithParseMode(parseMode string) *SendDocumentParams + func (p *SendDocumentParams) WithProtectContent() *SendDocumentParams + func (p *SendDocumentParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendDocumentParams + func (p *SendDocumentParams) WithReplyParameters(replyParameters *ReplyParameters) *SendDocumentParams + func (p *SendDocumentParams) WithThumbnail(thumbnail *InputFile) *SendDocumentParams + type SendGameParams struct + BusinessConnectionID string + ChatID int64 + DisableNotification bool + GameShortName string + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + func (p *SendGameParams) WithBusinessConnectionID(businessConnectionID string) *SendGameParams + func (p *SendGameParams) WithDisableNotification() *SendGameParams + func (p *SendGameParams) WithGameShortName(gameShortName string) *SendGameParams + func (p *SendGameParams) WithMessageEffectID(messageEffectID string) *SendGameParams + func (p *SendGameParams) WithMessageThreadID(messageThreadID int) *SendGameParams + func (p *SendGameParams) WithProtectContent() *SendGameParams + func (p *SendGameParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *SendGameParams + func (p *SendGameParams) WithReplyParameters(replyParameters *ReplyParameters) *SendGameParams + type SendInvoiceParams struct + ChatID ChatID + Currency string + Description string + DisableNotification bool + IsFlexible bool + MaxTipAmount int + MessageEffectID string + MessageThreadID int + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + Payload string + PhotoHeight int + PhotoSize int + PhotoURL string + PhotoWidth int + Prices []LabeledPrice + ProtectContent bool + ProviderData string + ProviderToken string + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + SendEmailToProvider bool + SendPhoneNumberToProvider bool + StartParameter string + SuggestedTipAmounts []int + Title string + func (p *SendInvoiceParams) WithChatID(chatID ChatID) *SendInvoiceParams + func (p *SendInvoiceParams) WithCurrency(currency string) *SendInvoiceParams + func (p *SendInvoiceParams) WithDescription(description string) *SendInvoiceParams + func (p *SendInvoiceParams) WithDisableNotification() *SendInvoiceParams + func (p *SendInvoiceParams) WithIsFlexible() *SendInvoiceParams + func (p *SendInvoiceParams) WithMaxTipAmount(maxTipAmount int) *SendInvoiceParams + func (p *SendInvoiceParams) WithMessageEffectID(messageEffectID string) *SendInvoiceParams + func (p *SendInvoiceParams) WithMessageThreadID(messageThreadID int) *SendInvoiceParams + func (p *SendInvoiceParams) WithNeedEmail() *SendInvoiceParams + func (p *SendInvoiceParams) WithNeedName() *SendInvoiceParams + func (p *SendInvoiceParams) WithNeedPhoneNumber() *SendInvoiceParams + func (p *SendInvoiceParams) WithNeedShippingAddress() *SendInvoiceParams + func (p *SendInvoiceParams) WithPayload(payload string) *SendInvoiceParams + func (p *SendInvoiceParams) WithPhotoHeight(photoHeight int) *SendInvoiceParams + func (p *SendInvoiceParams) WithPhotoSize(photoSize int) *SendInvoiceParams + func (p *SendInvoiceParams) WithPhotoURL(photoURL string) *SendInvoiceParams + func (p *SendInvoiceParams) WithPhotoWidth(photoWidth int) *SendInvoiceParams + func (p *SendInvoiceParams) WithPrices(prices ...LabeledPrice) *SendInvoiceParams + func (p *SendInvoiceParams) WithProtectContent() *SendInvoiceParams + func (p *SendInvoiceParams) WithProviderData(providerData string) *SendInvoiceParams + func (p *SendInvoiceParams) WithProviderToken(providerToken string) *SendInvoiceParams + func (p *SendInvoiceParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *SendInvoiceParams + func (p *SendInvoiceParams) WithReplyParameters(replyParameters *ReplyParameters) *SendInvoiceParams + func (p *SendInvoiceParams) WithSendEmailToProvider() *SendInvoiceParams + func (p *SendInvoiceParams) WithSendPhoneNumberToProvider() *SendInvoiceParams + func (p *SendInvoiceParams) WithStartParameter(startParameter string) *SendInvoiceParams + func (p *SendInvoiceParams) WithSuggestedTipAmounts(suggestedTipAmounts ...int) *SendInvoiceParams + func (p *SendInvoiceParams) WithTitle(title string) *SendInvoiceParams + type SendLocationParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + MessageEffectID string + MessageThreadID int + ProtectContent bool + ProximityAlertRadius int + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + func (p *SendLocationParams) WithBusinessConnectionID(businessConnectionID string) *SendLocationParams + func (p *SendLocationParams) WithChatID(chatID ChatID) *SendLocationParams + func (p *SendLocationParams) WithDisableNotification() *SendLocationParams + func (p *SendLocationParams) WithHeading(heading int) *SendLocationParams + func (p *SendLocationParams) WithLivePeriod(livePeriod int) *SendLocationParams + func (p *SendLocationParams) WithMessageEffectID(messageEffectID string) *SendLocationParams + func (p *SendLocationParams) WithMessageThreadID(messageThreadID int) *SendLocationParams + func (p *SendLocationParams) WithProtectContent() *SendLocationParams + func (p *SendLocationParams) WithProximityAlertRadius(proximityAlertRadius int) *SendLocationParams + func (p *SendLocationParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendLocationParams + func (p *SendLocationParams) WithReplyParameters(replyParameters *ReplyParameters) *SendLocationParams + type SendMediaGroupParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + Media []InputMedia + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyParameters *ReplyParameters + func (p *SendMediaGroupParams) WithBusinessConnectionID(businessConnectionID string) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithChatID(chatID ChatID) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithDisableNotification() *SendMediaGroupParams + func (p *SendMediaGroupParams) WithMedia(media ...InputMedia) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithMessageEffectID(messageEffectID string) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithMessageThreadID(messageThreadID int) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithProtectContent() *SendMediaGroupParams + func (p *SendMediaGroupParams) WithReplyParameters(replyParameters *ReplyParameters) *SendMediaGroupParams + type SendMessageParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + Entities []MessageEntity + LinkPreviewOptions *LinkPreviewOptions + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Text string + func (p *SendMessageParams) WithBusinessConnectionID(businessConnectionID string) *SendMessageParams + func (p *SendMessageParams) WithChatID(chatID ChatID) *SendMessageParams + func (p *SendMessageParams) WithDisableNotification() *SendMessageParams + func (p *SendMessageParams) WithEntities(entities ...MessageEntity) *SendMessageParams + func (p *SendMessageParams) WithLinkPreviewOptions(linkPreviewOptions *LinkPreviewOptions) *SendMessageParams + func (p *SendMessageParams) WithMessageEffectID(messageEffectID string) *SendMessageParams + func (p *SendMessageParams) WithMessageThreadID(messageThreadID int) *SendMessageParams + func (p *SendMessageParams) WithParseMode(parseMode string) *SendMessageParams + func (p *SendMessageParams) WithProtectContent() *SendMessageParams + func (p *SendMessageParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendMessageParams + func (p *SendMessageParams) WithReplyParameters(replyParameters *ReplyParameters) *SendMessageParams + func (p *SendMessageParams) WithText(text string) *SendMessageParams + type SendPaidMediaParams struct + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + Media []InputPaidMedia + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + StarCount int + func (p *SendPaidMediaParams) WithCaption(caption string) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithChatID(chatID ChatID) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithDisableNotification() *SendPaidMediaParams + func (p *SendPaidMediaParams) WithMedia(media ...InputPaidMedia) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithParseMode(parseMode string) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithProtectContent() *SendPaidMediaParams + func (p *SendPaidMediaParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithReplyParameters(replyParameters *ReplyParameters) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithShowCaptionAboveMedia() *SendPaidMediaParams + func (p *SendPaidMediaParams) WithStarCount(starCount int) *SendPaidMediaParams + type SendPhotoParams struct + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + HasSpoiler bool + MessageEffectID string + MessageThreadID int + ParseMode string + Photo InputFile + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + func (p *SendPhotoParams) WithBusinessConnectionID(businessConnectionID string) *SendPhotoParams + func (p *SendPhotoParams) WithCaption(caption string) *SendPhotoParams + func (p *SendPhotoParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendPhotoParams + func (p *SendPhotoParams) WithChatID(chatID ChatID) *SendPhotoParams + func (p *SendPhotoParams) WithDisableNotification() *SendPhotoParams + func (p *SendPhotoParams) WithHasSpoiler() *SendPhotoParams + func (p *SendPhotoParams) WithMessageEffectID(messageEffectID string) *SendPhotoParams + func (p *SendPhotoParams) WithMessageThreadID(messageThreadID int) *SendPhotoParams + func (p *SendPhotoParams) WithParseMode(parseMode string) *SendPhotoParams + func (p *SendPhotoParams) WithPhoto(photo InputFile) *SendPhotoParams + func (p *SendPhotoParams) WithProtectContent() *SendPhotoParams + func (p *SendPhotoParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendPhotoParams + func (p *SendPhotoParams) WithReplyParameters(replyParameters *ReplyParameters) *SendPhotoParams + func (p *SendPhotoParams) WithShowCaptionAboveMedia() *SendPhotoParams + type SendPollParams struct + AllowsMultipleAnswers bool + BusinessConnectionID string + ChatID ChatID + CloseDate int64 + CorrectOptionID *int + DisableNotification bool + Explanation string + ExplanationEntities []MessageEntity + ExplanationParseMode string + IsAnonymous *bool + IsClosed bool + MessageEffectID string + MessageThreadID int + OpenPeriod int + Options []InputPollOption + ProtectContent bool + Question string + QuestionEntities []MessageEntity + QuestionParseMode string + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Type string + func (p *SendPollParams) WithAllowsMultipleAnswers() *SendPollParams + func (p *SendPollParams) WithBusinessConnectionID(businessConnectionID string) *SendPollParams + func (p *SendPollParams) WithChatID(chatID ChatID) *SendPollParams + func (p *SendPollParams) WithCorrectOptionID(correctOptionID int) *SendPollParams + func (p *SendPollParams) WithDisableNotification() *SendPollParams + func (p *SendPollParams) WithExplanation(explanation string) *SendPollParams + func (p *SendPollParams) WithExplanationEntities(explanationEntities ...MessageEntity) *SendPollParams + func (p *SendPollParams) WithExplanationParseMode(explanationParseMode string) *SendPollParams + func (p *SendPollParams) WithIsAnonymous(isAnonymous bool) *SendPollParams + func (p *SendPollParams) WithIsClosed() *SendPollParams + func (p *SendPollParams) WithMessageEffectID(messageEffectID string) *SendPollParams + func (p *SendPollParams) WithMessageThreadID(messageThreadID int) *SendPollParams + func (p *SendPollParams) WithOpenPeriod(openPeriod int) *SendPollParams + func (p *SendPollParams) WithOptions(options ...InputPollOption) *SendPollParams + func (p *SendPollParams) WithProtectContent() *SendPollParams + func (p *SendPollParams) WithQuestion(question string) *SendPollParams + func (p *SendPollParams) WithQuestionEntities(questionEntities ...MessageEntity) *SendPollParams + func (p *SendPollParams) WithQuestionParseMode(questionParseMode string) *SendPollParams + func (p *SendPollParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendPollParams + func (p *SendPollParams) WithReplyParameters(replyParameters *ReplyParameters) *SendPollParams + func (p *SendPollParams) WithType(pollType string) *SendPollParams + type SendStickerParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + Emoji string + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Sticker InputFile + func (p *SendStickerParams) WithBusinessConnectionID(businessConnectionID string) *SendStickerParams + func (p *SendStickerParams) WithChatID(chatID ChatID) *SendStickerParams + func (p *SendStickerParams) WithDisableNotification() *SendStickerParams + func (p *SendStickerParams) WithEmoji(emoji string) *SendStickerParams + func (p *SendStickerParams) WithMessageEffectID(messageEffectID string) *SendStickerParams + func (p *SendStickerParams) WithMessageThreadID(messageThreadID int) *SendStickerParams + func (p *SendStickerParams) WithProtectContent() *SendStickerParams + func (p *SendStickerParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendStickerParams + func (p *SendStickerParams) WithReplyParameters(replyParameters *ReplyParameters) *SendStickerParams + func (p *SendStickerParams) WithSticker(sticker InputFile) *SendStickerParams + type SendVenueParams struct + Address string + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Title string + func (p *SendVenueParams) WithAddress(address string) *SendVenueParams + func (p *SendVenueParams) WithBusinessConnectionID(businessConnectionID string) *SendVenueParams + func (p *SendVenueParams) WithChatID(chatID ChatID) *SendVenueParams + func (p *SendVenueParams) WithDisableNotification() *SendVenueParams + func (p *SendVenueParams) WithFoursquareID(foursquareID string) *SendVenueParams + func (p *SendVenueParams) WithFoursquareType(foursquareType string) *SendVenueParams + func (p *SendVenueParams) WithGooglePlaceID(googlePlaceID string) *SendVenueParams + func (p *SendVenueParams) WithGooglePlaceType(googlePlaceType string) *SendVenueParams + func (p *SendVenueParams) WithMessageEffectID(messageEffectID string) *SendVenueParams + func (p *SendVenueParams) WithMessageThreadID(messageThreadID int) *SendVenueParams + func (p *SendVenueParams) WithProtectContent() *SendVenueParams + func (p *SendVenueParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVenueParams + func (p *SendVenueParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVenueParams + func (p *SendVenueParams) WithTitle(title string) *SendVenueParams + type SendVideoNoteParams struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + Duration int + Length int + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Thumbnail *InputFile + VideoNote InputFile + func (p *SendVideoNoteParams) WithBusinessConnectionID(businessConnectionID string) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithChatID(chatID ChatID) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithDisableNotification() *SendVideoNoteParams + func (p *SendVideoNoteParams) WithDuration(duration int) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithLength(length int) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithMessageEffectID(messageEffectID string) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithMessageThreadID(messageThreadID int) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithProtectContent() *SendVideoNoteParams + func (p *SendVideoNoteParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithThumbnail(thumbnail *InputFile) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithVideoNote(videoNote InputFile) *SendVideoNoteParams + type SendVideoParams struct + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + Duration int + HasSpoiler bool + Height int + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SupportsStreaming bool + Thumbnail *InputFile + Video InputFile + Width int + func (p *SendVideoParams) WithBusinessConnectionID(businessConnectionID string) *SendVideoParams + func (p *SendVideoParams) WithCaption(caption string) *SendVideoParams + func (p *SendVideoParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendVideoParams + func (p *SendVideoParams) WithChatID(chatID ChatID) *SendVideoParams + func (p *SendVideoParams) WithDisableNotification() *SendVideoParams + func (p *SendVideoParams) WithDuration(duration int) *SendVideoParams + func (p *SendVideoParams) WithHasSpoiler() *SendVideoParams + func (p *SendVideoParams) WithHeight(height int) *SendVideoParams + func (p *SendVideoParams) WithMessageEffectID(messageEffectID string) *SendVideoParams + func (p *SendVideoParams) WithMessageThreadID(messageThreadID int) *SendVideoParams + func (p *SendVideoParams) WithParseMode(parseMode string) *SendVideoParams + func (p *SendVideoParams) WithProtectContent() *SendVideoParams + func (p *SendVideoParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVideoParams + func (p *SendVideoParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVideoParams + func (p *SendVideoParams) WithShowCaptionAboveMedia() *SendVideoParams + func (p *SendVideoParams) WithSupportsStreaming() *SendVideoParams + func (p *SendVideoParams) WithThumbnail(thumbnail *InputFile) *SendVideoParams + func (p *SendVideoParams) WithVideo(video InputFile) *SendVideoParams + func (p *SendVideoParams) WithWidth(width int) *SendVideoParams + type SendVoiceParams struct + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DisableNotification bool + Duration int + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Voice InputFile + func (p *SendVoiceParams) WithBusinessConnectionID(businessConnectionID string) *SendVoiceParams + func (p *SendVoiceParams) WithCaption(caption string) *SendVoiceParams + func (p *SendVoiceParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendVoiceParams + func (p *SendVoiceParams) WithChatID(chatID ChatID) *SendVoiceParams + func (p *SendVoiceParams) WithDisableNotification() *SendVoiceParams + func (p *SendVoiceParams) WithDuration(duration int) *SendVoiceParams + func (p *SendVoiceParams) WithMessageEffectID(messageEffectID string) *SendVoiceParams + func (p *SendVoiceParams) WithMessageThreadID(messageThreadID int) *SendVoiceParams + func (p *SendVoiceParams) WithParseMode(parseMode string) *SendVoiceParams + func (p *SendVoiceParams) WithProtectContent() *SendVoiceParams + func (p *SendVoiceParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVoiceParams + func (p *SendVoiceParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVoiceParams + func (p *SendVoiceParams) WithVoice(voice InputFile) *SendVoiceParams + type SentWebAppMessage struct + InlineMessageID string + type SetChatAdministratorCustomTitleParams struct + ChatID ChatID + CustomTitle string + UserID int64 + func (p *SetChatAdministratorCustomTitleParams) WithChatID(chatID ChatID) *SetChatAdministratorCustomTitleParams + func (p *SetChatAdministratorCustomTitleParams) WithCustomTitle(customTitle string) *SetChatAdministratorCustomTitleParams + type SetChatDescriptionParams struct + ChatID ChatID + Description string + func (p *SetChatDescriptionParams) WithChatID(chatID ChatID) *SetChatDescriptionParams + func (p *SetChatDescriptionParams) WithDescription(description string) *SetChatDescriptionParams + type SetChatMenuButtonParams struct + ChatID int64 + MenuButton MenuButton + func (p *SetChatMenuButtonParams) WithMenuButton(menuButton MenuButton) *SetChatMenuButtonParams + type SetChatPermissionsParams struct + ChatID ChatID + Permissions ChatPermissions + UseIndependentChatPermissions bool + func (p *SetChatPermissionsParams) WithChatID(chatID ChatID) *SetChatPermissionsParams + func (p *SetChatPermissionsParams) WithPermissions(permissions ChatPermissions) *SetChatPermissionsParams + func (p *SetChatPermissionsParams) WithUseIndependentChatPermissions() *SetChatPermissionsParams + type SetChatPhotoParams struct + ChatID ChatID + Photo InputFile + func (p *SetChatPhotoParams) WithChatID(chatID ChatID) *SetChatPhotoParams + func (p *SetChatPhotoParams) WithPhoto(photo InputFile) *SetChatPhotoParams + type SetChatStickerSetParams struct + ChatID ChatID + StickerSetName string + func (p *SetChatStickerSetParams) WithChatID(chatID ChatID) *SetChatStickerSetParams + func (p *SetChatStickerSetParams) WithStickerSetName(stickerSetName string) *SetChatStickerSetParams + type SetChatTitleParams struct + ChatID ChatID + Title string + func (p *SetChatTitleParams) WithChatID(chatID ChatID) *SetChatTitleParams + func (p *SetChatTitleParams) WithTitle(title string) *SetChatTitleParams + type SetCustomEmojiStickerSetThumbnailParams struct + CustomEmojiID string + Name string + func (p *SetCustomEmojiStickerSetThumbnailParams) WithCustomEmojiID(customEmojiID string) *SetCustomEmojiStickerSetThumbnailParams + func (p *SetCustomEmojiStickerSetThumbnailParams) WithName(name string) *SetCustomEmojiStickerSetThumbnailParams + type SetGameScoreParams struct + ChatID int64 + DisableEditMessage bool + Force bool + InlineMessageID string + MessageID int + Score int + UserID int64 + func (p *SetGameScoreParams) WithDisableEditMessage() *SetGameScoreParams + func (p *SetGameScoreParams) WithForce() *SetGameScoreParams + func (p *SetGameScoreParams) WithInlineMessageID(inlineMessageID string) *SetGameScoreParams + func (p *SetGameScoreParams) WithMessageID(messageID int) *SetGameScoreParams + func (p *SetGameScoreParams) WithScore(score int) *SetGameScoreParams + type SetMessageReactionParams struct + ChatID ChatID + IsBig bool + MessageID int + Reaction []ReactionType + func (p *SetMessageReactionParams) WithChatID(chatID ChatID) *SetMessageReactionParams + func (p *SetMessageReactionParams) WithIsBig() *SetMessageReactionParams + func (p *SetMessageReactionParams) WithMessageID(messageID int) *SetMessageReactionParams + func (p *SetMessageReactionParams) WithReaction(reaction ...ReactionType) *SetMessageReactionParams + type SetMyCommandsParams struct + Commands []BotCommand + LanguageCode string + Scope BotCommandScope + func (p *SetMyCommandsParams) WithCommands(commands ...BotCommand) *SetMyCommandsParams + func (p *SetMyCommandsParams) WithLanguageCode(languageCode string) *SetMyCommandsParams + func (p *SetMyCommandsParams) WithScope(scope BotCommandScope) *SetMyCommandsParams + type SetMyDefaultAdministratorRightsParams struct + ForChannels bool + Rights *ChatAdministratorRights + func (p *SetMyDefaultAdministratorRightsParams) WithForChannels() *SetMyDefaultAdministratorRightsParams + func (p *SetMyDefaultAdministratorRightsParams) WithRights(rights *ChatAdministratorRights) *SetMyDefaultAdministratorRightsParams + type SetMyDescriptionParams struct + Description string + LanguageCode string + func (p *SetMyDescriptionParams) WithDescription(description string) *SetMyDescriptionParams + func (p *SetMyDescriptionParams) WithLanguageCode(languageCode string) *SetMyDescriptionParams + type SetMyNameParams struct + LanguageCode string + Name string + func (p *SetMyNameParams) WithLanguageCode(languageCode string) *SetMyNameParams + func (p *SetMyNameParams) WithName(name string) *SetMyNameParams + type SetMyShortDescriptionParams struct + LanguageCode string + ShortDescription string + func (p *SetMyShortDescriptionParams) WithLanguageCode(languageCode string) *SetMyShortDescriptionParams + func (p *SetMyShortDescriptionParams) WithShortDescription(shortDescription string) *SetMyShortDescriptionParams + type SetPassportDataErrorsParams struct + Errors []PassportElementError + UserID int64 + func (p *SetPassportDataErrorsParams) WithErrors(errors ...PassportElementError) *SetPassportDataErrorsParams + type SetStickerEmojiListParams struct + EmojiList []string + Sticker string + func (p *SetStickerEmojiListParams) WithEmojiList(emojiList ...string) *SetStickerEmojiListParams + func (p *SetStickerEmojiListParams) WithSticker(sticker string) *SetStickerEmojiListParams + type SetStickerKeywordsParams struct + Keywords []string + Sticker string + func (p *SetStickerKeywordsParams) WithKeywords(keywords ...string) *SetStickerKeywordsParams + func (p *SetStickerKeywordsParams) WithSticker(sticker string) *SetStickerKeywordsParams + type SetStickerMaskPositionParams struct + MaskPosition *MaskPosition + Sticker string + func (p *SetStickerMaskPositionParams) WithMaskPosition(maskPosition *MaskPosition) *SetStickerMaskPositionParams + func (p *SetStickerMaskPositionParams) WithSticker(sticker string) *SetStickerMaskPositionParams + type SetStickerPositionInSetParams struct + Position int + Sticker string + func (p *SetStickerPositionInSetParams) WithPosition(position int) *SetStickerPositionInSetParams + func (p *SetStickerPositionInSetParams) WithSticker(sticker string) *SetStickerPositionInSetParams + type SetStickerSetThumbnailParams struct + Format string + Name string + Thumbnail *InputFile + UserID int64 + func (p *SetStickerSetThumbnailParams) WithFormat(format string) *SetStickerSetThumbnailParams + func (p *SetStickerSetThumbnailParams) WithName(name string) *SetStickerSetThumbnailParams + func (p *SetStickerSetThumbnailParams) WithThumbnail(thumbnail *InputFile) *SetStickerSetThumbnailParams + type SetStickerSetTitleParams struct + Name string + Title string + func (p *SetStickerSetTitleParams) WithName(name string) *SetStickerSetTitleParams + func (p *SetStickerSetTitleParams) WithTitle(title string) *SetStickerSetTitleParams + type SetWebhookParams struct + AllowedUpdates []string + Certificate *InputFile + DropPendingUpdates bool + IPAddress string + MaxConnections int + SecretToken string + URL string + func (p *SetWebhookParams) WithAllowedUpdates(allowedUpdates ...string) *SetWebhookParams + func (p *SetWebhookParams) WithCertificate(certificate *InputFile) *SetWebhookParams + func (p *SetWebhookParams) WithDropPendingUpdates() *SetWebhookParams + func (p *SetWebhookParams) WithIPAddress(ipAddress string) *SetWebhookParams + func (p *SetWebhookParams) WithMaxConnections(maxConnections int) *SetWebhookParams + func (p *SetWebhookParams) WithSecretToken(secretToken string) *SetWebhookParams + func (p *SetWebhookParams) WithURL(url string) *SetWebhookParams + type SharedUser struct + FirstName string + LastName string + Photo []PhotoSize + UserID int64 + Username 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 StarTransaction struct + Amount int + Date int64 + ID string + Receiver TransactionPartner + Source TransactionPartner + func (t *StarTransaction) UnmarshalJSON(data []byte) error + type StarTransactions struct + Transactions []StarTransaction + 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 int + type StickerSet struct + Name string + StickerType string + Stickers []Sticker + Thumbnail *PhotoSize + Title string + type StopMessageLiveLocationParams struct + BusinessConnectionID string + ChatID ChatID + InlineMessageID string + MessageID int + ReplyMarkup *InlineKeyboardMarkup + func (p *StopMessageLiveLocationParams) WithBusinessConnectionID(businessConnectionID string) *StopMessageLiveLocationParams + func (p *StopMessageLiveLocationParams) WithChatID(chatID ChatID) *StopMessageLiveLocationParams + func (p *StopMessageLiveLocationParams) WithInlineMessageID(inlineMessageID string) *StopMessageLiveLocationParams + func (p *StopMessageLiveLocationParams) WithMessageID(messageID int) *StopMessageLiveLocationParams + func (p *StopMessageLiveLocationParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *StopMessageLiveLocationParams + type StopPollParams struct + BusinessConnectionID string + ChatID ChatID + MessageID int + ReplyMarkup *InlineKeyboardMarkup + func (p *StopPollParams) WithBusinessConnectionID(businessConnectionID string) *StopPollParams + func (p *StopPollParams) WithChatID(chatID ChatID) *StopPollParams + func (p *StopPollParams) WithMessageID(messageID int) *StopPollParams + func (p *StopPollParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *StopPollParams + type Story struct + Chat Chat + ID int + 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 TextQuote struct + Entities []MessageEntity + IsManual bool + Position int + Text string + type TransactionPartner interface + PartnerType func() string + type TransactionPartnerFragment struct + Type string + WithdrawalState RevenueWithdrawalState + func (p *TransactionPartnerFragment) PartnerType() string + type TransactionPartnerOther struct + Type string + func (p *TransactionPartnerOther) PartnerType() string + type TransactionPartnerTelegramAds struct + Type string + func (p *TransactionPartnerTelegramAds) PartnerType() string + type TransactionPartnerUser struct + InvoicePayload string + Type string + User User + func (p *TransactionPartnerUser) PartnerType() string + type UnbanChatMemberParams struct + ChatID ChatID + OnlyIfBanned bool + UserID int64 + func (p *UnbanChatMemberParams) WithChatID(chatID ChatID) *UnbanChatMemberParams + func (p *UnbanChatMemberParams) WithOnlyIfBanned() *UnbanChatMemberParams + type UnbanChatSenderChatParams struct + ChatID ChatID + SenderChatID int64 + func (p *UnbanChatSenderChatParams) WithChatID(chatID ChatID) *UnbanChatSenderChatParams + type UnhideGeneralForumTopicParams struct + ChatID ChatID + func (p *UnhideGeneralForumTopicParams) WithChatID(chatID ChatID) *UnhideGeneralForumTopicParams + type UnpinAllChatMessagesParams struct + ChatID ChatID + func (p *UnpinAllChatMessagesParams) WithChatID(chatID ChatID) *UnpinAllChatMessagesParams + type UnpinAllForumTopicMessagesParams struct + ChatID ChatID + MessageThreadID int + func (p *UnpinAllForumTopicMessagesParams) WithChatID(chatID ChatID) *UnpinAllForumTopicMessagesParams + func (p *UnpinAllForumTopicMessagesParams) WithMessageThreadID(messageThreadID int) *UnpinAllForumTopicMessagesParams + type UnpinAllGeneralForumTopicMessagesParams struct + ChatID ChatID + func (p *UnpinAllGeneralForumTopicMessagesParams) WithChatID(chatID ChatID) *UnpinAllGeneralForumTopicMessagesParams + type UnpinChatMessageParams struct + BusinessConnectionID string + ChatID ChatID + MessageID int + func (p *UnpinChatMessageParams) WithBusinessConnectionID(businessConnectionID string) *UnpinChatMessageParams + func (p *UnpinChatMessageParams) WithChatID(chatID ChatID) *UnpinChatMessageParams + func (p *UnpinChatMessageParams) WithMessageID(messageID int) *UnpinChatMessageParams + type Update struct + BusinessConnection *BusinessConnection + BusinessMessage *Message + CallbackQuery *CallbackQuery + ChannelPost *Message + ChatBoost *ChatBoostUpdated + ChatJoinRequest *ChatJoinRequest + ChatMember *ChatMemberUpdated + ChosenInlineResult *ChosenInlineResult + DeletedBusinessMessages *BusinessMessagesDeleted + EditedBusinessMessage *Message + EditedChannelPost *Message + EditedMessage *Message + InlineQuery *InlineQuery + Message *Message + MessageReaction *MessageReactionUpdated + MessageReactionCount *MessageReactionCountUpdated + MyChatMember *ChatMemberUpdated + Poll *Poll + PollAnswer *PollAnswer + PreCheckoutQuery *PreCheckoutQuery + RemovedChatBoost *ChatBoostRemoved + ShippingQuery *ShippingQuery + UpdateID int + func (u Update) Clone() Update + func (u Update) CloneSafe() (Update, error) + func (u Update) Context() context.Context + func (u Update) WithContext(ctx context.Context) Update + type UploadStickerFileParams struct + Sticker InputFile + StickerFormat string + UserID int64 + func (p *UploadStickerFileParams) WithSticker(sticker InputFile) *UploadStickerFileParams + func (p *UploadStickerFileParams) WithStickerFormat(stickerFormat string) *UploadStickerFileParams + type User struct + AddedToAttachmentMenu bool + CanConnectToBusiness bool + CanJoinGroups bool + CanReadAllGroupMessages bool + FirstName string + HasMainWebApp bool + ID int64 + IsBot bool + IsPremium bool + LanguageCode string + LastName string + SupportsInlineQueries bool + Username string + type UserChatBoosts struct + Boosts []ChatBoost + type UserProfilePhotos struct + Photos [][]PhotoSize + TotalCount int + type UsersShared struct + RequestID int + Users []SharedUser + 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 int64 + FileUniqueID string + Height int + MimeType string + Thumbnail *PhotoSize + Width int + type VideoChatEnded struct + Duration int + type VideoChatParticipantsInvited struct + Users []User + type VideoChatScheduled struct + StartDate int64 + type VideoChatStarted struct + type VideoNote struct + Duration int + FileID string + FileSize int + FileUniqueID string + Length int + Thumbnail *PhotoSize + type Voice struct + Duration int + FileID string + FileSize int64 + FileUniqueID string + MimeType string + type WebAppData struct + ButtonText string + Data string + type WebAppInfo struct + URL string + type WebhookHandler func(ctx context.Context, data []byte) error + type WebhookInfo struct + AllowedUpdates []string + HasCustomCertificate bool + IPAddress string + LastErrorDate int64 + LastErrorMessage string + LastSynchronizationErrorDate int64 + MaxConnections int + PendingUpdateCount int + URL string + type WebhookOption func(bot *Bot, ctx *webhookContext) error + func WithWebhookBuffer(chanBuffer uint) WebhookOption + func WithWebhookServer(server WebhookServer) WebhookOption + func WithWebhookSet(params *SetWebhookParams) WebhookOption + type WebhookServer interface + RegisterHandler func(path string, handler WebhookHandler) error + Start func(address string) error + Stop func(ctx context.Context) error + type WriteAccessAllowed struct + FromAttachmentMenu bool + FromRequest bool + WebAppName string