Versions in this module Expand all Collapse all v1 v1.0.0 Jul 18, 2026 Changes in this version + const ButtonStyleDanger + const ButtonStylePrimary + const ButtonStyleSuccess + const ChatActionChooseSticker + const ChatActionFindLocation + const ChatActionRecordVideo + const ChatActionRecordVideoNote + const ChatActionRecordVoice + const ChatActionTyping + const ChatActionUploadDocument + const ChatActionUploadPhoto + const ChatActionUploadVideo + const ChatActionUploadVideoNote + const ChatActionUploadVoice + const ChatTypeChannel + const ChatTypeGroup + const ChatTypePrivate + const ChatTypeSupergroup + const DiceEmojiBasketball + const DiceEmojiBowling + const DiceEmojiDarts + const DiceEmojiDice + const DiceEmojiFootball + const DiceEmojiSlotMachine + const EntityBlockquote + const EntityBold + const EntityBotCommand + const EntityCashtag + const EntityCode + const EntityCustomEmoji + const EntityDateTime + const EntityEmail + const EntityExpandableBlockquote + const EntityHashtag + const EntityItalic + const EntityMention + const EntityPhoneNumber + const EntityPre + const EntitySpoiler + const EntityStrikethrough + const EntityTextLink + const EntityTextMention + const EntityURL + const EntityUnderline + const FlagChatAction + const MaxCallbackDataLength + const MaxMediaGroupSize + const MaxStartPayloadLength + const MaxTextLength + const MinMediaGroupSize + const ParseModeHTML + const ParseModeMarkdown + const ParseModeMarkdownV2 + const StarsCurrency + const Version + var ErrCallbackDataTampered = errors.New("golagram: callback data failed HMAC verification") + var ErrSkipHandler = errors.New("golagram: skip to next handler") + func ChatMemberIsMember(m ChatMember) bool + func ChatMemberStatus(m ChatMember) string + func DecodeStartPayload(payload string) (string, error) + func EncodeStartPayload(raw string) string + func EscapeHTML(s string) string + func EscapeMarkdownV2(s string) string + func EscapeMarkdownV2Code(s string) string + func EscapeMarkdownV2Link(s string) string + func FSMGet[T any](f *FSMContext, key string) (T, bool, error) + func FSMSet(f *FSMContext, key string, value any) error + func IsBlockedByUser(err error) bool + func IsChatNotFound(err error) bool + func IsConflict(err error) bool + func IsFlood(err error) bool + func KeepChatAction(c *Ctx, action string) (stop func()) + func Reply(req webhookMethodNamer) error + func RichBlockPlainText(b RichBlock) string + func RichTextPlainText(t RichText) string + func SplitText(text string, limit ...int) []string + func Typing(c *Ctx) (stop func()) + func ValidateToken(token string) error + type ACO = AnswerCallbackOptions + type AIO = AnswerInlineOptions + type APIError = api.Error + func AsAPIError(err error) (*APIError, bool) + type AcceptedGiftTypes struct + GiftsFromChannels bool + LimitedGifts bool + PremiumSubscription bool + UniqueGifts bool + UnlimitedGifts bool + type AddStickerToSetRequest struct + Name string + Sticker *InputSticker + UserID int64 + type AdminCache struct + func NewAdminCache(ttl time.Duration) *AdminCache + func (a *AdminCache) Close() + func (a *AdminCache) FilterIsAdmin() Filter + type AffiliateInfo struct + AffiliateChat *Chat + AffiliateUser *User + Amount int64 + CommissionPerMille int64 + NanostarAmount int64 + type Animation struct + Duration int64 + FileID string + FileName string + FileSize int64 + FileUniqueID string + Height int64 + MimeType string + Thumbnail *PhotoSize + Width int64 + type AnswerCallbackOptions struct + CacheTime int64 + ShowAlert bool + URL string + type AnswerCallbackQueryRequest struct + CacheTime int64 + CallbackQueryID string + ShowAlert bool + Text string + URL string + type AnswerChatJoinRequestQueryRequest struct + ChatJoinRequestQueryID string + Result string + type AnswerGuestQueryRequest struct + GuestQueryID string + Result InlineQueryResult + type AnswerInlineOptions struct + Button *InlineQueryResultsButton + CacheTime int64 + IsPersonal bool + NextOffset string + type AnswerInlineQueryRequest struct + Button *InlineQueryResultsButton + CacheTime int64 + InlineQueryID string + IsPersonal bool + NextOffset string + Results []InlineQueryResult + type AnswerPreCheckoutQueryRequest struct + ErrorMessage string + Ok bool + PreCheckoutQueryID string + type AnswerShippingQueryRequest struct + ErrorMessage string + Ok bool + ShippingOptions []ShippingOption + ShippingQueryID string + type AnswerWebAppQueryRequest struct + Result InlineQueryResult + WebAppQueryID string + type ApproveChatJoinRequestRequest struct + ChatID ChatID + UserID int64 + type ApproveSuggestedPostRequest struct + ChatID int64 + MessageID int64 + SendDate int64 + type Audio struct + Duration int64 + FileID string + FileName string + FileSize int64 + FileUniqueID string + MimeType string + Performer string + Thumbnail *PhotoSize + Title string + type BackgroundFill interface + GetType func() string + type BackgroundFillFreeformGradient struct + Colors []int64 + Type string + func (v *BackgroundFillFreeformGradient) GetType() string + type BackgroundFillGradient struct + BottomColor int64 + RotationAngle int64 + TopColor int64 + Type string + func (v *BackgroundFillGradient) GetType() string + type BackgroundFillSolid struct + Color int64 + Type string + func (v *BackgroundFillSolid) GetType() string + type BackgroundType interface + GetType func() string + type BackgroundTypeChatTheme struct + ThemeName string + Type string + func (v *BackgroundTypeChatTheme) GetType() string + type BackgroundTypeFill struct + DarkThemeDimming int64 + Fill BackgroundFill + Type string + func (v *BackgroundTypeFill) GetType() string + func (v *BackgroundTypeFill) UnmarshalJSON(data []byte) error + type BackgroundTypePattern struct + Document *Document + Fill BackgroundFill + Intensity int64 + IsInverted bool + IsMoving bool + Type string + func (v *BackgroundTypePattern) GetType() string + func (v *BackgroundTypePattern) UnmarshalJSON(data []byte) error + type BackgroundTypeWallpaper struct + DarkThemeDimming int64 + Document *Document + IsBlurred bool + IsMoving bool + Type string + func (v *BackgroundTypeWallpaper) GetType() string + type Backoff struct + func NewBackoff(min, max time.Duration) *Backoff + func (b *Backoff) Next() time.Duration + func (b *Backoff) Reset() + type BanChatMemberRequest struct + ChatID ChatID + RevokeMessages bool + UntilDate int64 + UserID int64 + type BanChatSenderChatRequest struct + ChatID ChatID + SenderChatID int64 + type Birthdate struct + Day int64 + Month int64 + Year int64 + type BotAccessSettings struct + AddedUsers []User + IsAccessRestricted bool + type BotCommand struct + Command string + Description string + type BotCommandScope interface + GetType func() string + type BotCommandScopeAllChatAdministrators struct + Type string + func (v *BotCommandScopeAllChatAdministrators) GetType() string + type BotCommandScopeAllGroupChats struct + Type string + func (v *BotCommandScopeAllGroupChats) GetType() string + type BotCommandScopeAllPrivateChats struct + Type string + func (v *BotCommandScopeAllPrivateChats) GetType() string + type BotCommandScopeChat struct + ChatID ChatID + Type string + func (v *BotCommandScopeChat) GetType() string + type BotCommandScopeChatAdministrators struct + ChatID ChatID + Type string + func (v *BotCommandScopeChatAdministrators) GetType() string + type BotCommandScopeChatMember struct + ChatID ChatID + Type string + UserID int64 + func (v *BotCommandScopeChatMember) GetType() string + type BotCommandScopeDefault struct + Type string + func (v *BotCommandScopeDefault) GetType() string + type BotDescription struct + Description string + type BotName struct + Name string + type BotShortDescription struct + ShortDescription string + type BroadcastOption func(*broadcastConfig) + func WithBroadcastConcurrency(n int) BroadcastOption + func WithBroadcastProgress(fn func(BroadcastProgress)) BroadcastOption + func WithBroadcastRate(perSecond float64) BroadcastOption + type BroadcastProgress struct + Blocked int + Failed int + Remaining int + Sent int + Total int + type BroadcastResult struct + Blocked []int64 + Errors map[int64]error + Failed int + Sent int + func Broadcast(ctx context.Context, chatIDs []int64, send BroadcastSendFunc, ...) (*BroadcastResult, error) + type BroadcastSendFunc func(ctx context.Context, chatID int64) error + 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 []int64 + type BusinessOpeningHours struct + OpeningHours []BusinessOpeningHoursInterval + TimeZoneName string + type BusinessOpeningHoursInterval struct + ClosingMinute int64 + OpeningMinute int64 + type CallbackData struct + func NewCallbackData[T any](prefix string) *CallbackData[T] + func (cd *CallbackData[T]) Button(text string, v T) InlineKeyboardButton + func (cd *CallbackData[T]) Filter() Filter + func (cd *CallbackData[T]) FilterWhere(pred func(T) bool) Filter + func (cd *CallbackData[T]) FromCtx(c *Ctx) (T, error) + func (cd *CallbackData[T]) MustPack(v T) string + func (cd *CallbackData[T]) Pack(v T) (string, error) + func (cd *CallbackData[T]) Unpack(data string) (T, error) + func (cd *CallbackData[T]) WithHMAC(secret []byte) *CallbackData[T] + type CallbackGame struct + type CallbackQuery struct + ChatInstance string + Data string + From *User + GameShortName string + ID string + InlineMessageID string + Message *Message + func (e *CallbackQuery) Answer(text string, options ...*AnswerCallbackOptions) error + func (e *CallbackQuery) Answered() bool + func (e *CallbackQuery) ChatID() int64 + func (e *CallbackQuery) FSM() *FSMContext + func (e *CallbackQuery) FromID() int64 + func (e *CallbackQuery) Reply(text string, options ...*SendMessageOptions) (*Message, error) + func (e *CallbackQuery) SendMessage(text string, options ...*SendMessageOptions) (*Message, error) + type Chat struct + FirstName string + ID int64 + IsDirectMessages bool + IsForum bool + LastName string + Title string + Type string + Username string + 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 (v *ChatBackground) UnmarshalJSON(data []byte) error + type ChatBoost struct + AddDate int64 + BoostID string + ExpirationDate int64 + Source ChatBoostSource + func (v *ChatBoost) UnmarshalJSON(data []byte) error + type ChatBoostAdded struct + BoostCount int64 + type ChatBoostRemoved struct + BoostID string + Chat *Chat + RemoveDate int64 + Source ChatBoostSource + func (v *ChatBoostRemoved) UnmarshalJSON(data []byte) error + type ChatBoostSource interface + GetSource func() string + GetUser func() *User + type ChatBoostSourceGiftCode struct + Source string + User *User + func (v *ChatBoostSourceGiftCode) GetSource() string + func (v *ChatBoostSourceGiftCode) GetUser() *User + type ChatBoostSourceGiveaway struct + GiveawayMessageID int64 + IsUnclaimed bool + PrizeStarCount int64 + Source string + User *User + func (v *ChatBoostSourceGiveaway) GetSource() string + func (v *ChatBoostSourceGiveaway) GetUser() *User + type ChatBoostSourcePremium struct + Source string + User *User + func (v *ChatBoostSourcePremium) GetSource() string + func (v *ChatBoostSourcePremium) GetUser() *User + type ChatBoostUpdated struct + Boost *ChatBoost + Chat *Chat + type ChatFullInfo struct + AccentColorID int64 + AcceptedGiftTypes *AcceptedGiftTypes + ActiveUsernames []string + AvailableReactions []ReactionType + BackgroundCustomEmojiID string + Bio string + Birthdate *Birthdate + BusinessIntro *BusinessIntro + BusinessLocation *BusinessLocation + BusinessOpeningHours *BusinessOpeningHours + CanSendPaidMedia bool + CanSetStickerSet bool + CustomEmojiStickerSetName string + Description string + EmojiStatusCustomEmojiID string + EmojiStatusExpirationDate int64 + FirstName string + 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 int64 + MessageAutoDeleteTime int64 + PaidMessageStarCount int64 + ParentChat *Chat + Permissions *ChatPermissions + PersonalChat *Chat + Photo *ChatPhoto + PinnedMessage *Message + ProfileAccentColorID int64 + ProfileBackgroundCustomEmojiID string + Rating *UserRating + SlowModeDelay int64 + StickerSetName string + Title string + Type string + UniqueGiftColors *UniqueGiftColors + UnrestrictBoostCount int64 + Username string + func (v *ChatFullInfo) UnmarshalJSON(data []byte) error + type ChatID struct + func ChatIDFromInt(id int64) ChatID + func ChatIDFromUsername(username string) ChatID + func (c ChatID) IsZero() bool + func (c ChatID) MarshalJSON() ([]byte, error) + type ChatInviteLink struct + CreatesJoinRequest bool + Creator *User + ExpireDate int64 + InviteLink string + IsPrimary bool + IsRevoked bool + MemberLimit int64 + Name string + PendingJoinRequestCount int64 + SubscriptionPeriod int64 + SubscriptionPrice int64 + 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 + GetStatus func() string + GetUser 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 (v *ChatMemberAdministrator) GetStatus() string + func (v *ChatMemberAdministrator) GetUser() *User + type ChatMemberBanned struct + Status string + UntilDate int64 + User *User + func (v *ChatMemberBanned) GetStatus() string + func (v *ChatMemberBanned) GetUser() *User + type ChatMemberLeft struct + Status string + User *User + func (v *ChatMemberLeft) GetStatus() string + func (v *ChatMemberLeft) GetUser() *User + type ChatMemberMember struct + Status string + Tag string + UntilDate int64 + User *User + func (v *ChatMemberMember) GetStatus() string + func (v *ChatMemberMember) GetUser() *User + type ChatMemberOwner struct + CustomTitle string + IsAnonymous bool + Status string + User *User + func (v *ChatMemberOwner) GetStatus() string + func (v *ChatMemberOwner) GetUser() *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 (v *ChatMemberRestricted) GetStatus() string + func (v *ChatMemberRestricted) GetUser() *User + type ChatMemberUpdated struct + Chat *Chat + Date int64 + From *User + InviteLink *ChatInviteLink + NewChatMember ChatMember + OldChatMember ChatMember + ViaChatFolderInviteLink bool + ViaJoinRequest bool + func (v *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 int64 + 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 int64 + Text string + TextEntities []MessageEntity + type ChecklistTasksAdded struct + ChecklistMessage *Message + Tasks []ChecklistTask + type ChecklistTasksDone struct + ChecklistMessage *Message + MarkedAsDoneTaskIds []int64 + MarkedAsNotDoneTaskIds []int64 + type ChosenInlineResult struct + From *User + InlineMessageID string + Location *Location + Query string + ResultID string + type CloseForumTopicRequest struct + ChatID ChatID + MessageThreadID int64 + type CloseGeneralForumTopicRequest struct + ChatID ChatID + type CommandObject struct + Args string + Command string + Mention string + func ParseCommand(text string) (*CommandObject, bool) + type Contact struct + FirstName string + LastName string + PhoneNumber string + UserID int64 + Vcard string + type ConvertGiftToStarsRequest struct + BusinessConnectionID string + OwnedGiftID string + type CopyMessageRequest struct + AllowPaidBroadcast bool + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageEffectID string + MessageID int64 + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + VideoStartTimestamp int64 + type CopyMessagesRequest struct + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageIds []int64 + MessageThreadID int64 + ProtectContent bool + RemoveCaption bool + type CopyTextButton struct + Text string + type CreateChatInviteLinkRequest struct + ChatID ChatID + CreatesJoinRequest bool + ExpireDate int64 + MemberLimit int64 + Name string + type CreateChatSubscriptionInviteLinkRequest struct + ChatID ChatID + Name string + SubscriptionPeriod int64 + SubscriptionPrice int64 + type CreateForumTopicRequest struct + ChatID ChatID + IconColor int64 + IconCustomEmojiID string + Name string + type CreateInvoiceLinkRequest struct + BusinessConnectionID string + Currency string + Description string + IsFlexible bool + MaxTipAmount int64 + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + Payload string + PhotoHeight int64 + PhotoSize int64 + PhotoURL string + PhotoWidth int64 + Prices []LabeledPrice + ProviderData string + ProviderToken string + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SubscriptionPeriod int64 + SuggestedTipAmounts []int64 + Title string + type CreateNewStickerSetRequest struct + Name string + NeedsRepainting bool + StickerType string + Stickers []InputSticker + Title string + UserID int64 + type Ctx struct + func (c *Ctx) Answer(text string, options ...*SendMessageOptions) (*Message, error) + func (c *Ctx) AnswerCallback(text string, options ...*AnswerCallbackOptions) error + func (c *Ctx) AnswerInline(results []InlineQueryResult, options ...*AnswerInlineOptions) error + func (c *Ctx) AnswerPreCheckout() error + func (c *Ctx) AnswerPreCheckoutError(reason string) error + func (c *Ctx) AnswerShipping(options []ShippingOption) error + func (c *Ctx) AnswerShippingError(reason string) error + func (c *Ctx) Bot() *TelegramBot + func (c *Ctx) Chat() *Chat + func (c *Ctx) Command() *CommandObject + func (c *Ctx) Delete() error + func (c *Ctx) EditCaption(caption string, options ...*EditCaptionOptions) (*Message, error) + func (c *Ctx) EditReplyMarkup(markup *InlineKeyboardMarkup) (*Message, error) + func (c *Ctx) EditText(text string, options ...*EditMessageOptions) (*Message, error) + func (c *Ctx) FSM() *FSMContext + func (c *Ctx) Flags() map[string]any + func (c *Ctx) From() *User + func (c *Ctx) Get(key string) (any, bool) + func (c *Ctx) Locale() string + func (c *Ctx) Reply(text string, options ...*SendMessageOptions) (*Message, error) + func (c *Ctx) SendChatAction(action string) error + func (c *Ctx) SendStarsInvoice(title, description, payload string, stars int64) (*Message, error) + func (c *Ctx) Sender() *Sender + func (c *Ctx) Set(key string, value any) + func (c *Ctx) SetLocale(locale string) error + func (c *Ctx) T(key string, args ...any) string + func (c *Ctx) TN(key string, n int, args ...any) string + func (c *Ctx) Text() string + type DeclineChatJoinRequestRequest struct + ChatID ChatID + UserID int64 + type DeclineSuggestedPostRequest struct + ChatID int64 + Comment string + MessageID int64 + type DeleteAllMessageReactionsRequest struct + ActorChatID int64 + ChatID ChatID + UserID int64 + type DeleteBusinessMessagesRequest struct + BusinessConnectionID string + MessageIds []int64 + type DeleteChatPhotoRequest struct + ChatID ChatID + type DeleteChatStickerSetRequest struct + ChatID ChatID + type DeleteForumTopicRequest struct + ChatID ChatID + MessageThreadID int64 + type DeleteMessageReactionRequest struct + ActorChatID int64 + ChatID ChatID + MessageID int64 + UserID int64 + type DeleteMessageRequest struct + ChatID ChatID + MessageID int64 + type DeleteMessagesRequest struct + ChatID ChatID + MessageIds []int64 + type DeleteMyCommandsRequest struct + LanguageCode string + Scope BotCommandScope + type DeleteStickerFromSetRequest struct + Sticker string + type DeleteStickerSetRequest struct + Name string + type DeleteStoryRequest struct + BusinessConnectionID string + StoryID int64 + type DeleteWebhookRequest struct + DropPendingUpdates bool + type Dice struct + Emoji string + Value int64 + type DirectMessagePriceChanged struct + AreDirectMessagesEnabled bool + DirectMessageStarCount int64 + type DirectMessagesTopic struct + TopicID int64 + User *User + type Document struct + FileID string + FileName string + FileSize int64 + FileUniqueID string + MimeType string + Thumbnail *PhotoSize + type ECO = EditCaptionOptions + type EMO = EditMessageOptions + type EditCaptionOptions struct + BusinessConnectionID string + CaptionEntities []Entity + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + type EditChatInviteLinkRequest struct + ChatID ChatID + CreatesJoinRequest bool + ExpireDate int64 + InviteLink string + MemberLimit int64 + Name string + type EditChatSubscriptionInviteLinkRequest struct + ChatID ChatID + InviteLink string + Name string + type EditForumTopicRequest struct + ChatID ChatID + IconCustomEmojiID string + MessageThreadID int64 + Name string + type EditGeneralForumTopicRequest struct + ChatID ChatID + Name string + type EditMessageCaptionRequest struct + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + InlineMessageID string + MessageID int64 + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + type EditMessageChecklistRequest struct + BusinessConnectionID string + ChatID ChatID + Checklist *InputChecklist + MessageID int64 + ReplyMarkup *InlineKeyboardMarkup + type EditMessageLiveLocationRequest struct + BusinessConnectionID string + ChatID ChatID + Heading int64 + HorizontalAccuracy float64 + InlineMessageID string + Latitude float64 + LivePeriod int64 + Longitude float64 + MessageID int64 + ProximityAlertRadius int64 + ReplyMarkup *InlineKeyboardMarkup + type EditMessageMediaRequest struct + BusinessConnectionID string + ChatID ChatID + InlineMessageID string + Media InputMedia + MessageID int64 + ReplyMarkup *InlineKeyboardMarkup + type EditMessageOptions struct + BusinessConnectionID string + Entities []Entity + LinkPreviewOptions *LinkPreviewOptions + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + type EditMessageReplyMarkupRequest struct + BusinessConnectionID string + ChatID ChatID + InlineMessageID string + MessageID int64 + ReplyMarkup *InlineKeyboardMarkup + type EditMessageTextRequest struct + BusinessConnectionID string + ChatID ChatID + Entities []MessageEntity + InlineMessageID string + LinkPreviewOptions *LinkPreviewOptions + MessageID int64 + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + RichMessage *InputRichMessage + Text string + type EditStoryRequest struct + Areas []StoryArea + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + Content InputStoryContent + ParseMode string + StoryID int64 + type EditUserStarSubscriptionRequest struct + IsCanceled bool + TelegramPaymentChargeID string + UserID int64 + 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 Entity = MessageEntity + type EntitySegment struct + Entities []Entity + Text string + func EntitySegments(text string, entities []Entity) []EntitySegment + type ErrorHandlerFunc func(error, *Ctx) + type ExportChatInviteLinkRequest struct + ChatID ChatID + 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 int64 + Origin MessageOrigin + PaidMedia *PaidMediaInfo + Photo []PhotoSize + Poll *Poll + Sticker *Sticker + Story *Story + Venue *Venue + Video *Video + VideoNote *VideoNote + Voice *Voice + func (v *ExternalReplyInfo) UnmarshalJSON(data []byte) error + type FSMContext struct + func NewFSMContext(ctx context.Context, storage FSMStorage, key StorageKey) *FSMContext + func (f *FSMContext) Clear() error + func (f *FSMContext) Data() (map[string]any, error) + func (f *FSMContext) Key() StorageKey + func (f *FSMContext) SetData(data map[string]any) error + func (f *FSMContext) SetState(state State) error + func (f *FSMContext) State() (State, error) + func (f *FSMContext) UpdateData(partial map[string]any) (map[string]any, error) + type FSMKeyStrategy int + const FSMKeyChat + const FSMKeyChatUser + const FSMKeyGlobalUser + const FSMKeyUserInTopic + type FSMStorage interface + Clear func(ctx context.Context, key StorageKey) error + GetData func(ctx context.Context, key StorageKey) (map[string]any, error) + GetState func(ctx context.Context, key StorageKey) (State, error) + SetData func(ctx context.Context, key StorageKey, data map[string]any) error + SetState func(ctx context.Context, key StorageKey, state State) error + UpdateData func(ctx context.Context, key StorageKey, partial map[string]any) (map[string]any, error) + type File struct + FileID string + FilePath string + FileSize int64 + FileUniqueID string + type Filter func(c *Ctx) bool + func And(filters ...Filter) Filter + func FilterAnimation() Filter + func FilterAudio() Filter + func FilterBotBlocked() Filter + func FilterBotUnblocked() Filter + func FilterCallbackData(data string) Filter + func FilterCallbackPrefix(prefix string) Filter + func FilterChatType(types ...string) Filter + func FilterCommand(command string) Filter + func FilterCommandStart() Filter + func FilterCommandStartDeepLink() Filter + func FilterContact() Filter + func FilterDice() Filter + func FilterDiceValue(values ...int64) Filter + func FilterDocument() Filter + func FilterFromSender(ids ...int64) Filter + func FilterFromUser(ids ...int64) Filter + func FilterFromUsername(usernames ...string) Filter + func FilterHasEntity(types ...string) Filter + func FilterIsForwarded() Filter + func FilterIsReply() Filter + func FilterIsTopicMessage() Filter + func FilterJoined() Filter + func FilterLeft() Filter + func FilterLeftChatMember() Filter + func FilterLocation() Filter + func FilterMediaGroup() Filter + func FilterNewChatMembers() Filter + func FilterPhoto() Filter + func FilterPoll() Filter + func FilterPromotedToAdmin() Filter + func FilterRegexp(re *regexp.Regexp) Filter + func FilterSticker() Filter + func FilterSuccessfulPayment() Filter + func FilterText(text string) Filter + func FilterTextContains(substr string) Filter + func FilterTextEqualFold(text string) Filter + func FilterTextPrefix(prefix string) Filter + func FilterTextSuffix(suffix string) Filter + func FilterVenue() Filter + func FilterViaBot() Filter + func FilterVideo() Filter + func FilterVideoNote() Filter + func FilterVoice() Filter + func FilterWebAppData() Filter + func Not(f Filter) Filter + func Or(filters ...Filter) Filter + func StateIn(group StateGroup) Filter + func StateIs(states ...State) Filter + type ForceReply struct + ForceReply bool + InputFieldPlaceholder string + Selective bool + func NewForceReply(placeholder string, selective bool) *ForceReply + type ForumTopic struct + IconColor int64 + IconCustomEmojiID string + IsNameImplicit bool + MessageThreadID int64 + Name string + type ForumTopicClosed struct + type ForumTopicCreated struct + IconColor int64 + IconCustomEmojiID string + IsNameImplicit bool + Name string + type ForumTopicEdited struct + IconCustomEmojiID string + Name string + type ForumTopicReopened struct + type ForwardMessageRequest struct + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageEffectID string + MessageID int64 + MessageThreadID int64 + ProtectContent bool + SuggestedPostParameters *SuggestedPostParameters + VideoStartTimestamp int64 + type ForwardMessagesRequest struct + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FromChatID ChatID + MessageIds []int64 + MessageThreadID int64 + ProtectContent bool + type Game struct + Animation *Animation + Description string + Photo []PhotoSize + Text string + TextEntities []MessageEntity + Title string + type GameHighScore struct + Position int64 + Score int64 + User *User + type GeneralForumTopicHidden struct + type GeneralForumTopicUnhidden struct + type GetBusinessAccountGiftsRequest struct + BusinessConnectionID string + ExcludeFromBlockchain bool + ExcludeLimitedNonUpgradable bool + ExcludeLimitedUpgradable bool + ExcludeSaved bool + ExcludeUnique bool + ExcludeUnlimited bool + ExcludeUnsaved bool + Limit int64 + Offset string + SortByPrice bool + type GetBusinessAccountStarBalanceRequest struct + BusinessConnectionID string + type GetBusinessConnectionRequest struct + BusinessConnectionID string + type GetChatAdministratorsRequest struct + ChatID ChatID + ReturnBots bool + type GetChatGiftsRequest struct + ChatID ChatID + ExcludeFromBlockchain bool + ExcludeLimitedNonUpgradable bool + ExcludeLimitedUpgradable bool + ExcludeSaved bool + ExcludeUnique bool + ExcludeUnlimited bool + ExcludeUnsaved bool + Limit int64 + Offset string + SortByPrice bool + type GetChatMemberCountRequest struct + ChatID ChatID + type GetChatMemberRequest struct + ChatID ChatID + UserID int64 + type GetChatMenuButtonRequest struct + ChatID int64 + type GetChatRequest struct + ChatID ChatID + type GetCustomEmojiStickersRequest struct + CustomEmojiIds []string + type GetFileRequest struct + FileID string + type GetGameHighScoresRequest struct + ChatID int64 + InlineMessageID string + MessageID int64 + UserID int64 + type GetManagedBotAccessSettingsRequest struct + UserID int64 + type GetManagedBotTokenRequest struct + UserID int64 + type GetMyCommandsRequest struct + LanguageCode string + Scope BotCommandScope + type GetMyDefaultAdministratorRightsRequest struct + ForChannels bool + type GetMyDescriptionRequest struct + LanguageCode string + type GetMyNameRequest struct + LanguageCode string + type GetMyShortDescriptionRequest struct + LanguageCode string + type GetStarTransactionsRequest struct + Limit int64 + Offset int64 + type GetStickerSetRequest struct + Name string + type GetUpdatesRequest struct + AllowedUpdates []string + Limit int64 + Offset int64 + Timeout int64 + type GetUserChatBoostsRequest struct + ChatID ChatID + UserID int64 + type GetUserGiftsRequest struct + ExcludeFromBlockchain bool + ExcludeLimitedNonUpgradable bool + ExcludeLimitedUpgradable bool + ExcludeUnique bool + ExcludeUnlimited bool + Limit int64 + Offset string + SortByPrice bool + UserID int64 + type GetUserPersonalChatMessagesRequest struct + Limit int64 + UserID int64 + type GetUserProfileAudiosRequest struct + Limit int64 + Offset int64 + UserID int64 + type GetUserProfilePhotosRequest struct + Limit int64 + Offset int64 + UserID int64 + type Gift struct + Background *GiftBackground + HasColors bool + ID string + IsPremium bool + PersonalRemainingCount int64 + PersonalTotalCount int64 + PublisherChat *Chat + RemainingCount int64 + StarCount int64 + Sticker *Sticker + TotalCount int64 + UniqueGiftVariantCount int64 + UpgradeStarCount int64 + type GiftBackground struct + CenterColor int64 + EdgeColor int64 + TextColor int64 + type GiftInfo struct + CanBeUpgraded bool + ConvertStarCount int64 + Entities []MessageEntity + Gift *Gift + IsPrivate bool + IsUpgradeSeparate bool + OwnedGiftID string + PrepaidUpgradeStarCount int64 + Text string + UniqueGiftNumber int64 + type GiftPremiumSubscriptionRequest struct + MonthCount int64 + StarCount int64 + Text string + TextEntities []MessageEntity + TextParseMode string + UserID int64 + type Gifts struct + Gifts []Gift + type Giveaway struct + Chats []Chat + CountryCodes []string + HasPublicWinners bool + OnlyNewMembers bool + PremiumSubscriptionMonthCount int64 + PrizeDescription string + PrizeStarCount int64 + WinnerCount int64 + WinnersSelectionDate int64 + type GiveawayCompleted struct + GiveawayMessage *Message + IsStarGiveaway bool + UnclaimedPrizeCount int64 + WinnerCount int64 + type GiveawayCreated struct + PrizeStarCount int64 + type GiveawayWinners struct + AdditionalChatCount int64 + Chat *Chat + GiveawayMessageID int64 + OnlyNewMembers bool + PremiumSubscriptionMonthCount int64 + PrizeDescription string + PrizeStarCount int64 + UnclaimedPrizeCount int64 + WasRefunded bool + WinnerCount int64 + Winners []User + WinnersSelectionDate int64 + type HandlerFunc func(c *Ctx) error + type HealthGate func(*http.Request) bool + type HealthMonitor struct + func NewHealthMonitor() *HealthMonitor + func (hm *HealthMonitor) GetStatus() HealthStatus + func (hm *HealthMonitor) HealthCheckHandler() http.HandlerFunc + func (hm *HealthMonitor) IncrementDispatched(kind string) + func (hm *HealthMonitor) IncrementMatched(kind string) + func (hm *HealthMonitor) IncrementUnmatched(kind string) + func (hm *HealthMonitor) RecordError(err error) + func (hm *HealthMonitor) StartHealthServer(ctx context.Context, addr string, gate ...HealthGate) error + type HealthStatus struct + DispatchedByKind map[string]int64 + ErrorsCount int64 + HandlersMatched int64 + LastError string + LastErrorTime string + MatchedByKind map[string]int64 + StartTime time.Time + Status string + UnmatchedByKind map[string]int64 + UpdatesDispatched int64 + UpdatesUnmatched int64 + Uptime string + UptimeSeconds int64 + type HideGeneralForumTopicRequest struct + ChatID ChatID + type I18n struct + func NewI18n(defaultLocale string) *I18n + func (t *I18n) Add(locale string, messages map[string]string) *I18n + func (t *I18n) AddJSON(locale string, data []byte) error + func (t *I18n) DefaultLocale() string + func (t *I18n) SetPluralRule(locale string, rule PluralRule) *I18n + func (t *I18n) Translate(locale, key string, args ...any) string + func (t *I18n) TranslateN(locale, key string, n int, args ...any) string + type InaccessibleMessage struct + Chat *Chat + Date int64 + MessageID int64 + type InlineKeyboard struct + func NewInlineKeyboard() *InlineKeyboard + func (kb *InlineKeyboard) Add(buttons ...InlineKeyboardButton) *InlineKeyboard + func (kb *InlineKeyboard) Adjust(sizes ...int) *InlineKeyboard + func (kb *InlineKeyboard) Build() *InlineKeyboardMarkup + func (kb *InlineKeyboard) Insert(button InlineKeyboardButton) *InlineKeyboard + func (kb *InlineKeyboard) Row(buttons ...InlineKeyboardButton) *InlineKeyboard + 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 NewInlineButton(text, callbackData string) InlineKeyboardButton + func NewInlineButtonSwitchInline(text, query string) InlineKeyboardButton + func NewInlineButtonSwitchInlineCurrent(text, query string) InlineKeyboardButton + func NewInlineButtonURL(text, url string) InlineKeyboardButton + func NewInlineButtonWebApp(text, webAppURL string) InlineKeyboardButton + type InlineKeyboardMarkup struct + InlineKeyboard [][]InlineKeyboardButton + func NewInlineKeyboardMarkup(keyboard [][]InlineKeyboardButton) *InlineKeyboardMarkup + func QuickInlineKeyboard(buttons [][]string) *InlineKeyboardMarkup + func QuickInlineRow(buttons ...struct{ text, data string }) *InlineKeyboardMarkup + type InlineQuery struct + ChatType string + From *User + ID string + Location *Location + Offset string + Query string + type InlineQueryResult interface + GetID func() string + GetReplyMarkup func() *InlineKeyboardMarkup + GetType func() string + type InlineQueryResultArticle struct + Description string + ID string + InputMessageContent InputMessageContent + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailURL string + ThumbnailWidth int64 + Title string + Type string + URL string + func (v *InlineQueryResultArticle) GetID() string + func (v *InlineQueryResultArticle) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultArticle) GetType() string + type InlineQueryResultAudio struct + AudioDuration int64 + AudioURL string + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + Performer string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + func (v *InlineQueryResultAudio) GetID() string + func (v *InlineQueryResultAudio) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultAudio) GetType() string + type InlineQueryResultCachedAudio struct + AudioFileID string + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Type string + func (v *InlineQueryResultCachedAudio) GetID() string + func (v *InlineQueryResultCachedAudio) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedAudio) GetType() string + type InlineQueryResultCachedDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentFileID string + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + func (v *InlineQueryResultCachedDocument) GetID() string + func (v *InlineQueryResultCachedDocument) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedDocument) GetType() string + type InlineQueryResultCachedGif struct + Caption string + CaptionEntities []MessageEntity + GifFileID string + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + Title string + Type string + func (v *InlineQueryResultCachedGif) GetID() string + func (v *InlineQueryResultCachedGif) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedGif) GetType() string + type InlineQueryResultCachedMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + Mpeg4FileID string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + Title string + Type string + func (v *InlineQueryResultCachedMpeg4Gif) GetID() string + func (v *InlineQueryResultCachedMpeg4Gif) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedMpeg4Gif) GetType() string + 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 (v *InlineQueryResultCachedPhoto) GetID() string + func (v *InlineQueryResultCachedPhoto) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedPhoto) GetType() string + type InlineQueryResultCachedSticker struct + ID string + InputMessageContent InputMessageContent + ReplyMarkup *InlineKeyboardMarkup + StickerFileID string + Type string + func (v *InlineQueryResultCachedSticker) GetID() string + func (v *InlineQueryResultCachedSticker) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedSticker) GetType() string + 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 (v *InlineQueryResultCachedVideo) GetID() string + func (v *InlineQueryResultCachedVideo) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedVideo) GetType() string + type InlineQueryResultCachedVoice struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + VoiceFileID string + func (v *InlineQueryResultCachedVoice) GetID() string + func (v *InlineQueryResultCachedVoice) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultCachedVoice) GetType() string + type InlineQueryResultContact struct + FirstName string + ID string + InputMessageContent InputMessageContent + LastName string + PhoneNumber string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailURL string + ThumbnailWidth int64 + Type string + Vcard string + func (v *InlineQueryResultContact) GetID() string + func (v *InlineQueryResultContact) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultContact) GetType() string + type InlineQueryResultDocument struct + Caption string + CaptionEntities []MessageEntity + Description string + DocumentURL string + ID string + InputMessageContent InputMessageContent + MimeType string + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailURL string + ThumbnailWidth int64 + Title string + Type string + func (v *InlineQueryResultDocument) GetID() string + func (v *InlineQueryResultDocument) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultDocument) GetType() string + type InlineQueryResultGame struct + GameShortName string + ID string + ReplyMarkup *InlineKeyboardMarkup + Type string + func (v *InlineQueryResultGame) GetID() string + func (v *InlineQueryResultGame) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultGame) GetType() string + type InlineQueryResultGif struct + Caption string + CaptionEntities []MessageEntity + GifDuration int64 + GifHeight int64 + GifURL string + GifWidth int64 + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailMimeType string + ThumbnailURL string + Title string + Type string + func (v *InlineQueryResultGif) GetID() string + func (v *InlineQueryResultGif) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultGif) GetType() string + type InlineQueryResultLocation struct + Heading int64 + HorizontalAccuracy float64 + ID string + InputMessageContent InputMessageContent + Latitude float64 + LivePeriod int64 + Longitude float64 + ProximityAlertRadius int64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailURL string + ThumbnailWidth int64 + Title string + Type string + func (v *InlineQueryResultLocation) GetID() string + func (v *InlineQueryResultLocation) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultLocation) GetType() string + type InlineQueryResultMpeg4Gif struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + Mpeg4Duration int64 + Mpeg4Height int64 + Mpeg4URL string + Mpeg4Width int64 + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailMimeType string + ThumbnailURL string + Title string + Type string + func (v *InlineQueryResultMpeg4Gif) GetID() string + func (v *InlineQueryResultMpeg4Gif) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultMpeg4Gif) GetType() string + type InlineQueryResultPhoto struct + Caption string + CaptionEntities []MessageEntity + Description string + ID string + InputMessageContent InputMessageContent + ParseMode string + PhotoHeight int64 + PhotoURL string + PhotoWidth int64 + ReplyMarkup *InlineKeyboardMarkup + ShowCaptionAboveMedia bool + ThumbnailURL string + Title string + Type string + func (v *InlineQueryResultPhoto) GetID() string + func (v *InlineQueryResultPhoto) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultPhoto) GetType() string + type InlineQueryResultVenue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + ID string + InputMessageContent InputMessageContent + Latitude float64 + Longitude float64 + ReplyMarkup *InlineKeyboardMarkup + ThumbnailHeight int64 + ThumbnailURL string + ThumbnailWidth int64 + Title string + Type string + func (v *InlineQueryResultVenue) GetID() string + func (v *InlineQueryResultVenue) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultVenue) GetType() string + 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 int64 + VideoHeight int64 + VideoURL string + VideoWidth int64 + func (v *InlineQueryResultVideo) GetID() string + func (v *InlineQueryResultVideo) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultVideo) GetType() string + type InlineQueryResultVoice struct + Caption string + CaptionEntities []MessageEntity + ID string + InputMessageContent InputMessageContent + ParseMode string + ReplyMarkup *InlineKeyboardMarkup + Title string + Type string + VoiceDuration int64 + VoiceURL string + func (v *InlineQueryResultVoice) GetID() string + func (v *InlineQueryResultVoice) GetReplyMarkup() *InlineKeyboardMarkup + func (v *InlineQueryResultVoice) GetType() string + type InlineQueryResultsButton struct + StartParameter string + Text string + WebApp *WebAppInfo + type InputChecklist struct + OthersCanAddTasks bool + OthersCanMarkTasksAsDone bool + ParseMode string + Tasks []InputChecklistTask + Title string + TitleEntities []MessageEntity + type InputChecklistTask struct + ID int64 + ParseMode string + Text string + TextEntities []MessageEntity + type InputContactMessageContent struct + FirstName string + LastName string + PhoneNumber string + Vcard string + type InputFile = api.InputFile + func InputFileID(fileID string) InputFile + func InputFileURL(url string) InputFile + func InputFileUpload(filename string, r io.Reader) InputFile + type InputInvoiceMessageContent struct + Currency string + Description string + IsFlexible bool + MaxTipAmount int64 + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + Payload string + PhotoHeight int64 + PhotoSize int64 + PhotoURL string + PhotoWidth int64 + Prices []LabeledPrice + ProviderData string + ProviderToken string + SendEmailToProvider bool + SendPhoneNumberToProvider bool + SuggestedTipAmounts []int64 + Title string + type InputLocationMessageContent struct + Heading int64 + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int64 + Longitude float64 + ProximityAlertRadius int64 + type InputMedia interface + GetCaption func() string + GetCaptionEntities func() []MessageEntity + GetMedia func() InputFile + GetParseMode func() string + GetType func() string + type InputMediaAnimation struct + Caption string + CaptionEntities []MessageEntity + Duration int64 + HasSpoiler bool + Height int64 + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + Thumbnail InputFile + Type string + Width int64 + func (v *InputMediaAnimation) GetCaption() string + func (v *InputMediaAnimation) GetCaptionEntities() []MessageEntity + func (v *InputMediaAnimation) GetMedia() InputFile + func (v *InputMediaAnimation) GetParseMode() string + func (v *InputMediaAnimation) GetType() string + type InputMediaAudio struct + Caption string + CaptionEntities []MessageEntity + Duration int64 + Media InputFile + ParseMode string + Performer string + Thumbnail InputFile + Title string + Type string + func (v *InputMediaAudio) GetCaption() string + func (v *InputMediaAudio) GetCaptionEntities() []MessageEntity + func (v *InputMediaAudio) GetMedia() InputFile + func (v *InputMediaAudio) GetParseMode() string + func (v *InputMediaAudio) GetType() string + type InputMediaDocument struct + Caption string + CaptionEntities []MessageEntity + DisableContentTypeDetection bool + Media InputFile + ParseMode string + Thumbnail InputFile + Type string + func (v *InputMediaDocument) GetCaption() string + func (v *InputMediaDocument) GetCaptionEntities() []MessageEntity + func (v *InputMediaDocument) GetMedia() InputFile + func (v *InputMediaDocument) GetParseMode() string + func (v *InputMediaDocument) GetType() string + type InputMediaLink struct + Type string + URL string + func (v *InputMediaLink) GetType() string + type InputMediaLivePhoto struct + Caption string + CaptionEntities []MessageEntity + HasSpoiler bool + Media InputFile + ParseMode string + Photo InputFile + ShowCaptionAboveMedia bool + Type string + func (v *InputMediaLivePhoto) GetCaption() string + func (v *InputMediaLivePhoto) GetCaptionEntities() []MessageEntity + func (v *InputMediaLivePhoto) GetMedia() InputFile + func (v *InputMediaLivePhoto) GetParseMode() string + func (v *InputMediaLivePhoto) GetType() string + type InputMediaLocation struct + HorizontalAccuracy float64 + Latitude float64 + Longitude float64 + Type string + func (v *InputMediaLocation) GetType() string + type InputMediaPhoto struct + Caption string + CaptionEntities []MessageEntity + HasSpoiler bool + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + Type string + func (v *InputMediaPhoto) GetCaption() string + func (v *InputMediaPhoto) GetCaptionEntities() []MessageEntity + func (v *InputMediaPhoto) GetMedia() InputFile + func (v *InputMediaPhoto) GetParseMode() string + func (v *InputMediaPhoto) GetType() string + type InputMediaSticker struct + Emoji string + Media string + Type string + func (v *InputMediaSticker) GetType() string + type InputMediaVenue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + Title string + Type string + func (v *InputMediaVenue) GetType() string + type InputMediaVideo struct + Caption string + CaptionEntities []MessageEntity + Cover string + Duration int64 + HasSpoiler bool + Height int64 + Media InputFile + ParseMode string + ShowCaptionAboveMedia bool + StartTimestamp int64 + SupportsStreaming bool + Thumbnail InputFile + Type string + Width int64 + func (v *InputMediaVideo) GetCaption() string + func (v *InputMediaVideo) GetCaptionEntities() []MessageEntity + func (v *InputMediaVideo) GetMedia() InputFile + func (v *InputMediaVideo) GetParseMode() string + func (v *InputMediaVideo) GetType() string + type InputMessageContent interface + type InputPaidMedia interface + GetMedia func() string + GetType func() string + type InputPaidMediaLivePhoto struct + Media string + Photo string + Type string + func (v *InputPaidMediaLivePhoto) GetMedia() string + func (v *InputPaidMediaLivePhoto) GetType() string + type InputPaidMediaPhoto struct + Media string + Type string + func (v *InputPaidMediaPhoto) GetMedia() string + func (v *InputPaidMediaPhoto) GetType() string + type InputPaidMediaVideo struct + Cover string + Duration int64 + Height int64 + Media string + StartTimestamp int64 + SupportsStreaming bool + Thumbnail string + Type string + Width int64 + func (v *InputPaidMediaVideo) GetMedia() string + func (v *InputPaidMediaVideo) GetType() string + type InputPollMedia interface + GetType func() string + type InputPollOption struct + Media InputPollOptionMedia + Text string + TextEntities []MessageEntity + TextParseMode string + func (v *InputPollOption) UnmarshalJSON(data []byte) error + type InputPollOptionMedia interface + GetType func() string + type InputProfilePhoto interface + GetType func() string + type InputProfilePhotoAnimated struct + Animation string + MainFrameTimestamp float64 + Type string + func (v *InputProfilePhotoAnimated) GetType() string + type InputProfilePhotoStatic struct + Photo string + Type string + func (v *InputProfilePhotoStatic) GetType() string + type InputRichMessage struct + Html string + IsRtl bool + Markdown string + SkipEntityDetection bool + func RenderRichMessage(blocks ...RichBlock) (*InputRichMessage, error) + type InputRichMessageContent struct + RichMessage *InputRichMessage + type InputSticker struct + EmojiList []string + Format string + Keywords []string + MaskPosition *MaskPosition + Sticker InputFile + type InputStoryContent interface + GetType func() string + type InputStoryContentPhoto struct + Photo string + Type string + func (v *InputStoryContentPhoto) GetType() string + type InputStoryContentVideo struct + CoverFrameTimestamp float64 + Duration float64 + IsAnimation bool + Type string + Video string + func (v *InputStoryContentVideo) GetType() string + type InputTextMessageContent struct + Entities []MessageEntity + LinkPreviewOptions *LinkPreviewOptions + MessageText string + ParseMode string + type InputVenueMessageContent struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + Title string + type Invoice struct + Currency string + Description string + StartParameter string + Title string + TotalAmount int64 + type KeyboardButton struct + IconCustomEmojiID string + RequestChat *KeyboardButtonRequestChat + RequestContact bool + RequestLocation bool + RequestManagedBot *KeyboardButtonRequestManagedBot + RequestPoll *KeyboardButtonPollType + RequestUsers *KeyboardButtonRequestUsers + Style string + Text string + WebApp *WebAppInfo + func NewKeyboardButton(text string) KeyboardButton + func NewKeyboardButtonContact(text string) KeyboardButton + func NewKeyboardButtonLocation(text string) KeyboardButton + func NewKeyboardButtonPoll(text string, pollType string) KeyboardButton + func NewKeyboardButtonWebApp(text, webAppURL string) KeyboardButton + type KeyboardButtonPollType struct + Type string + type KeyboardButtonRequestChat struct + BotAdministratorRights *ChatAdministratorRights + BotIsMember bool + ChatHasUsername bool + ChatIsChannel bool + ChatIsCreated bool + ChatIsForum bool + RequestID int64 + RequestPhoto bool + RequestTitle bool + RequestUsername bool + UserAdministratorRights *ChatAdministratorRights + type KeyboardButtonRequestManagedBot struct + RequestID int64 + SuggestedName string + SuggestedUsername string + type KeyboardButtonRequestUsers struct + MaxQuantity int64 + RequestID int64 + RequestName bool + RequestPhoto bool + RequestUsername bool + UserIsBot bool + UserIsPremium bool + type LabeledPrice struct + Amount int64 + Label string + type LeaveChatRequest struct + ChatID ChatID + type LifecycleFunc func(ctx context.Context) error + type Link struct + URL string + type LinkPreviewOptions struct + IsDisabled bool + PreferLargeMedia bool + PreferSmallMedia bool + ShowAboveText bool + URL string + type LivePhoto struct + Duration int64 + FileID string + FileSize int64 + FileUniqueID string + Height int64 + MimeType string + Photo []PhotoSize + Width int64 + type Location struct + Heading int64 + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int64 + Longitude float64 + ProximityAlertRadius int64 + type LocationAddress struct + City string + CountryCode string + State string + Street string + type LoginURL struct + BotUsername string + ForwardText string + RequestWriteAccess bool + URL string + type LoginWidgetData struct + AuthDate time.Time + FirstName string + Hash string + ID int64 + LastName string + PhotoURL string + Username string + func ValidateLoginWidgetData(values url.Values, botToken string, maxAge time.Duration) (*LoginWidgetData, error) + 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 = Message + type MediaGroup struct + func NewMediaGroup() *MediaGroup + func (g *MediaGroup) Add(item InputMedia) *MediaGroup + func (g *MediaGroup) Audio(media InputFile, caption ...string) *MediaGroup + func (g *MediaGroup) Build() ([]InputMedia, error) + func (g *MediaGroup) Document(media InputFile, caption ...string) *MediaGroup + func (g *MediaGroup) LivePhoto(video, photo InputFile, caption ...string) *MediaGroup + func (g *MediaGroup) Photo(media InputFile, caption ...string) *MediaGroup + func (g *MediaGroup) Send(c *Ctx) ([]Message, error) + func (g *MediaGroup) Video(media InputFile, caption ...string) *MediaGroup + type MemoryStorage struct + func NewMemoryStorage() *MemoryStorage + func NewMemoryStorageWithTTL(ttl time.Duration) *MemoryStorage + func (s *MemoryStorage) Clear(_ context.Context, key StorageKey) error + func (s *MemoryStorage) Close() + func (s *MemoryStorage) GetData(_ context.Context, key StorageKey) (map[string]any, error) + func (s *MemoryStorage) GetState(_ context.Context, key StorageKey) (State, error) + func (s *MemoryStorage) SetData(_ context.Context, key StorageKey, data map[string]any) error + func (s *MemoryStorage) SetState(_ context.Context, key StorageKey, state State) error + func (s *MemoryStorage) UpdateData(_ context.Context, key StorageKey, partial map[string]any) (map[string]any, error) + type MenuButton interface + GetType func() string + type MenuButtonCommands struct + Type string + func (v *MenuButtonCommands) GetType() string + type MenuButtonDefault struct + Type string + func (v *MenuButtonDefault) GetType() string + type MenuButtonWebApp struct + Text string + Type string + WebApp *WebAppInfo + func (v *MenuButtonWebApp) GetType() string + 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 + ConnectedWebsite string + Contact *Contact + Date int64 + DeleteChatPhoto bool + Dice *Dice + DirectMessagePriceChanged *DirectMessagePriceChanged + DirectMessagesTopic *DirectMessagesTopic + Document *Document + EditDate int64 + EffectID string + Entities []MessageEntity + ExternalReply *ExternalReplyInfo + ForumTopicClosed *ForumTopicClosed + ForumTopicCreated *ForumTopicCreated + ForumTopicEdited *ForumTopicEdited + ForumTopicReopened *ForumTopicReopened + ForwardOrigin MessageOrigin + From *User + Game *Game + GeneralForumTopicHidden *GeneralForumTopicHidden + GeneralForumTopicUnhidden *GeneralForumTopicUnhidden + 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 int64 + MessageThreadID int64 + MigrateFromChatID int64 + MigrateToChatID int64 + NewChatMembers []User + NewChatPhoto []PhotoSize + NewChatTitle string + PaidMedia *PaidMediaInfo + PaidMessagePriceChanged *PaidMessagePriceChanged + PaidStarCount int64 + PassportData *PassportData + Photo []PhotoSize + PinnedMessage *Message + Poll *Poll + PollOptionAdded *PollOptionAdded + PollOptionDeleted *PollOptionDeleted + ProximityAlertTriggered *ProximityAlertTriggered + Quote *TextQuote + RefundedPayment *RefundedPayment + ReplyMarkup *InlineKeyboardMarkup + ReplyToChecklistTaskID int64 + ReplyToMessage *Message + ReplyToPollOptionID string + ReplyToStory *Story + RichMessage *RichMessage + SenderBoostCount int64 + 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 (e *Message) Answer(text string, options ...*SendMessageOptions) (*Message, error) + func (e *Message) ChatID() int64 + func (e *Message) Command() *CommandObject + func (e *Message) Delete() error + func (e *Message) EditCaption(caption string, options ...*EditCaptionOptions) (*Message, error) + func (e *Message) EditReplyMarkup(markup *InlineKeyboardMarkup) (*Message, error) + func (e *Message) EditText(text string, options ...*EditMessageOptions) (*Message, error) + func (e *Message) FSM() *FSMContext + func (e *Message) FromID() int64 + func (e *Message) IsInaccessible() bool + func (e *Message) Reply(text string, options ...*SendMessageOptions) (*Message, error) + func (e *Message) SendChatAction(action string) error + func (m *Message) EntityText(e Entity) string + func (v *Message) UnmarshalJSON(data []byte) error + type MessageAutoDeleteTimerChanged struct + MessageAutoDeleteTime int64 + type MessageEntity struct + CustomEmojiID string + DateTimeFormat string + Language string + Length int64 + Offset int64 + Type string + URL string + UnixTime int64 + User *User + type MessageID struct + MessageID int64 + type MessageOrigin interface + GetDate func() int64 + GetType func() string + type MessageOriginChannel struct + AuthorSignature string + Chat *Chat + Date int64 + MessageID int64 + Type string + func (v *MessageOriginChannel) GetDate() int64 + func (v *MessageOriginChannel) GetType() string + type MessageOriginChat struct + AuthorSignature string + Date int64 + SenderChat *Chat + Type string + func (v *MessageOriginChat) GetDate() int64 + func (v *MessageOriginChat) GetType() string + type MessageOriginHiddenUser struct + Date int64 + SenderUserName string + Type string + func (v *MessageOriginHiddenUser) GetDate() int64 + func (v *MessageOriginHiddenUser) GetType() string + type MessageOriginUser struct + Date int64 + SenderUser *User + Type string + func (v *MessageOriginUser) GetDate() int64 + func (v *MessageOriginUser) GetType() string + type MessageReactionCountUpdated struct + Chat *Chat + Date int64 + MessageID int64 + Reactions []ReactionCount + type MessageReactionUpdated struct + ActorChat *Chat + Chat *Chat + Date int64 + MessageID int64 + NewReaction []ReactionType + OldReaction []ReactionType + User *User + func (v *MessageReactionUpdated) UnmarshalJSON(data []byte) error + type MiddlewareFunc func(HandlerFunc) HandlerFunc + func CallbackAnswerMiddleware() MiddlewareFunc + func ChatActionMiddleware() MiddlewareFunc + func I18nMiddleware(t Translator) MiddlewareFunc + func LoggingMiddleware(logger *slog.Logger) MiddlewareFunc + func RateLimitMiddleware(rl *RateLimiter, onLimited func(c *Ctx) error) MiddlewareFunc + func RateLimitMiddlewareBySender(rl *RateLimiter, onLimited func(c *Ctx) error) MiddlewareFunc + type Node struct + func Blockquote(parts ...any) Node + func Bold(parts ...any) Node + func Code(text string) Node + func CustomEmoji(text, customEmojiID string) Node + func ExpandableBlockquote(parts ...any) Node + func Italic(parts ...any) Node + func Mention(text string, user *User) Node + func Pre(text, language string) Node + func Spoiler(parts ...any) Node + func Strikethrough(parts ...any) Node + func Text(parts ...any) Node + func TextLink(text, url string) Node + func Underline(parts ...any) Node + func (n Node) Render() (string, []Entity) + type Option func(*TelegramBot) + func WithAllowedUpdates(kinds ...string) Option + func WithAutoRetry(maxWait time.Duration) Option + func WithBaseURL(url string) Option + func WithDropPendingUpdates() Option + func WithFSMKeyStrategy(s FSMKeyStrategy) Option + func WithFSMStorage(storage FSMStorage) Option + func WithHTTPClient(hc *http.Client) Option + func WithLogger(logger *slog.Logger) Option + func WithPollTimeout(seconds int) Option + func WithSenderIdentity() Option + func WithUpdateBuffer(n int) Option + func WithWorkers(n int) Option + func WithoutGetMe() Option + type OrderInfo struct + Email string + Name string + PhoneNumber string + ShippingAddress *ShippingAddress + type OuterMiddlewareFunc func(next func(*Ctx) (bool, error)) func(*Ctx) (bool, error) + func I18nOuter(t Translator) OuterMiddlewareFunc + type OwnedGift interface + GetIsSaved func() bool + GetOwnedGiftID func() string + GetSendDate func() int64 + GetSenderUser func() *User + GetType func() string + type OwnedGiftRegular struct + CanBeUpgraded bool + ConvertStarCount int64 + Entities []MessageEntity + Gift *Gift + IsPrivate bool + IsSaved bool + IsUpgradeSeparate bool + OwnedGiftID string + PrepaidUpgradeStarCount int64 + SendDate int64 + SenderUser *User + Text string + Type string + UniqueGiftNumber int64 + WasRefunded bool + func (v *OwnedGiftRegular) GetIsSaved() bool + func (v *OwnedGiftRegular) GetOwnedGiftID() string + func (v *OwnedGiftRegular) GetSendDate() int64 + func (v *OwnedGiftRegular) GetSenderUser() *User + func (v *OwnedGiftRegular) GetType() string + type OwnedGiftUnique struct + CanBeTransferred bool + Gift *UniqueGift + IsSaved bool + NextTransferDate int64 + OwnedGiftID string + SendDate int64 + SenderUser *User + TransferStarCount int64 + Type string + func (v *OwnedGiftUnique) GetIsSaved() bool + func (v *OwnedGiftUnique) GetOwnedGiftID() string + func (v *OwnedGiftUnique) GetSendDate() int64 + func (v *OwnedGiftUnique) GetSenderUser() *User + func (v *OwnedGiftUnique) GetType() string + type OwnedGifts struct + Gifts []OwnedGift + NextOffset string + TotalCount int64 + func (v *OwnedGifts) UnmarshalJSON(data []byte) error + type Pagination struct + func NewPagination(prefix string) *Pagination + func (p *Pagination) Filter() Filter + func (p *Pagination) Page(c *Ctx) (int, bool) + func (p *Pagination) Row(page, total int) []InlineKeyboardButton + type PaidMedia interface + GetType func() string + type PaidMediaInfo struct + PaidMedia []PaidMedia + StarCount int64 + func (v *PaidMediaInfo) UnmarshalJSON(data []byte) error + type PaidMediaLivePhoto struct + LivePhoto *LivePhoto + Type string + func (v *PaidMediaLivePhoto) GetType() string + type PaidMediaPhoto struct + Photo []PhotoSize + Type string + func (v *PaidMediaPhoto) GetType() string + type PaidMediaPreview struct + Duration int64 + Height int64 + Type string + Width int64 + func (v *PaidMediaPreview) GetType() string + type PaidMediaPurchased struct + From *User + PaidMediaPayload string + type PaidMediaVideo struct + Type string + Video *Video + func (v *PaidMediaVideo) GetType() string + type PaidMessagePriceChanged struct + PaidMessageStarCount int64 + type PassportData struct + Credentials *EncryptedCredentials + Data []EncryptedPassportElement + type PassportElementError interface + GetMessage func() string + GetSource func() string + GetType func() string + type PassportElementErrorDataField struct + DataHash string + FieldName string + Message string + Source string + Type string + func (v *PassportElementErrorDataField) GetMessage() string + func (v *PassportElementErrorDataField) GetSource() string + func (v *PassportElementErrorDataField) GetType() string + type PassportElementErrorFile struct + FileHash string + Message string + Source string + Type string + func (v *PassportElementErrorFile) GetMessage() string + func (v *PassportElementErrorFile) GetSource() string + func (v *PassportElementErrorFile) GetType() string + type PassportElementErrorFiles struct + FileHashes []string + Message string + Source string + Type string + func (v *PassportElementErrorFiles) GetMessage() string + func (v *PassportElementErrorFiles) GetSource() string + func (v *PassportElementErrorFiles) GetType() string + type PassportElementErrorFrontSide struct + FileHash string + Message string + Source string + Type string + func (v *PassportElementErrorFrontSide) GetMessage() string + func (v *PassportElementErrorFrontSide) GetSource() string + func (v *PassportElementErrorFrontSide) GetType() string + type PassportElementErrorReverseSide struct + FileHash string + Message string + Source string + Type string + func (v *PassportElementErrorReverseSide) GetMessage() string + func (v *PassportElementErrorReverseSide) GetSource() string + func (v *PassportElementErrorReverseSide) GetType() string + type PassportElementErrorSelfie struct + FileHash string + Message string + Source string + Type string + func (v *PassportElementErrorSelfie) GetMessage() string + func (v *PassportElementErrorSelfie) GetSource() string + func (v *PassportElementErrorSelfie) GetType() string + type PassportElementErrorTranslationFile struct + FileHash string + Message string + Source string + Type string + func (v *PassportElementErrorTranslationFile) GetMessage() string + func (v *PassportElementErrorTranslationFile) GetSource() string + func (v *PassportElementErrorTranslationFile) GetType() string + type PassportElementErrorTranslationFiles struct + FileHashes []string + Message string + Source string + Type string + func (v *PassportElementErrorTranslationFiles) GetMessage() string + func (v *PassportElementErrorTranslationFiles) GetSource() string + func (v *PassportElementErrorTranslationFiles) GetType() string + type PassportElementErrorUnspecified struct + ElementHash string + Message string + Source string + Type string + func (v *PassportElementErrorUnspecified) GetMessage() string + func (v *PassportElementErrorUnspecified) GetSource() string + func (v *PassportElementErrorUnspecified) GetType() string + type PassportFile struct + FileDate int64 + FileID string + FileSize int64 + FileUniqueID string + type PhotoSize struct + FileID string + FileSize int64 + FileUniqueID string + Height int64 + Width int64 + type PinChatMessageRequest struct + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + MessageID int64 + type PluralCategory string + const PluralFew + const PluralMany + const PluralOne + const PluralOther + type PluralRule func(n int) PluralCategory + type Poll struct + AllowsMultipleAnswers bool + AllowsRevoting bool + CloseDate int64 + CorrectOptionIds []int64 + CountryCodes []string + Description string + DescriptionEntities []MessageEntity + Explanation string + ExplanationEntities []MessageEntity + ExplanationMedia *PollMedia + ID string + IsAnonymous bool + IsClosed bool + Media *PollMedia + MembersOnly bool + OpenPeriod int64 + Options []PollOption + Question string + QuestionEntities []MessageEntity + TotalVoterCount int64 + Type string + type PollAnswer struct + OptionIds []int64 + 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 int64 + type PollOptionAdded struct + OptionPersistentID string + OptionText string + OptionTextEntities []MessageEntity + PollMessage *Message + type PollOptionDeleted struct + OptionPersistentID string + OptionText string + OptionTextEntities []MessageEntity + PollMessage *Message + type PostStoryRequest struct + ActivePeriod int64 + Areas []StoryArea + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + Content InputStoryContent + ParseMode string + PostToChatPage bool + ProtectContent bool + type PreCheckoutQuery struct + Currency string + From *User + ID string + InvoicePayload string + OrderInfo *OrderInfo + ShippingOptionID string + TotalAmount int64 + type PreparedInlineMessage struct + ExpirationDate int64 + ID string + type PreparedKeyboardButton struct + ID string + type PromoteChatMemberRequest 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 + type ProximityAlertTriggered struct + Distance int64 + Traveler *User + Watcher *User + type RateLimiter struct + func NewRateLimiter(rate float64, burst int, idleTTL time.Duration) *RateLimiter + func (rl *RateLimiter) Allow(key int64) bool + func (rl *RateLimiter) Close() + type ReactionCount struct + TotalCount int64 + Type ReactionType + func (v *ReactionCount) UnmarshalJSON(data []byte) error + type ReactionType interface + GetType func() string + type ReactionTypeCustomEmoji struct + CustomEmojiID string + Type string + func (v *ReactionTypeCustomEmoji) GetType() string + type ReactionTypeEmoji struct + Emoji string + Type string + func (v *ReactionTypeEmoji) GetType() string + type ReactionTypePaid struct + Type string + func (v *ReactionTypePaid) GetType() string + type ReadBusinessMessageRequest struct + BusinessConnectionID string + ChatID int64 + MessageID int64 + type RefundStarPaymentRequest struct + TelegramPaymentChargeID string + UserID int64 + type RefundedPayment struct + Currency string + InvoicePayload string + ProviderPaymentChargeID string + TelegramPaymentChargeID string + TotalAmount int64 + type RemoveBusinessAccountProfilePhotoRequest struct + BusinessConnectionID string + IsPublic bool + type RemoveChatVerificationRequest struct + ChatID ChatID + type RemoveUserVerificationRequest struct + UserID int64 + type ReopenForumTopicRequest struct + ChatID ChatID + MessageThreadID int64 + type ReopenGeneralForumTopicRequest struct + ChatID ChatID + type ReplaceManagedBotTokenRequest struct + UserID int64 + type ReplaceStickerInSetRequest struct + Name string + OldSticker string + Sticker *InputSticker + UserID int64 + type ReplyKeyboard struct + func NewReplyKeyboard(resizeKeyboard bool) *ReplyKeyboard + func (kb *ReplyKeyboard) Add(buttons ...KeyboardButton) *ReplyKeyboard + func (kb *ReplyKeyboard) Adjust(sizes ...int) *ReplyKeyboard + func (kb *ReplyKeyboard) Build() *ReplyKeyboardMarkup + func (kb *ReplyKeyboard) Insert(button KeyboardButton) *ReplyKeyboard + func (kb *ReplyKeyboard) OneTime(oneTime bool) *ReplyKeyboard + func (kb *ReplyKeyboard) Placeholder(text string) *ReplyKeyboard + func (kb *ReplyKeyboard) Row(buttons ...KeyboardButton) *ReplyKeyboard + func (kb *ReplyKeyboard) Selective(selective bool) *ReplyKeyboard + type ReplyKeyboardMarkup struct + InputFieldPlaceholder string + IsPersistent bool + Keyboard [][]KeyboardButton + OneTimeKeyboard bool + ResizeKeyboard bool + Selective bool + func NewReplyKeyboardMarkup(keyboard [][]KeyboardButton, resizeKeyboard bool, oneTimeKeyboard bool, ...) *ReplyKeyboardMarkup + func QuickReplyKeyboard(buttons [][]string, resize bool) *ReplyKeyboardMarkup + func QuickReplyRow(buttons ...string) *ReplyKeyboardMarkup + type ReplyKeyboardRemove struct + RemoveKeyboard bool + Selective bool + func RemoveKeyboard(selective bool) *ReplyKeyboardRemove + type ReplyMarkup interface + type ReplyParameters struct + AllowSendingWithoutReply bool + ChatID ChatID + ChecklistTaskID int64 + MessageID int64 + PollOptionID string + Quote string + QuoteEntities []MessageEntity + QuoteParseMode string + QuotePosition int64 + type RepostStoryRequest struct + ActivePeriod int64 + BusinessConnectionID string + FromChatID int64 + FromStoryID int64 + PostToChatPage bool + ProtectContent bool + type ResponseParameters struct + MigrateToChatID int64 + RetryAfter int64 + type RestrictChatMemberRequest struct + ChatID ChatID + Permissions *ChatPermissions + UntilDate int64 + UseIndependentChatPermissions bool + UserID int64 + type RevenueWithdrawalState interface + GetType func() string + type RevenueWithdrawalStateFailed struct + Type string + func (v *RevenueWithdrawalStateFailed) GetType() string + type RevenueWithdrawalStatePending struct + Type string + func (v *RevenueWithdrawalStatePending) GetType() string + type RevenueWithdrawalStateSucceeded struct + Date int64 + Type string + URL string + func (v *RevenueWithdrawalStateSucceeded) GetType() string + type RevokeChatInviteLinkRequest struct + ChatID ChatID + InviteLink string + type RichBlock interface + GetType func() string + func RichAnchorBlock(name string) RichBlock + func RichBlockquote(credit RichText, blocks ...RichBlock) RichBlock + func RichDetails(open bool, summary RichText, blocks ...RichBlock) RichBlock + func RichDivider() RichBlock + func RichFooter(spans ...RichText) RichBlock + func RichHeading(size int, spans ...RichText) RichBlock + func RichList(items ...RichBlockListItem) RichBlock + func RichMap(lat, long float64, zoom int) RichBlock + func RichMathBlock(latex string) RichBlock + func RichParagraph(spans ...RichText) RichBlock + func RichPreformatted(language string, spans ...RichText) RichBlock + func RichPullquote(credit RichText, spans ...RichText) RichBlock + func RichTable(bordered, striped bool, caption RichText, rows ...[]RichBlockTableCell) RichBlock + func RichThinking(spans ...RichText) RichBlock + type RichBlockAnchor struct + Name string + Type string + func (v *RichBlockAnchor) GetType() string + type RichBlockAnimation struct + Animation *Animation + Caption *RichBlockCaption + HasSpoiler bool + Type string + func (v *RichBlockAnimation) GetType() string + type RichBlockAudio struct + Audio *Audio + Caption *RichBlockCaption + Type string + func (v *RichBlockAudio) GetType() string + type RichBlockAuthoredMedia struct + Caption *RichBlockCaption + Spoiler bool + URL string + func RichAudio(url string) *RichBlockAuthoredMedia + func RichPhoto(url string) *RichBlockAuthoredMedia + func RichVideo(url string) *RichBlockAuthoredMedia + func (v *RichBlockAuthoredMedia) GetType() string + type RichBlockBlockQuotation struct + Blocks []RichBlock + Credit RichText + Type string + func (v *RichBlockBlockQuotation) GetType() string + func (v *RichBlockBlockQuotation) UnmarshalJSON(data []byte) error + type RichBlockCaption struct + Credit RichText + Text RichText + func (v *RichBlockCaption) UnmarshalJSON(data []byte) error + type RichBlockCollage struct + Blocks []RichBlock + Caption *RichBlockCaption + Type string + func RichCollage(items ...RichBlock) *RichBlockCollage + func (v *RichBlockCollage) GetType() string + func (v *RichBlockCollage) UnmarshalJSON(data []byte) error + type RichBlockDetails struct + Blocks []RichBlock + IsOpen bool + Summary RichText + Type string + func (v *RichBlockDetails) GetType() string + func (v *RichBlockDetails) UnmarshalJSON(data []byte) error + type RichBlockDivider struct + Type string + func (v *RichBlockDivider) GetType() string + type RichBlockFooter struct + Text RichText + Type string + func (v *RichBlockFooter) GetType() string + func (v *RichBlockFooter) UnmarshalJSON(data []byte) error + type RichBlockList struct + Items []RichBlockListItem + Type string + func (v *RichBlockList) GetType() string + type RichBlockListItem struct + Blocks []RichBlock + HasCheckbox bool + IsChecked bool + Label string + Type string + Value int64 + func RichCheckItem(checked bool, blocks ...RichBlock) RichBlockListItem + func RichItem(blocks ...RichBlock) RichBlockListItem + func RichOrderedItem(blocks ...RichBlock) RichBlockListItem + func (v *RichBlockListItem) UnmarshalJSON(data []byte) error + type RichBlockMap struct + Caption *RichBlockCaption + Height int64 + Location *Location + Type string + Width int64 + Zoom int64 + func (v *RichBlockMap) GetType() string + type RichBlockMathematicalExpression struct + Expression string + Type string + func (v *RichBlockMathematicalExpression) GetType() string + type RichBlockParagraph struct + Text RichText + Type string + func (v *RichBlockParagraph) GetType() string + func (v *RichBlockParagraph) UnmarshalJSON(data []byte) error + type RichBlockPhoto struct + Caption *RichBlockCaption + HasSpoiler bool + Photo []PhotoSize + Type string + func (v *RichBlockPhoto) GetType() string + type RichBlockPreformatted struct + Language string + Text RichText + Type string + func (v *RichBlockPreformatted) GetType() string + func (v *RichBlockPreformatted) UnmarshalJSON(data []byte) error + type RichBlockPullQuotation struct + Credit RichText + Text RichText + Type string + func (v *RichBlockPullQuotation) GetType() string + func (v *RichBlockPullQuotation) UnmarshalJSON(data []byte) error + type RichBlockSectionHeading struct + Size int64 + Text RichText + Type string + func (v *RichBlockSectionHeading) GetType() string + func (v *RichBlockSectionHeading) UnmarshalJSON(data []byte) error + type RichBlockSlideshow struct + Blocks []RichBlock + Caption *RichBlockCaption + Type string + func RichSlideshow(items ...RichBlock) *RichBlockSlideshow + func (v *RichBlockSlideshow) GetType() string + func (v *RichBlockSlideshow) UnmarshalJSON(data []byte) error + type RichBlockTable struct + Caption RichText + Cells [][]RichBlockTableCell + IsBordered bool + IsStriped bool + Type string + func (v *RichBlockTable) GetType() string + func (v *RichBlockTable) UnmarshalJSON(data []byte) error + type RichBlockTableCell struct + Align string + Colspan int64 + IsHeader bool + Rowspan int64 + Text RichText + Valign string + func RichCell(spans ...RichText) RichBlockTableCell + func RichHeaderCell(spans ...RichText) RichBlockTableCell + func (v *RichBlockTableCell) UnmarshalJSON(data []byte) error + type RichBlockThinking struct + Text RichText + Type string + func (v *RichBlockThinking) GetType() string + func (v *RichBlockThinking) UnmarshalJSON(data []byte) error + type RichBlockVideo struct + Caption *RichBlockCaption + HasSpoiler bool + Type string + Video *Video + func (v *RichBlockVideo) GetType() string + type RichBlockVoiceNote struct + Caption *RichBlockCaption + Type string + VoiceNote *Voice + func (v *RichBlockVoiceNote) GetType() string + type RichMessage struct + Blocks []RichBlock + IsRtl bool + func (m *RichMessage) PlainText() string + func (v *RichMessage) UnmarshalJSON(data []byte) error + type RichPlainText string + func (RichPlainText) GetType() string + type RichText interface + GetType func() string + func RichAnchorLink(name string, spans ...RichText) RichText + func RichAnchorPoint(name string) RichText + func RichBold(spans ...RichText) RichText + func RichCode(spans ...RichText) RichText + func RichInlineMath(latex string) RichText + func RichItalic(spans ...RichText) RichText + func RichLink(url string, spans ...RichText) RichText + func RichPlain(s string) RichText + func RichSpoiler(spans ...RichText) RichText + func RichStrikethrough(spans ...RichText) RichText + func RichUnderline(spans ...RichText) RichText + func RichUserMention(user *User, spans ...RichText) RichText + type RichTextAnchor struct + Name string + Type string + func (v *RichTextAnchor) GetType() string + type RichTextAnchorLink struct + AnchorName string + Text RichText + Type string + func (v *RichTextAnchorLink) GetType() string + func (v *RichTextAnchorLink) UnmarshalJSON(data []byte) error + type RichTextBankCardNumber struct + BankCardNumber string + Text RichText + Type string + func (v *RichTextBankCardNumber) GetType() string + func (v *RichTextBankCardNumber) UnmarshalJSON(data []byte) error + type RichTextBold struct + Text RichText + Type string + func (v *RichTextBold) GetType() string + func (v *RichTextBold) UnmarshalJSON(data []byte) error + type RichTextBotCommand struct + BotCommand string + Text RichText + Type string + func (v *RichTextBotCommand) GetType() string + func (v *RichTextBotCommand) UnmarshalJSON(data []byte) error + type RichTextCashtag struct + Cashtag string + Text RichText + Type string + func (v *RichTextCashtag) GetType() string + func (v *RichTextCashtag) UnmarshalJSON(data []byte) error + type RichTextCode struct + Text RichText + Type string + func (v *RichTextCode) GetType() string + func (v *RichTextCode) UnmarshalJSON(data []byte) error + type RichTextCustomEmoji struct + AlternativeText string + CustomEmojiID string + Type string + func (v *RichTextCustomEmoji) GetType() string + type RichTextDateTime struct + DateTimeFormat string + Text RichText + Type string + UnixTime int64 + func (v *RichTextDateTime) GetType() string + func (v *RichTextDateTime) UnmarshalJSON(data []byte) error + type RichTextEmailAddress struct + EmailAddress string + Text RichText + Type string + func (v *RichTextEmailAddress) GetType() string + func (v *RichTextEmailAddress) UnmarshalJSON(data []byte) error + type RichTextHashtag struct + Hashtag string + Text RichText + Type string + func (v *RichTextHashtag) GetType() string + func (v *RichTextHashtag) UnmarshalJSON(data []byte) error + type RichTextItalic struct + Text RichText + Type string + func (v *RichTextItalic) GetType() string + func (v *RichTextItalic) UnmarshalJSON(data []byte) error + type RichTextMarked struct + Text RichText + Type string + func (v *RichTextMarked) GetType() string + func (v *RichTextMarked) UnmarshalJSON(data []byte) error + type RichTextMathematicalExpression struct + Expression string + Type string + func (v *RichTextMathematicalExpression) GetType() string + type RichTextMention struct + Text RichText + Type string + Username string + func (v *RichTextMention) GetType() string + func (v *RichTextMention) UnmarshalJSON(data []byte) error + type RichTextPhoneNumber struct + PhoneNumber string + Text RichText + Type string + func (v *RichTextPhoneNumber) GetType() string + func (v *RichTextPhoneNumber) UnmarshalJSON(data []byte) error + type RichTextReference struct + Name string + Text RichText + Type string + func (v *RichTextReference) GetType() string + func (v *RichTextReference) UnmarshalJSON(data []byte) error + type RichTextReferenceLink struct + ReferenceName string + Text RichText + Type string + func (v *RichTextReferenceLink) GetType() string + func (v *RichTextReferenceLink) UnmarshalJSON(data []byte) error + type RichTextSequence []RichText + func (RichTextSequence) GetType() string + type RichTextSpoiler struct + Text RichText + Type string + func (v *RichTextSpoiler) GetType() string + func (v *RichTextSpoiler) UnmarshalJSON(data []byte) error + type RichTextStrikethrough struct + Text RichText + Type string + func (v *RichTextStrikethrough) GetType() string + func (v *RichTextStrikethrough) UnmarshalJSON(data []byte) error + type RichTextSubscript struct + Text RichText + Type string + func (v *RichTextSubscript) GetType() string + func (v *RichTextSubscript) UnmarshalJSON(data []byte) error + type RichTextSuperscript struct + Text RichText + Type string + func (v *RichTextSuperscript) GetType() string + func (v *RichTextSuperscript) UnmarshalJSON(data []byte) error + type RichTextTextMention struct + Text RichText + Type string + User *User + func (v *RichTextTextMention) GetType() string + func (v *RichTextTextMention) UnmarshalJSON(data []byte) error + type RichTextURL struct + Text RichText + Type string + URL string + func (v *RichTextURL) GetType() string + func (v *RichTextURL) UnmarshalJSON(data []byte) error + type RichTextUnderline struct + Text RichText + Type string + func (v *RichTextUnderline) GetType() string + func (v *RichTextUnderline) UnmarshalJSON(data []byte) error + type Router struct + func NewRouter() *Router + func (r *Router) BusinessConnection(filters ...Filter) *registration + func (r *Router) BusinessMessage(filters ...Filter) *registration + func (r *Router) CallbackQuery(filters ...Filter) *registration + func (r *Router) ChannelPost(filters ...Filter) *registration + func (r *Router) ChatBoost(filters ...Filter) *registration + func (r *Router) ChatJoinRequest(filters ...Filter) *registration + func (r *Router) ChatMember(filters ...Filter) *registration + func (r *Router) ChosenInlineResult(filters ...Filter) *registration + func (r *Router) DeletedBusinessMessages(filters ...Filter) *registration + func (r *Router) EditedBusinessMessage(filters ...Filter) *registration + func (r *Router) EditedChannelPost(filters ...Filter) *registration + func (r *Router) EditedMessage(filters ...Filter) *registration + func (r *Router) GuestMessage(filters ...Filter) *registration + func (r *Router) Include(sub *Router) + func (r *Router) InlineQuery(filters ...Filter) *registration + func (r *Router) ManagedBot(filters ...Filter) *registration + func (r *Router) Message(filters ...Filter) *registration + func (r *Router) MessageReaction(filters ...Filter) *registration + func (r *Router) MessageReactionCount(filters ...Filter) *registration + func (r *Router) MyChatMember(filters ...Filter) *registration + func (r *Router) OnError(h ErrorHandlerFunc) + func (r *Router) Poll(filters ...Filter) *registration + func (r *Router) PollAnswer(filters ...Filter) *registration + func (r *Router) PreCheckoutQuery(filters ...Filter) *registration + func (r *Router) PurchasedPaidMedia(filters ...Filter) *registration + func (r *Router) RemovedChatBoost(filters ...Filter) *registration + func (r *Router) ShippingQuery(filters ...Filter) *registration + func (r *Router) Update(filters ...Filter) *registration + func (r *Router) Use(mw MiddlewareFunc) + func (r *Router) UseOuter(mw OuterMiddlewareFunc) + func (r *Router) UsedUpdateKinds() []string + type SMO = SendMessageOptions + type SavePreparedInlineMessageRequest struct + AllowBotChats bool + AllowChannelChats bool + AllowGroupChats bool + AllowUserChats bool + Result InlineQueryResult + UserID int64 + type SavePreparedKeyboardButtonRequest struct + Button *KeyboardButton + UserID int64 + type SendAnimationRequest struct + AllowPaidBroadcast bool + Animation InputFile + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int64 + HasSpoiler bool + Height int64 + MessageEffectID string + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + Thumbnail InputFile + Width int64 + type SendAudioRequest struct + AllowPaidBroadcast bool + Audio InputFile + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int64 + MessageEffectID string + MessageThreadID int64 + ParseMode string + Performer string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Thumbnail InputFile + Title string + type SendChatActionRequest struct + Action string + BusinessConnectionID string + ChatID ChatID + MessageThreadID int64 + type SendChatJoinRequestWebAppRequest struct + ChatJoinRequestQueryID string + WebAppURL string + type SendChecklistRequest struct + BusinessConnectionID string + ChatID ChatID + Checklist *InputChecklist + DisableNotification bool + MessageEffectID string + ProtectContent bool + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + type SendContactRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FirstName string + LastName string + MessageEffectID string + MessageThreadID int64 + PhoneNumber string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Vcard string + type SendDiceRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Emoji string + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + type SendDocumentRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableContentTypeDetection bool + DisableNotification bool + Document InputFile + MessageEffectID string + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Thumbnail InputFile + type SendGameRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DisableNotification bool + GameShortName string + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + type SendGiftRequest struct + ChatID ChatID + GiftID string + PayForUpgrade bool + Text string + TextEntities []MessageEntity + TextParseMode string + UserID int64 + type SendInvoiceRequest struct + AllowPaidBroadcast bool + ChatID ChatID + Currency string + Description string + DirectMessagesTopicID int64 + DisableNotification bool + IsFlexible bool + MaxTipAmount int64 + MessageEffectID string + MessageThreadID int64 + NeedEmail bool + NeedName bool + NeedPhoneNumber bool + NeedShippingAddress bool + Payload string + PhotoHeight int64 + PhotoSize int64 + PhotoURL string + PhotoWidth int64 + Prices []LabeledPrice + ProtectContent bool + ProviderData string + ProviderToken string + ReplyMarkup *InlineKeyboardMarkup + ReplyParameters *ReplyParameters + SendEmailToProvider bool + SendPhoneNumberToProvider bool + StartParameter string + SuggestedPostParameters *SuggestedPostParameters + SuggestedTipAmounts []int64 + Title string + func NewStarsInvoice(chatID ChatID, title, description, payload string, stars int64) *SendInvoiceRequest + type SendLivePhotoRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + HasSpoiler bool + LivePhoto InputFile + MessageEffectID string + MessageThreadID int64 + ParseMode string + Photo InputFile + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + type SendLocationRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Heading int64 + HorizontalAccuracy float64 + Latitude float64 + LivePeriod int64 + Longitude float64 + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ProximityAlertRadius int64 + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + type SendMediaGroupRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Media []InputMedia + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyParameters *ReplyParameters + type SendMessageDraftRequest struct + ChatID int64 + DraftID int64 + Entities []MessageEntity + MessageThreadID int64 + ParseMode string + Text string + type SendMessageOptions struct + AllowPaidBroadcast bool + BusinessConnectionID string + DirectMessagesTopicID int64 + DisableNotification bool + Entities []Entity + LinkPreviewOptions *LinkPreviewOptions + MessageEffectID string + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + type SendMessageRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Entities []MessageEntity + LinkPreviewOptions *LinkPreviewOptions + MessageEffectID string + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Text string + type SendPaidMediaRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Media []InputPaidMedia + MessageThreadID int64 + ParseMode string + Payload string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + StarCount int64 + SuggestedPostParameters *SuggestedPostParameters + type SendPhotoRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + HasSpoiler bool + MessageEffectID string + MessageThreadID int64 + ParseMode string + Photo InputFile + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + SuggestedPostParameters *SuggestedPostParameters + type SendPollRequest struct + AllowAddingOptions bool + AllowPaidBroadcast bool + AllowsMultipleAnswers bool + AllowsRevoting bool + BusinessConnectionID string + ChatID ChatID + CloseDate int64 + CorrectOptionIds []int64 + 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 int64 + OpenPeriod int64 + Options []InputPollOption + ProtectContent bool + Question string + QuestionEntities []MessageEntity + QuestionParseMode string + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShuffleOptions bool + Type string + type SendRichMessageDraftRequest struct + ChatID int64 + DraftID int64 + MessageThreadID int64 + RichMessage *InputRichMessage + type SendRichMessageRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + RichMessage *InputRichMessage + SuggestedPostParameters *SuggestedPostParameters + type SendStickerRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Emoji string + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + Sticker InputFile + SuggestedPostParameters *SuggestedPostParameters + type SendVenueRequest struct + Address string + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Latitude float64 + Longitude float64 + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Title string + type SendVideoNoteRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int64 + Length int64 + MessageEffectID string + MessageThreadID int64 + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Thumbnail InputFile + VideoNote InputFile + type SendVideoRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + Cover InputFile + DirectMessagesTopicID int64 + DisableNotification bool + Duration int64 + HasSpoiler bool + Height int64 + MessageEffectID string + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + ShowCaptionAboveMedia bool + StartTimestamp int64 + SuggestedPostParameters *SuggestedPostParameters + SupportsStreaming bool + Thumbnail InputFile + Video InputFile + Width int64 + type SendVoiceRequest struct + AllowPaidBroadcast bool + BusinessConnectionID string + Caption string + CaptionEntities []MessageEntity + ChatID ChatID + DirectMessagesTopicID int64 + DisableNotification bool + Duration int64 + MessageEffectID string + MessageThreadID int64 + ParseMode string + ProtectContent bool + ReplyMarkup ReplyMarkup + ReplyParameters *ReplyParameters + SuggestedPostParameters *SuggestedPostParameters + Voice InputFile + type Sender struct + AuthorSignature string + Chat *Chat + IsAutomaticForward bool + User *User + func (s *Sender) ID() int64 + func (s *Sender) IsAnonymousAdmin() bool + func (s *Sender) IsAnonymousChannel() bool + func (s *Sender) IsChannelPost() bool + func (s *Sender) IsLinkedChannel() bool + func (s *Sender) Name() string + func (s *Sender) Username() string + type SentGuestMessage struct + InlineMessageID string + type SentWebAppMessage struct + InlineMessageID string + type SetBusinessAccountBioRequest struct + Bio string + BusinessConnectionID string + type SetBusinessAccountGiftSettingsRequest struct + AcceptedGiftTypes *AcceptedGiftTypes + BusinessConnectionID string + ShowGiftButton bool + type SetBusinessAccountNameRequest struct + BusinessConnectionID string + FirstName string + LastName string + type SetBusinessAccountProfilePhotoRequest struct + BusinessConnectionID string + IsPublic bool + Photo InputProfilePhoto + type SetBusinessAccountUsernameRequest struct + BusinessConnectionID string + Username string + type SetChatAdministratorCustomTitleRequest struct + ChatID ChatID + CustomTitle string + UserID int64 + type SetChatDescriptionRequest struct + ChatID ChatID + Description string + type SetChatMemberTagRequest struct + ChatID ChatID + Tag string + UserID int64 + type SetChatMenuButtonRequest struct + ChatID int64 + MenuButton MenuButton + type SetChatPermissionsRequest struct + ChatID ChatID + Permissions *ChatPermissions + UseIndependentChatPermissions bool + type SetChatPhotoRequest struct + ChatID ChatID + Photo InputFile + type SetChatStickerSetRequest struct + ChatID ChatID + StickerSetName string + type SetChatTitleRequest struct + ChatID ChatID + Title string + type SetCustomEmojiStickerSetThumbnailRequest struct + CustomEmojiID string + Name string + type SetGameScoreRequest struct + ChatID int64 + DisableEditMessage bool + Force bool + InlineMessageID string + MessageID int64 + Score int64 + UserID int64 + type SetManagedBotAccessSettingsRequest struct + AddedUserIds []int64 + IsAccessRestricted bool + UserID int64 + type SetMessageReactionRequest struct + ChatID ChatID + IsBig bool + MessageID int64 + Reaction []ReactionType + type SetMyCommandsRequest struct + Commands []BotCommand + LanguageCode string + Scope BotCommandScope + type SetMyDefaultAdministratorRightsRequest struct + ForChannels bool + Rights *ChatAdministratorRights + type SetMyDescriptionRequest struct + Description string + LanguageCode string + type SetMyNameRequest struct + LanguageCode string + Name string + type SetMyProfilePhotoRequest struct + Photo InputProfilePhoto + type SetMyShortDescriptionRequest struct + LanguageCode string + ShortDescription string + type SetPassportDataErrorsRequest struct + Errors []PassportElementError + UserID int64 + type SetStickerEmojiListRequest struct + EmojiList []string + Sticker string + type SetStickerKeywordsRequest struct + Keywords []string + Sticker string + type SetStickerMaskPositionRequest struct + MaskPosition *MaskPosition + Sticker string + type SetStickerPositionInSetRequest struct + Position int64 + Sticker string + type SetStickerSetThumbnailRequest struct + Format string + Name string + Thumbnail InputFile + UserID int64 + type SetStickerSetTitleRequest struct + Name string + Title string + type SetUserEmojiStatusRequest struct + EmojiStatusCustomEmojiID string + EmojiStatusExpirationDate int64 + UserID int64 + type SetWebhookRequest struct + AllowedUpdates []string + Certificate InputFile + DropPendingUpdates bool + IpAddress string + MaxConnections int64 + SecretToken string + URL string + 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 int64 + NanostarAmount int64 + type StarTransaction struct + Amount int64 + Date int64 + ID string + NanostarAmount int64 + Receiver TransactionPartner + Source TransactionPartner + func (v *StarTransaction) UnmarshalJSON(data []byte) error + type StarTransactions struct + Transactions []StarTransaction + type State string + const AnyState + const NoState + type StateGroup string + func (g StateGroup) Contains(s State) bool + func (g StateGroup) New(name string) State + type StepOption func(*stepConfig) + func WithStepAllowCommands() StepOption + func WithStepIgnore(filters ...Filter) StepOption + func WithStepName(name string) StepOption + type Sticker struct + CustomEmojiID string + Emoji string + FileID string + FileSize int64 + FileUniqueID string + Height int64 + IsAnimated bool + IsVideo bool + MaskPosition *MaskPosition + NeedsRepainting bool + PremiumAnimation *File + SetName string + Thumbnail *PhotoSize + Type string + Width int64 + type StickerSet struct + Name string + StickerType string + Stickers []Sticker + Thumbnail *PhotoSize + Title string + type StopMessageLiveLocationRequest struct + BusinessConnectionID string + ChatID ChatID + InlineMessageID string + MessageID int64 + ReplyMarkup *InlineKeyboardMarkup + type StopPollRequest struct + BusinessConnectionID string + ChatID ChatID + MessageID int64 + ReplyMarkup *InlineKeyboardMarkup + type StorageKey struct + ChatID int64 + ThreadID int64 + UserID int64 + type Story struct + Chat *Chat + ID int64 + type StoryArea struct + Position *StoryAreaPosition + Type StoryAreaType + func (v *StoryArea) UnmarshalJSON(data []byte) error + type StoryAreaPosition struct + CornerRadiusPercentage float64 + HeightPercentage float64 + RotationAngle float64 + WidthPercentage float64 + XPercentage float64 + YPercentage float64 + type StoryAreaType interface + GetType func() string + type StoryAreaTypeLink struct + Type string + URL string + func (v *StoryAreaTypeLink) GetType() string + type StoryAreaTypeLocation struct + Address *LocationAddress + Latitude float64 + Longitude float64 + Type string + func (v *StoryAreaTypeLocation) GetType() string + type StoryAreaTypeSuggestedReaction struct + IsDark bool + IsFlipped bool + ReactionType ReactionType + Type string + func (v *StoryAreaTypeSuggestedReaction) GetType() string + func (v *StoryAreaTypeSuggestedReaction) UnmarshalJSON(data []byte) error + type StoryAreaTypeUniqueGift struct + Name string + Type string + func (v *StoryAreaTypeUniqueGift) GetType() string + type StoryAreaTypeWeather struct + BackgroundColor int64 + Emoji string + Temperature float64 + Type string + func (v *StoryAreaTypeWeather) GetType() string + type SuccessfulPayment struct + Currency string + InvoicePayload string + IsFirstRecurring bool + IsRecurring bool + OrderInfo *OrderInfo + ProviderPaymentChargeID string + ShippingOptionID string + SubscriptionExpirationDate int64 + TelegramPaymentChargeID string + TotalAmount int64 + 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 int64 + Currency string + StarAmount *StarAmount + SuggestedPostMessage *Message + type SuggestedPostParameters struct + Price *SuggestedPostPrice + SendDate int64 + type SuggestedPostPrice struct + Amount int64 + Currency string + type SuggestedPostRefunded struct + Reason string + SuggestedPostMessage *Message + type SwitchInlineQueryChosenChat struct + AllowBotChats bool + AllowChannelChats bool + AllowGroupChats bool + AllowUserChats bool + Query string + type TelegramBot struct + func NewTelegramBot(token string, opts ...Option) (*TelegramBot, error) + func (b *TelegramBot) AddStickerToSet(ctx context.Context, req *AddStickerToSetRequest) (bool, error) + func (b *TelegramBot) AnswerCallbackQuery(ctx context.Context, req *AnswerCallbackQueryRequest) (bool, error) + func (b *TelegramBot) AnswerChatJoinRequestQuery(ctx context.Context, req *AnswerChatJoinRequestQueryRequest) (bool, error) + func (b *TelegramBot) AnswerGuestQuery(ctx context.Context, req *AnswerGuestQueryRequest) (*SentGuestMessage, error) + func (b *TelegramBot) AnswerInlineQuery(ctx context.Context, req *AnswerInlineQueryRequest) (bool, error) + func (b *TelegramBot) AnswerPreCheckoutQuery(ctx context.Context, req *AnswerPreCheckoutQueryRequest) (bool, error) + func (b *TelegramBot) AnswerShippingQuery(ctx context.Context, req *AnswerShippingQueryRequest) (bool, error) + func (b *TelegramBot) AnswerWebAppQuery(ctx context.Context, req *AnswerWebAppQueryRequest) (*SentWebAppMessage, error) + func (b *TelegramBot) ApproveChatJoinRequest(ctx context.Context, req *ApproveChatJoinRequestRequest) (bool, error) + func (b *TelegramBot) ApproveSuggestedPost(ctx context.Context, req *ApproveSuggestedPostRequest) (bool, error) + func (b *TelegramBot) BanChatMember(ctx context.Context, req *BanChatMemberRequest) (bool, error) + func (b *TelegramBot) BanChatSenderChat(ctx context.Context, req *BanChatSenderChatRequest) (bool, error) + func (b *TelegramBot) Close(ctx context.Context) (bool, error) + func (b *TelegramBot) CloseForumTopic(ctx context.Context, req *CloseForumTopicRequest) (bool, error) + func (b *TelegramBot) CloseGeneralForumTopic(ctx context.Context, req *CloseGeneralForumTopicRequest) (bool, error) + func (b *TelegramBot) ConvertGiftToStars(ctx context.Context, req *ConvertGiftToStarsRequest) (bool, error) + func (b *TelegramBot) CopyMessage(ctx context.Context, req *CopyMessageRequest) (*MessageID, error) + func (b *TelegramBot) CopyMessages(ctx context.Context, req *CopyMessagesRequest) ([]MessageID, error) + func (b *TelegramBot) CreateChatInviteLink(ctx context.Context, req *CreateChatInviteLinkRequest) (*ChatInviteLink, error) + func (b *TelegramBot) CreateChatSubscriptionInviteLink(ctx context.Context, req *CreateChatSubscriptionInviteLinkRequest) (*ChatInviteLink, error) + func (b *TelegramBot) CreateForumTopic(ctx context.Context, req *CreateForumTopicRequest) (*ForumTopic, error) + func (b *TelegramBot) CreateInvoiceLink(ctx context.Context, req *CreateInvoiceLinkRequest) (string, error) + func (b *TelegramBot) CreateNewStickerSet(ctx context.Context, req *CreateNewStickerSetRequest) (bool, error) + func (b *TelegramBot) CreateStartGroupLink(payload string, encode bool) (string, error) + func (b *TelegramBot) CreateStartLink(payload string, encode bool) (string, error) + func (b *TelegramBot) DeclineChatJoinRequest(ctx context.Context, req *DeclineChatJoinRequestRequest) (bool, error) + func (b *TelegramBot) DeclineSuggestedPost(ctx context.Context, req *DeclineSuggestedPostRequest) (bool, error) + func (b *TelegramBot) DeleteAllMessageReactions(ctx context.Context, req *DeleteAllMessageReactionsRequest) (bool, error) + func (b *TelegramBot) DeleteBusinessMessages(ctx context.Context, req *DeleteBusinessMessagesRequest) (bool, error) + func (b *TelegramBot) DeleteChatPhoto(ctx context.Context, req *DeleteChatPhotoRequest) (bool, error) + func (b *TelegramBot) DeleteChatStickerSet(ctx context.Context, req *DeleteChatStickerSetRequest) (bool, error) + func (b *TelegramBot) DeleteForumTopic(ctx context.Context, req *DeleteForumTopicRequest) (bool, error) + func (b *TelegramBot) DeleteMessage(ctx context.Context, req *DeleteMessageRequest) (bool, error) + func (b *TelegramBot) DeleteMessageReaction(ctx context.Context, req *DeleteMessageReactionRequest) (bool, error) + func (b *TelegramBot) DeleteMessages(ctx context.Context, req *DeleteMessagesRequest) (bool, error) + func (b *TelegramBot) DeleteMyCommands(ctx context.Context, req *DeleteMyCommandsRequest) (bool, error) + func (b *TelegramBot) DeleteStickerFromSet(ctx context.Context, req *DeleteStickerFromSetRequest) (bool, error) + func (b *TelegramBot) DeleteStickerSet(ctx context.Context, req *DeleteStickerSetRequest) (bool, error) + func (b *TelegramBot) DeleteStory(ctx context.Context, req *DeleteStoryRequest) (bool, error) + func (b *TelegramBot) DeleteWebhook(ctx context.Context, req *DeleteWebhookRequest) (bool, error) + func (b *TelegramBot) Dispatch(r *Router) + func (b *TelegramBot) EditChatInviteLink(ctx context.Context, req *EditChatInviteLinkRequest) (*ChatInviteLink, error) + func (b *TelegramBot) EditChatSubscriptionInviteLink(ctx context.Context, req *EditChatSubscriptionInviteLinkRequest) (*ChatInviteLink, error) + func (b *TelegramBot) EditForumTopic(ctx context.Context, req *EditForumTopicRequest) (bool, error) + func (b *TelegramBot) EditGeneralForumTopic(ctx context.Context, req *EditGeneralForumTopicRequest) (bool, error) + func (b *TelegramBot) EditMessageCaption(ctx context.Context, req *EditMessageCaptionRequest) (*Message, error) + func (b *TelegramBot) EditMessageChecklist(ctx context.Context, req *EditMessageChecklistRequest) (*Message, error) + func (b *TelegramBot) EditMessageLiveLocation(ctx context.Context, req *EditMessageLiveLocationRequest) (*Message, error) + func (b *TelegramBot) EditMessageMedia(ctx context.Context, req *EditMessageMediaRequest) (*Message, error) + func (b *TelegramBot) EditMessageReplyMarkup(ctx context.Context, req *EditMessageReplyMarkupRequest) (*Message, error) + func (b *TelegramBot) EditMessageText(ctx context.Context, req *EditMessageTextRequest) (*Message, error) + func (b *TelegramBot) EditStory(ctx context.Context, req *EditStoryRequest) (*Story, error) + func (b *TelegramBot) EditUserStarSubscription(ctx context.Context, req *EditUserStarSubscriptionRequest) (bool, error) + func (b *TelegramBot) ExportChatInviteLink(ctx context.Context, req *ExportChatInviteLinkRequest) (string, error) + func (b *TelegramBot) ForwardMessage(ctx context.Context, req *ForwardMessageRequest) (*Message, error) + func (b *TelegramBot) ForwardMessages(ctx context.Context, req *ForwardMessagesRequest) ([]MessageID, error) + func (b *TelegramBot) GetAvailableGifts(ctx context.Context) (*Gifts, error) + func (b *TelegramBot) GetBusinessAccountGifts(ctx context.Context, req *GetBusinessAccountGiftsRequest) (*OwnedGifts, error) + func (b *TelegramBot) GetBusinessAccountStarBalance(ctx context.Context, req *GetBusinessAccountStarBalanceRequest) (*StarAmount, error) + func (b *TelegramBot) GetBusinessConnection(ctx context.Context, req *GetBusinessConnectionRequest) (*BusinessConnection, error) + func (b *TelegramBot) GetChat(ctx context.Context, req *GetChatRequest) (*ChatFullInfo, error) + func (b *TelegramBot) GetChatAdministrators(ctx context.Context, req *GetChatAdministratorsRequest) ([]ChatMember, error) + func (b *TelegramBot) GetChatGifts(ctx context.Context, req *GetChatGiftsRequest) (*OwnedGifts, error) + func (b *TelegramBot) GetChatMember(ctx context.Context, req *GetChatMemberRequest) (ChatMember, error) + func (b *TelegramBot) GetChatMemberCount(ctx context.Context, req *GetChatMemberCountRequest) (int64, error) + func (b *TelegramBot) GetChatMenuButton(ctx context.Context, req *GetChatMenuButtonRequest) (MenuButton, error) + func (b *TelegramBot) GetCustomEmojiStickers(ctx context.Context, req *GetCustomEmojiStickersRequest) ([]Sticker, error) + func (b *TelegramBot) GetFile(ctx context.Context, req *GetFileRequest) (*File, error) + func (b *TelegramBot) GetForumTopicIconStickers(ctx context.Context) ([]Sticker, error) + func (b *TelegramBot) GetGameHighScores(ctx context.Context, req *GetGameHighScoresRequest) ([]GameHighScore, error) + func (b *TelegramBot) GetHealthMonitor() *HealthMonitor + func (b *TelegramBot) GetManagedBotAccessSettings(ctx context.Context, req *GetManagedBotAccessSettingsRequest) (*BotAccessSettings, error) + func (b *TelegramBot) GetManagedBotToken(ctx context.Context, req *GetManagedBotTokenRequest) (string, error) + func (b *TelegramBot) GetMe(ctx context.Context) (*User, error) + func (b *TelegramBot) GetMyCommands(ctx context.Context, req *GetMyCommandsRequest) ([]BotCommand, error) + func (b *TelegramBot) GetMyDefaultAdministratorRights(ctx context.Context, req *GetMyDefaultAdministratorRightsRequest) (*ChatAdministratorRights, error) + func (b *TelegramBot) GetMyDescription(ctx context.Context, req *GetMyDescriptionRequest) (*BotDescription, error) + func (b *TelegramBot) GetMyName(ctx context.Context, req *GetMyNameRequest) (*BotName, error) + func (b *TelegramBot) GetMyShortDescription(ctx context.Context, req *GetMyShortDescriptionRequest) (*BotShortDescription, error) + func (b *TelegramBot) GetMyStarBalance(ctx context.Context) (*StarAmount, error) + func (b *TelegramBot) GetStarTransactions(ctx context.Context, req *GetStarTransactionsRequest) (*StarTransactions, error) + func (b *TelegramBot) GetStickerSet(ctx context.Context, req *GetStickerSetRequest) (*StickerSet, error) + func (b *TelegramBot) GetUpdates(ctx context.Context, req *GetUpdatesRequest) ([]Update, error) + func (b *TelegramBot) GetUserChatBoosts(ctx context.Context, req *GetUserChatBoostsRequest) (*UserChatBoosts, error) + func (b *TelegramBot) GetUserGifts(ctx context.Context, req *GetUserGiftsRequest) (*OwnedGifts, error) + func (b *TelegramBot) GetUserPersonalChatMessages(ctx context.Context, req *GetUserPersonalChatMessagesRequest) ([]Message, error) + func (b *TelegramBot) GetUserProfileAudios(ctx context.Context, req *GetUserProfileAudiosRequest) (*UserProfileAudios, error) + func (b *TelegramBot) GetUserProfilePhotos(ctx context.Context, req *GetUserProfilePhotosRequest) (*UserProfilePhotos, error) + func (b *TelegramBot) GetWebhookInfo(ctx context.Context) (*WebhookInfo, error) + func (b *TelegramBot) GiftPremiumSubscription(ctx context.Context, req *GiftPremiumSubscriptionRequest) (bool, error) + func (b *TelegramBot) HandleUpdate(ctx context.Context, u *Update) + func (b *TelegramBot) Handler(cfg WebhookConfig) http.Handler + func (b *TelegramBot) HideGeneralForumTopic(ctx context.Context, req *HideGeneralForumTopicRequest) (bool, error) + func (b *TelegramBot) LeaveChat(ctx context.Context, req *LeaveChatRequest) (bool, error) + func (b *TelegramBot) LoadMe(ctx context.Context) error + func (b *TelegramBot) LogOut(ctx context.Context) (bool, error) + func (b *TelegramBot) Me() *User + func (b *TelegramBot) OnError(handler ErrorHandlerFunc) + func (b *TelegramBot) OnShutdown(f LifecycleFunc) + func (b *TelegramBot) OnStartup(f LifecycleFunc) + func (b *TelegramBot) PinChatMessage(ctx context.Context, req *PinChatMessageRequest) (bool, error) + func (b *TelegramBot) PostStory(ctx context.Context, req *PostStoryRequest) (*Story, error) + func (b *TelegramBot) PromoteChatMember(ctx context.Context, req *PromoteChatMemberRequest) (bool, error) + func (b *TelegramBot) ReadBusinessMessage(ctx context.Context, req *ReadBusinessMessageRequest) (bool, error) + func (b *TelegramBot) RefundStarPayment(ctx context.Context, req *RefundStarPaymentRequest) (bool, error) + func (b *TelegramBot) RefundStars(ctx context.Context, userID int64, telegramPaymentChargeID string) error + func (b *TelegramBot) RemoveBusinessAccountProfilePhoto(ctx context.Context, req *RemoveBusinessAccountProfilePhotoRequest) (bool, error) + func (b *TelegramBot) RemoveChatVerification(ctx context.Context, req *RemoveChatVerificationRequest) (bool, error) + func (b *TelegramBot) RemoveMyProfilePhoto(ctx context.Context) (bool, error) + func (b *TelegramBot) RemoveUserVerification(ctx context.Context, req *RemoveUserVerificationRequest) (bool, error) + func (b *TelegramBot) ReopenForumTopic(ctx context.Context, req *ReopenForumTopicRequest) (bool, error) + func (b *TelegramBot) ReopenGeneralForumTopic(ctx context.Context, req *ReopenGeneralForumTopicRequest) (bool, error) + func (b *TelegramBot) ReplaceManagedBotToken(ctx context.Context, req *ReplaceManagedBotTokenRequest) (string, error) + func (b *TelegramBot) ReplaceStickerInSet(ctx context.Context, req *ReplaceStickerInSetRequest) (bool, error) + func (b *TelegramBot) RepostStory(ctx context.Context, req *RepostStoryRequest) (*Story, error) + func (b *TelegramBot) RestrictChatMember(ctx context.Context, req *RestrictChatMemberRequest) (bool, error) + func (b *TelegramBot) RevokeChatInviteLink(ctx context.Context, req *RevokeChatInviteLinkRequest) (*ChatInviteLink, error) + func (b *TelegramBot) Run(ctx context.Context) error + func (b *TelegramBot) RunWebhook(ctx context.Context, cfg WebhookConfig) error + func (b *TelegramBot) SavePreparedInlineMessage(ctx context.Context, req *SavePreparedInlineMessageRequest) (*PreparedInlineMessage, error) + func (b *TelegramBot) SavePreparedKeyboardButton(ctx context.Context, req *SavePreparedKeyboardButtonRequest) (*PreparedKeyboardButton, error) + func (b *TelegramBot) SendAnimation(ctx context.Context, req *SendAnimationRequest) (*Message, error) + func (b *TelegramBot) SendAudio(ctx context.Context, req *SendAudioRequest) (*Message, error) + func (b *TelegramBot) SendChatAction(ctx context.Context, req *SendChatActionRequest) (bool, error) + func (b *TelegramBot) SendChatJoinRequestWebApp(ctx context.Context, req *SendChatJoinRequestWebAppRequest) (bool, error) + func (b *TelegramBot) SendChecklist(ctx context.Context, req *SendChecklistRequest) (*Message, error) + func (b *TelegramBot) SendContact(ctx context.Context, req *SendContactRequest) (*Message, error) + func (b *TelegramBot) SendDice(ctx context.Context, req *SendDiceRequest) (*Message, error) + func (b *TelegramBot) SendDocument(ctx context.Context, req *SendDocumentRequest) (*Message, error) + func (b *TelegramBot) SendGame(ctx context.Context, req *SendGameRequest) (*Message, error) + func (b *TelegramBot) SendGift(ctx context.Context, req *SendGiftRequest) (bool, error) + func (b *TelegramBot) SendInvoice(ctx context.Context, req *SendInvoiceRequest) (*Message, error) + func (b *TelegramBot) SendLivePhoto(ctx context.Context, req *SendLivePhotoRequest) (*Message, error) + func (b *TelegramBot) SendLocation(ctx context.Context, req *SendLocationRequest) (*Message, error) + func (b *TelegramBot) SendMediaGroup(ctx context.Context, req *SendMediaGroupRequest) ([]Message, error) + func (b *TelegramBot) SendMessage(ctx context.Context, req *SendMessageRequest) (*Message, error) + func (b *TelegramBot) SendMessageDraft(ctx context.Context, req *SendMessageDraftRequest) (bool, error) + func (b *TelegramBot) SendPaidMedia(ctx context.Context, req *SendPaidMediaRequest) (*Message, error) + func (b *TelegramBot) SendPhoto(ctx context.Context, req *SendPhotoRequest) (*Message, error) + func (b *TelegramBot) SendPoll(ctx context.Context, req *SendPollRequest) (*Message, error) + func (b *TelegramBot) SendRichMessage(ctx context.Context, req *SendRichMessageRequest) (*Message, error) + func (b *TelegramBot) SendRichMessageDraft(ctx context.Context, req *SendRichMessageDraftRequest) (bool, error) + func (b *TelegramBot) SendSticker(ctx context.Context, req *SendStickerRequest) (*Message, error) + func (b *TelegramBot) SendVenue(ctx context.Context, req *SendVenueRequest) (*Message, error) + func (b *TelegramBot) SendVideo(ctx context.Context, req *SendVideoRequest) (*Message, error) + func (b *TelegramBot) SendVideoNote(ctx context.Context, req *SendVideoNoteRequest) (*Message, error) + func (b *TelegramBot) SendVoice(ctx context.Context, req *SendVoiceRequest) (*Message, error) + func (b *TelegramBot) SetBotCommands(commands []BotCommand) error + func (b *TelegramBot) SetBusinessAccountBio(ctx context.Context, req *SetBusinessAccountBioRequest) (bool, error) + func (b *TelegramBot) SetBusinessAccountGiftSettings(ctx context.Context, req *SetBusinessAccountGiftSettingsRequest) (bool, error) + func (b *TelegramBot) SetBusinessAccountName(ctx context.Context, req *SetBusinessAccountNameRequest) (bool, error) + func (b *TelegramBot) SetBusinessAccountProfilePhoto(ctx context.Context, req *SetBusinessAccountProfilePhotoRequest) (bool, error) + func (b *TelegramBot) SetBusinessAccountUsername(ctx context.Context, req *SetBusinessAccountUsernameRequest) (bool, error) + func (b *TelegramBot) SetChatAdministratorCustomTitle(ctx context.Context, req *SetChatAdministratorCustomTitleRequest) (bool, error) + func (b *TelegramBot) SetChatDescription(ctx context.Context, req *SetChatDescriptionRequest) (bool, error) + func (b *TelegramBot) SetChatMemberTag(ctx context.Context, req *SetChatMemberTagRequest) (bool, error) + func (b *TelegramBot) SetChatMenuButton(ctx context.Context, req *SetChatMenuButtonRequest) (bool, error) + func (b *TelegramBot) SetChatPermissions(ctx context.Context, req *SetChatPermissionsRequest) (bool, error) + func (b *TelegramBot) SetChatPhoto(ctx context.Context, req *SetChatPhotoRequest) (bool, error) + func (b *TelegramBot) SetChatStickerSet(ctx context.Context, req *SetChatStickerSetRequest) (bool, error) + func (b *TelegramBot) SetChatTitle(ctx context.Context, req *SetChatTitleRequest) (bool, error) + func (b *TelegramBot) SetCustomEmojiStickerSetThumbnail(ctx context.Context, req *SetCustomEmojiStickerSetThumbnailRequest) (bool, error) + func (b *TelegramBot) SetFSMStorage(storage FSMStorage) + func (b *TelegramBot) SetGameScore(ctx context.Context, req *SetGameScoreRequest) (*Message, error) + func (b *TelegramBot) SetManagedBotAccessSettings(ctx context.Context, req *SetManagedBotAccessSettingsRequest) (bool, error) + func (b *TelegramBot) SetMessageReaction(ctx context.Context, req *SetMessageReactionRequest) (bool, error) + func (b *TelegramBot) SetMyCommands(ctx context.Context, req *SetMyCommandsRequest) (bool, error) + func (b *TelegramBot) SetMyDefaultAdministratorRights(ctx context.Context, req *SetMyDefaultAdministratorRightsRequest) (bool, error) + func (b *TelegramBot) SetMyDescription(ctx context.Context, req *SetMyDescriptionRequest) (bool, error) + func (b *TelegramBot) SetMyName(ctx context.Context, req *SetMyNameRequest) (bool, error) + func (b *TelegramBot) SetMyProfilePhoto(ctx context.Context, req *SetMyProfilePhotoRequest) (bool, error) + func (b *TelegramBot) SetMyShortDescription(ctx context.Context, req *SetMyShortDescriptionRequest) (bool, error) + func (b *TelegramBot) SetPassportDataErrors(ctx context.Context, req *SetPassportDataErrorsRequest) (bool, error) + func (b *TelegramBot) SetStickerEmojiList(ctx context.Context, req *SetStickerEmojiListRequest) (bool, error) + func (b *TelegramBot) SetStickerKeywords(ctx context.Context, req *SetStickerKeywordsRequest) (bool, error) + func (b *TelegramBot) SetStickerMaskPosition(ctx context.Context, req *SetStickerMaskPositionRequest) (bool, error) + func (b *TelegramBot) SetStickerPositionInSet(ctx context.Context, req *SetStickerPositionInSetRequest) (bool, error) + func (b *TelegramBot) SetStickerSetThumbnail(ctx context.Context, req *SetStickerSetThumbnailRequest) (bool, error) + func (b *TelegramBot) SetStickerSetTitle(ctx context.Context, req *SetStickerSetTitleRequest) (bool, error) + func (b *TelegramBot) SetUserEmojiStatus(ctx context.Context, req *SetUserEmojiStatusRequest) (bool, error) + func (b *TelegramBot) SetWebhook(ctx context.Context, req *SetWebhookRequest) (bool, error) + func (b *TelegramBot) StartHealthServer(ctx context.Context, addr string, gate ...HealthGate) + func (b *TelegramBot) StartWorkers(ctx context.Context) + func (b *TelegramBot) StopMessageLiveLocation(ctx context.Context, req *StopMessageLiveLocationRequest) (*Message, error) + func (b *TelegramBot) StopPoll(ctx context.Context, req *StopPollRequest) (*Poll, error) + func (b *TelegramBot) StopWorkers() + func (b *TelegramBot) TransferBusinessAccountStars(ctx context.Context, req *TransferBusinessAccountStarsRequest) (bool, error) + func (b *TelegramBot) TransferGift(ctx context.Context, req *TransferGiftRequest) (bool, error) + func (b *TelegramBot) UnbanChatMember(ctx context.Context, req *UnbanChatMemberRequest) (bool, error) + func (b *TelegramBot) UnbanChatSenderChat(ctx context.Context, req *UnbanChatSenderChatRequest) (bool, error) + func (b *TelegramBot) UnhideGeneralForumTopic(ctx context.Context, req *UnhideGeneralForumTopicRequest) (bool, error) + func (b *TelegramBot) UnpinAllChatMessages(ctx context.Context, req *UnpinAllChatMessagesRequest) (bool, error) + func (b *TelegramBot) UnpinAllForumTopicMessages(ctx context.Context, req *UnpinAllForumTopicMessagesRequest) (bool, error) + func (b *TelegramBot) UnpinAllGeneralForumTopicMessages(ctx context.Context, req *UnpinAllGeneralForumTopicMessagesRequest) (bool, error) + func (b *TelegramBot) UnpinChatMessage(ctx context.Context, req *UnpinChatMessageRequest) (bool, error) + func (b *TelegramBot) UpgradeGift(ctx context.Context, req *UpgradeGiftRequest) (bool, error) + func (b *TelegramBot) UploadStickerFile(ctx context.Context, req *UploadStickerFileRequest) (*File, error) + func (b *TelegramBot) VerifyChat(ctx context.Context, req *VerifyChatRequest) (bool, error) + func (b *TelegramBot) VerifyUser(ctx context.Context, req *VerifyUserRequest) (bool, error) + type TextChunk struct + Entities []Entity + Text string + func SplitTextWithEntities(text string, entities []Entity, limit ...int) []TextChunk + type TextQuote struct + Entities []MessageEntity + IsManual bool + Position int64 + Text string + type TransactionPartner interface + GetType func() string + type TransactionPartnerAffiliateProgram struct + CommissionPerMille int64 + SponsorUser *User + Type string + func (v *TransactionPartnerAffiliateProgram) GetType() string + type TransactionPartnerChat struct + Chat *Chat + Gift *Gift + Type string + func (v *TransactionPartnerChat) GetType() string + type TransactionPartnerFragment struct + Type string + WithdrawalState RevenueWithdrawalState + func (v *TransactionPartnerFragment) GetType() string + func (v *TransactionPartnerFragment) UnmarshalJSON(data []byte) error + type TransactionPartnerOther struct + Type string + func (v *TransactionPartnerOther) GetType() string + type TransactionPartnerTelegramAds struct + Type string + func (v *TransactionPartnerTelegramAds) GetType() string + type TransactionPartnerTelegramApi struct + RequestCount int64 + Type string + func (v *TransactionPartnerTelegramApi) GetType() string + type TransactionPartnerUser struct + Affiliate *AffiliateInfo + Gift *Gift + InvoicePayload string + PaidMedia []PaidMedia + PaidMediaPayload string + PremiumSubscriptionDuration int64 + SubscriptionPeriod int64 + TransactionType string + Type string + User *User + func (v *TransactionPartnerUser) GetType() string + func (v *TransactionPartnerUser) UnmarshalJSON(data []byte) error + type TransferBusinessAccountStarsRequest struct + BusinessConnectionID string + StarCount int64 + type TransferGiftRequest struct + BusinessConnectionID string + NewOwnerChatID int64 + OwnedGiftID string + StarCount int64 + type Translator interface + DefaultLocale func() string + Translate func(locale, key string, args ...any) string + TranslateN func(locale, key string, n int, args ...any) string + type UnbanChatMemberRequest struct + ChatID ChatID + OnlyIfBanned bool + UserID int64 + type UnbanChatSenderChatRequest struct + ChatID ChatID + SenderChatID int64 + type UnhideGeneralForumTopicRequest struct + ChatID ChatID + type UniqueGift struct + Backdrop *UniqueGiftBackdrop + BaseName string + Colors *UniqueGiftColors + GiftID string + IsBurned bool + IsFromBlockchain bool + IsPremium bool + Model *UniqueGiftModel + Name string + Number int64 + PublisherChat *Chat + Symbol *UniqueGiftSymbol + type UniqueGiftBackdrop struct + Colors *UniqueGiftBackdropColors + Name string + RarityPerMille int64 + type UniqueGiftBackdropColors struct + CenterColor int64 + EdgeColor int64 + SymbolColor int64 + TextColor int64 + type UniqueGiftColors struct + DarkThemeMainColor int64 + DarkThemeOtherColors []int64 + LightThemeMainColor int64 + LightThemeOtherColors []int64 + ModelCustomEmojiID string + SymbolCustomEmojiID string + type UniqueGiftInfo struct + Gift *UniqueGift + LastResaleAmount int64 + LastResaleCurrency string + NextTransferDate int64 + Origin string + OwnedGiftID string + TransferStarCount int64 + type UniqueGiftModel struct + Name string + Rarity string + RarityPerMille int64 + Sticker *Sticker + type UniqueGiftSymbol struct + Name string + RarityPerMille int64 + Sticker *Sticker + type UnpinAllChatMessagesRequest struct + ChatID ChatID + type UnpinAllForumTopicMessagesRequest struct + ChatID ChatID + MessageThreadID int64 + type UnpinAllGeneralForumTopicMessagesRequest struct + ChatID ChatID + type UnpinChatMessageRequest struct + BusinessConnectionID string + ChatID ChatID + MessageID int64 + 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 + UpdateID int64 + func (u *Update) Kind() string + type UpgradeGiftRequest struct + BusinessConnectionID string + KeepOriginalDetails bool + OwnedGiftID string + StarCount int64 + type UploadStickerFileRequest struct + Sticker InputFile + StickerFormat string + UserID int64 + 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 + func (u *User) FullName() string + type UserChatBoosts struct + Boosts []ChatBoost + type UserProfileAudios struct + Audios []Audio + TotalCount int64 + type UserProfilePhotos struct + Photos [][]PhotoSize + TotalCount int64 + type UserRating struct + CurrentLevelRating int64 + Level int64 + NextLevelRating int64 + Rating int64 + type UsersShared struct + RequestID int64 + Users []SharedUser + type ValidationError struct + Field string + Message string + func (e *ValidationError) Error() string + type Venue struct + Address string + FoursquareID string + FoursquareType string + GooglePlaceID string + GooglePlaceType string + Location *Location + Title string + type VerifyChatRequest struct + ChatID ChatID + CustomDescription string + type VerifyUserRequest struct + CustomDescription string + UserID int64 + type Video struct + Cover []PhotoSize + Duration int64 + FileID string + FileName string + FileSize int64 + FileUniqueID string + Height int64 + MimeType string + Qualities []VideoQuality + StartTimestamp int64 + Thumbnail *PhotoSize + Width int64 + type VideoChatEnded struct + Duration int64 + type VideoChatParticipantsInvited struct + Users []User + type VideoChatScheduled struct + StartDate int64 + type VideoChatStarted struct + type VideoNote struct + Duration int64 + FileID string + FileSize int64 + FileUniqueID string + Length int64 + Thumbnail *PhotoSize + type VideoQuality struct + Codec string + FileID string + FileSize int64 + FileUniqueID string + Height int64 + Width int64 + type Voice struct + Duration int64 + FileID string + FileSize int64 + FileUniqueID string + MimeType string + type WebAppChat struct + ID int64 + PhotoURL string + Title string + Type string + Username string + type WebAppData struct + ButtonText string + Data string + type WebAppEnvironment int + const WebAppProd + const WebAppTest + type WebAppInfo struct + URL string + type WebAppInitData struct + AuthDate time.Time + CanSendAfter time.Duration + Chat *WebAppChat + ChatInstance string + ChatType string + Hash string + QueryID string + Raw url.Values + Receiver *WebAppUser + Signature string + StartParam string + User *WebAppUser + func ValidateWebAppInitData(initData, botToken string, maxAge time.Duration) (*WebAppInitData, error) + func ValidateWebAppInitDataThirdParty(initData string, botID int64, env WebAppEnvironment, maxAge time.Duration) (*WebAppInitData, error) + type WebAppUser struct + AddedToAttachmentMenu bool + AllowsWriteToPM bool + FirstName string + ID int64 + IsBot bool + IsPremium bool + LanguageCode string + LastName string + PhotoURL string + Username string + type WebhookConfig struct + Addr string + CertFile string + DeleteOnStop bool + DropPendingUpdates bool + KeyFile string + MaxConnections int64 + Path string + PublicURL string + SecretToken string + Server *http.Server + UploadCertificate string + type WebhookInfo struct + AllowedUpdates []string + HasCustomCertificate bool + IpAddress string + LastErrorDate int64 + LastErrorMessage string + LastSynchronizationErrorDate int64 + MaxConnections int64 + PendingUpdateCount int64 + URL string + type WebhookReply struct + func AsWebhookReply(err error) (*WebhookReply, bool) + func (wr *WebhookReply) MarshalJSON() ([]byte, error) + func (wr *WebhookReply) Method() string + func (wr *WebhookReply) Params() any + type Wizard struct + func NewWizard(name string, opts ...WizardOption) *Wizard + func (w *Wizard) Cancel(c *Ctx) error + func (w *Wizard) Enter(c *Ctx) error + func (w *Wizard) Exit(c *Ctx) error + func (w *Wizard) Router() *Router + func (w *Wizard) State(i int) State + func (w *Wizard) Step(handler WizardStepFunc, opts ...StepOption) int + func (w *Wizard) Use(mw MiddlewareFunc) + type WizardCtx struct + func (wc *WizardCtx) Back() error + func (wc *WizardCtx) Cancel() error + func (wc *WizardCtx) Exit() error + func (wc *WizardCtx) GoTo(i int) error + func (wc *WizardCtx) Next() error + func (wc *WizardCtx) StepIndex() int + type WizardOption func(*Wizard) + func WithCancelCommand(command string) WizardOption + func WithOnCancel(fn func(c *Ctx) error) WizardOption + func WithOnEnter(fn func(c *Ctx) error) WizardOption + func WithOnExit(fn func(c *Ctx) error) WizardOption + type WizardStepFunc func(wc *WizardCtx) error + type WriteAccessAllowed struct + FromAttachmentMenu bool + FromRequest bool + WebAppName string