Versions in this module Expand all Collapse all v0 v0.1.1 Aug 25, 2026 Changes in this version + const BackgroundFilledFreeformGradient + const BackgroundFilledGradient + const BackgroundFilledSolid + const BackgroundTypeNameChatTheme + const BackgroundTypeNameFill + const BackgroundTypeNamePattern + const BackgroundTypeNameWallpaper + const BlockTypeAnchor + const BlockTypeAnimation + const BlockTypeAudio + const BlockTypeBlockQuotation + const BlockTypeCollage + const BlockTypeDetails + const BlockTypeDivider + const BlockTypeFooter + const BlockTypeList + const BlockTypeMap + const BlockTypeMathematicalExpression + const BlockTypeParagraph + const BlockTypePhoto + const BlockTypePreformatted + const BlockTypePullQuotation + const BlockTypeSectionHeading + const BlockTypeSlideshow + const BlockTypeTable + const BlockTypeThinking + const BlockTypeVideo + const BlockTypeVoiceNote + const BoostSourceGiftCode + const BoostSourceGiveaway + const BoostSourcePremium + const BusinessConnectionUpdates + const BusinessMessageUpdates + const ButtonStyleDanger + const ButtonStylePrimary + const ButtonStyleSuccess + const ButtonTypeCommands + const ButtonTypeDefault + const ButtonTypeWebApp + const CallValignTop + const CallbackQueryUpdates + const CellAlignCenter + const CellAlignLeft + const CellAlignRight + const CellValignBottom + const CellValignMiddle + 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 ChatBoostUpdates + const ChatJoinRequestUpdates + const ChatMemberUpdates + const ChatTypeChannel + const ChatTypeGroup + const ChatTypePrivate + const ChatTypeSender + const ChatTypeSupergroup + const ChosenInlineResultUpdates + const ContentTypeContact + const ContentTypeInvoice + const ContentTypeLocation + const ContentTypeRich + const ContentTypeText + const ContentTypeVenue + const DefaultLoggerTokenReplacement + const DeletedBusinessMessagesUpdates + const EditedBusinessMessageUpdates + 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 EntityTypeDateTime + 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 GiftOriginGiftedUpgrade + const GiftOriginOffer + const GiftOriginResale + const GiftOriginTransfer + const GiftOriginUpgrade + const GiftRarityEpic + const GiftRarityLegendary + const GiftRarityRare + const GiftRarityUncommon + const GiftTypeRegular + const GiftTypeUnique + const GuestMessageUpdates + const InlineQueryUpdates + const JoinRequestApprove + const JoinRequestDecline + const JoinRequestQueue + const ManagedBot + const MarkupTypeForceReply + const MarkupTypeInlineKeyboard + const MarkupTypeReplyKeyboard + const MarkupTypeReplyKeyboardRemove + const MediaTypeAnimation + const MediaTypeAudio + const MediaTypeDocument + const MediaTypeLink + const MediaTypeLivePhoto + const MediaTypeLocation + const MediaTypePhoto + const MediaTypeSticker + const MediaTypeVenue + const MediaTypeVideo + const MediaTypeVoiceNote + const MemberStatusAdministrator + const MemberStatusBanned + const MemberStatusCreator + const MemberStatusLeft + const MemberStatusMember + const MemberStatusRestricted + const MessageReactionCountUpdates + const MessageReactionUpdates + const MessageUpdates + const MimeTypeApplicationPDF + const MimeTypeApplicationZip + const MimeTypeImageGif + const MimeTypeImageJpeg + const MimeTypeTextHTML + const MimeTypeVideoMp4 + const ModeHTML + const ModeMarkdown + const ModeMarkdownV2 + const MyChatMemberUpdates + const OrderedListDecimal + const OrderedListLowerAlpha + const OrderedListLowerRoman + const OrderedListUpperAlpha + const OrderedListUpperRoman + const OriginTypeChannel + const OriginTypeChat + const OriginTypeHiddenUser + const OriginTypeUser + const PaidMediaTypeLivePhoto + const PaidMediaTypePhoto + const PaidMediaTypePreview + const PaidMediaTypeVideo + const PartnerTypeAffiliateProgram + const PartnerTypeChat + const PartnerTypeFragment + const PartnerTypeOther + const PartnerTypeTelegramAds + const PartnerTypeTelegramApi + const PartnerTypeUser + const PhotoTypeAnimated + const PhotoTypeStatic + const PointChin + const PointEyes + const PointForehead + const PointMouth + const PollAnswerUpdates + const PollTypeQuiz + const PollTypeRegular + const PollUpdates + const PreCheckoutQueryUpdates + const PurchasedPaidMediaUpdates + const ReactionCustomEmoji + const ReactionEmoji + const ReactionPaid + const RemovedChatBoostUpdates + 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 StoryAreaLink + const StoryAreaLocation + const StoryAreaSuggestedReaction + const StoryAreaUniqueGift + const StoryAreaWeather + const StoryTypePhoto + const StoryTypeVideo + const SubscriptionStateActive + const SubscriptionStateCanceled + const SubscriptionStateFailed + const TextTypeAnchor + const TextTypeAnchorLink + const TextTypeBankCardNumber + const TextTypeBold + const TextTypeBotCommand + const TextTypeCashtag + const TextTypeCode + const TextTypeCustomEmoji + const TextTypeDateTime + const TextTypeEmailAddress + const TextTypeHashtag + const TextTypeItalic + const TextTypeList + const TextTypeMarked + const TextTypeMathematicalExpression + const TextTypeMention + const TextTypePhoneNumber + const TextTypePlain + const TextTypeReference + const TextTypeReferenceLink + const TextTypeSpoiler + const TextTypeStrikethrough + const TextTypeSubscript + const TextTypeSuperscript + const TextTypeTextMention + const TextTypeURL + const TextTypeUnderline + const TransactionTypeBusinessAccountTransfer + const TransactionTypeGiftPurchase + const TransactionTypeInvoicePayment + const TransactionTypePaidMediaPayment + const TransactionTypePremiumPurchase + const WebhookSecretTokenHeader + const WithdrawalStateFailed + const WithdrawalStatePending + const WithdrawalStateSucceeded + var ErrEmptyToken = errors.New("telego: empty token") + var ErrInvalidToken = errors.New("telego: invalid token format") + func SetJSONMarshal(marshal func(v any) ([]byte, error)) + func SetJSONUnmarshal(unmarshal func(data []byte, v any) error) + func ToPtr[T any](value T) *T + func WebhookFastHTTP(server *fasthttp.Server, path string, secretToken ...string) func(handler WebhookHandler) error + func WebhookHTTPServeMux(mux *http.ServeMux, pattern string, secretToken ...string) func(handler WebhookHandler) error + func WebhookHTTPServer(server *http.Server, path string, secretToken ...string) func(handler WebhookHandler) error + type AcceptedGiftTypes struct + GiftsFromChannels bool + LimitedGifts bool + PremiumSubscription bool + UniqueGifts bool + UnlimitedGifts bool + type AddStickerToSetParams struct + Name string + Sticker InputSticker + UserID int64 + func (p *AddStickerToSetParams) WithName(name string) *AddStickerToSetParams + func (p *AddStickerToSetParams) WithSticker(sticker InputSticker) *AddStickerToSetParams + func (p *AddStickerToSetParams) WithUserID(userID int64) *AddStickerToSetParams + type AffiliateInfo struct + AffiliateChat *Chat + AffiliateUser *User + Amount int + CommissionPerMille int + NanostarAmount int + 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 AnswerChatJoinRequestQueryParams struct + ChatJoinRequestQueryID string + Result string + func (p *AnswerChatJoinRequestQueryParams) WithChatJoinRequestQueryID(chatJoinRequestQueryID string) *AnswerChatJoinRequestQueryParams + func (p *AnswerChatJoinRequestQueryParams) WithResult(result string) *AnswerChatJoinRequestQueryParams + type AnswerGuestQueryParams struct + GuestQueryID string + Result InlineQueryResult + func (p *AnswerGuestQueryParams) WithGuestQueryID(guestQueryID string) *AnswerGuestQueryParams + func (p *AnswerGuestQueryParams) WithResult(result InlineQueryResult) *AnswerGuestQueryParams + 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 + func (p *ApproveChatJoinRequestParams) WithUserID(userID int64) *ApproveChatJoinRequestParams + type ApproveSuggestedPostParams struct + ChatID int64 + MessageID int + SendDate int64 + func (p *ApproveSuggestedPostParams) WithChatID(chatID int64) *ApproveSuggestedPostParams + func (p *ApproveSuggestedPostParams) WithMessageID(messageID int) *ApproveSuggestedPostParams + func (p *ApproveSuggestedPostParams) WithSendDate(sendDate int64) *ApproveSuggestedPostParams + 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 + func (b *BackgroundTypePattern) UnmarshalJSON(data []byte) error + 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 + func (p *BanChatMemberParams) WithUntilDate(untilDate int64) *BanChatMemberParams + func (p *BanChatMemberParams) WithUserID(userID int64) *BanChatMemberParams + type BanChatSenderChatParams struct + ChatID ChatID + SenderChatID int64 + func (p *BanChatSenderChatParams) WithChatID(chatID ChatID) *BanChatSenderChatParams + func (p *BanChatSenderChatParams) WithSenderChatID(senderChatID int64) *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(ctx context.Context, params *AddStickerToSetParams) error + func (b *Bot) AnswerCallbackQuery(ctx context.Context, params *AnswerCallbackQueryParams) error + func (b *Bot) AnswerChatJoinRequestQuery(ctx context.Context, params *AnswerChatJoinRequestQueryParams) error + func (b *Bot) AnswerGuestQuery(ctx context.Context, params *AnswerGuestQueryParams) (*SentGuestMessage, error) + func (b *Bot) AnswerInlineQuery(ctx context.Context, params *AnswerInlineQueryParams) error + func (b *Bot) AnswerPreCheckoutQuery(ctx context.Context, params *AnswerPreCheckoutQueryParams) error + func (b *Bot) AnswerShippingQuery(ctx context.Context, params *AnswerShippingQueryParams) error + func (b *Bot) AnswerWebAppQuery(ctx context.Context, params *AnswerWebAppQueryParams) (*SentWebAppMessage, error) + func (b *Bot) ApproveChatJoinRequest(ctx context.Context, params *ApproveChatJoinRequestParams) error + func (b *Bot) ApproveSuggestedPost(ctx context.Context, params *ApproveSuggestedPostParams) error + func (b *Bot) BanChatMember(ctx context.Context, params *BanChatMemberParams) error + func (b *Bot) BanChatSenderChat(ctx context.Context, params *BanChatSenderChatParams) error + func (b *Bot) Close(ctx context.Context) error + func (b *Bot) CloseForumTopic(ctx context.Context, params *CloseForumTopicParams) error + func (b *Bot) CloseGeneralForumTopic(ctx context.Context, params *CloseGeneralForumTopicParams) error + func (b *Bot) ConvertGiftToStars(ctx context.Context, params *ConvertGiftToStarsParams) error + func (b *Bot) CopyMessage(ctx context.Context, params *CopyMessageParams) (*MessageID, error) + func (b *Bot) CopyMessages(ctx context.Context, params *CopyMessagesParams) ([]MessageID, error) + func (b *Bot) CreateChatInviteLink(ctx context.Context, params *CreateChatInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) CreateChatSubscriptionInviteLink(ctx context.Context, params *CreateChatSubscriptionInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) CreateForumTopic(ctx context.Context, params *CreateForumTopicParams) (*ForumTopic, error) + func (b *Bot) CreateInvoiceLink(ctx context.Context, params *CreateInvoiceLinkParams) (*string, error) + func (b *Bot) CreateNewStickerSet(ctx context.Context, params *CreateNewStickerSetParams) error + func (b *Bot) DeclineChatJoinRequest(ctx context.Context, params *DeclineChatJoinRequestParams) error + func (b *Bot) DeclineSuggestedPost(ctx context.Context, params *DeclineSuggestedPostParams) error + func (b *Bot) DeleteAllMessageReactions(ctx context.Context, params *DeleteAllMessageReactionsParams) error + func (b *Bot) DeleteBusinessMessages(ctx context.Context, params *DeleteBusinessMessagesParams) error + func (b *Bot) DeleteChatPhoto(ctx context.Context, params *DeleteChatPhotoParams) error + func (b *Bot) DeleteChatStickerSet(ctx context.Context, params *DeleteChatStickerSetParams) error + func (b *Bot) DeleteEphemeralMessage(ctx context.Context, params *DeleteEphemeralMessageParams) error + func (b *Bot) DeleteForumTopic(ctx context.Context, params *DeleteForumTopicParams) error + func (b *Bot) DeleteMessage(ctx context.Context, params *DeleteMessageParams) error + func (b *Bot) DeleteMessageReaction(ctx context.Context, params *DeleteMessageReactionParams) error + func (b *Bot) DeleteMessages(ctx context.Context, params *DeleteMessagesParams) error + func (b *Bot) DeleteMyCommands(ctx context.Context, params *DeleteMyCommandsParams) error + func (b *Bot) DeleteStickerFromSet(ctx context.Context, params *DeleteStickerFromSetParams) error + func (b *Bot) DeleteStickerSet(ctx context.Context, params *DeleteStickerSetParams) error + func (b *Bot) DeleteStory(ctx context.Context, params *DeleteStoryParams) error + func (b *Bot) DeleteWebhook(ctx context.Context, params *DeleteWebhookParams) error + func (b *Bot) EditChatInviteLink(ctx context.Context, params *EditChatInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) EditChatSubscriptionInviteLink(ctx context.Context, params *EditChatSubscriptionInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) EditEphemeralMessageCaption(ctx context.Context, params *EditEphemeralMessageCaptionParams) error + func (b *Bot) EditEphemeralMessageMedia(ctx context.Context, params *EditEphemeralMessageMediaParams) error + func (b *Bot) EditEphemeralMessageReplyMarkup(ctx context.Context, params *EditEphemeralMessageReplyMarkupParams) error + func (b *Bot) EditEphemeralMessageText(ctx context.Context, params *EditEphemeralMessageTextParams) error + func (b *Bot) EditForumTopic(ctx context.Context, params *EditForumTopicParams) error + func (b *Bot) EditGeneralForumTopic(ctx context.Context, params *EditGeneralForumTopicParams) error + func (b *Bot) EditMessageCaption(ctx context.Context, params *EditMessageCaptionParams) (*Message, error) + func (b *Bot) EditMessageChecklist(ctx context.Context, params *EditMessageChecklistParams) (*Message, error) + func (b *Bot) EditMessageLiveLocation(ctx context.Context, params *EditMessageLiveLocationParams) (*Message, error) + func (b *Bot) EditMessageMedia(ctx context.Context, params *EditMessageMediaParams) (*Message, error) + func (b *Bot) EditMessageReplyMarkup(ctx context.Context, params *EditMessageReplyMarkupParams) (*Message, error) + func (b *Bot) EditMessageText(ctx context.Context, params *EditMessageTextParams) (*Message, error) + func (b *Bot) EditStory(ctx context.Context, params *EditStoryParams) (*Story, error) + func (b *Bot) EditUserStarSubscription(ctx context.Context, params *EditUserStarSubscriptionParams) error + func (b *Bot) ExportChatInviteLink(ctx context.Context, params *ExportChatInviteLinkParams) (*string, error) + func (b *Bot) FileDownloadURL(filepath string) string + func (b *Bot) ForwardMessage(ctx context.Context, params *ForwardMessageParams) (*Message, error) + func (b *Bot) ForwardMessages(ctx context.Context, params *ForwardMessagesParams) ([]MessageID, error) + func (b *Bot) GetAvailableGifts(ctx context.Context) (*Gifts, error) + func (b *Bot) GetBusinessAccountGifts(ctx context.Context, params *GetBusinessAccountGiftsParams) (*OwnedGifts, error) + func (b *Bot) GetBusinessAccountStarBalance(ctx context.Context, params *GetBusinessAccountStarBalanceParams) (*StarAmount, error) + func (b *Bot) GetBusinessConnection(ctx context.Context, params *GetBusinessConnectionParams) (*BusinessConnection, error) + func (b *Bot) GetChat(ctx context.Context, params *GetChatParams) (*ChatFullInfo, error) + func (b *Bot) GetChatAdministrators(ctx context.Context, params *GetChatAdministratorsParams) ([]ChatMember, error) + func (b *Bot) GetChatGifts(ctx context.Context, params *GetChatGiftsParams) (*OwnedGifts, error) + func (b *Bot) GetChatMember(ctx context.Context, params *GetChatMemberParams) (ChatMember, error) + func (b *Bot) GetChatMemberCount(ctx context.Context, params *GetChatMemberCountParams) (*int, error) + func (b *Bot) GetChatMenuButton(ctx context.Context, params *GetChatMenuButtonParams) (MenuButton, error) + func (b *Bot) GetCustomEmojiStickers(ctx context.Context, params *GetCustomEmojiStickersParams) ([]Sticker, error) + func (b *Bot) GetFile(ctx context.Context, params *GetFileParams) (*File, error) + func (b *Bot) GetForumTopicIconStickers(ctx context.Context) ([]Sticker, error) + func (b *Bot) GetGameHighScores(ctx context.Context, params *GetGameHighScoresParams) ([]GameHighScore, error) + func (b *Bot) GetManagedBotAccessSettings(ctx context.Context, params *GetManagedBotAccessSettingsParams) (*BotAccessSettings, error) + func (b *Bot) GetManagedBotToken(ctx context.Context, params *GetManagedBotTokenParams) (*string, error) + func (b *Bot) GetMe(ctx context.Context) (*User, error) + func (b *Bot) GetMyCommands(ctx context.Context, params *GetMyCommandsParams) ([]BotCommand, error) + func (b *Bot) GetMyDefaultAdministratorRights(ctx context.Context, params *GetMyDefaultAdministratorRightsParams) (*ChatAdministratorRights, error) + func (b *Bot) GetMyDescription(ctx context.Context, params *GetMyDescriptionParams) (*BotDescription, error) + func (b *Bot) GetMyName(ctx context.Context, params *GetMyNameParams) (*BotName, error) + func (b *Bot) GetMyShortDescription(ctx context.Context, params *GetMyShortDescriptionParams) (*BotShortDescription, error) + func (b *Bot) GetMyStarBalance(ctx context.Context) (*StarAmount, error) + func (b *Bot) GetStarTransactions(ctx context.Context, params *GetStarTransactionsParams) (*StarTransactions, error) + func (b *Bot) GetStickerSet(ctx context.Context, params *GetStickerSetParams) (*StickerSet, error) + func (b *Bot) GetUpdates(ctx context.Context, params *GetUpdatesParams) ([]Update, error) + func (b *Bot) GetUserChatBoosts(ctx context.Context, params *GetUserChatBoostsParams) (*UserChatBoosts, error) + func (b *Bot) GetUserGifts(ctx context.Context, params *GetUserGiftsParams) (*OwnedGifts, error) + func (b *Bot) GetUserPersonalChatMessages(ctx context.Context, params *GetUserPersonalChatMessagesParams) ([]Message, error) + func (b *Bot) GetUserProfileAudios(ctx context.Context, params *GetUserProfileAudiosParams) (*UserProfileAudios, error) + func (b *Bot) GetUserProfilePhotos(ctx context.Context, params *GetUserProfilePhotosParams) (*UserProfilePhotos, error) + func (b *Bot) GetWebhookInfo(ctx context.Context) (*WebhookInfo, error) + func (b *Bot) GiftPremiumSubscription(ctx context.Context, params *GiftPremiumSubscriptionParams) error + func (b *Bot) HideGeneralForumTopic(ctx context.Context, params *HideGeneralForumTopicParams) error + func (b *Bot) ID() int64 + func (b *Bot) LeaveChat(ctx context.Context, params *LeaveChatParams) error + func (b *Bot) LogOut(ctx context.Context) error + func (b *Bot) Logger() Logger + func (b *Bot) PinChatMessage(ctx context.Context, params *PinChatMessageParams) error + func (b *Bot) PostStory(ctx context.Context, params *PostStoryParams) (*Story, error) + func (b *Bot) PromoteChatMember(ctx context.Context, params *PromoteChatMemberParams) error + func (b *Bot) ReadBusinessMessage(ctx context.Context, params *ReadBusinessMessageParams) error + func (b *Bot) RefundStarPayment(ctx context.Context, params *RefundStarPaymentParams) error + func (b *Bot) RemoveBusinessAccountProfilePhoto(ctx context.Context, params *RemoveBusinessAccountProfilePhotoParams) error + func (b *Bot) RemoveChatVerification(ctx context.Context, params *RemoveChatVerificationParams) error + func (b *Bot) RemoveMyProfilePhoto(ctx context.Context) error + func (b *Bot) RemoveUserVerification(ctx context.Context, params *RemoveUserVerificationParams) error + func (b *Bot) ReopenForumTopic(ctx context.Context, params *ReopenForumTopicParams) error + func (b *Bot) ReopenGeneralForumTopic(ctx context.Context, params *ReopenGeneralForumTopicParams) error + func (b *Bot) ReplaceManagedBotToken(ctx context.Context, params *ReplaceManagedBotTokenParams) (*string, error) + func (b *Bot) ReplaceStickerInSet(ctx context.Context, params *ReplaceStickerInSetParams) error + func (b *Bot) RepostStory(ctx context.Context, params *RepostStoryParams) (*Story, error) + func (b *Bot) RestrictChatMember(ctx context.Context, params *RestrictChatMemberParams) error + func (b *Bot) RevokeChatInviteLink(ctx context.Context, params *RevokeChatInviteLinkParams) (*ChatInviteLink, error) + func (b *Bot) SavePreparedInlineMessage(ctx context.Context, params *SavePreparedInlineMessageParams) (*PreparedInlineMessage, error) + func (b *Bot) SavePreparedKeyboardButton(ctx context.Context, params *SavePreparedKeyboardButtonParams) (*PreparedKeyboardButton, error) + func (b *Bot) SecretToken() string + func (b *Bot) SendAnimation(ctx context.Context, params *SendAnimationParams) (*Message, error) + func (b *Bot) SendAudio(ctx context.Context, params *SendAudioParams) (*Message, error) + func (b *Bot) SendChatAction(ctx context.Context, params *SendChatActionParams) error + func (b *Bot) SendChatJoinRequestWebApp(ctx context.Context, params *SendChatJoinRequestWebAppParams) error + func (b *Bot) SendChecklist(ctx context.Context, params *SendChecklistParams) (*Message, error) + func (b *Bot) SendContact(ctx context.Context, params *SendContactParams) (*Message, error) + func (b *Bot) SendDice(ctx context.Context, params *SendDiceParams) (*Message, error) + func (b *Bot) SendDocument(ctx context.Context, params *SendDocumentParams) (*Message, error) + func (b *Bot) SendGame(ctx context.Context, params *SendGameParams) (*Message, error) + func (b *Bot) SendGift(ctx context.Context, params *SendGiftParams) error + func (b *Bot) SendInvoice(ctx context.Context, params *SendInvoiceParams) (*Message, error) + func (b *Bot) SendLivePhoto(ctx context.Context, params *SendLivePhotoParams) (*Message, error) + func (b *Bot) SendLocation(ctx context.Context, params *SendLocationParams) (*Message, error) + func (b *Bot) SendMediaGroup(ctx context.Context, params *SendMediaGroupParams) ([]Message, error) + func (b *Bot) SendMessage(ctx context.Context, params *SendMessageParams) (*Message, error) + func (b *Bot) SendMessageDraft(ctx context.Context, params *SendMessageDraftParams) error + func (b *Bot) SendPaidMedia(ctx context.Context, params *SendPaidMediaParams) (*Message, error) + func (b *Bot) SendPhoto(ctx context.Context, params *SendPhotoParams) (*Message, error) + func (b *Bot) SendPoll(ctx context.Context, params *SendPollParams) (*Message, error) + func (b *Bot) SendRichMessage(ctx context.Context, params *SendRichMessageParams) (*Message, error) + func (b *Bot) SendRichMessageDraft(ctx context.Context, params *SendRichMessageDraftParams) error + func (b *Bot) SendSticker(ctx context.Context, params *SendStickerParams) (*Message, error) + func (b *Bot) SendVenue(ctx context.Context, params *SendVenueParams) (*Message, error) + func (b *Bot) SendVideo(ctx context.Context, params *SendVideoParams) (*Message, error) + func (b *Bot) SendVideoNote(ctx context.Context, params *SendVideoNoteParams) (*Message, error) + func (b *Bot) SendVoice(ctx context.Context, params *SendVoiceParams) (*Message, error) + func (b *Bot) SetBusinessAccountBio(ctx context.Context, params *SetBusinessAccountBioParams) error + func (b *Bot) SetBusinessAccountGiftSettings(ctx context.Context, params *SetBusinessAccountGiftSettingsParams) error + func (b *Bot) SetBusinessAccountName(ctx context.Context, params *SetBusinessAccountNameParams) error + func (b *Bot) SetBusinessAccountProfilePhoto(ctx context.Context, params *SetBusinessAccountProfilePhotoParams) error + func (b *Bot) SetBusinessAccountUsername(ctx context.Context, params *SetBusinessAccountUsernameParams) error + func (b *Bot) SetChatAdministratorCustomTitle(ctx context.Context, params *SetChatAdministratorCustomTitleParams) error + func (b *Bot) SetChatDescription(ctx context.Context, params *SetChatDescriptionParams) error + func (b *Bot) SetChatMemberTag(ctx context.Context, params *SetChatMemberTagParams) error + func (b *Bot) SetChatMenuButton(ctx context.Context, params *SetChatMenuButtonParams) error + func (b *Bot) SetChatPermissions(ctx context.Context, params *SetChatPermissionsParams) error + func (b *Bot) SetChatPhoto(ctx context.Context, params *SetChatPhotoParams) error + func (b *Bot) SetChatStickerSet(ctx context.Context, params *SetChatStickerSetParams) error + func (b *Bot) SetChatTitle(ctx context.Context, params *SetChatTitleParams) error + func (b *Bot) SetCustomEmojiStickerSetThumbnail(ctx context.Context, params *SetCustomEmojiStickerSetThumbnailParams) error + func (b *Bot) SetGameScore(ctx context.Context, params *SetGameScoreParams) (*Message, error) + func (b *Bot) SetManagedBotAccessSettings(ctx context.Context, params *SetManagedBotAccessSettingsParams) error + func (b *Bot) SetMessageReaction(ctx context.Context, params *SetMessageReactionParams) error + func (b *Bot) SetMyCommands(ctx context.Context, params *SetMyCommandsParams) error + func (b *Bot) SetMyDefaultAdministratorRights(ctx context.Context, params *SetMyDefaultAdministratorRightsParams) error + func (b *Bot) SetMyDescription(ctx context.Context, params *SetMyDescriptionParams) error + func (b *Bot) SetMyName(ctx context.Context, params *SetMyNameParams) error + func (b *Bot) SetMyProfilePhoto(ctx context.Context, params *SetMyProfilePhotoParams) error + func (b *Bot) SetMyShortDescription(ctx context.Context, params *SetMyShortDescriptionParams) error + func (b *Bot) SetPassportDataErrors(ctx context.Context, params *SetPassportDataErrorsParams) error + func (b *Bot) SetStickerEmojiList(ctx context.Context, params *SetStickerEmojiListParams) error + func (b *Bot) SetStickerKeywords(ctx context.Context, params *SetStickerKeywordsParams) error + func (b *Bot) SetStickerMaskPosition(ctx context.Context, params *SetStickerMaskPositionParams) error + func (b *Bot) SetStickerPositionInSet(ctx context.Context, params *SetStickerPositionInSetParams) error + func (b *Bot) SetStickerSetThumbnail(ctx context.Context, params *SetStickerSetThumbnailParams) error + func (b *Bot) SetStickerSetTitle(ctx context.Context, params *SetStickerSetTitleParams) error + func (b *Bot) SetUserEmojiStatus(ctx context.Context, params *SetUserEmojiStatusParams) error + func (b *Bot) SetWebhook(ctx context.Context, params *SetWebhookParams) error + func (b *Bot) StopMessageLiveLocation(ctx context.Context, params *StopMessageLiveLocationParams) (*Message, error) + func (b *Bot) StopPoll(ctx context.Context, params *StopPollParams) (*Poll, error) + func (b *Bot) Token() string + func (b *Bot) TransferBusinessAccountStars(ctx context.Context, params *TransferBusinessAccountStarsParams) error + func (b *Bot) TransferGift(ctx context.Context, params *TransferGiftParams) error + func (b *Bot) UnbanChatMember(ctx context.Context, params *UnbanChatMemberParams) error + func (b *Bot) UnbanChatSenderChat(ctx context.Context, params *UnbanChatSenderChatParams) error + func (b *Bot) UnhideGeneralForumTopic(ctx context.Context, params *UnhideGeneralForumTopicParams) error + func (b *Bot) UnpinAllChatMessages(ctx context.Context, params *UnpinAllChatMessagesParams) error + func (b *Bot) UnpinAllForumTopicMessages(ctx context.Context, params *UnpinAllForumTopicMessagesParams) error + func (b *Bot) UnpinAllGeneralForumTopicMessages(ctx context.Context, params *UnpinAllGeneralForumTopicMessagesParams) error + func (b *Bot) UnpinChatMessage(ctx context.Context, params *UnpinChatMessageParams) error + func (b *Bot) UpdatesViaLongPolling(ctx context.Context, params *GetUpdatesParams, options ...LongPollingOption) (<-chan Update, error) + func (b *Bot) UpdatesViaWebhook(ctx context.Context, registerHandler func(handler WebhookHandler) error, ...) (<-chan Update, error) + func (b *Bot) UpgradeGift(ctx context.Context, params *UpgradeGiftParams) error + func (b *Bot) UploadStickerFile(ctx context.Context, params *UploadStickerFileParams) (*File, error) + func (b *Bot) Username() string + func (b *Bot) VerifyChat(ctx context.Context, params *VerifyChatParams) error + func (b *Bot) VerifyUser(ctx context.Context, params *VerifyUserParams) error + type BotAccessSettings struct + AddedUsers []User + IsAccessRestricted bool + type BotCommand struct + Command string + Description string + IsEphemeral bool + 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 WithDebugMode() 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(ctx context.Context) BotOption + func WithLogger(log Logger) BotOption + func WithRequestConstructor(constructor ta.RequestConstructor) BotOption + func WithTestServerPath() BotOption + func WithWarnings() BotOption + type BotShortDescription struct + ShortDescription string + type BotSubscriptionUpdated struct + InvoicePayload string + State string + User User + type BusinessBotRights struct + CanChangeGiftSettings bool + CanConvertGiftsToStars bool + CanDeleteAllMessages bool + CanDeleteSentMessages bool + CanEditBio bool + CanEditName bool + CanEditProfilePhoto bool + CanEditUsername bool + CanManageStories bool + CanReadMessages bool + CanReply bool + CanTransferAndUpgradeGifts bool + CanTransferStars bool + CanViewGiftsAndStars bool + type BusinessConnection struct + Date int64 + ID string + IsEnabled bool + Rights *BusinessBotRights + 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 + IsDirectMessages bool + 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 + CanManageDirectMessages bool + CanManageTags 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 + PrizeStarCount int + 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 + AcceptedGiftTypes AcceptedGiftTypes + ActiveUsernames []string + AvailableReactions []ReactionType + BackgroundCustomEmojiID string + Bio string + Birthdate *Birthdate + BusinessIntro *BusinessIntro + BusinessLocation *BusinessLocation + BusinessOpeningHours *BusinessOpeningHours + CanSendPaidMedia bool + CanSetStickerSet bool + Community *Community + CustomEmojiStickerSetName string + Description string + EmojiStatusCustomEmojiID string + EmojiStatusExpirationDate int64 + FirstName string + FirstProfileAudio *Audio + GuardBot *User + HasAggressiveAntiSpamEnabled bool + HasHiddenMembers bool + HasPrivateForwards bool + HasProtectedContent bool + HasRestrictedVoiceAndVideoMessages bool + HasVisibleHistory bool + ID int64 + InviteLink string + IsDirectMessages bool + IsForum bool + JoinByRequest bool + JoinToSendMessages bool + LastName string + LinkedChatID int64 + Location *ChatLocation + MaxReactionCount int + MessageAutoDeleteTime int + PaidMessageStarCount int + ParentChat *Chat + Permissions *ChatPermissions + PersonalChat *Chat + Photo *ChatPhoto + PinnedMessage *Message + ProfileAccentColorID int + ProfileBackgroundCustomEmojiID string + Rating *UserRating + SlowModeDelay int + StickerSetName string + Title string + Type string + UniqueGiftColors *UniqueGiftColors + UnrestrictBoostCount int + Username string + func (c *ChatFullInfo) UnmarshalJSON(data []byte) error + type ChatID struct + ID int64 + Username string + func (c *ChatID) UnmarshalJSON(data []byte) error + 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 + SubscriptionPeriod int64 + SubscriptionPrice int + type ChatJoinRequest struct + Bio string + Chat Chat + Date int64 + From User + InviteLink *ChatInviteLink + QueryID string + 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 + CanManageDirectMessages bool + CanManageTags 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 + Tag string + UntilDate int64 + 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 + CanEditTag bool + CanInviteUsers bool + CanManageTopics bool + CanPinMessages bool + CanReactToMessages bool + CanSendAudios bool + CanSendDocuments bool + CanSendMessages bool + CanSendOtherMessages bool + CanSendPhotos bool + CanSendPolls bool + CanSendVideoNotes bool + CanSendVideos bool + CanSendVoiceNotes bool + IsMember bool + Status string + Tag 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 ChatOwnerChanged struct + NewOwner User + type ChatOwnerLeft struct + NewOwner *User + type ChatPermissions struct + CanAddWebPagePreviews *bool + CanChangeInfo *bool + CanEditTag *bool + CanInviteUsers *bool + CanManageTopics *bool + CanPinMessages *bool + CanReactToMessages *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 Checklist struct + OthersCanAddTasks bool + OthersCanMarkTasksAsDone bool + Tasks []ChecklistTask + Title string + TitleEntities []MessageEntity + type ChecklistTask struct + CompletedByChat *Chat + CompletedByUser *User + CompletionDate int64 + ID int + Text string + TextEntities []MessageEntity + type ChecklistTasksAdded struct + ChecklistMessage *Message + Tasks []ChecklistTask + type ChecklistTasksDone struct + ChecklistMessage *Message + MarkedAsDoneTaskIDs []int + MarkedAsNotDoneTaskIDs []int + 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 Community struct + ID int64 + Name string + type CommunityChatAdded struct + Community Community + type CommunityChatRemoved struct + type Contact struct + FirstName string + LastName string + PhoneNumber string + UserID int64 + Vcard string + type ConvertGiftToStarsParams struct + BusinessConnectionID string + OwnedGiftID string + func (p *ConvertGiftToStarsParams) WithBusinessConnectionID(businessConnectionID string) *ConvertGiftToStarsParams + func (p *ConvertGiftToStarsParams) WithOwnedGiftID(ownedGiftID string) *ConvertGiftToStarsParams + type CopyMessageParams struct + AllowPaidBroadcast bool + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageEffectID string + MessageID int + MessageThreadID int + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + VideoStartTimestamp int + func (p *CopyMessageParams) WithAllowPaidBroadcast() *CopyMessageParams + func (p *CopyMessageParams) WithCaption(caption string) *CopyMessageParams + func (p *CopyMessageParams) WithCaptionEntities(captionEntities ...MessageEntity) *CopyMessageParams + func (p *CopyMessageParams) WithChatID(chatID ChatID) *CopyMessageParams + func (p *CopyMessageParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *CopyMessageParams + func (p *CopyMessageParams) WithDisableNotification() *CopyMessageParams + func (p *CopyMessageParams) WithFromChatID(fromChatID ChatID) *CopyMessageParams + func (p *CopyMessageParams) WithMessageEffectID(messageEffectID string) *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 + func (p *CopyMessageParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *CopyMessageParams + func (p *CopyMessageParams) WithVideoStartTimestamp(videoStartTimestamp int) *CopyMessageParams + type CopyMessagesParams struct + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageIDs []int + MessageThreadID int + ProtectContent bool + RemoveCaption bool + func (p *CopyMessagesParams) WithChatID(chatID ChatID) *CopyMessagesParams + func (p *CopyMessagesParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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 CopyTextButton struct + Text string + 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) WithExpireDate(expireDate int64) *CreateChatInviteLinkParams + func (p *CreateChatInviteLinkParams) WithMemberLimit(memberLimit int) *CreateChatInviteLinkParams + func (p *CreateChatInviteLinkParams) WithName(name string) *CreateChatInviteLinkParams + type CreateChatSubscriptionInviteLinkParams struct + ChatID ChatID + Name string + SubscriptionPeriod int64 + SubscriptionPrice int + func (p *CreateChatSubscriptionInviteLinkParams) WithChatID(chatID ChatID) *CreateChatSubscriptionInviteLinkParams + func (p *CreateChatSubscriptionInviteLinkParams) WithName(name string) *CreateChatSubscriptionInviteLinkParams + func (p *CreateChatSubscriptionInviteLinkParams) WithSubscriptionPeriod(subscriptionPeriod int64) *CreateChatSubscriptionInviteLinkParams + func (p *CreateChatSubscriptionInviteLinkParams) WithSubscriptionPrice(subscriptionPrice int) *CreateChatSubscriptionInviteLinkParams + 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 + BusinessConnectionID string + 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 + SubscriptionPeriod int64 + SuggestedTipAmounts []int + Title string + func (p *CreateInvoiceLinkParams) WithBusinessConnectionID(businessConnectionID string) *CreateInvoiceLinkParams + 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) WithSubscriptionPeriod(subscriptionPeriod int64) *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 + func (p *CreateNewStickerSetParams) WithUserID(userID int64) *CreateNewStickerSetParams + type DeclineChatJoinRequestParams struct + ChatID ChatID + UserID int64 + func (p *DeclineChatJoinRequestParams) WithChatID(chatID ChatID) *DeclineChatJoinRequestParams + func (p *DeclineChatJoinRequestParams) WithUserID(userID int64) *DeclineChatJoinRequestParams + type DeclineSuggestedPostParams struct + ChatID int64 + Comment string + MessageID int + func (p *DeclineSuggestedPostParams) WithChatID(chatID int64) *DeclineSuggestedPostParams + func (p *DeclineSuggestedPostParams) WithComment(comment string) *DeclineSuggestedPostParams + func (p *DeclineSuggestedPostParams) WithMessageID(messageID int) *DeclineSuggestedPostParams + type DeleteAllMessageReactionsParams struct + ActorChatID int64 + ChatID ChatID + UserID int64 + func (p *DeleteAllMessageReactionsParams) WithActorChatID(actorChatID int64) *DeleteAllMessageReactionsParams + func (p *DeleteAllMessageReactionsParams) WithChatID(chatID ChatID) *DeleteAllMessageReactionsParams + func (p *DeleteAllMessageReactionsParams) WithUserID(userID int64) *DeleteAllMessageReactionsParams + type DeleteBusinessMessagesParams struct + BusinessConnectionID string + MessageIDs []int + func (p *DeleteBusinessMessagesParams) WithBusinessConnectionID(businessConnectionID string) *DeleteBusinessMessagesParams + func (p *DeleteBusinessMessagesParams) WithMessageIDs(messageIDs ...int) *DeleteBusinessMessagesParams + 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 DeleteEphemeralMessageParams struct + ChatID ChatID + EphemeralMessageID int + ReceiverUserID int64 + func (p *DeleteEphemeralMessageParams) WithChatID(chatID ChatID) *DeleteEphemeralMessageParams + func (p *DeleteEphemeralMessageParams) WithEphemeralMessageID(ephemeralMessageID int) *DeleteEphemeralMessageParams + func (p *DeleteEphemeralMessageParams) WithReceiverUserID(receiverUserID int64) *DeleteEphemeralMessageParams + 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 DeleteMessageReactionParams struct + ActorChatID int64 + ChatID ChatID + MessageID int + UserID int64 + func (p *DeleteMessageReactionParams) WithActorChatID(actorChatID int64) *DeleteMessageReactionParams + func (p *DeleteMessageReactionParams) WithChatID(chatID ChatID) *DeleteMessageReactionParams + func (p *DeleteMessageReactionParams) WithMessageID(messageID int) *DeleteMessageReactionParams + func (p *DeleteMessageReactionParams) WithUserID(userID int64) *DeleteMessageReactionParams + 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 DeleteStoryParams struct + BusinessConnectionID string + StoryID int + func (p *DeleteStoryParams) WithBusinessConnectionID(businessConnectionID string) *DeleteStoryParams + func (p *DeleteStoryParams) WithStoryID(storyID int) *DeleteStoryParams + type DeleteWebhookParams struct + DropPendingUpdates bool + func (p *DeleteWebhookParams) WithDropPendingUpdates() *DeleteWebhookParams + type Dice struct + Emoji string + Value int + type DirectMessagePriceChanged struct + AreDirectMessagesEnabled bool + DirectMessageStarCount int + type DirectMessagesTopic struct + TopicID int64 + User *User + 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) WithExpireDate(expireDate int64) *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithInviteLink(inviteLink string) *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithMemberLimit(memberLimit int) *EditChatInviteLinkParams + func (p *EditChatInviteLinkParams) WithName(name string) *EditChatInviteLinkParams + type EditChatSubscriptionInviteLinkParams struct + ChatID ChatID + InviteLink string + Name string + func (p *EditChatSubscriptionInviteLinkParams) WithChatID(chatID ChatID) *EditChatSubscriptionInviteLinkParams + func (p *EditChatSubscriptionInviteLinkParams) WithInviteLink(inviteLink string) *EditChatSubscriptionInviteLinkParams + func (p *EditChatSubscriptionInviteLinkParams) WithName(name string) *EditChatSubscriptionInviteLinkParams + type EditEphemeralMessageCaptionParams struct + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + EphemeralMessageID int + ParseMode string + ReceiverUserID int64 + ReplyMarkup *InlineKeyboardMarkup + func (p *EditEphemeralMessageCaptionParams) WithCaption(caption string) *EditEphemeralMessageCaptionParams + func (p *EditEphemeralMessageCaptionParams) WithCaptionEntities(captionEntities ...MessageEntity) *EditEphemeralMessageCaptionParams + func (p *EditEphemeralMessageCaptionParams) WithChatID(chatID ChatID) *EditEphemeralMessageCaptionParams + func (p *EditEphemeralMessageCaptionParams) WithEphemeralMessageID(ephemeralMessageID int) *EditEphemeralMessageCaptionParams + func (p *EditEphemeralMessageCaptionParams) WithParseMode(parseMode string) *EditEphemeralMessageCaptionParams + func (p *EditEphemeralMessageCaptionParams) WithReceiverUserID(receiverUserID int64) *EditEphemeralMessageCaptionParams + func (p *EditEphemeralMessageCaptionParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditEphemeralMessageCaptionParams + type EditEphemeralMessageMediaParams struct + ChatID ChatID + EphemeralMessageID int + Media InputMedia + ReceiverUserID int64 + ReplyMarkup *InlineKeyboardMarkup + func (p *EditEphemeralMessageMediaParams) WithChatID(chatID ChatID) *EditEphemeralMessageMediaParams + func (p *EditEphemeralMessageMediaParams) WithEphemeralMessageID(ephemeralMessageID int) *EditEphemeralMessageMediaParams + func (p *EditEphemeralMessageMediaParams) WithMedia(media InputMedia) *EditEphemeralMessageMediaParams + func (p *EditEphemeralMessageMediaParams) WithReceiverUserID(receiverUserID int64) *EditEphemeralMessageMediaParams + func (p *EditEphemeralMessageMediaParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditEphemeralMessageMediaParams + type EditEphemeralMessageReplyMarkupParams struct + ChatID ChatID + EphemeralMessageID int + ReceiverUserID int64 + ReplyMarkup *InlineKeyboardMarkup + func (p *EditEphemeralMessageReplyMarkupParams) WithChatID(chatID ChatID) *EditEphemeralMessageReplyMarkupParams + func (p *EditEphemeralMessageReplyMarkupParams) WithEphemeralMessageID(ephemeralMessageID int) *EditEphemeralMessageReplyMarkupParams + func (p *EditEphemeralMessageReplyMarkupParams) WithReceiverUserID(receiverUserID int64) *EditEphemeralMessageReplyMarkupParams + func (p *EditEphemeralMessageReplyMarkupParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditEphemeralMessageReplyMarkupParams + type EditEphemeralMessageTextParams struct + ChatID ChatID + Entities []MessageEntity + EphemeralMessageID int + LinkPreviewOptions *LinkPreviewOptions + ParseMode string + ReceiverUserID int64 + ReplyMarkup *InlineKeyboardMarkup + Text string + func (p *EditEphemeralMessageTextParams) WithChatID(chatID ChatID) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithEntities(entities ...MessageEntity) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithEphemeralMessageID(ephemeralMessageID int) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithLinkPreviewOptions(linkPreviewOptions *LinkPreviewOptions) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithParseMode(parseMode string) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithReceiverUserID(receiverUserID int64) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditEphemeralMessageTextParams + func (p *EditEphemeralMessageTextParams) WithText(text string) *EditEphemeralMessageTextParams + 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 EditMessageChecklistParams struct + BusinessConnectionID string + ChatID ChatID + Checklist InputChecklist + MessageID int + ReplyMarkup *InlineKeyboardMarkup + func (p *EditMessageChecklistParams) WithBusinessConnectionID(businessConnectionID string) *EditMessageChecklistParams + func (p *EditMessageChecklistParams) WithChatID(chatID ChatID) *EditMessageChecklistParams + func (p *EditMessageChecklistParams) WithChecklist(checklist InputChecklist) *EditMessageChecklistParams + func (p *EditMessageChecklistParams) WithMessageID(messageID int) *EditMessageChecklistParams + func (p *EditMessageChecklistParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *EditMessageChecklistParams + 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) WithHorizontalAccuracy(horizontalAccuracy float64) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithInlineMessageID(inlineMessageID string) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithLatitude(latitude float64) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithLivePeriod(livePeriod int) *EditMessageLiveLocationParams + func (p *EditMessageLiveLocationParams) WithLongitude(longitude float64) *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 + RichMessage *InputRichMessage + 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) WithRichMessage(richMessage *InputRichMessage) *EditMessageTextParams + func (p *EditMessageTextParams) WithText(text string) *EditMessageTextParams + type EditStoryParams struct + Areas []StoryArea + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + Content InputStoryContent + ParseMode string + StoryID int + func (p *EditStoryParams) WithAreas(areas ...StoryArea) *EditStoryParams + func (p *EditStoryParams) WithBusinessConnectionID(businessConnectionID string) *EditStoryParams + func (p *EditStoryParams) WithCaption(caption string) *EditStoryParams + func (p *EditStoryParams) WithCaptionEntities(captionEntities ...MessageEntity) *EditStoryParams + func (p *EditStoryParams) WithContent(content InputStoryContent) *EditStoryParams + func (p *EditStoryParams) WithParseMode(parseMode string) *EditStoryParams + func (p *EditStoryParams) WithStoryID(storyID int) *EditStoryParams + type EditUserStarSubscriptionParams struct + IsCanceled bool + TelegramPaymentChargeID string + UserID int64 + func (p *EditUserStarSubscriptionParams) WithIsCanceled() *EditUserStarSubscriptionParams + func (p *EditUserStarSubscriptionParams) WithTelegramPaymentChargeID(telegramPaymentChargeID string) *EditUserStarSubscriptionParams + func (p *EditUserStarSubscriptionParams) WithUserID(userID int64) *EditUserStarSubscriptionParams + 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 + Checklist *Checklist + Contact *Contact + Dice *Dice + Document *Document + Game *Game + Giveaway *Giveaway + GiveawayWinners *GiveawayWinners + HasMediaSpoiler bool + Invoice *Invoice + LinkPreviewOptions *LinkPreviewOptions + LivePhoto *LivePhoto + 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 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 + IsNameImplicit bool + MessageThreadID int + Name string + type ForumTopicClosed struct + type ForumTopicCreated struct + IconColor int + IconCustomEmojiID string + IsNameImplicit bool + Name string + type ForumTopicEdited struct + IconCustomEmojiID string + Name string + type ForumTopicReopened struct + type ForwardMessageParams struct + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageEffectID string + MessageID int + MessageThreadID int + ProtectContent bool + SuggestedPostParameters *SuggestedPostParameters + VideoStartTimestamp int + func (p *ForwardMessageParams) WithChatID(chatID ChatID) *ForwardMessageParams + func (p *ForwardMessageParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *ForwardMessageParams + func (p *ForwardMessageParams) WithDisableNotification() *ForwardMessageParams + func (p *ForwardMessageParams) WithFromChatID(fromChatID ChatID) *ForwardMessageParams + func (p *ForwardMessageParams) WithMessageEffectID(messageEffectID string) *ForwardMessageParams + func (p *ForwardMessageParams) WithMessageID(messageID int) *ForwardMessageParams + func (p *ForwardMessageParams) WithMessageThreadID(messageThreadID int) *ForwardMessageParams + func (p *ForwardMessageParams) WithProtectContent() *ForwardMessageParams + func (p *ForwardMessageParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *ForwardMessageParams + func (p *ForwardMessageParams) WithVideoStartTimestamp(videoStartTimestamp int) *ForwardMessageParams + type ForwardMessagesParams struct + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageIDs []int + MessageThreadID int + ProtectContent bool + func (p *ForwardMessagesParams) WithChatID(chatID ChatID) *ForwardMessagesParams + func (p *ForwardMessagesParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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 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 GetBusinessAccountGiftsParams struct + BusinessConnectionID string + ExcludeFromBlockchain bool + ExcludeLimitedNonUpgradable bool + ExcludeLimitedUpgradable bool + ExcludeSaved bool + ExcludeUnique bool + ExcludeUnlimited bool + ExcludeUnsaved bool + Limit int + Offset string + SortByPrice bool + func (p *GetBusinessAccountGiftsParams) WithBusinessConnectionID(businessConnectionID string) *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeFromBlockchain() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeLimitedNonUpgradable() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeLimitedUpgradable() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeSaved() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeUnique() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeUnlimited() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithExcludeUnsaved() *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithLimit(limit int) *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithOffset(offset string) *GetBusinessAccountGiftsParams + func (p *GetBusinessAccountGiftsParams) WithSortByPrice() *GetBusinessAccountGiftsParams + type GetBusinessAccountStarBalanceParams struct + BusinessConnectionID string + func (p *GetBusinessAccountStarBalanceParams) WithBusinessConnectionID(businessConnectionID string) *GetBusinessAccountStarBalanceParams + type GetBusinessConnectionParams struct + BusinessConnectionID string + func (p *GetBusinessConnectionParams) WithBusinessConnectionID(businessConnectionID string) *GetBusinessConnectionParams + type GetChatAdministratorsParams struct + ChatID ChatID + ReturnBots bool + func (p *GetChatAdministratorsParams) WithChatID(chatID ChatID) *GetChatAdministratorsParams + func (p *GetChatAdministratorsParams) WithReturnBots() *GetChatAdministratorsParams + type GetChatGiftsParams struct + ChatID ChatID + ExcludeFromBlockchain bool + ExcludeLimitedNonUpgradable bool + ExcludeLimitedUpgradable bool + ExcludeSaved bool + ExcludeUnique bool + ExcludeUnlimited bool + ExcludeUnsaved bool + Limit int + Offset string + SortByPrice bool + func (p *GetChatGiftsParams) WithChatID(chatID ChatID) *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeFromBlockchain() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeLimitedNonUpgradable() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeLimitedUpgradable() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeSaved() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeUnique() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeUnlimited() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithExcludeUnsaved() *GetChatGiftsParams + func (p *GetChatGiftsParams) WithLimit(limit int) *GetChatGiftsParams + func (p *GetChatGiftsParams) WithOffset(offset string) *GetChatGiftsParams + func (p *GetChatGiftsParams) WithSortByPrice() *GetChatGiftsParams + 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 + func (p *GetChatMemberParams) WithUserID(userID int64) *GetChatMemberParams + type GetChatMenuButtonParams struct + ChatID int64 + func (p *GetChatMenuButtonParams) WithChatID(chatID int64) *GetChatMenuButtonParams + 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) WithChatID(chatID int64) *GetGameHighScoresParams + func (p *GetGameHighScoresParams) WithInlineMessageID(inlineMessageID string) *GetGameHighScoresParams + func (p *GetGameHighScoresParams) WithMessageID(messageID int) *GetGameHighScoresParams + func (p *GetGameHighScoresParams) WithUserID(userID int64) *GetGameHighScoresParams + type GetManagedBotAccessSettingsParams struct + UserID int64 + func (p *GetManagedBotAccessSettingsParams) WithUserID(userID int64) *GetManagedBotAccessSettingsParams + type GetManagedBotTokenParams struct + UserID int64 + func (p *GetManagedBotTokenParams) WithUserID(userID int64) *GetManagedBotTokenParams + 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 + func (p *GetUserChatBoostsParams) WithUserID(userID int64) *GetUserChatBoostsParams + type GetUserGiftsParams struct + ExcludeFromBlockchain bool + ExcludeLimitedNonUpgradable bool + ExcludeLimitedUpgradable bool + ExcludeUnique bool + ExcludeUnlimited bool + Limit int + Offset string + SortByPrice bool + UserID int64 + func (p *GetUserGiftsParams) WithExcludeFromBlockchain() *GetUserGiftsParams + func (p *GetUserGiftsParams) WithExcludeLimitedNonUpgradable() *GetUserGiftsParams + func (p *GetUserGiftsParams) WithExcludeLimitedUpgradable() *GetUserGiftsParams + func (p *GetUserGiftsParams) WithExcludeUnique() *GetUserGiftsParams + func (p *GetUserGiftsParams) WithExcludeUnlimited() *GetUserGiftsParams + func (p *GetUserGiftsParams) WithLimit(limit int) *GetUserGiftsParams + func (p *GetUserGiftsParams) WithOffset(offset string) *GetUserGiftsParams + func (p *GetUserGiftsParams) WithSortByPrice() *GetUserGiftsParams + func (p *GetUserGiftsParams) WithUserID(userID int64) *GetUserGiftsParams + type GetUserPersonalChatMessagesParams struct + Limit int + UserID int64 + func (p *GetUserPersonalChatMessagesParams) WithLimit(limit int) *GetUserPersonalChatMessagesParams + func (p *GetUserPersonalChatMessagesParams) WithUserID(userID int64) *GetUserPersonalChatMessagesParams + type GetUserProfileAudiosParams struct + Limit int + Offset int + UserID int64 + func (p *GetUserProfileAudiosParams) WithLimit(limit int) *GetUserProfileAudiosParams + func (p *GetUserProfileAudiosParams) WithOffset(offset int) *GetUserProfileAudiosParams + func (p *GetUserProfileAudiosParams) WithUserID(userID int64) *GetUserProfileAudiosParams + type GetUserProfilePhotosParams struct + Limit int + Offset int + UserID int64 + func (p *GetUserProfilePhotosParams) WithLimit(limit int) *GetUserProfilePhotosParams + func (p *GetUserProfilePhotosParams) WithOffset(offset int) *GetUserProfilePhotosParams + func (p *GetUserProfilePhotosParams) WithUserID(userID int64) *GetUserProfilePhotosParams + type Gift struct + Background *GiftBackground + HasColors bool + ID string + IsPremium bool + PersonalRemainingCount int + PersonalTotalCount int + PublisherChat *Chat + RemainingCount int + StarCount int + Sticker Sticker + TotalCount int + UniqueGiftVariantCount int + UpgradeStarCount int + type GiftBackground struct + CenterColor int + EdgeColor int + TextColor int + type GiftInfo struct + CanBeUpgraded bool + ConvertStarCount int + Entities []MessageEntity + Gift Gift + IsPrivate bool + IsUpgradeSeparate bool + OwnedGiftID string + PrepaidUpgradeStarCount int + Text string + UniqueGiftNumber int + type GiftPremiumSubscriptionParams struct + MonthCount int + StarCount int + Text string + TextEntities []MessageEntity + TextParseMode string + UserID int64 + func (p *GiftPremiumSubscriptionParams) WithMonthCount(monthCount int) *GiftPremiumSubscriptionParams + func (p *GiftPremiumSubscriptionParams) WithStarCount(starCount int) *GiftPremiumSubscriptionParams + func (p *GiftPremiumSubscriptionParams) WithText(text string) *GiftPremiumSubscriptionParams + func (p *GiftPremiumSubscriptionParams) WithTextEntities(textEntities ...MessageEntity) *GiftPremiumSubscriptionParams + func (p *GiftPremiumSubscriptionParams) WithTextParseMode(textParseMode string) *GiftPremiumSubscriptionParams + func (p *GiftPremiumSubscriptionParams) WithUserID(userID int64) *GiftPremiumSubscriptionParams + type Gifts struct + Gifts []Gift + type Giveaway struct + Chats []Chat + CountryCodes []string + HasPublicWinners bool + OnlyNewMembers bool + PremiumSubscriptionMonthCount int + PrizeDescription string + PrizeStarCount int + WinnerCount int + WinnersSelectionDate int64 + type GiveawayCompleted struct + GiveawayMessage *Message + IsStarGiveaway bool + UnclaimedPrizeCount int + WinnerCount int + type GiveawayCreated struct + PrizeStarCount int + type GiveawayWinners struct + AdditionalChatCount int + Chat Chat + GiveawayMessageID int + OnlyNewMembers bool + PremiumSubscriptionMonthCount int + PrizeDescription string + PrizeStarCount int + UnclaimedPrizeCount int + WasRefunded bool + WinnerCount int + Winners []User + WinnersSelectionDate int64 + 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) InaccessibleMessage() *InaccessibleMessage + func (m *InaccessibleMessage) IsAccessible() bool + func (m *InaccessibleMessage) Message() *Message + type InlineKeyboardButton struct + CallbackData string + CallbackGame *CallbackGame + CopyText *CopyTextButton + IconCustomEmojiID string + LoginURL *LoginURL + Pay bool + Style string + 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) WithCopyText(copyText *CopyTextButton) InlineKeyboardButton + func (i InlineKeyboardButton) WithIconCustomEmojiID(iconCustomEmojiID string) InlineKeyboardButton + func (i InlineKeyboardButton) WithLoginURL(loginURL *LoginURL) InlineKeyboardButton + func (i InlineKeyboardButton) WithPay() InlineKeyboardButton + func (i InlineKeyboardButton) WithStyle(style string) 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 + 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) 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) WithHorizontalAccuracy(horizontalAccuracy float64) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithID(iD string) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithInputMessageContent(inputMessageContent InputMessageContent) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithLatitude(latitude float64) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithLivePeriod(livePeriod int) *InlineQueryResultLocation + func (i *InlineQueryResultLocation) WithLongitude(longitude float64) *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) WithLatitude(latitude float64) *InlineQueryResultVenue + func (i *InlineQueryResultVenue) WithLongitude(longitude float64) *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 InputChecklist struct + OthersCanAddTasks bool + OthersCanMarkTasksAsDone bool + ParseMode string + Tasks []InputChecklistTask + Title string + TitleEntities []MessageEntity + func (i *InputChecklist) WithOthersCanAddTasks() *InputChecklist + func (i *InputChecklist) WithOthersCanMarkTasksAsDone() *InputChecklist + func (i *InputChecklist) WithParseMode(parseMode string) *InputChecklist + func (i *InputChecklist) WithTasks(tasks ...InputChecklistTask) *InputChecklist + func (i *InputChecklist) WithTitle(title string) *InputChecklist + func (i *InputChecklist) WithTitleEntities(titleEntities ...MessageEntity) *InputChecklist + type InputChecklistTask struct + ID int + ParseMode string + Text string + TextEntities []MessageEntity + func (i *InputChecklistTask) WithID(iD int) *InputChecklistTask + func (i *InputChecklistTask) WithParseMode(parseMode string) *InputChecklistTask + func (i *InputChecklistTask) WithText(text string) *InputChecklistTask + func (i *InputChecklistTask) WithTextEntities(textEntities ...MessageEntity) *InputChecklistTask + 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) WithHorizontalAccuracy(horizontalAccuracy float64) *InputLocationMessageContent + func (i *InputLocationMessageContent) WithLatitude(latitude float64) *InputLocationMessageContent + func (i *InputLocationMessageContent) WithLivePeriod(livePeriod int) *InputLocationMessageContent + func (i *InputLocationMessageContent) WithLongitude(longitude float64) *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 InputMediaLink struct + Type string + URL string + func (i *InputMediaLink) MediaType() string + type InputMediaLivePhoto struct + Caption string + CaptionEntities []MessageEntity + HasSpoiler bool + Media InputFile + ParseMode string + Photo InputFile + ShowCaptionAboveMedia bool + Type string + func (i *InputMediaLivePhoto) MediaType() string + func (i *InputMediaLivePhoto) WithCaption(caption string) *InputMediaLivePhoto + func (i *InputMediaLivePhoto) WithCaptionEntities(captionEntities ...MessageEntity) *InputMediaLivePhoto + func (i *InputMediaLivePhoto) WithHasSpoiler() *InputMediaLivePhoto + func (i *InputMediaLivePhoto) WithMedia(media InputFile) *InputMediaLivePhoto + func (i *InputMediaLivePhoto) WithParseMode(parseMode string) *InputMediaLivePhoto + func (i *InputMediaLivePhoto) WithPhoto(photo InputFile) *InputMediaLivePhoto + func (i *InputMediaLivePhoto) WithShowCaptionAboveMedia() *InputMediaLivePhoto + type InputMediaLocation struct + HorizontalAccuracy float64 + Latitude float64 + Longitude float64 + Type string + func (i *InputMediaLocation) MediaType() string + func (i *InputMediaLocation) WithHorizontalAccuracy(horizontalAccuracy float64) *InputMediaLocation + func (i *InputMediaLocation) WithLatitude(latitude float64) *InputMediaLocation + func (i *InputMediaLocation) WithLongitude(longitude float64) *InputMediaLocation + 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 InputMediaSticker struct + Emoji string + Media InputFile + Type string + func (i *InputMediaSticker) MediaType() string + func (i *InputMediaSticker) WithEmoji(emoji string) *InputMediaSticker + func (i *InputMediaSticker) WithMedia(media InputFile) *InputMediaSticker + type InputMediaVenue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + Title string + Type string + func (i *InputMediaVenue) MediaType() string + func (i *InputMediaVenue) WithAddress(address string) *InputMediaVenue + func (i *InputMediaVenue) WithFoursquareID(foursquareID string) *InputMediaVenue + func (i *InputMediaVenue) WithFoursquareType(foursquareType string) *InputMediaVenue + func (i *InputMediaVenue) WithGooglePlaceID(googlePlaceID string) *InputMediaVenue + func (i *InputMediaVenue) WithGooglePlaceType(googlePlaceType string) *InputMediaVenue + func (i *InputMediaVenue) WithLatitude(latitude float64) *InputMediaVenue + func (i *InputMediaVenue) WithLongitude(longitude float64) *InputMediaVenue + func (i *InputMediaVenue) WithTitle(title string) *InputMediaVenue + type InputMediaVideo struct + Caption string + CaptionEntities []MessageEntity + Cover *InputFile + Duration int + HasSpoiler bool + Height int + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + StartTimestamp int + 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) WithCover(cover *InputFile) *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) WithStartTimestamp(startTimestamp int) *InputMediaVideo + func (i *InputMediaVideo) WithSupportsStreaming() *InputMediaVideo + func (i *InputMediaVideo) WithThumbnail(thumbnail *InputFile) *InputMediaVideo + func (i *InputMediaVideo) WithWidth(width int) *InputMediaVideo + type InputMediaVoiceNote struct + Caption string + CaptionEntities []MessageEntity + Duration int + Media InputFile + ParseMode string + Type string + func (i *InputMediaVoiceNote) MediaType() string + type InputMessageContent interface + ContentType func() string + type InputPaidMedia interface + MediaFile func() InputFile + MediaType func() string + type InputPaidMediaLivePhoto struct + Media InputFile + Photo InputFile + Type string + func (i *InputPaidMediaLivePhoto) MediaFile() InputFile + func (i *InputPaidMediaLivePhoto) MediaType() string + func (i *InputPaidMediaLivePhoto) WithMedia(media InputFile) *InputPaidMediaLivePhoto + func (i *InputPaidMediaLivePhoto) WithPhoto(photo InputFile) *InputPaidMediaLivePhoto + type InputPaidMediaPhoto struct + Media InputFile + Type string + func (i *InputPaidMediaPhoto) MediaFile() InputFile + func (i *InputPaidMediaPhoto) MediaType() string + func (i *InputPaidMediaPhoto) WithMedia(media InputFile) *InputPaidMediaPhoto + type InputPaidMediaVideo struct + Cover *InputFile + Duration int + Height int + Media InputFile + StartTimestamp int + SupportsStreaming bool + Thumbnail *InputFile + Type string + Width int + func (i *InputPaidMediaVideo) MediaFile() InputFile + func (i *InputPaidMediaVideo) MediaType() string + func (i *InputPaidMediaVideo) WithCover(cover *InputFile) *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithDuration(duration int) *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithHeight(height int) *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithMedia(media InputFile) *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithStartTimestamp(startTimestamp int) *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithSupportsStreaming() *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithThumbnail(thumbnail *InputFile) *InputPaidMediaVideo + func (i *InputPaidMediaVideo) WithWidth(width int) *InputPaidMediaVideo + type InputPollMedia interface + MediaType func() string + type InputPollOption struct + Media InputPollOptionMedia + Text string + TextEntities []MessageEntity + TextParseMode string + func (i *InputPollOption) WithMedia(media InputPollOptionMedia) *InputPollOption + func (i *InputPollOption) WithText(text string) *InputPollOption + func (i *InputPollOption) WithTextEntities(textEntities ...MessageEntity) *InputPollOption + func (i *InputPollOption) WithTextParseMode(textParseMode string) *InputPollOption + type InputPollOptionMedia interface + MediaType func() string + type InputProfilePhoto interface + ProfilePhotoType func() string + type InputProfilePhotoAnimated struct + Animation InputFile + MainFrameTimestamp float64 + Type string + func (i *InputProfilePhotoAnimated) ProfilePhotoType() string + func (i *InputProfilePhotoAnimated) WithAnimation(animation InputFile) *InputProfilePhotoAnimated + func (i *InputProfilePhotoAnimated) WithMainFrameTimestamp(mainFrameTimestamp float64) *InputProfilePhotoAnimated + type InputProfilePhotoStatic struct + Photo InputFile + Type string + func (i *InputProfilePhotoStatic) ProfilePhotoType() string + func (i *InputProfilePhotoStatic) WithPhoto(photo InputFile) *InputProfilePhotoStatic + type InputRichBlock interface + BlockType func() string + type InputRichBlockAnchor struct + Name string + Type string + func (i *InputRichBlockAnchor) BlockType() string + func (i *InputRichBlockAnchor) WithName(name string) *InputRichBlockAnchor + type InputRichBlockAnimation struct + Animation InputMediaAnimation + Caption *RichBlockCaption + Type string + func (i *InputRichBlockAnimation) BlockType() string + func (i *InputRichBlockAnimation) WithAnimation(animation InputMediaAnimation) *InputRichBlockAnimation + func (i *InputRichBlockAnimation) WithCaption(caption *RichBlockCaption) *InputRichBlockAnimation + type InputRichBlockAudio struct + Audio InputMediaAudio + Caption *RichBlockCaption + Type string + func (i *InputRichBlockAudio) BlockType() string + func (i *InputRichBlockAudio) WithAudio(audio InputMediaAudio) *InputRichBlockAudio + func (i *InputRichBlockAudio) WithCaption(caption *RichBlockCaption) *InputRichBlockAudio + type InputRichBlockBlockQuotation struct + Blocks []InputRichBlock + Credit RichText + Type string + func (i *InputRichBlockBlockQuotation) BlockType() string + func (i *InputRichBlockBlockQuotation) WithBlocks(blocks ...InputRichBlock) *InputRichBlockBlockQuotation + func (i *InputRichBlockBlockQuotation) WithCredit(credit RichText) *InputRichBlockBlockQuotation + type InputRichBlockCollage struct + Blocks []InputRichBlock + Caption *RichBlockCaption + Type string + func (i *InputRichBlockCollage) BlockType() string + func (i *InputRichBlockCollage) WithBlocks(blocks ...InputRichBlock) *InputRichBlockCollage + func (i *InputRichBlockCollage) WithCaption(caption *RichBlockCaption) *InputRichBlockCollage + type InputRichBlockDetails struct + Blocks []InputRichBlock + IsOpen bool + Summary RichText + Type string + func (i *InputRichBlockDetails) BlockType() string + func (i *InputRichBlockDetails) WithBlocks(blocks ...InputRichBlock) *InputRichBlockDetails + func (i *InputRichBlockDetails) WithIsOpen() *InputRichBlockDetails + func (i *InputRichBlockDetails) WithSummary(summary RichText) *InputRichBlockDetails + type InputRichBlockDivider struct + Type string + func (i *InputRichBlockDivider) BlockType() string + type InputRichBlockFooter struct + Text RichText + Type string + func (i *InputRichBlockFooter) BlockType() string + func (i *InputRichBlockFooter) WithText(text RichText) *InputRichBlockFooter + type InputRichBlockList struct + Items []InputRichBlockListItem + Type string + func (i *InputRichBlockList) BlockType() string + func (i *InputRichBlockList) WithItems(items ...InputRichBlockListItem) *InputRichBlockList + type InputRichBlockListItem struct + Blocks []InputRichBlock + HasCheckbox bool + IsChecked bool + Type string + Value int + func (i InputRichBlockListItem) WithBlocks(blocks ...InputRichBlock) InputRichBlockListItem + func (i InputRichBlockListItem) WithHasCheckbox() InputRichBlockListItem + func (i InputRichBlockListItem) WithIsChecked() InputRichBlockListItem + func (i InputRichBlockListItem) WithType(listType string) InputRichBlockListItem + func (i InputRichBlockListItem) WithValue(value int) InputRichBlockListItem + type InputRichBlockMap struct + Caption *RichBlockCaption + Height int + Location Location + Type string + Width int + Zoom int + func (i *InputRichBlockMap) BlockType() string + func (i *InputRichBlockMap) WithCaption(caption *RichBlockCaption) *InputRichBlockMap + func (i *InputRichBlockMap) WithHeight(height int) *InputRichBlockMap + func (i *InputRichBlockMap) WithLocation(location Location) *InputRichBlockMap + func (i *InputRichBlockMap) WithWidth(width int) *InputRichBlockMap + func (i *InputRichBlockMap) WithZoom(zoom int) *InputRichBlockMap + type InputRichBlockMathematicalExpression struct + Expression string + Type string + func (i *InputRichBlockMathematicalExpression) BlockType() string + func (i *InputRichBlockMathematicalExpression) WithExpression(expression string) *InputRichBlockMathematicalExpression + type InputRichBlockParagraph struct + Text RichText + Type string + func (i *InputRichBlockParagraph) BlockType() string + func (i *InputRichBlockParagraph) WithText(text RichText) *InputRichBlockParagraph + type InputRichBlockPhoto struct + Caption *RichBlockCaption + Photo InputMediaPhoto + Type string + func (i *InputRichBlockPhoto) BlockType() string + func (i *InputRichBlockPhoto) WithCaption(caption *RichBlockCaption) *InputRichBlockPhoto + func (i *InputRichBlockPhoto) WithPhoto(photo InputMediaPhoto) *InputRichBlockPhoto + type InputRichBlockPreformatted struct + Language string + Text RichText + Type string + func (i *InputRichBlockPreformatted) BlockType() string + func (i *InputRichBlockPreformatted) WithLanguage(language string) *InputRichBlockPreformatted + func (i *InputRichBlockPreformatted) WithText(text RichText) *InputRichBlockPreformatted + type InputRichBlockPullQuotation struct + Credit RichText + Text RichText + Type string + func (i *InputRichBlockPullQuotation) BlockType() string + func (i *InputRichBlockPullQuotation) WithCredit(credit RichText) *InputRichBlockPullQuotation + func (i *InputRichBlockPullQuotation) WithText(text RichText) *InputRichBlockPullQuotation + type InputRichBlockSectionHeading struct + Size int + Text RichText + Type string + func (i *InputRichBlockSectionHeading) BlockType() string + func (i *InputRichBlockSectionHeading) WithSize(size int) *InputRichBlockSectionHeading + func (i *InputRichBlockSectionHeading) WithText(text RichText) *InputRichBlockSectionHeading + type InputRichBlockSlideshow struct + Blocks []InputRichBlock + Caption *RichBlockCaption + Type string + func (i *InputRichBlockSlideshow) BlockType() string + func (i *InputRichBlockSlideshow) WithBlocks(blocks ...InputRichBlock) *InputRichBlockSlideshow + func (i *InputRichBlockSlideshow) WithCaption(caption *RichBlockCaption) *InputRichBlockSlideshow + type InputRichBlockTable struct + Caption RichText + Cells [][]RichBlockTableCell + IsBordered bool + IsStriped bool + Type string + func (i *InputRichBlockTable) BlockType() string + func (i *InputRichBlockTable) WithCaption(caption RichText) *InputRichBlockTable + func (i *InputRichBlockTable) WithCells(cells ...[]RichBlockTableCell) *InputRichBlockTable + func (i *InputRichBlockTable) WithIsBordered() *InputRichBlockTable + func (i *InputRichBlockTable) WithIsStriped() *InputRichBlockTable + type InputRichBlockThinking struct + Text RichText + Type string + func (i *InputRichBlockThinking) BlockType() string + func (i *InputRichBlockThinking) WithText(text RichText) *InputRichBlockThinking + type InputRichBlockVideo struct + Caption *RichBlockCaption + Type string + Video InputMediaVideo + func (i *InputRichBlockVideo) BlockType() string + func (i *InputRichBlockVideo) WithCaption(caption *RichBlockCaption) *InputRichBlockVideo + func (i *InputRichBlockVideo) WithVideo(video InputMediaVideo) *InputRichBlockVideo + type InputRichBlockVoiceNote struct + Caption *RichBlockCaption + Type string + VoiceNote InputMediaVoiceNote + func (i *InputRichBlockVoiceNote) BlockType() string + func (i *InputRichBlockVoiceNote) WithCaption(caption *RichBlockCaption) *InputRichBlockVoiceNote + func (i *InputRichBlockVoiceNote) WithVoiceNote(voiceNote InputMediaVoiceNote) *InputRichBlockVoiceNote + type InputRichMessage struct + Blocks []InputRichBlock + HTML string + IsRtl bool + Markdown string + Media []InputRichMessageMedia + SkipEntityDetection bool + func (i *InputRichMessage) WithBlocks(blocks ...InputRichBlock) *InputRichMessage + func (i *InputRichMessage) WithHTML(html string) *InputRichMessage + func (i *InputRichMessage) WithIsRtl() *InputRichMessage + func (i *InputRichMessage) WithMarkdown(markdown string) *InputRichMessage + func (i *InputRichMessage) WithMedia(media ...InputRichMessageMedia) *InputRichMessage + func (i *InputRichMessage) WithSkipEntityDetection() *InputRichMessage + type InputRichMessageContent struct + RichMessage InputRichMessage + func (i *InputRichMessageContent) ContentType() string + func (i *InputRichMessageContent) WithRichMessage(richMessage InputRichMessage) *InputRichMessageContent + type InputRichMessageMedia struct + ID string + Media RichMessageMedia + 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 InputStoryContent interface + StoryType func() string + type InputStoryContentPhoto struct + Photo InputFile + Type string + func (i *InputStoryContentPhoto) StoryType() string + func (i *InputStoryContentPhoto) WithPhoto(photo InputFile) *InputStoryContentPhoto + type InputStoryContentVideo struct + CoverFrameTimestamp float64 + Duration float64 + IsAnimation bool + Type string + Video InputFile + func (i *InputStoryContentVideo) StoryType() string + func (i *InputStoryContentVideo) WithCoverFrameTimestamp(coverFrameTimestamp float64) *InputStoryContentVideo + func (i *InputStoryContentVideo) WithDuration(duration float64) *InputStoryContentVideo + func (i *InputStoryContentVideo) WithIsAnimation() *InputStoryContentVideo + func (i *InputStoryContentVideo) WithVideo(video InputFile) *InputStoryContentVideo + 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) WithLatitude(latitude float64) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithLongitude(longitude float64) *InputVenueMessageContent + func (i *InputVenueMessageContent) WithTitle(title string) *InputVenueMessageContent + type Invoice struct + Currency string + Description string + StartParameter string + Title string + TotalAmount int + type KeyboardButton struct + IconCustomEmojiID string + RequestChat *KeyboardButtonRequestChat + RequestContact bool + RequestLocation bool + RequestManagedBot *KeyboardButtonRequestManagedBot + RequestPoll *KeyboardButtonPollType + RequestUsers *KeyboardButtonRequestUsers + Style string + Text string + WebApp *WebAppInfo + func (k KeyboardButton) WithIconCustomEmojiID(iconCustomEmojiID string) KeyboardButton + func (k KeyboardButton) WithRequestChat(requestChat *KeyboardButtonRequestChat) KeyboardButton + func (k KeyboardButton) WithRequestContact() KeyboardButton + func (k KeyboardButton) WithRequestLocation() KeyboardButton + func (k KeyboardButton) WithRequestManagedBot(requestManagedBot *KeyboardButtonRequestManagedBot) KeyboardButton + func (k KeyboardButton) WithRequestPoll(requestPoll *KeyboardButtonPollType) KeyboardButton + func (k KeyboardButton) WithRequestUsers(requestUsers *KeyboardButtonRequestUsers) KeyboardButton + func (k KeyboardButton) WithStyle(style string) 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) WithRequestID(requestID int32) *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 KeyboardButtonRequestManagedBot struct + RequestID int32 + SuggestedName string + SuggestedUsername string + func (k *KeyboardButtonRequestManagedBot) WithRequestID(requestID int32) *KeyboardButtonRequestManagedBot + func (k *KeyboardButtonRequestManagedBot) WithSuggestedName(suggestedName string) *KeyboardButtonRequestManagedBot + func (k *KeyboardButtonRequestManagedBot) WithSuggestedUsername(suggestedUsername string) *KeyboardButtonRequestManagedBot + 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) WithRequestID(requestID int32) *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 Link struct + URL string + type LinkPreviewOptions struct + IsDisabled bool + PreferLargeMedia bool + PreferSmallMedia bool + ShowAboveText bool + URL string + type LivePhoto struct + Duration int + FileID string + FileSize int64 + FileUniqueID string + Height int + MimeType string + Photo []PhotoSize + Width int + type Location struct + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + ProximityAlertRadius int + type LocationAddress struct + City string + CountryCode string + State string + Street string + 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(lp *longPolling) error + func WithLongPollingBuffer(chanBuffer uint) LongPollingOption + func WithLongPollingRetryTimeout(retryTimeout time.Duration) LongPollingOption + func WithLongPollingUpdateInterval(updateInterval time.Duration) LongPollingOption + type ManagedBotCreated struct + Bot User + type ManagedBotUpdated struct + Bot User + User User + type MaskPosition struct + Point string + Scale float64 + XShift float64 + YShift float64 + type MaybeInaccessibleMessage interface + GetChat func() Chat + GetDate func() int64 + GetMessageID func() int + InaccessibleMessage func() *InaccessibleMessage + IsAccessible func() bool + Message func() *Message + 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 + ChatOwnerChanged *ChatOwnerChanged + ChatOwnerLeft *ChatOwnerLeft + ChatShared *ChatShared + Checklist *Checklist + ChecklistTasksAdded *ChecklistTasksAdded + ChecklistTasksDone *ChecklistTasksDone + CommunityChatAdded *CommunityChatAdded + CommunityChatRemoved *CommunityChatRemoved + ConnectedWebsite string + Contact *Contact + Date int64 + DeleteChatPhoto bool + Dice *Dice + DirectMessagePriceChanged *DirectMessagePriceChanged + DirectMessagesTopic *DirectMessagesTopic + Document *Document + EditDate int64 + EffectID string + Entities []MessageEntity + EphemeralMessageID int + ExternalReply *ExternalReplyInfo + ForumTopicClosed *ForumTopicClosed + ForumTopicCreated *ForumTopicCreated + ForumTopicEdited *ForumTopicEdited + ForumTopicReopened *ForumTopicReopened + ForwardOrigin MessageOrigin + From *User + Game *Game + GeneralForumTopicHidden *GeneralForumTopicHidden + GeneralForumTopicUnhidden *GeneralForumTopicUnhidden + Gift *GiftInfo + GiftUpgradeSent *GiftInfo + Giveaway *Giveaway + GiveawayCompleted *GiveawayCompleted + GiveawayCreated *GiveawayCreated + GiveawayWinners *GiveawayWinners + GroupChatCreated bool + GuestBotCallerChat *Chat + GuestBotCallerUser *User + GuestQueryID string + HasMediaSpoiler bool + HasProtectedContent bool + Invoice *Invoice + IsAutomaticForward bool + IsFromOffline bool + IsPaidPost bool + IsTopicMessage bool + LeftChatMember *User + LinkPreviewOptions *LinkPreviewOptions + LivePhoto *LivePhoto + Location *Location + ManagedBotCreated *ManagedBotCreated + MediaGroupID string + MessageAutoDeleteTimerChanged *MessageAutoDeleteTimerChanged + MessageID int + MessageThreadID int + MigrateFromChatID int64 + MigrateToChatID int64 + NewChatMembers []User + NewChatPhoto []PhotoSize + NewChatTitle string + PaidMedia *PaidMediaInfo + PaidMessagePriceChanged *PaidMessagePriceChanged + PaidStarCount int + PassportData *PassportData + Photo []PhotoSize + PinnedMessage MaybeInaccessibleMessage + Poll *Poll + PollOptionAdded *PollOptionAdded + PollOptionDeleted *PollOptionDeleted + ProximityAlertTriggered *ProximityAlertTriggered + Quote *TextQuote + ReceiverUser *User + RefundedPayment *RefundedPayment + ReplyMarkup *InlineKeyboardMarkup + ReplyToChecklistTaskID int + ReplyToMessage *Message + ReplyToPollOptionID string + ReplyToStory *Story + RichMessage *RichMessage + SenderBoostCount int + SenderBusinessBot *User + SenderChat *Chat + SenderTag string + ShowCaptionAboveMedia bool + Sticker *Sticker + Story *Story + SuccessfulPayment *SuccessfulPayment + SuggestedPostApprovalFailed *SuggestedPostApprovalFailed + SuggestedPostApproved *SuggestedPostApproved + SuggestedPostDeclined *SuggestedPostDeclined + SuggestedPostInfo *SuggestedPostInfo + SuggestedPostPaid *SuggestedPostPaid + SuggestedPostRefunded *SuggestedPostRefunded + SupergroupChatCreated bool + Text string + UniqueGift *UniqueGiftInfo + 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) InaccessibleMessage() *InaccessibleMessage + func (m *Message) IsAccessible() bool + func (m *Message) Message() *Message + func (m *Message) UnmarshalJSON(data []byte) error + type MessageAutoDeleteTimerChanged struct + MessageAutoDeleteTime int + type MessageEntity struct + CustomEmojiID string + DateTimeFormat string + Language string + Length int + Offset int + Type string + URL string + UnixTime int64 + 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 OrderInfo struct + Email string + Name string + PhoneNumber string + ShippingAddress *ShippingAddress + type OwnedGift interface + GiftType func() string + type OwnedGiftRegular struct + CanBeUpgraded bool + ConvertStarCount int + Entities []MessageEntity + Gift Gift + IsPrivate bool + IsSaved bool + IsUpgradeSeparate bool + OwnedGiftID string + PrepaidUpgradeStarCount int + SendDate int64 + SenderUser *User + Text string + Type string + UniqueGiftNumber int + WasRefunded bool + func (g *OwnedGiftRegular) GiftType() string + type OwnedGiftUnique struct + CanBeTransferred bool + Gift UniqueGift + IsSaved bool + NextTransferDate int64 + OwnedGiftID string + SendDate int64 + SenderUser *User + TransferStarCount int + Type string + func (g *OwnedGiftUnique) GiftType() string + type OwnedGifts struct + Gifts []OwnedGift + NextOffset string + TotalCount int + func (g *OwnedGifts) UnmarshalJSON(data []byte) error + type PaidMedia interface + MediaType func() string + type PaidMediaInfo struct + PaidMedia []PaidMedia + StarCount int + func (m *PaidMediaInfo) UnmarshalJSON(data []byte) error + type PaidMediaLivePhoto struct + LivePhoto LivePhoto + Type string + func (m *PaidMediaLivePhoto) MediaType() string + 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 PaidMediaPurchased struct + From User + PaidMediaPayload string + type PaidMediaVideo struct + Type string + Video Video + func (m *PaidMediaVideo) MediaType() string + type PaidMessagePriceChanged struct + PaidMessageStarCount int + 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 + AllowsRevoting bool + CloseDate int64 + CorrectOptionIDs []int + CountryCodes []string + Description string + DescriptionEntities []MessageEntity + Explanation string + ExplanationEntities []MessageEntity + ExplanationMedia *PollMedia + ID string + IsAnonymous bool + IsClosed bool + Media *PollMedia + MembersOnly bool + OpenPeriod int + Options []PollOption + Question string + QuestionEntities []MessageEntity + TotalVoterCount int + Type string + type PollAnswer struct + OptionIDs []int + OptionPersistentIDs []string + PollID string + User *User + VoterChat *Chat + type PollMedia struct + Animation *Animation + Audio *Audio + Document *Document + Link *Link + LivePhoto *LivePhoto + Location *Location + Photo []PhotoSize + Sticker *Sticker + Venue *Venue + Video *Video + type PollOption struct + AddedByChat *Chat + AddedByUser *User + AdditionDate int64 + Media *PollMedia + PersistentID string + Text string + TextEntities []MessageEntity + VoterCount int + type PollOptionAdded struct + OptionPersistentID string + OptionText string + OptionTextEntities []MessageEntity + PollMessage MaybeInaccessibleMessage + func (p *PollOptionAdded) UnmarshalJSON(data []byte) error + type PollOptionDeleted struct + OptionPersistentID string + OptionText string + OptionTextEntities []MessageEntity + PollMessage MaybeInaccessibleMessage + func (p *PollOptionDeleted) UnmarshalJSON(data []byte) error + type PostStoryParams struct + ActivePeriod int + Areas []StoryArea + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + Content InputStoryContent + ParseMode string + PostToChatPage bool + ProtectContent bool + func (p *PostStoryParams) WithActivePeriod(activePeriod int) *PostStoryParams + func (p *PostStoryParams) WithAreas(areas ...StoryArea) *PostStoryParams + func (p *PostStoryParams) WithBusinessConnectionID(businessConnectionID string) *PostStoryParams + func (p *PostStoryParams) WithCaption(caption string) *PostStoryParams + func (p *PostStoryParams) WithCaptionEntities(captionEntities ...MessageEntity) *PostStoryParams + func (p *PostStoryParams) WithContent(content InputStoryContent) *PostStoryParams + func (p *PostStoryParams) WithParseMode(parseMode string) *PostStoryParams + func (p *PostStoryParams) WithPostToChatPage() *PostStoryParams + func (p *PostStoryParams) WithProtectContent() *PostStoryParams + type PreCheckoutQuery struct + Currency string + From User + ID string + InvoicePayload string + OrderInfo *OrderInfo + ShippingOptionID string + TotalAmount int + type PreparedInlineMessage struct + ExpirationDate int64 + ID string + type PreparedKeyboardButton struct + ID string + type PromoteChatMemberParams struct + CanChangeInfo *bool + CanDeleteMessages *bool + CanDeleteStories *bool + CanEditMessages *bool + CanEditStories *bool + CanInviteUsers *bool + CanManageChat *bool + CanManageDirectMessages *bool + CanManageTags *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) WithCanManageDirectMessages(canManageDirectMessages bool) *PromoteChatMemberParams + func (p *PromoteChatMemberParams) WithCanManageTags(canManageTags 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 + func (p *PromoteChatMemberParams) WithUserID(userID int64) *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 ReadBusinessMessageParams struct + BusinessConnectionID string + ChatID int64 + MessageID int + func (p *ReadBusinessMessageParams) WithBusinessConnectionID(businessConnectionID string) *ReadBusinessMessageParams + func (p *ReadBusinessMessageParams) WithChatID(chatID int64) *ReadBusinessMessageParams + func (p *ReadBusinessMessageParams) WithMessageID(messageID int) *ReadBusinessMessageParams + type RefundStarPaymentParams struct + TelegramPaymentChargeID string + UserID int64 + func (p *RefundStarPaymentParams) WithTelegramPaymentChargeID(telegramPaymentChargeID string) *RefundStarPaymentParams + func (p *RefundStarPaymentParams) WithUserID(userID int64) *RefundStarPaymentParams + type RefundedPayment struct + Currency string + InvoicePayload string + ProviderPaymentChargeID string + TelegramPaymentChargeID string + TotalAmount int + type RemoveBusinessAccountProfilePhotoParams struct + BusinessConnectionID string + IsPublic bool + func (p *RemoveBusinessAccountProfilePhotoParams) WithBusinessConnectionID(businessConnectionID string) *RemoveBusinessAccountProfilePhotoParams + func (p *RemoveBusinessAccountProfilePhotoParams) WithIsPublic() *RemoveBusinessAccountProfilePhotoParams + type RemoveChatVerificationParams struct + ChatID ChatID + func (p *RemoveChatVerificationParams) WithChatID(chatID ChatID) *RemoveChatVerificationParams + type RemoveUserVerificationParams struct + UserID int64 + func (p *RemoveUserVerificationParams) WithUserID(userID int64) *RemoveUserVerificationParams + 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 ReplaceManagedBotTokenParams struct + UserID int64 + func (p *ReplaceManagedBotTokenParams) WithUserID(userID int64) *ReplaceManagedBotTokenParams + 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 + func (p *ReplaceStickerInSetParams) WithUserID(userID int64) *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 + ChecklistTaskID int + EphemeralMessageID int + MessageID int + PollOptionID string + Quote string + QuoteEntities []MessageEntity + QuoteParseMode string + QuotePosition int + func (r *ReplyParameters) WithAllowSendingWithoutReply() *ReplyParameters + func (r *ReplyParameters) WithChatID(chatID ChatID) *ReplyParameters + func (r *ReplyParameters) WithChecklistTaskID(checklistTaskID int) *ReplyParameters + func (r *ReplyParameters) WithEphemeralMessageID(ephemeralMessageID int) *ReplyParameters + func (r *ReplyParameters) WithMessageID(messageID int) *ReplyParameters + func (r *ReplyParameters) WithPollOptionID(pollOptionID string) *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 RepostStoryParams struct + ActivePeriod int + BusinessConnectionID string + FromChatID int + FromStoryID int + PostToChatPage bool + ProtectContent bool + func (p *RepostStoryParams) WithActivePeriod(activePeriod int) *RepostStoryParams + func (p *RepostStoryParams) WithBusinessConnectionID(businessConnectionID string) *RepostStoryParams + func (p *RepostStoryParams) WithFromChatID(fromChatID int) *RepostStoryParams + func (p *RepostStoryParams) WithFromStoryID(fromStoryID int) *RepostStoryParams + func (p *RepostStoryParams) WithPostToChatPage() *RepostStoryParams + func (p *RepostStoryParams) WithProtectContent() *RepostStoryParams + 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) WithUntilDate(untilDate int64) *RestrictChatMemberParams + func (p *RestrictChatMemberParams) WithUseIndependentChatPermissions() *RestrictChatMemberParams + func (p *RestrictChatMemberParams) WithUserID(userID int64) *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 RichBlock interface + BlockType func() string + type RichBlockAnchor struct + Name string + Type string + func (i *RichBlockAnchor) BlockType() string + type RichBlockAnimation struct + Animation Animation + Caption *RichBlockCaption + HasSpoiler bool + Type string + func (i *RichBlockAnimation) BlockType() string + type RichBlockAudio struct + Audio Audio + Caption *RichBlockCaption + Type string + func (i *RichBlockAudio) BlockType() string + type RichBlockBlockQuotation struct + Blocks []RichBlock + Credit RichText + Type string + func (i *RichBlockBlockQuotation) BlockType() string + func (i *RichBlockBlockQuotation) UnmarshalJSON(data []byte) error + type RichBlockCaption struct + Credit RichText + Text RichText + func (r *RichBlockCaption) UnmarshalJSON(data []byte) error + func (r *RichBlockCaption) WithCredit(credit RichText) *RichBlockCaption + func (r *RichBlockCaption) WithText(text RichText) *RichBlockCaption + type RichBlockCollage struct + Blocks []RichBlock + Caption *RichBlockCaption + Type string + func (i *RichBlockCollage) BlockType() string + func (i *RichBlockCollage) UnmarshalJSON(data []byte) error + type RichBlockDetails struct + Blocks []RichBlock + IsOpen bool + Summary RichText + Type string + func (i *RichBlockDetails) BlockType() string + func (i *RichBlockDetails) UnmarshalJSON(data []byte) error + type RichBlockDivider struct + Type string + func (i *RichBlockDivider) BlockType() string + type RichBlockFooter struct + Text RichText + Type string + func (i *RichBlockFooter) BlockType() string + func (i *RichBlockFooter) UnmarshalJSON(data []byte) error + type RichBlockList struct + Items []RichBlockListItem + Type string + func (i *RichBlockList) BlockType() string + type RichBlockListItem struct + Blocks []RichBlock + HasCheckbox bool + IsChecked bool + Label string + Type string + Value int + func (i *RichBlockListItem) UnmarshalJSON(data []byte) error + type RichBlockMap struct + Caption *RichBlockCaption + Height int + Location Location + Type string + Width int + Zoom int + func (i *RichBlockMap) BlockType() string + type RichBlockMathematicalExpression struct + Expression string + Type string + func (i *RichBlockMathematicalExpression) BlockType() string + type RichBlockParagraph struct + Text RichText + Type string + func (i *RichBlockParagraph) BlockType() string + func (i *RichBlockParagraph) UnmarshalJSON(data []byte) error + type RichBlockPhoto struct + Caption *RichBlockCaption + HasSpoiler bool + Photo []PhotoSize + Type string + func (i *RichBlockPhoto) BlockType() string + type RichBlockPreformatted struct + Language string + Text RichText + Type string + func (i *RichBlockPreformatted) BlockType() string + func (i *RichBlockPreformatted) UnmarshalJSON(data []byte) error + type RichBlockPullQuotation struct + Credit RichText + Text RichText + Type string + func (i *RichBlockPullQuotation) BlockType() string + func (i *RichBlockPullQuotation) UnmarshalJSON(data []byte) error + type RichBlockSectionHeading struct + Size int + Text RichText + Type string + func (i *RichBlockSectionHeading) BlockType() string + func (i *RichBlockSectionHeading) UnmarshalJSON(data []byte) error + type RichBlockSlideshow struct + Blocks []RichBlock + Caption *RichBlockCaption + Type string + func (i *RichBlockSlideshow) BlockType() string + func (i *RichBlockSlideshow) UnmarshalJSON(data []byte) error + type RichBlockTable struct + Caption RichText + Cells [][]RichBlockTableCell + IsBordered bool + IsStriped bool + Type string + func (i *RichBlockTable) BlockType() string + func (i *RichBlockTable) UnmarshalJSON(data []byte) error + type RichBlockTableCell struct + Align string + Colspan int + IsHeader bool + Rowspan int + Text RichText + Valign string + func (r *RichBlockTableCell) UnmarshalJSON(data []byte) error + func (r RichBlockTableCell) WithAlign(align string) RichBlockTableCell + func (r RichBlockTableCell) WithColspan(colspan int) RichBlockTableCell + func (r RichBlockTableCell) WithIsHeader() RichBlockTableCell + func (r RichBlockTableCell) WithRowspan(rowspan int) RichBlockTableCell + func (r RichBlockTableCell) WithText(text RichText) RichBlockTableCell + func (r RichBlockTableCell) WithValign(valign string) RichBlockTableCell + type RichBlockThinking struct + Text RichText + Type string + func (i *RichBlockThinking) BlockType() string + func (i *RichBlockThinking) UnmarshalJSON(data []byte) error + type RichBlockVideo struct + Caption *RichBlockCaption + HasSpoiler bool + Type string + Video Video + func (i *RichBlockVideo) BlockType() string + type RichBlockVoiceNote struct + Caption *RichBlockCaption + Type string + VoiceNote Voice + func (i *RichBlockVoiceNote) BlockType() string + type RichMessage struct + Blocks []RichBlock + IsRtl bool + func (i *RichMessage) UnmarshalJSON(data []byte) error + type RichMessageMedia interface + MediaType func() string + type RichText interface + TextType func() string + type RichTextAnchor struct + Name string + Type string + func (r *RichTextAnchor) TextType() string + func (r *RichTextAnchor) WithName(name string) *RichTextAnchor + type RichTextAnchorLink struct + AnchorName string + Text RichText + Type string + func (r *RichTextAnchorLink) TextType() string + func (r *RichTextAnchorLink) UnmarshalJSON(data []byte) error + func (r *RichTextAnchorLink) WithAnchorName(anchorName string) *RichTextAnchorLink + func (r *RichTextAnchorLink) WithText(text RichText) *RichTextAnchorLink + type RichTextBankCardNumber struct + BankCardNumber string + Text RichText + Type string + func (r *RichTextBankCardNumber) TextType() string + func (r *RichTextBankCardNumber) UnmarshalJSON(data []byte) error + func (r *RichTextBankCardNumber) WithBankCardNumber(bankCardNumber string) *RichTextBankCardNumber + func (r *RichTextBankCardNumber) WithText(text RichText) *RichTextBankCardNumber + type RichTextBold struct + Text RichText + Type string + func (r *RichTextBold) TextType() string + func (r *RichTextBold) UnmarshalJSON(data []byte) error + func (r *RichTextBold) WithText(text RichText) *RichTextBold + type RichTextBotCommand struct + BotCommand string + Text RichText + Type string + func (r *RichTextBotCommand) TextType() string + func (r *RichTextBotCommand) UnmarshalJSON(data []byte) error + func (r *RichTextBotCommand) WithBotCommand(botCommand string) *RichTextBotCommand + func (r *RichTextBotCommand) WithText(text RichText) *RichTextBotCommand + type RichTextCashtag struct + Cashtag string + Text RichText + Type string + func (r *RichTextCashtag) TextType() string + func (r *RichTextCashtag) UnmarshalJSON(data []byte) error + func (r *RichTextCashtag) WithCashtag(cashtag string) *RichTextCashtag + func (r *RichTextCashtag) WithText(text RichText) *RichTextCashtag + type RichTextCode struct + Text RichText + Type string + func (r *RichTextCode) TextType() string + func (r *RichTextCode) UnmarshalJSON(data []byte) error + func (r *RichTextCode) WithText(text RichText) *RichTextCode + type RichTextCustomEmoji struct + AlternativeText string + CustomEmojiID string + Type string + func (r *RichTextCustomEmoji) TextType() string + func (r *RichTextCustomEmoji) WithAlternativeText(alternativeText string) *RichTextCustomEmoji + func (r *RichTextCustomEmoji) WithCustomEmojiID(customEmojiID string) *RichTextCustomEmoji + type RichTextDateTime struct + DateTimeFormat string + Text RichText + Type string + UnixTime int64 + func (r *RichTextDateTime) TextType() string + func (r *RichTextDateTime) UnmarshalJSON(data []byte) error + func (r *RichTextDateTime) WithDateTimeFormat(dateTimeFormat string) *RichTextDateTime + func (r *RichTextDateTime) WithText(text RichText) *RichTextDateTime + func (r *RichTextDateTime) WithUnixTime(unixTime int64) *RichTextDateTime + type RichTextEmailAddress struct + EmailAddress string + Text RichText + Type string + func (r *RichTextEmailAddress) TextType() string + func (r *RichTextEmailAddress) UnmarshalJSON(data []byte) error + func (r *RichTextEmailAddress) WithEmailAddress(emailAddress string) *RichTextEmailAddress + func (r *RichTextEmailAddress) WithText(text RichText) *RichTextEmailAddress + type RichTextHashtag struct + Hashtag string + Text RichText + Type string + func (r *RichTextHashtag) TextType() string + func (r *RichTextHashtag) UnmarshalJSON(data []byte) error + func (r *RichTextHashtag) WithHashtag(hashtag string) *RichTextHashtag + func (r *RichTextHashtag) WithText(text RichText) *RichTextHashtag + type RichTextItalic struct + Text RichText + Type string + func (r *RichTextItalic) TextType() string + func (r *RichTextItalic) UnmarshalJSON(data []byte) error + func (r *RichTextItalic) WithText(text RichText) *RichTextItalic + type RichTextList []RichText + func (i *RichTextList) TextType() string + type RichTextMarked struct + Text RichText + Type string + func (r *RichTextMarked) TextType() string + func (r *RichTextMarked) UnmarshalJSON(data []byte) error + func (r *RichTextMarked) WithText(text RichText) *RichTextMarked + type RichTextMathematicalExpression struct + Expression string + Type string + func (r *RichTextMathematicalExpression) TextType() string + func (r *RichTextMathematicalExpression) WithExpression(expression string) *RichTextMathematicalExpression + type RichTextMention struct + Text RichText + Type string + Username string + func (r *RichTextMention) TextType() string + func (r *RichTextMention) UnmarshalJSON(data []byte) error + func (r *RichTextMention) WithText(text RichText) *RichTextMention + func (r *RichTextMention) WithUsername(username string) *RichTextMention + type RichTextPhoneNumber struct + PhoneNumber string + Text RichText + Type string + func (r *RichTextPhoneNumber) TextType() string + func (r *RichTextPhoneNumber) UnmarshalJSON(data []byte) error + func (r *RichTextPhoneNumber) WithPhoneNumber(phoneNumber string) *RichTextPhoneNumber + func (r *RichTextPhoneNumber) WithText(text RichText) *RichTextPhoneNumber + type RichTextPlain string + func (i *RichTextPlain) TextType() string + type RichTextReference struct + Name string + Text RichText + Type string + func (r *RichTextReference) TextType() string + func (r *RichTextReference) UnmarshalJSON(data []byte) error + func (r *RichTextReference) WithName(name string) *RichTextReference + func (r *RichTextReference) WithText(text RichText) *RichTextReference + type RichTextReferenceLink struct + ReferenceName string + Text RichText + Type string + func (r *RichTextReferenceLink) TextType() string + func (r *RichTextReferenceLink) UnmarshalJSON(data []byte) error + func (r *RichTextReferenceLink) WithReferenceName(referenceName string) *RichTextReferenceLink + func (r *RichTextReferenceLink) WithText(text RichText) *RichTextReferenceLink + type RichTextSpoiler struct + Text RichText + Type string + func (r *RichTextSpoiler) TextType() string + func (r *RichTextSpoiler) UnmarshalJSON(data []byte) error + func (r *RichTextSpoiler) WithText(text RichText) *RichTextSpoiler + type RichTextStrikethrough struct + Text RichText + Type string + func (r *RichTextStrikethrough) TextType() string + func (r *RichTextStrikethrough) UnmarshalJSON(data []byte) error + func (r *RichTextStrikethrough) WithText(text RichText) *RichTextStrikethrough + type RichTextSubscript struct + Text RichText + Type string + func (r *RichTextSubscript) TextType() string + func (r *RichTextSubscript) UnmarshalJSON(data []byte) error + func (r *RichTextSubscript) WithText(text RichText) *RichTextSubscript + type RichTextSuperscript struct + Text RichText + Type string + func (r *RichTextSuperscript) TextType() string + func (r *RichTextSuperscript) UnmarshalJSON(data []byte) error + func (r *RichTextSuperscript) WithText(text RichText) *RichTextSuperscript + type RichTextTextMention struct + Text RichText + Type string + User User + func (r *RichTextTextMention) TextType() string + func (r *RichTextTextMention) UnmarshalJSON(data []byte) error + func (r *RichTextTextMention) WithText(text RichText) *RichTextTextMention + func (r *RichTextTextMention) WithUser(user User) *RichTextTextMention + type RichTextURL struct + Text RichText + Type string + URL string + func (r *RichTextURL) TextType() string + func (r *RichTextURL) UnmarshalJSON(data []byte) error + func (r *RichTextURL) WithText(text RichText) *RichTextURL + func (r *RichTextURL) WithURL(url string) *RichTextURL + type RichTextUnderline struct + Text RichText + Type string + func (r *RichTextUnderline) TextType() string + func (r *RichTextUnderline) UnmarshalJSON(data []byte) error + func (r *RichTextUnderline) WithText(text RichText) *RichTextUnderline + type SavePreparedInlineMessageParams struct + AllowBotChats bool + AllowChannelChats bool + AllowGroupChats bool + AllowUserChats bool + Result InlineQueryResult + UserID int64 + func (p *SavePreparedInlineMessageParams) WithAllowBotChats() *SavePreparedInlineMessageParams + func (p *SavePreparedInlineMessageParams) WithAllowChannelChats() *SavePreparedInlineMessageParams + func (p *SavePreparedInlineMessageParams) WithAllowGroupChats() *SavePreparedInlineMessageParams + func (p *SavePreparedInlineMessageParams) WithAllowUserChats() *SavePreparedInlineMessageParams + func (p *SavePreparedInlineMessageParams) WithResult(result InlineQueryResult) *SavePreparedInlineMessageParams + func (p *SavePreparedInlineMessageParams) WithUserID(userID int64) *SavePreparedInlineMessageParams + type SavePreparedKeyboardButtonParams struct + Button KeyboardButton + UserID int64 + func (p *SavePreparedKeyboardButtonParams) WithButton(button KeyboardButton) *SavePreparedKeyboardButtonParams + func (p *SavePreparedKeyboardButtonParams) WithUserID(userID int64) *SavePreparedKeyboardButtonParams + type SendAnimationParams struct + AllowPaidBroadcast bool + Animation InputFile + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int + HasSpoiler bool + Height int + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + Thumbnail *InputFile + Width int + func (p *SendAnimationParams) WithAllowPaidBroadcast() *SendAnimationParams + func (p *SendAnimationParams) WithAnimation(animation InputFile) *SendAnimationParams + func (p *SendAnimationParams) WithBusinessConnectionID(businessConnectionID string) *SendAnimationParams + func (p *SendAnimationParams) WithCallbackQueryID(callbackQueryID 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) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendAnimationParams + func (p *SendAnimationParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendAnimationParams + func (p *SendAnimationParams) WithReplyParameters(replyParameters *ReplyParameters) *SendAnimationParams + func (p *SendAnimationParams) WithShowCaptionAboveMedia() *SendAnimationParams + func (p *SendAnimationParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendAnimationParams + func (p *SendAnimationParams) WithThumbnail(thumbnail *InputFile) *SendAnimationParams + func (p *SendAnimationParams) WithWidth(width int) *SendAnimationParams + type SendAudioParams struct + AllowPaidBroadcast bool + Audio InputFile + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int + MessageEffectID string + MessageThreadID int + ParseMode string + Performer string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Thumbnail *InputFile + Title string + func (p *SendAudioParams) WithAllowPaidBroadcast() *SendAudioParams + func (p *SendAudioParams) WithAudio(audio InputFile) *SendAudioParams + func (p *SendAudioParams) WithBusinessConnectionID(businessConnectionID string) *SendAudioParams + func (p *SendAudioParams) WithCallbackQueryID(callbackQueryID 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) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendAudioParams + func (p *SendAudioParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendAudioParams + func (p *SendAudioParams) WithReplyParameters(replyParameters *ReplyParameters) *SendAudioParams + func (p *SendAudioParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *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 SendChatJoinRequestWebAppParams struct + ChatJoinRequestQueryID string + WebAppURL string + func (p *SendChatJoinRequestWebAppParams) WithChatJoinRequestQueryID(chatJoinRequestQueryID string) *SendChatJoinRequestWebAppParams + func (p *SendChatJoinRequestWebAppParams) WithWebAppURL(webAppURL string) *SendChatJoinRequestWebAppParams + type SendChecklistParams struct + BusinessConnectionID string + ChatID ChatID + Checklist InputChecklist + DisableNotification bool + MessageEffectID string + ProtectContent bool + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + func (p *SendChecklistParams) WithBusinessConnectionID(businessConnectionID string) *SendChecklistParams + func (p *SendChecklistParams) WithChatID(chatID ChatID) *SendChecklistParams + func (p *SendChecklistParams) WithChecklist(checklist InputChecklist) *SendChecklistParams + func (p *SendChecklistParams) WithDisableNotification() *SendChecklistParams + func (p *SendChecklistParams) WithMessageEffectID(messageEffectID string) *SendChecklistParams + func (p *SendChecklistParams) WithProtectContent() *SendChecklistParams + func (p *SendChecklistParams) WithReplyMarkup(replyMarkup *InlineKeyboardMarkup) *SendChecklistParams + func (p *SendChecklistParams) WithReplyParameters(replyParameters *ReplyParameters) *SendChecklistParams + type SendContactParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FirstName string + LastName string + MessageEffectID string + MessageThreadID int + PhoneNumber string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Vcard string + func (p *SendContactParams) WithAllowPaidBroadcast() *SendContactParams + func (p *SendContactParams) WithBusinessConnectionID(businessConnectionID string) *SendContactParams + func (p *SendContactParams) WithCallbackQueryID(callbackQueryID string) *SendContactParams + func (p *SendContactParams) WithChatID(chatID ChatID) *SendContactParams + func (p *SendContactParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendContactParams + func (p *SendContactParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendContactParams + func (p *SendContactParams) WithReplyParameters(replyParameters *ReplyParameters) *SendContactParams + func (p *SendContactParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendContactParams + func (p *SendContactParams) WithVcard(vcard string) *SendContactParams + type SendDiceParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Emoji string + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + func (p *SendDiceParams) WithAllowPaidBroadcast() *SendDiceParams + func (p *SendDiceParams) WithBusinessConnectionID(businessConnectionID string) *SendDiceParams + func (p *SendDiceParams) WithChatID(chatID ChatID) *SendDiceParams + func (p *SendDiceParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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 + func (p *SendDiceParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendDiceParams + type SendDocumentParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableContentTypeDetection bool + DisableNotification bool + Document InputFile + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Thumbnail *InputFile + func (p *SendDocumentParams) WithAllowPaidBroadcast() *SendDocumentParams + func (p *SendDocumentParams) WithBusinessConnectionID(businessConnectionID string) *SendDocumentParams + func (p *SendDocumentParams) WithCallbackQueryID(callbackQueryID 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) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendDocumentParams + func (p *SendDocumentParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendDocumentParams + func (p *SendDocumentParams) WithReplyParameters(replyParameters *ReplyParameters) *SendDocumentParams + func (p *SendDocumentParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendDocumentParams + func (p *SendDocumentParams) WithThumbnail(thumbnail *InputFile) *SendDocumentParams + type SendGameParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + GameShortName string + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + func (p *SendGameParams) WithAllowPaidBroadcast() *SendGameParams + func (p *SendGameParams) WithBusinessConnectionID(businessConnectionID string) *SendGameParams + func (p *SendGameParams) WithChatID(chatID ChatID) *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 SendGiftParams struct + ChatID ChatID + GiftID string + PayForUpgrade bool + Text string + TextEntities []MessageEntity + TextParseMode string + UserID int64 + func (p *SendGiftParams) WithChatID(chatID ChatID) *SendGiftParams + func (p *SendGiftParams) WithGiftID(giftID string) *SendGiftParams + func (p *SendGiftParams) WithPayForUpgrade() *SendGiftParams + func (p *SendGiftParams) WithText(text string) *SendGiftParams + func (p *SendGiftParams) WithTextEntities(textEntities ...MessageEntity) *SendGiftParams + func (p *SendGiftParams) WithTextParseMode(textParseMode string) *SendGiftParams + func (p *SendGiftParams) WithUserID(userID int64) *SendGiftParams + type SendInvoiceParams struct + AllowPaidBroadcast bool + ChatID ChatID + Currency string + Description string + DirectMessagesTopicID int64 + 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 + SuggestedPostParameters *SuggestedPostParameters + SuggestedTipAmounts []int + Title string + func (p *SendInvoiceParams) WithAllowPaidBroadcast() *SendInvoiceParams + func (p *SendInvoiceParams) WithChatID(chatID ChatID) *SendInvoiceParams + func (p *SendInvoiceParams) WithCurrency(currency string) *SendInvoiceParams + func (p *SendInvoiceParams) WithDescription(description string) *SendInvoiceParams + func (p *SendInvoiceParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendInvoiceParams + func (p *SendInvoiceParams) WithSuggestedTipAmounts(suggestedTipAmounts ...int) *SendInvoiceParams + func (p *SendInvoiceParams) WithTitle(title string) *SendInvoiceParams + type SendLivePhotoParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + HasSpoiler bool + LivePhoto InputFile + MessageEffectID string + MessageThreadID int + ParseMode string + Photo InputFile + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + func (p *SendLivePhotoParams) WithAllowPaidBroadcast() *SendLivePhotoParams + func (p *SendLivePhotoParams) WithBusinessConnectionID(businessConnectionID string) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithCallbackQueryID(callbackQueryID string) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithCaption(caption string) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithChatID(chatID ChatID) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithDisableNotification() *SendLivePhotoParams + func (p *SendLivePhotoParams) WithHasSpoiler() *SendLivePhotoParams + func (p *SendLivePhotoParams) WithLivePhoto(livePhoto InputFile) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithMessageEffectID(messageEffectID string) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithMessageThreadID(messageThreadID int) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithParseMode(parseMode string) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithPhoto(photo InputFile) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithProtectContent() *SendLivePhotoParams + func (p *SendLivePhotoParams) WithReceiverUserID(receiverUserID int64) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithReplyParameters(replyParameters *ReplyParameters) *SendLivePhotoParams + func (p *SendLivePhotoParams) WithShowCaptionAboveMedia() *SendLivePhotoParams + func (p *SendLivePhotoParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendLivePhotoParams + type SendLocationParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Heading int + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int + Longitude float64 + MessageEffectID string + MessageThreadID int + ProtectContent bool + ProximityAlertRadius int + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + func (p *SendLocationParams) WithAllowPaidBroadcast() *SendLocationParams + func (p *SendLocationParams) WithBusinessConnectionID(businessConnectionID string) *SendLocationParams + func (p *SendLocationParams) WithCallbackQueryID(callbackQueryID string) *SendLocationParams + func (p *SendLocationParams) WithChatID(chatID ChatID) *SendLocationParams + func (p *SendLocationParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *SendLocationParams + func (p *SendLocationParams) WithDisableNotification() *SendLocationParams + func (p *SendLocationParams) WithHeading(heading int) *SendLocationParams + func (p *SendLocationParams) WithHorizontalAccuracy(horizontalAccuracy float64) *SendLocationParams + func (p *SendLocationParams) WithLatitude(latitude float64) *SendLocationParams + func (p *SendLocationParams) WithLivePeriod(livePeriod int) *SendLocationParams + func (p *SendLocationParams) WithLongitude(longitude float64) *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) WithReceiverUserID(receiverUserID int64) *SendLocationParams + func (p *SendLocationParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendLocationParams + func (p *SendLocationParams) WithReplyParameters(replyParameters *ReplyParameters) *SendLocationParams + func (p *SendLocationParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendLocationParams + type SendMediaGroupParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Media []InputMedia + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyParameters *ReplyParameters + func (p *SendMediaGroupParams) WithAllowPaidBroadcast() *SendMediaGroupParams + func (p *SendMediaGroupParams) WithBusinessConnectionID(businessConnectionID string) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithChatID(chatID ChatID) *SendMediaGroupParams + func (p *SendMediaGroupParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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 SendMessageDraftParams struct + ChatID int64 + DraftID int + Entities []MessageEntity + MessageThreadID int + ParseMode string + Text string + func (p *SendMessageDraftParams) WithChatID(chatID int64) *SendMessageDraftParams + func (p *SendMessageDraftParams) WithDraftID(draftID int) *SendMessageDraftParams + func (p *SendMessageDraftParams) WithEntities(entities ...MessageEntity) *SendMessageDraftParams + func (p *SendMessageDraftParams) WithMessageThreadID(messageThreadID int) *SendMessageDraftParams + func (p *SendMessageDraftParams) WithParseMode(parseMode string) *SendMessageDraftParams + func (p *SendMessageDraftParams) WithText(text string) *SendMessageDraftParams + type SendMessageParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Entities []MessageEntity + LinkPreviewOptions *LinkPreviewOptions + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Text string + func (p *SendMessageParams) WithAllowPaidBroadcast() *SendMessageParams + func (p *SendMessageParams) WithBusinessConnectionID(businessConnectionID string) *SendMessageParams + func (p *SendMessageParams) WithCallbackQueryID(callbackQueryID string) *SendMessageParams + func (p *SendMessageParams) WithChatID(chatID ChatID) *SendMessageParams + func (p *SendMessageParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendMessageParams + func (p *SendMessageParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendMessageParams + func (p *SendMessageParams) WithReplyParameters(replyParameters *ReplyParameters) *SendMessageParams + func (p *SendMessageParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendMessageParams + func (p *SendMessageParams) WithText(text string) *SendMessageParams + type SendPaidMediaParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Media []InputPaidMedia + MessageThreadID int + ParseMode string + Payload string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + StarCount int + SuggestedPostParameters *SuggestedPostParameters + func (p *SendPaidMediaParams) WithAllowPaidBroadcast() *SendPaidMediaParams + func (p *SendPaidMediaParams) WithBusinessConnectionID(businessConnectionID string) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithCaption(caption string) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithCaptionEntities(captionEntities ...MessageEntity) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithChatID(chatID ChatID) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithDisableNotification() *SendPaidMediaParams + func (p *SendPaidMediaParams) WithMedia(media ...InputPaidMedia) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithMessageThreadID(messageThreadID int) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithParseMode(parseMode string) *SendPaidMediaParams + func (p *SendPaidMediaParams) WithPayload(payload 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 + func (p *SendPaidMediaParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendPaidMediaParams + type SendPhotoParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + HasSpoiler bool + MessageEffectID string + MessageThreadID int + ParseMode string + Photo InputFile + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + func (p *SendPhotoParams) WithAllowPaidBroadcast() *SendPhotoParams + func (p *SendPhotoParams) WithBusinessConnectionID(businessConnectionID string) *SendPhotoParams + func (p *SendPhotoParams) WithCallbackQueryID(callbackQueryID 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) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendPhotoParams + func (p *SendPhotoParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendPhotoParams + func (p *SendPhotoParams) WithReplyParameters(replyParameters *ReplyParameters) *SendPhotoParams + func (p *SendPhotoParams) WithShowCaptionAboveMedia() *SendPhotoParams + func (p *SendPhotoParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendPhotoParams + type SendPollParams struct + AllowAddingOptions bool + AllowPaidBroadcast bool + AllowsMultipleAnswers bool + AllowsRevoting bool + BusinessConnectionID string + ChatID ChatID + CloseDate int64 + CorrectOptionIDs []int + CountryCodes []string + Description string + DescriptionEntities []MessageEntity + DescriptionParseMode string + DisableNotification bool + Explanation string + ExplanationEntities []MessageEntity + ExplanationMedia InputPollMedia + ExplanationParseMode string + HideResultsUntilCloses bool + IsAnonymous *bool + IsClosed bool + Media InputPollMedia + MembersOnly bool + MessageEffectID string + MessageThreadID int + OpenPeriod int + Options []InputPollOption + ProtectContent bool + Question string + QuestionEntities []MessageEntity + QuestionParseMode string + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShuffleOptions bool + Type string + func (p *SendPollParams) WithAllowAddingOptions() *SendPollParams + func (p *SendPollParams) WithAllowPaidBroadcast() *SendPollParams + func (p *SendPollParams) WithAllowsMultipleAnswers() *SendPollParams + func (p *SendPollParams) WithAllowsRevoting() *SendPollParams + func (p *SendPollParams) WithBusinessConnectionID(businessConnectionID string) *SendPollParams + func (p *SendPollParams) WithChatID(chatID ChatID) *SendPollParams + func (p *SendPollParams) WithCloseDate(closeDate int64) *SendPollParams + func (p *SendPollParams) WithCorrectOptionIDs(correctOptionIDs ...int) *SendPollParams + func (p *SendPollParams) WithCountryCodes(countryCodes ...string) *SendPollParams + func (p *SendPollParams) WithDescription(description string) *SendPollParams + func (p *SendPollParams) WithDescriptionEntities(descriptionEntities ...MessageEntity) *SendPollParams + func (p *SendPollParams) WithDescriptionParseMode(descriptionParseMode string) *SendPollParams + func (p *SendPollParams) WithDisableNotification() *SendPollParams + func (p *SendPollParams) WithExplanation(explanation string) *SendPollParams + func (p *SendPollParams) WithExplanationEntities(explanationEntities ...MessageEntity) *SendPollParams + func (p *SendPollParams) WithExplanationMedia(explanationMedia InputPollMedia) *SendPollParams + func (p *SendPollParams) WithExplanationParseMode(explanationParseMode string) *SendPollParams + func (p *SendPollParams) WithHideResultsUntilCloses() *SendPollParams + func (p *SendPollParams) WithIsAnonymous(isAnonymous bool) *SendPollParams + func (p *SendPollParams) WithIsClosed() *SendPollParams + func (p *SendPollParams) WithMedia(media InputPollMedia) *SendPollParams + func (p *SendPollParams) WithMembersOnly() *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) WithShuffleOptions() *SendPollParams + func (p *SendPollParams) WithType(pollType string) *SendPollParams + type SendRichMessageDraftParams struct + ChatID int64 + DraftID int + MessageThreadID int + RichMessage InputRichMessage + func (p *SendRichMessageDraftParams) WithChatID(chatID int64) *SendRichMessageDraftParams + func (p *SendRichMessageDraftParams) WithDraftID(draftID int) *SendRichMessageDraftParams + func (p *SendRichMessageDraftParams) WithMessageThreadID(messageThreadID int) *SendRichMessageDraftParams + func (p *SendRichMessageDraftParams) WithRichMessage(richMessage InputRichMessage) *SendRichMessageDraftParams + type SendRichMessageParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + RichMessage InputRichMessage + SuggestedPostParameters *SuggestedPostParameters + func (p *SendRichMessageParams) WithAllowPaidBroadcast() *SendRichMessageParams + func (p *SendRichMessageParams) WithBusinessConnectionID(businessConnectionID string) *SendRichMessageParams + func (p *SendRichMessageParams) WithChatID(chatID ChatID) *SendRichMessageParams + func (p *SendRichMessageParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *SendRichMessageParams + func (p *SendRichMessageParams) WithDisableNotification() *SendRichMessageParams + func (p *SendRichMessageParams) WithMessageEffectID(messageEffectID string) *SendRichMessageParams + func (p *SendRichMessageParams) WithMessageThreadID(messageThreadID int) *SendRichMessageParams + func (p *SendRichMessageParams) WithProtectContent() *SendRichMessageParams + func (p *SendRichMessageParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendRichMessageParams + func (p *SendRichMessageParams) WithReplyParameters(replyParameters *ReplyParameters) *SendRichMessageParams + func (p *SendRichMessageParams) WithRichMessage(richMessage InputRichMessage) *SendRichMessageParams + func (p *SendRichMessageParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendRichMessageParams + type SendStickerParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Emoji string + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Sticker InputFile + SuggestedPostParameters *SuggestedPostParameters + func (p *SendStickerParams) WithAllowPaidBroadcast() *SendStickerParams + func (p *SendStickerParams) WithBusinessConnectionID(businessConnectionID string) *SendStickerParams + func (p *SendStickerParams) WithCallbackQueryID(callbackQueryID string) *SendStickerParams + func (p *SendStickerParams) WithChatID(chatID ChatID) *SendStickerParams + func (p *SendStickerParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendStickerParams + func (p *SendStickerParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendStickerParams + func (p *SendStickerParams) WithReplyParameters(replyParameters *ReplyParameters) *SendStickerParams + func (p *SendStickerParams) WithSticker(sticker InputFile) *SendStickerParams + func (p *SendStickerParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendStickerParams + type SendVenueParams struct + Address string + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Title string + func (p *SendVenueParams) WithAddress(address string) *SendVenueParams + func (p *SendVenueParams) WithAllowPaidBroadcast() *SendVenueParams + func (p *SendVenueParams) WithBusinessConnectionID(businessConnectionID string) *SendVenueParams + func (p *SendVenueParams) WithCallbackQueryID(callbackQueryID string) *SendVenueParams + func (p *SendVenueParams) WithChatID(chatID ChatID) *SendVenueParams + func (p *SendVenueParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithLatitude(latitude float64) *SendVenueParams + func (p *SendVenueParams) WithLongitude(longitude float64) *SendVenueParams + func (p *SendVenueParams) WithMessageEffectID(messageEffectID string) *SendVenueParams + func (p *SendVenueParams) WithMessageThreadID(messageThreadID int) *SendVenueParams + func (p *SendVenueParams) WithProtectContent() *SendVenueParams + func (p *SendVenueParams) WithReceiverUserID(receiverUserID int64) *SendVenueParams + func (p *SendVenueParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVenueParams + func (p *SendVenueParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVenueParams + func (p *SendVenueParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendVenueParams + func (p *SendVenueParams) WithTitle(title string) *SendVenueParams + type SendVideoNoteParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int + Length int + MessageEffectID string + MessageThreadID int + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Thumbnail *InputFile + VideoNote InputFile + func (p *SendVideoNoteParams) WithAllowPaidBroadcast() *SendVideoNoteParams + func (p *SendVideoNoteParams) WithBusinessConnectionID(businessConnectionID string) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithCallbackQueryID(callbackQueryID string) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithChatID(chatID ChatID) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithThumbnail(thumbnail *InputFile) *SendVideoNoteParams + func (p *SendVideoNoteParams) WithVideoNote(videoNote InputFile) *SendVideoNoteParams + type SendVideoParams struct + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + Cover *InputFile + DirectMessagesTopicID int64 + DisableNotification bool + Duration int + HasSpoiler bool + Height int + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + StartTimestamp int + SuggestedPostParameters *SuggestedPostParameters + SupportsStreaming bool + Thumbnail *InputFile + Video InputFile + Width int + func (p *SendVideoParams) WithAllowPaidBroadcast() *SendVideoParams + func (p *SendVideoParams) WithBusinessConnectionID(businessConnectionID string) *SendVideoParams + func (p *SendVideoParams) WithCallbackQueryID(callbackQueryID 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) WithCover(cover *InputFile) *SendVideoParams + func (p *SendVideoParams) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendVideoParams + func (p *SendVideoParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVideoParams + func (p *SendVideoParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVideoParams + func (p *SendVideoParams) WithShowCaptionAboveMedia() *SendVideoParams + func (p *SendVideoParams) WithStartTimestamp(startTimestamp int) *SendVideoParams + func (p *SendVideoParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *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 + AllowPaidBroadcast bool + BusinessConnectionID string + CallbackQueryID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int + MessageEffectID string + MessageThreadID int + ParseMode string + ProtectContent bool + ReceiverUserID int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Voice InputFile + func (p *SendVoiceParams) WithAllowPaidBroadcast() *SendVoiceParams + func (p *SendVoiceParams) WithBusinessConnectionID(businessConnectionID string) *SendVoiceParams + func (p *SendVoiceParams) WithCallbackQueryID(callbackQueryID 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) WithDirectMessagesTopicID(directMessagesTopicID int64) *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) WithReceiverUserID(receiverUserID int64) *SendVoiceParams + func (p *SendVoiceParams) WithReplyMarkup(replyMarkup ReplyMarkup) *SendVoiceParams + func (p *SendVoiceParams) WithReplyParameters(replyParameters *ReplyParameters) *SendVoiceParams + func (p *SendVoiceParams) WithSuggestedPostParameters(suggestedPostParameters *SuggestedPostParameters) *SendVoiceParams + func (p *SendVoiceParams) WithVoice(voice InputFile) *SendVoiceParams + type SentGuestMessage struct + InlineMessageID string + type SentWebAppMessage struct + InlineMessageID string + type SetBusinessAccountBioParams struct + Bio string + BusinessConnectionID string + func (p *SetBusinessAccountBioParams) WithBio(bio string) *SetBusinessAccountBioParams + func (p *SetBusinessAccountBioParams) WithBusinessConnectionID(businessConnectionID string) *SetBusinessAccountBioParams + type SetBusinessAccountGiftSettingsParams struct + AcceptedGiftTypes AcceptedGiftTypes + BusinessConnectionID string + ShowGiftButton bool + func (p *SetBusinessAccountGiftSettingsParams) WithAcceptedGiftTypes(acceptedGiftTypes AcceptedGiftTypes) *SetBusinessAccountGiftSettingsParams + func (p *SetBusinessAccountGiftSettingsParams) WithBusinessConnectionID(businessConnectionID string) *SetBusinessAccountGiftSettingsParams + func (p *SetBusinessAccountGiftSettingsParams) WithShowGiftButton() *SetBusinessAccountGiftSettingsParams + type SetBusinessAccountNameParams struct + BusinessConnectionID string + FirstName string + LastName string + func (p *SetBusinessAccountNameParams) WithBusinessConnectionID(businessConnectionID string) *SetBusinessAccountNameParams + func (p *SetBusinessAccountNameParams) WithFirstName(firstName string) *SetBusinessAccountNameParams + func (p *SetBusinessAccountNameParams) WithLastName(lastName string) *SetBusinessAccountNameParams + type SetBusinessAccountProfilePhotoParams struct + BusinessConnectionID string + IsPublic bool + Photo InputProfilePhoto + func (p *SetBusinessAccountProfilePhotoParams) WithBusinessConnectionID(businessConnectionID string) *SetBusinessAccountProfilePhotoParams + func (p *SetBusinessAccountProfilePhotoParams) WithIsPublic() *SetBusinessAccountProfilePhotoParams + func (p *SetBusinessAccountProfilePhotoParams) WithPhoto(photo InputProfilePhoto) *SetBusinessAccountProfilePhotoParams + type SetBusinessAccountUsernameParams struct + BusinessConnectionID string + Username string + func (p *SetBusinessAccountUsernameParams) WithBusinessConnectionID(businessConnectionID string) *SetBusinessAccountUsernameParams + func (p *SetBusinessAccountUsernameParams) WithUsername(username string) *SetBusinessAccountUsernameParams + type SetChatAdministratorCustomTitleParams struct + ChatID ChatID + CustomTitle string + UserID int64 + func (p *SetChatAdministratorCustomTitleParams) WithChatID(chatID ChatID) *SetChatAdministratorCustomTitleParams + func (p *SetChatAdministratorCustomTitleParams) WithCustomTitle(customTitle string) *SetChatAdministratorCustomTitleParams + func (p *SetChatAdministratorCustomTitleParams) WithUserID(userID int64) *SetChatAdministratorCustomTitleParams + type SetChatDescriptionParams struct + ChatID ChatID + Description string + func (p *SetChatDescriptionParams) WithChatID(chatID ChatID) *SetChatDescriptionParams + func (p *SetChatDescriptionParams) WithDescription(description string) *SetChatDescriptionParams + type SetChatMemberTagParams struct + ChatID ChatID + Tag string + UserID int64 + func (p *SetChatMemberTagParams) WithChatID(chatID ChatID) *SetChatMemberTagParams + func (p *SetChatMemberTagParams) WithTag(tag string) *SetChatMemberTagParams + func (p *SetChatMemberTagParams) WithUserID(userID int64) *SetChatMemberTagParams + type SetChatMenuButtonParams struct + ChatID int64 + MenuButton MenuButton + func (p *SetChatMenuButtonParams) WithChatID(chatID int64) *SetChatMenuButtonParams + 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) WithChatID(chatID int64) *SetGameScoreParams + 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 + func (p *SetGameScoreParams) WithUserID(userID int64) *SetGameScoreParams + type SetManagedBotAccessSettingsParams struct + AddedUserIDs []int64 + IsAccessRestricted bool + UserID int64 + func (p *SetManagedBotAccessSettingsParams) WithAddedUserIDs(addedUserIDs ...int64) *SetManagedBotAccessSettingsParams + func (p *SetManagedBotAccessSettingsParams) WithIsAccessRestricted() *SetManagedBotAccessSettingsParams + func (p *SetManagedBotAccessSettingsParams) WithUserID(userID int64) *SetManagedBotAccessSettingsParams + 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 SetMyProfilePhotoParams struct + Photo InputProfilePhoto + func (p *SetMyProfilePhotoParams) WithPhoto(photo InputProfilePhoto) *SetMyProfilePhotoParams + 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 + func (p *SetPassportDataErrorsParams) WithUserID(userID int64) *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 + func (p *SetStickerSetThumbnailParams) WithUserID(userID int64) *SetStickerSetThumbnailParams + type SetStickerSetTitleParams struct + Name string + Title string + func (p *SetStickerSetTitleParams) WithName(name string) *SetStickerSetTitleParams + func (p *SetStickerSetTitleParams) WithTitle(title string) *SetStickerSetTitleParams + type SetUserEmojiStatusParams struct + EmojiStatusCustomEmojiID string + EmojiStatusExpirationDate int64 + UserID int64 + func (p *SetUserEmojiStatusParams) WithEmojiStatusCustomEmojiID(emojiStatusCustomEmojiID string) *SetUserEmojiStatusParams + func (p *SetUserEmojiStatusParams) WithEmojiStatusExpirationDate(emojiStatusExpirationDate int64) *SetUserEmojiStatusParams + func (p *SetUserEmojiStatusParams) WithUserID(userID int64) *SetUserEmojiStatusParams + 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 StarAmount struct + Amount int + NanostarAmount int + type StarTransaction struct + Amount int + Date int64 + ID string + NanostarAmount int + 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 StoryArea struct + Position StoryAreaPosition + Type StoryAreaType + type StoryAreaPosition struct + CornerRadiusPercentage float64 + HeightPercentage float64 + RotationAngle float64 + WidthPercentage float64 + XPercentage float64 + YPercentage float64 + type StoryAreaType interface + StoryAreaType func() string + type StoryAreaTypeLink struct + Type string + URL string + func (s *StoryAreaTypeLink) StoryAreaType() string + type StoryAreaTypeLocation struct + Address *LocationAddress + Latitude float64 + Longitude float64 + Type string + func (s *StoryAreaTypeLocation) StoryAreaType() string + type StoryAreaTypeSuggestedReaction struct + IsDark bool + IsFlipped bool + ReactionType ReactionType + Type string + func (s *StoryAreaTypeSuggestedReaction) StoryAreaType() string + type StoryAreaTypeUniqueGift struct + Name string + Type string + func (s *StoryAreaTypeUniqueGift) StoryAreaType() string + type StoryAreaTypeWeather struct + BackgroundColor int + Emoji string + Temperature float64 + Type string + func (s *StoryAreaTypeWeather) StoryAreaType() string + type SuccessfulPayment struct + Currency string + InvoicePayload string + IsFirstRecurring bool + IsRecurring bool + OrderInfo *OrderInfo + ProviderPaymentChargeID string + ShippingOptionID string + SubscriptionExpirationDate int64 + TelegramPaymentChargeID string + TotalAmount int + type SuggestedPostApprovalFailed struct + Price SuggestedPostPrice + SuggestedPostMessage *Message + type SuggestedPostApproved struct + Price *SuggestedPostPrice + SendDate int64 + SuggestedPostMessage *Message + type SuggestedPostDeclined struct + Comment string + SuggestedPostMessage *Message + type SuggestedPostInfo struct + Price *SuggestedPostPrice + SendDate int64 + State string + type SuggestedPostPaid struct + Amount int + Currency string + StarAmount *StarAmount + SuggestedPostMessage *Message + type SuggestedPostParameters struct + Price *SuggestedPostPrice + SendDate int64 + type SuggestedPostPrice struct + Amount int + Currency string + type SuggestedPostRefunded struct + Reason string + SuggestedPostMessage *Message + 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 TransactionPartnerAffiliateProgram struct + CommissionPerMille int + SponsorUser *User + Type string + func (p *TransactionPartnerAffiliateProgram) PartnerType() string + type TransactionPartnerChat struct + Chat Chat + Gift *Gift + Type string + func (p *TransactionPartnerChat) PartnerType() string + type TransactionPartnerFragment struct + Type string + WithdrawalState RevenueWithdrawalState + func (p *TransactionPartnerFragment) PartnerType() string + func (p *TransactionPartnerFragment) UnmarshalJSON(data []byte) error + type TransactionPartnerOther struct + Type string + func (p *TransactionPartnerOther) PartnerType() string + type TransactionPartnerTelegramAds struct + Type string + func (p *TransactionPartnerTelegramAds) PartnerType() string + type TransactionPartnerTelegramApi struct + RequestCount int + Type string + func (p *TransactionPartnerTelegramApi) PartnerType() string + type TransactionPartnerUser struct + Affiliate *AffiliateInfo + Gift *Gift + InvoicePayload string + PaidMedia []PaidMedia + PaidMediaPayload string + PremiumSubscriptionDuration int + SubscriptionPeriod int + TransactionType string + Type string + User User + func (p *TransactionPartnerUser) PartnerType() string + func (p *TransactionPartnerUser) UnmarshalJSON(data []byte) error + type TransferBusinessAccountStarsParams struct + BusinessConnectionID string + StarCount int + func (p *TransferBusinessAccountStarsParams) WithBusinessConnectionID(businessConnectionID string) *TransferBusinessAccountStarsParams + func (p *TransferBusinessAccountStarsParams) WithStarCount(starCount int) *TransferBusinessAccountStarsParams + type TransferGiftParams struct + BusinessConnectionID string + NewOwnerChatID int64 + OwnedGiftID string + StarCount int + func (p *TransferGiftParams) WithBusinessConnectionID(businessConnectionID string) *TransferGiftParams + func (p *TransferGiftParams) WithNewOwnerChatID(newOwnerChatID int64) *TransferGiftParams + func (p *TransferGiftParams) WithOwnedGiftID(ownedGiftID string) *TransferGiftParams + func (p *TransferGiftParams) WithStarCount(starCount int) *TransferGiftParams + type UnbanChatMemberParams struct + ChatID ChatID + OnlyIfBanned bool + UserID int64 + func (p *UnbanChatMemberParams) WithChatID(chatID ChatID) *UnbanChatMemberParams + func (p *UnbanChatMemberParams) WithOnlyIfBanned() *UnbanChatMemberParams + func (p *UnbanChatMemberParams) WithUserID(userID int64) *UnbanChatMemberParams + type UnbanChatSenderChatParams struct + ChatID ChatID + SenderChatID int64 + func (p *UnbanChatSenderChatParams) WithChatID(chatID ChatID) *UnbanChatSenderChatParams + func (p *UnbanChatSenderChatParams) WithSenderChatID(senderChatID int64) *UnbanChatSenderChatParams + type UnhideGeneralForumTopicParams struct + ChatID ChatID + func (p *UnhideGeneralForumTopicParams) WithChatID(chatID ChatID) *UnhideGeneralForumTopicParams + type UniqueGift struct + Backdrop UniqueGiftBackdrop + BaseName string + Colors *UniqueGiftColors + GiftID string + IsBurned bool + IsFromBlockchain bool + IsPremium bool + Model UniqueGiftModel + Name string + Number int + PublisherChat *Chat + Symbol UniqueGiftSymbol + type UniqueGiftBackdrop struct + Colors UniqueGiftBackdropColors + Name string + RarityPerMille int + type UniqueGiftBackdropColors struct + CenterColor int + EdgeColor int + SymbolColor int + TextColor int + type UniqueGiftColors struct + DarkThemeMainColor int + DarkThemeOtherColors []int + LightThemeMainColor int + LightThemeOtherColors []int + ModelCustomEmojiID string + SymbolCustomEmojiID string + type UniqueGiftInfo struct + Gift UniqueGift + LastResaleAmount int + LastResaleCurrency string + NextTransferDate int64 + Origin string + OwnedGiftID string + TransferStarCount int + type UniqueGiftModel struct + Name string + Rarity string + RarityPerMille int + Sticker Sticker + type UniqueGiftSymbol struct + Name string + RarityPerMille int + Sticker Sticker + 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 + GuestMessage *Message + InlineQuery *InlineQuery + ManagedBot *ManagedBotUpdated + Message *Message + MessageReaction *MessageReactionUpdated + MessageReactionCount *MessageReactionCountUpdated + MyChatMember *ChatMemberUpdated + Poll *Poll + PollAnswer *PollAnswer + PreCheckoutQuery *PreCheckoutQuery + PurchasedPaidMedia *PaidMediaPurchased + RemovedChatBoost *ChatBoostRemoved + ShippingQuery *ShippingQuery + Subscription *BotSubscriptionUpdated + 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 UpgradeGiftParams struct + BusinessConnectionID string + KeepOriginalDetails bool + OwnedGiftID string + StarCount int + func (p *UpgradeGiftParams) WithBusinessConnectionID(businessConnectionID string) *UpgradeGiftParams + func (p *UpgradeGiftParams) WithKeepOriginalDetails() *UpgradeGiftParams + func (p *UpgradeGiftParams) WithOwnedGiftID(ownedGiftID string) *UpgradeGiftParams + func (p *UpgradeGiftParams) WithStarCount(starCount int) *UpgradeGiftParams + type UploadStickerFileParams struct + Sticker InputFile + StickerFormat string + UserID int64 + func (p *UploadStickerFileParams) WithSticker(sticker InputFile) *UploadStickerFileParams + func (p *UploadStickerFileParams) WithStickerFormat(stickerFormat string) *UploadStickerFileParams + func (p *UploadStickerFileParams) WithUserID(userID int64) *UploadStickerFileParams + type User struct + AddedToAttachmentMenu bool + AllowsUsersToCreateTopics bool + CanConnectToBusiness bool + CanJoinGroups bool + CanManageBots bool + CanReadAllGroupMessages bool + FirstName string + HasMainWebApp bool + HasTopicsEnabled bool + ID int64 + IsBot bool + IsPremium bool + LanguageCode string + LastName string + SupportsGuestQueries bool + SupportsInlineQueries bool + SupportsJoinRequestQueries bool + Username string + type UserChatBoosts struct + Boosts []ChatBoost + type UserProfileAudios struct + Audios []Audio + TotalCount int + type UserProfilePhotos struct + Photos [][]PhotoSize + TotalCount int + type UserRating struct + CurrentLevelRating int + Level int + NextLevelRating int + Rating 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 VerifyChatParams struct + ChatID ChatID + CustomDescription string + func (p *VerifyChatParams) WithChatID(chatID ChatID) *VerifyChatParams + func (p *VerifyChatParams) WithCustomDescription(customDescription string) *VerifyChatParams + type VerifyUserParams struct + CustomDescription string + UserID int64 + func (p *VerifyUserParams) WithCustomDescription(customDescription string) *VerifyUserParams + func (p *VerifyUserParams) WithUserID(userID int64) *VerifyUserParams + type Video struct + Cover []PhotoSize + Duration int + FileID string + FileName string + FileSize int64 + FileUniqueID string + Height int + MimeType string + Qualities []VideoQuality + StartTimestamp int + 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 VideoQuality struct + Codec string + FileID string + FileSize int64 + FileUniqueID string + Height int + Width int + 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 *webhook) error + func WithWebhookBuffer(chanBuffer uint) WebhookOption + func WithWebhookSet(ctx context.Context, params *SetWebhookParams) WebhookOption + type WriteAccessAllowed struct + FromAttachmentMenu bool + FromRequest bool + WebAppName string