Versions in this module Expand all Collapse all v0 v0.1.2 Sep 28, 2026 v0.1.1 Sep 28, 2026retracted v0.1.0 Sep 28, 2026retracted Changes in this version + const ParseModeHTML + const ParseModeMarkdown + const SupportedBotAPIVersion + var ErrAnotherInstance = errors.New("teleiq: another instance polls with the token") + var ErrBotBlocked = errors.New("teleiq: bot blocked by the user") + var ErrBotKicked = errors.New("teleiq: bot kicked from the chat") + var ErrBotToBot = errors.New("teleiq: bots cannot message bots") + var ErrButtonDataInvalid = errors.New("teleiq: button data invalid") + var ErrCantParseEntities = errors.New("teleiq: can't parse entities") + var ErrChatNotFound = errors.New("teleiq: chat not found") + var ErrConflict = errors.New("teleiq: conflict") + var ErrEmptyText = errors.New("teleiq: message text is empty") + var ErrFileTooBig = errors.New("teleiq: file is too big") + var ErrForbidden = errors.New("teleiq: forbidden") + var ErrGroupMigrated = errors.New("teleiq: group migrated to a supergroup") + var ErrInvalidFileID = errors.New("teleiq: invalid file_id") + var ErrInvalidToken = errors.New("teleiq: invalid bot token") + var ErrMemberIsAdmin = errors.New("teleiq: member is an administrator") + var ErrMessageCantBeDeleted = errors.New("teleiq: message can't be deleted") + var ErrMessageCantBeEdited = errors.New("teleiq: message can't be edited") + var ErrMessageNotFound = errors.New("teleiq: message not found") + var ErrMessageNotModified = errors.New("teleiq: message is not modified") + var ErrMessageTooLong = errors.New("teleiq: message is too long") + var ErrMethodNotFound = errors.New("teleiq: method not found") + var ErrNotEnoughRights = errors.New("teleiq: not enough rights") + var ErrNotMember = errors.New("teleiq: bot is not a member of the chat") + var ErrNotStarted = errors.New("teleiq: user has not started the bot") + var ErrQueryTooOld = errors.New("teleiq: query is too old") + var ErrReplyMarkupTooLong = errors.New("teleiq: reply markup is too long") + var ErrTooManyRequests = errors.New("teleiq: too many requests") + var ErrUnauthorized = errors.New("teleiq: unauthorized") + var ErrUserDeactivated = errors.New("teleiq: user deactivated") + var ErrUserNotFound = errors.New("teleiq: user not found") + var ErrWebhookActive = errors.New("teleiq: webhook is active") + var ErrWrongChatType = errors.New("teleiq: method not available in this chat") + func EscapeMarkdown(s string) string + func Ptr[T any](v T) *T + type AddStickerToSetParams struct + Name string + Sticker models.InputSticker + UserID int64 + type AnswerCallbackQueryParams struct + CacheTime *int + CallbackQueryID string + ShowAlert *bool + Text *string + URL *string + type AnswerChatJoinRequestQueryParams struct + ChatJoinRequestQueryID string + Result string + type AnswerGuestQueryParams struct + GuestQueryID string + Result models.InlineQueryResult + type AnswerInlineQueryParams struct + Button *models.InlineQueryResultsButton + CacheTime *int + InlineQueryID string + IsPersonal *bool + NextOffset *string + Results []models.InlineQueryResult + type AnswerPreCheckoutQueryParams struct + ErrorMessage *string + Ok bool + PreCheckoutQueryID string + type AnswerShippingQueryParams struct + ErrorMessage *string + Ok bool + ShippingOptions []models.ShippingOption + ShippingQueryID string + type AnswerWebAppQueryParams struct + Result models.InlineQueryResult + WebAppQueryID string + type ApproveChatJoinRequestParams struct + ChatID models.ChatID + UserID int64 + type ApproveSuggestedPostParams struct + ChatID int64 + MessageID int64 + SendDate *int64 + type Backoff struct + BaseDelay time.Duration + MaxAttempts int + MaxDelay time.Duration + func (b Backoff) Retry(attempt int, _ error) (time.Duration, bool) + type BanChatMemberParams struct + ChatID models.ChatID + RevokeMessages *bool + UntilDate *int64 + UserID int64 + type BanChatSenderChatParams struct + ChatID models.ChatID + SenderChatID int64 + type Client struct + func NewClient(token string, opts ...Option) (*Client, error) + func (c *Client) AddStickerToSet(ctx context.Context, params AddStickerToSetParams) error + func (c *Client) AnswerCallbackQuery(ctx context.Context, params AnswerCallbackQueryParams) error + func (c *Client) AnswerChatJoinRequestQuery(ctx context.Context, params AnswerChatJoinRequestQueryParams) error + func (c *Client) AnswerGuestQuery(ctx context.Context, params AnswerGuestQueryParams) (*models.SentGuestMessage, error) + func (c *Client) AnswerInlineQuery(ctx context.Context, params AnswerInlineQueryParams) error + func (c *Client) AnswerPreCheckoutQuery(ctx context.Context, params AnswerPreCheckoutQueryParams) error + func (c *Client) AnswerShippingQuery(ctx context.Context, params AnswerShippingQueryParams) error + func (c *Client) AnswerWebAppQuery(ctx context.Context, params AnswerWebAppQueryParams) (*models.SentWebAppMessage, error) + func (c *Client) ApproveChatJoinRequest(ctx context.Context, params ApproveChatJoinRequestParams) error + func (c *Client) ApproveSuggestedPost(ctx context.Context, params ApproveSuggestedPostParams) error + func (c *Client) BanChatMember(ctx context.Context, params BanChatMemberParams) error + func (c *Client) BanChatSenderChat(ctx context.Context, params BanChatSenderChatParams) error + func (c *Client) Call(ctx context.Context, method string, params, result any) error + func (c *Client) Close(ctx context.Context) error + func (c *Client) CloseForumTopic(ctx context.Context, params CloseForumTopicParams) error + func (c *Client) CloseGeneralForumTopic(ctx context.Context, params CloseGeneralForumTopicParams) error + func (c *Client) ConvertGiftToStars(ctx context.Context, params ConvertGiftToStarsParams) error + func (c *Client) CopyMessage(ctx context.Context, params CopyMessageParams) (*models.MessageId, error) + func (c *Client) CopyMessages(ctx context.Context, params CopyMessagesParams) ([]models.MessageId, error) + func (c *Client) CreateChatInviteLink(ctx context.Context, params CreateChatInviteLinkParams) (*models.ChatInviteLink, error) + func (c *Client) CreateChatSubscriptionInviteLink(ctx context.Context, params CreateChatSubscriptionInviteLinkParams) (*models.ChatInviteLink, error) + func (c *Client) CreateForumTopic(ctx context.Context, params CreateForumTopicParams) (*models.ForumTopic, error) + func (c *Client) CreateInvoiceLink(ctx context.Context, params CreateInvoiceLinkParams) (string, error) + func (c *Client) CreateNewStickerSet(ctx context.Context, params CreateNewStickerSetParams) error + func (c *Client) DeclineChatJoinRequest(ctx context.Context, params DeclineChatJoinRequestParams) error + func (c *Client) DeclineSuggestedPost(ctx context.Context, params DeclineSuggestedPostParams) error + func (c *Client) DeleteAllMessageReactions(ctx context.Context, params DeleteAllMessageReactionsParams) error + func (c *Client) DeleteBusinessMessages(ctx context.Context, params DeleteBusinessMessagesParams) error + func (c *Client) DeleteChatPhoto(ctx context.Context, params DeleteChatPhotoParams) error + func (c *Client) DeleteChatStickerSet(ctx context.Context, params DeleteChatStickerSetParams) error + func (c *Client) DeleteEphemeralMessage(ctx context.Context, params DeleteEphemeralMessageParams) error + func (c *Client) DeleteForumTopic(ctx context.Context, params DeleteForumTopicParams) error + func (c *Client) DeleteMessage(ctx context.Context, params DeleteMessageParams) error + func (c *Client) DeleteMessageReaction(ctx context.Context, params DeleteMessageReactionParams) error + func (c *Client) DeleteMessages(ctx context.Context, params DeleteMessagesParams) error + func (c *Client) DeleteMyCommands(ctx context.Context, params DeleteMyCommandsParams) error + func (c *Client) DeleteStickerFromSet(ctx context.Context, params DeleteStickerFromSetParams) error + func (c *Client) DeleteStickerSet(ctx context.Context, params DeleteStickerSetParams) error + func (c *Client) DeleteStory(ctx context.Context, params DeleteStoryParams) error + func (c *Client) DeleteWebhook(ctx context.Context, params DeleteWebhookParams) error + func (c *Client) Download(ctx context.Context, filePath string, dst io.Writer) error + func (c *Client) EditChatInviteLink(ctx context.Context, params EditChatInviteLinkParams) (*models.ChatInviteLink, error) + func (c *Client) EditChatSubscriptionInviteLink(ctx context.Context, params EditChatSubscriptionInviteLinkParams) (*models.ChatInviteLink, error) + func (c *Client) EditEphemeralMessageCaption(ctx context.Context, params EditEphemeralMessageCaptionParams) error + func (c *Client) EditEphemeralMessageMedia(ctx context.Context, params EditEphemeralMessageMediaParams) error + func (c *Client) EditEphemeralMessageReplyMarkup(ctx context.Context, params EditEphemeralMessageReplyMarkupParams) error + func (c *Client) EditEphemeralMessageText(ctx context.Context, params EditEphemeralMessageTextParams) error + func (c *Client) EditForumTopic(ctx context.Context, params EditForumTopicParams) error + func (c *Client) EditGeneralForumTopic(ctx context.Context, params EditGeneralForumTopicParams) error + func (c *Client) EditMessageCaption(ctx context.Context, params EditMessageCaptionParams) (*models.Message, error) + func (c *Client) EditMessageChecklist(ctx context.Context, params EditMessageChecklistParams) (*models.Message, error) + func (c *Client) EditMessageLiveLocation(ctx context.Context, params EditMessageLiveLocationParams) (*models.Message, error) + func (c *Client) EditMessageMedia(ctx context.Context, params EditMessageMediaParams) (*models.Message, error) + func (c *Client) EditMessageReplyMarkup(ctx context.Context, params EditMessageReplyMarkupParams) (*models.Message, error) + func (c *Client) EditMessageText(ctx context.Context, params EditMessageTextParams) (*models.Message, error) + func (c *Client) EditStory(ctx context.Context, params EditStoryParams) (*models.Story, error) + func (c *Client) EditUserStarSubscription(ctx context.Context, params EditUserStarSubscriptionParams) error + func (c *Client) ExportChatInviteLink(ctx context.Context, params ExportChatInviteLinkParams) (string, error) + func (c *Client) ForwardMessage(ctx context.Context, params ForwardMessageParams) (*models.Message, error) + func (c *Client) ForwardMessages(ctx context.Context, params ForwardMessagesParams) ([]models.MessageId, error) + func (c *Client) GetAvailableGifts(ctx context.Context) (*models.Gifts, error) + func (c *Client) GetBusinessAccountGifts(ctx context.Context, params GetBusinessAccountGiftsParams) (*models.OwnedGifts, error) + func (c *Client) GetBusinessAccountStarBalance(ctx context.Context, params GetBusinessAccountStarBalanceParams) (*models.StarAmount, error) + func (c *Client) GetBusinessConnection(ctx context.Context, params GetBusinessConnectionParams) (*models.BusinessConnection, error) + func (c *Client) GetChat(ctx context.Context, params GetChatParams) (*models.ChatFullInfo, error) + func (c *Client) GetChatAdministrators(ctx context.Context, params GetChatAdministratorsParams) ([]models.ChatMember, error) + func (c *Client) GetChatGifts(ctx context.Context, params GetChatGiftsParams) (*models.OwnedGifts, error) + func (c *Client) GetChatMember(ctx context.Context, params GetChatMemberParams) (models.ChatMember, error) + func (c *Client) GetChatMemberCount(ctx context.Context, params GetChatMemberCountParams) (int, error) + func (c *Client) GetChatMenuButton(ctx context.Context, params GetChatMenuButtonParams) (models.MenuButton, error) + func (c *Client) GetCustomEmojiStickers(ctx context.Context, params GetCustomEmojiStickersParams) ([]models.Sticker, error) + func (c *Client) GetFile(ctx context.Context, params GetFileParams) (*models.File, error) + func (c *Client) GetForumTopicIconStickers(ctx context.Context) ([]models.Sticker, error) + func (c *Client) GetGameHighScores(ctx context.Context, params GetGameHighScoresParams) ([]models.GameHighScore, error) + func (c *Client) GetManagedBotAccessSettings(ctx context.Context, params GetManagedBotAccessSettingsParams) (*models.BotAccessSettings, error) + func (c *Client) GetManagedBotToken(ctx context.Context, params GetManagedBotTokenParams) (string, error) + func (c *Client) GetMe(ctx context.Context) (*models.User, error) + func (c *Client) GetMyCommands(ctx context.Context, params GetMyCommandsParams) ([]models.BotCommand, error) + func (c *Client) GetMyDefaultAdministratorRights(ctx context.Context, params GetMyDefaultAdministratorRightsParams) (*models.ChatAdministratorRights, error) + func (c *Client) GetMyDescription(ctx context.Context, params GetMyDescriptionParams) (*models.BotDescription, error) + func (c *Client) GetMyName(ctx context.Context, params GetMyNameParams) (*models.BotName, error) + func (c *Client) GetMyShortDescription(ctx context.Context, params GetMyShortDescriptionParams) (*models.BotShortDescription, error) + func (c *Client) GetMyStarBalance(ctx context.Context) (*models.StarAmount, error) + func (c *Client) GetStarTransactions(ctx context.Context, params GetStarTransactionsParams) (*models.StarTransactions, error) + func (c *Client) GetStickerSet(ctx context.Context, params GetStickerSetParams) (*models.StickerSet, error) + func (c *Client) GetUpdates(ctx context.Context, params GetUpdatesParams) ([]models.Update, error) + func (c *Client) GetUserChatBoosts(ctx context.Context, params GetUserChatBoostsParams) (*models.UserChatBoosts, error) + func (c *Client) GetUserGifts(ctx context.Context, params GetUserGiftsParams) (*models.OwnedGifts, error) + func (c *Client) GetUserPersonalChatMessages(ctx context.Context, params GetUserPersonalChatMessagesParams) ([]models.Message, error) + func (c *Client) GetUserProfileAudios(ctx context.Context, params GetUserProfileAudiosParams) (*models.UserProfileAudios, error) + func (c *Client) GetUserProfilePhotos(ctx context.Context, params GetUserProfilePhotosParams) (*models.UserProfilePhotos, error) + func (c *Client) GetWebhookInfo(ctx context.Context) (*models.WebhookInfo, error) + func (c *Client) GiftPremiumSubscription(ctx context.Context, params GiftPremiumSubscriptionParams) error + func (c *Client) HideGeneralForumTopic(ctx context.Context, params HideGeneralForumTopicParams) error + func (c *Client) LeaveChat(ctx context.Context, params LeaveChatParams) error + func (c *Client) LogOut(ctx context.Context) error + func (c *Client) PinChatMessage(ctx context.Context, params PinChatMessageParams) error + func (c *Client) PostStory(ctx context.Context, params PostStoryParams) (*models.Story, error) + func (c *Client) PromoteChatMember(ctx context.Context, params PromoteChatMemberParams) error + func (c *Client) ReadBusinessMessage(ctx context.Context, params ReadBusinessMessageParams) error + func (c *Client) RefundStarPayment(ctx context.Context, params RefundStarPaymentParams) error + func (c *Client) RemoveBusinessAccountProfilePhoto(ctx context.Context, params RemoveBusinessAccountProfilePhotoParams) error + func (c *Client) RemoveChatVerification(ctx context.Context, params RemoveChatVerificationParams) error + func (c *Client) RemoveMyProfilePhoto(ctx context.Context) error + func (c *Client) RemoveUserVerification(ctx context.Context, params RemoveUserVerificationParams) error + func (c *Client) ReopenForumTopic(ctx context.Context, params ReopenForumTopicParams) error + func (c *Client) ReopenGeneralForumTopic(ctx context.Context, params ReopenGeneralForumTopicParams) error + func (c *Client) ReplaceManagedBotToken(ctx context.Context, params ReplaceManagedBotTokenParams) (string, error) + func (c *Client) ReplaceStickerInSet(ctx context.Context, params ReplaceStickerInSetParams) error + func (c *Client) RepostStory(ctx context.Context, params RepostStoryParams) (*models.Story, error) + func (c *Client) RestrictChatMember(ctx context.Context, params RestrictChatMemberParams) error + func (c *Client) RevokeChatInviteLink(ctx context.Context, params RevokeChatInviteLinkParams) (*models.ChatInviteLink, error) + func (c *Client) SavePreparedInlineMessage(ctx context.Context, params SavePreparedInlineMessageParams) (*models.PreparedInlineMessage, error) + func (c *Client) SavePreparedKeyboardButton(ctx context.Context, params SavePreparedKeyboardButtonParams) (*models.PreparedKeyboardButton, error) + func (c *Client) SendAnimation(ctx context.Context, params SendAnimationParams) (*models.Message, error) + func (c *Client) SendAudio(ctx context.Context, params SendAudioParams) (*models.Message, error) + func (c *Client) SendChatAction(ctx context.Context, params SendChatActionParams) error + func (c *Client) SendChatJoinRequestWebApp(ctx context.Context, params SendChatJoinRequestWebAppParams) error + func (c *Client) SendChecklist(ctx context.Context, params SendChecklistParams) (*models.Message, error) + func (c *Client) SendContact(ctx context.Context, params SendContactParams) (*models.Message, error) + func (c *Client) SendDice(ctx context.Context, params SendDiceParams) (*models.Message, error) + func (c *Client) SendDocument(ctx context.Context, params SendDocumentParams) (*models.Message, error) + func (c *Client) SendGame(ctx context.Context, params SendGameParams) (*models.Message, error) + func (c *Client) SendGift(ctx context.Context, params SendGiftParams) error + func (c *Client) SendInvoice(ctx context.Context, params SendInvoiceParams) (*models.Message, error) + func (c *Client) SendLivePhoto(ctx context.Context, params SendLivePhotoParams) (*models.Message, error) + func (c *Client) SendLocation(ctx context.Context, params SendLocationParams) (*models.Message, error) + func (c *Client) SendMediaGroup(ctx context.Context, params SendMediaGroupParams) ([]models.Message, error) + func (c *Client) SendMessage(ctx context.Context, params SendMessageParams) (*models.Message, error) + func (c *Client) SendMessageDraft(ctx context.Context, params SendMessageDraftParams) error + func (c *Client) SendPaidMedia(ctx context.Context, params SendPaidMediaParams) (*models.Message, error) + func (c *Client) SendPhoto(ctx context.Context, params SendPhotoParams) (*models.Message, error) + func (c *Client) SendPoll(ctx context.Context, params SendPollParams) (*models.Message, error) + func (c *Client) SendRichMessage(ctx context.Context, params SendRichMessageParams) (*models.Message, error) + func (c *Client) SendRichMessageDraft(ctx context.Context, params SendRichMessageDraftParams) error + func (c *Client) SendSticker(ctx context.Context, params SendStickerParams) (*models.Message, error) + func (c *Client) SendVenue(ctx context.Context, params SendVenueParams) (*models.Message, error) + func (c *Client) SendVideo(ctx context.Context, params SendVideoParams) (*models.Message, error) + func (c *Client) SendVideoNote(ctx context.Context, params SendVideoNoteParams) (*models.Message, error) + func (c *Client) SendVoice(ctx context.Context, params SendVoiceParams) (*models.Message, error) + func (c *Client) SetBusinessAccountBio(ctx context.Context, params SetBusinessAccountBioParams) error + func (c *Client) SetBusinessAccountGiftSettings(ctx context.Context, params SetBusinessAccountGiftSettingsParams) error + func (c *Client) SetBusinessAccountName(ctx context.Context, params SetBusinessAccountNameParams) error + func (c *Client) SetBusinessAccountProfilePhoto(ctx context.Context, params SetBusinessAccountProfilePhotoParams) error + func (c *Client) SetBusinessAccountUsername(ctx context.Context, params SetBusinessAccountUsernameParams) error + func (c *Client) SetChatAdministratorCustomTitle(ctx context.Context, params SetChatAdministratorCustomTitleParams) error + func (c *Client) SetChatDescription(ctx context.Context, params SetChatDescriptionParams) error + func (c *Client) SetChatMemberTag(ctx context.Context, params SetChatMemberTagParams) error + func (c *Client) SetChatMenuButton(ctx context.Context, params SetChatMenuButtonParams) error + func (c *Client) SetChatPermissions(ctx context.Context, params SetChatPermissionsParams) error + func (c *Client) SetChatPhoto(ctx context.Context, params SetChatPhotoParams) error + func (c *Client) SetChatStickerSet(ctx context.Context, params SetChatStickerSetParams) error + func (c *Client) SetChatTitle(ctx context.Context, params SetChatTitleParams) error + func (c *Client) SetCustomEmojiStickerSetThumbnail(ctx context.Context, params SetCustomEmojiStickerSetThumbnailParams) error + func (c *Client) SetGameScore(ctx context.Context, params SetGameScoreParams) (*models.Message, error) + func (c *Client) SetManagedBotAccessSettings(ctx context.Context, params SetManagedBotAccessSettingsParams) error + func (c *Client) SetMessageReaction(ctx context.Context, params SetMessageReactionParams) error + func (c *Client) SetMyCommands(ctx context.Context, params SetMyCommandsParams) error + func (c *Client) SetMyDefaultAdministratorRights(ctx context.Context, params SetMyDefaultAdministratorRightsParams) error + func (c *Client) SetMyDescription(ctx context.Context, params SetMyDescriptionParams) error + func (c *Client) SetMyName(ctx context.Context, params SetMyNameParams) error + func (c *Client) SetMyProfilePhoto(ctx context.Context, params SetMyProfilePhotoParams) error + func (c *Client) SetMyShortDescription(ctx context.Context, params SetMyShortDescriptionParams) error + func (c *Client) SetPassportDataErrors(ctx context.Context, params SetPassportDataErrorsParams) error + func (c *Client) SetStickerEmojiList(ctx context.Context, params SetStickerEmojiListParams) error + func (c *Client) SetStickerKeywords(ctx context.Context, params SetStickerKeywordsParams) error + func (c *Client) SetStickerMaskPosition(ctx context.Context, params SetStickerMaskPositionParams) error + func (c *Client) SetStickerPositionInSet(ctx context.Context, params SetStickerPositionInSetParams) error + func (c *Client) SetStickerSetThumbnail(ctx context.Context, params SetStickerSetThumbnailParams) error + func (c *Client) SetStickerSetTitle(ctx context.Context, params SetStickerSetTitleParams) error + func (c *Client) SetUserEmojiStatus(ctx context.Context, params SetUserEmojiStatusParams) error + func (c *Client) SetWebhook(ctx context.Context, params SetWebhookParams) error + func (c *Client) StopMessageLiveLocation(ctx context.Context, params StopMessageLiveLocationParams) (*models.Message, error) + func (c *Client) StopPoll(ctx context.Context, params StopPollParams) (*models.Poll, error) + func (c *Client) TransferBusinessAccountStars(ctx context.Context, params TransferBusinessAccountStarsParams) error + func (c *Client) TransferGift(ctx context.Context, params TransferGiftParams) error + func (c *Client) UnbanChatMember(ctx context.Context, params UnbanChatMemberParams) error + func (c *Client) UnbanChatSenderChat(ctx context.Context, params UnbanChatSenderChatParams) error + func (c *Client) UnhideGeneralForumTopic(ctx context.Context, params UnhideGeneralForumTopicParams) error + func (c *Client) UnpinAllChatMessages(ctx context.Context, params UnpinAllChatMessagesParams) error + func (c *Client) UnpinAllForumTopicMessages(ctx context.Context, params UnpinAllForumTopicMessagesParams) error + func (c *Client) UnpinAllGeneralForumTopicMessages(ctx context.Context, params UnpinAllGeneralForumTopicMessagesParams) error + func (c *Client) UnpinChatMessage(ctx context.Context, params UnpinChatMessageParams) error + func (c *Client) UpgradeGift(ctx context.Context, params UpgradeGiftParams) error + func (c *Client) UploadStickerFile(ctx context.Context, params UploadStickerFileParams) (*models.File, error) + func (c *Client) VerifyChat(ctx context.Context, params VerifyChatParams) error + func (c *Client) VerifyUser(ctx context.Context, params VerifyUserParams) error + type CloseForumTopicParams struct + ChatID models.ChatID + MessageThreadID int64 + type CloseGeneralForumTopicParams struct + ChatID models.ChatID + type ConvertGiftToStarsParams struct + BusinessConnectionID string + OwnedGiftID string + type CopyMessageParams struct + AllowPaidBroadcast *bool + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + FromChatID models.ChatID + MessageEffectID *string + MessageID int64 + MessageThreadID *int64 + ParseMode *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShowCaptionAboveMedia *bool + SuggestedPostParameters *models.SuggestedPostParameters + VideoStartTimestamp *int + type CopyMessagesParams struct + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + FromChatID models.ChatID + MessageIDs []int64 + MessageThreadID *int64 + ProtectContent *bool + RemoveCaption *bool + type CreateChatInviteLinkParams struct + ChatID models.ChatID + CreatesJoinRequest *bool + ExpireDate *int64 + MemberLimit *int + Name *string + type CreateChatSubscriptionInviteLinkParams struct + ChatID models.ChatID + Name *string + SubscriptionPeriod int + SubscriptionPrice int + type CreateForumTopicParams struct + ChatID models.ChatID + IconColor *int + IconCustomEmojiID *string + Name string + type CreateInvoiceLinkParams struct + BusinessConnectionID *string + Currency string + Description string + IsFlexible *bool + MaxTipAmount *int + NeedEmail *bool + NeedName *bool + NeedPhoneNumber *bool + NeedShippingAddress *bool + Payload string + PhotoHeight *int + PhotoSize *int + PhotoURL *string + PhotoWidth *int + Prices []models.LabeledPrice + ProviderData *string + ProviderToken *string + SendEmailToProvider *bool + SendPhoneNumberToProvider *bool + SubscriptionPeriod *int + SuggestedTipAmounts []int + Title string + type CreateNewStickerSetParams struct + Name string + NeedsRepainting *bool + StickerType *string + Stickers []models.InputSticker + Title string + UserID int64 + type DeclineChatJoinRequestParams struct + ChatID models.ChatID + UserID int64 + type DeclineSuggestedPostParams struct + ChatID int64 + Comment *string + MessageID int64 + type Defaults struct + DisableNotification bool + LinkPreviewOptions *models.LinkPreviewOptions + ParseMode string + ProtectContent bool + type DeleteAllMessageReactionsParams struct + ActorChatID *int64 + ChatID models.ChatID + UserID *int64 + type DeleteBusinessMessagesParams struct + BusinessConnectionID string + MessageIDs []int64 + type DeleteChatPhotoParams struct + ChatID models.ChatID + type DeleteChatStickerSetParams struct + ChatID models.ChatID + type DeleteEphemeralMessageParams struct + ChatID models.ChatID + EphemeralMessageID int64 + ReceiverUserID int64 + type DeleteForumTopicParams struct + ChatID models.ChatID + MessageThreadID int64 + type DeleteMessageParams struct + ChatID models.ChatID + MessageID int64 + type DeleteMessageReactionParams struct + ActorChatID *int64 + ChatID models.ChatID + MessageID int64 + UserID *int64 + type DeleteMessagesParams struct + ChatID models.ChatID + MessageIDs []int64 + type DeleteMyCommandsParams struct + LanguageCode *string + Scope models.BotCommandScope + type DeleteStickerFromSetParams struct + Sticker string + type DeleteStickerSetParams struct + Name string + type DeleteStoryParams struct + BusinessConnectionID string + StoryID int64 + type DeleteWebhookParams struct + DropPendingUpdates *bool + type EditChatInviteLinkParams struct + ChatID models.ChatID + CreatesJoinRequest *bool + ExpireDate *int64 + InviteLink string + MemberLimit *int + Name *string + type EditChatSubscriptionInviteLinkParams struct + ChatID models.ChatID + InviteLink string + Name *string + type EditEphemeralMessageCaptionParams struct + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + EphemeralMessageID int64 + ParseMode *string + ReceiverUserID int64 + ReplyMarkup *models.InlineKeyboardMarkup + ShowCaptionAboveMedia *bool + type EditEphemeralMessageMediaParams struct + ChatID models.ChatID + EphemeralMessageID int64 + Media models.InputMedia + ReceiverUserID int64 + ReplyMarkup *models.InlineKeyboardMarkup + type EditEphemeralMessageReplyMarkupParams struct + ChatID models.ChatID + EphemeralMessageID int64 + ReceiverUserID int64 + ReplyMarkup *models.InlineKeyboardMarkup + type EditEphemeralMessageTextParams struct + ChatID models.ChatID + Entities []models.MessageEntity + EphemeralMessageID int64 + LinkPreviewOptions *models.LinkPreviewOptions + ParseMode *string + ReceiverUserID int64 + ReplyMarkup *models.InlineKeyboardMarkup + RichMessage *models.InputRichMessage + Text *string + type EditForumTopicParams struct + ChatID models.ChatID + IconCustomEmojiID *string + MessageThreadID int64 + Name *string + type EditGeneralForumTopicParams struct + ChatID models.ChatID + Name string + type EditMessageCaptionParams struct + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + InlineMessageID *string + MessageID *int64 + ParseMode *string + ReplyMarkup *models.InlineKeyboardMarkup + ShowCaptionAboveMedia *bool + type EditMessageChecklistParams struct + BusinessConnectionID string + ChatID models.ChatID + Checklist models.InputChecklist + MessageID int64 + ReplyMarkup *models.InlineKeyboardMarkup + type EditMessageLiveLocationParams struct + BusinessConnectionID *string + ChatID models.ChatID + Heading *int + HorizontalAccuracy *float64 + InlineMessageID *string + Latitude float64 + LivePeriod *int + Longitude float64 + MessageID *int64 + ProximityAlertRadius *int + ReplyMarkup *models.InlineKeyboardMarkup + type EditMessageMediaParams struct + BusinessConnectionID *string + ChatID models.ChatID + InlineMessageID *string + Media models.InputMedia + MessageID *int64 + ReplyMarkup *models.InlineKeyboardMarkup + type EditMessageReplyMarkupParams struct + BusinessConnectionID *string + ChatID models.ChatID + InlineMessageID *string + MessageID *int64 + ReplyMarkup *models.InlineKeyboardMarkup + type EditMessageTextParams struct + BusinessConnectionID *string + ChatID models.ChatID + Entities []models.MessageEntity + InlineMessageID *string + LinkPreviewOptions *models.LinkPreviewOptions + MessageID *int64 + ParseMode *string + ReplyMarkup *models.InlineKeyboardMarkup + RichMessage *models.InputRichMessage + Text *string + type EditStoryParams struct + Areas []models.StoryArea + BusinessConnectionID string + Caption *string + CaptionEntities []models.MessageEntity + Content models.InputStoryContent + ParseMode *string + StoryID int64 + type EditUserStarSubscriptionParams struct + IsCanceled bool + TelegramPaymentChargeID string + UserID int64 + type Error struct + Description string + ErrorCode int + Method string + Parameters *models.ResponseParameters + func (e *Error) Error() string + func (e *Error) Is(target error) bool + type ExportChatInviteLinkParams struct + ChatID models.ChatID + type ForwardMessageParams struct + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + FromChatID models.ChatID + MessageEffectID *string + MessageID int64 + MessageThreadID *int64 + ProtectContent *bool + SuggestedPostParameters *models.SuggestedPostParameters + VideoStartTimestamp *int + type ForwardMessagesParams struct + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + FromChatID models.ChatID + MessageIDs []int64 + MessageThreadID *int64 + ProtectContent *bool + type GetBusinessAccountGiftsParams struct + BusinessConnectionID string + ExcludeFromBlockchain *bool + ExcludeLimitedNonUpgradable *bool + ExcludeLimitedUpgradable *bool + ExcludeSaved *bool + ExcludeUnique *bool + ExcludeUnlimited *bool + ExcludeUnsaved *bool + Limit *int + Offset *string + SortByPrice *bool + type GetBusinessAccountStarBalanceParams struct + BusinessConnectionID string + type GetBusinessConnectionParams struct + BusinessConnectionID string + type GetChatAdministratorsParams struct + ChatID models.ChatID + ReturnBots *bool + type GetChatGiftsParams struct + ChatID models.ChatID + ExcludeFromBlockchain *bool + ExcludeLimitedNonUpgradable *bool + ExcludeLimitedUpgradable *bool + ExcludeSaved *bool + ExcludeUnique *bool + ExcludeUnlimited *bool + ExcludeUnsaved *bool + Limit *int + Offset *string + SortByPrice *bool + type GetChatMemberCountParams struct + ChatID models.ChatID + type GetChatMemberParams struct + ChatID models.ChatID + UserID int64 + type GetChatMenuButtonParams struct + ChatID *int64 + type GetChatParams struct + ChatID models.ChatID + type GetCustomEmojiStickersParams struct + CustomEmojiIDs []string + type GetFileParams struct + FileID string + type GetGameHighScoresParams struct + ChatID *int64 + InlineMessageID *string + MessageID *int64 + UserID int64 + type GetManagedBotAccessSettingsParams struct + UserID int64 + type GetManagedBotTokenParams struct + UserID int64 + type GetMyCommandsParams struct + LanguageCode *string + Scope models.BotCommandScope + type GetMyDefaultAdministratorRightsParams struct + ForChannels *bool + type GetMyDescriptionParams struct + LanguageCode *string + type GetMyNameParams struct + LanguageCode *string + type GetMyShortDescriptionParams struct + LanguageCode *string + type GetStarTransactionsParams struct + Limit *int + Offset *int + type GetStickerSetParams struct + Name string + type GetUpdatesParams struct + AllowedUpdates []string + Limit *int + Offset *int64 + Timeout *int + type GetUserChatBoostsParams struct + ChatID models.ChatID + UserID int64 + type GetUserGiftsParams struct + ExcludeFromBlockchain *bool + ExcludeLimitedNonUpgradable *bool + ExcludeLimitedUpgradable *bool + ExcludeUnique *bool + ExcludeUnlimited *bool + Limit *int + Offset *string + SortByPrice *bool + UserID int64 + type GetUserPersonalChatMessagesParams struct + Limit int + UserID int64 + type GetUserProfileAudiosParams struct + Limit *int + Offset *int + UserID int64 + type GetUserProfilePhotosParams struct + Limit *int + Offset *int + UserID int64 + type GiftPremiumSubscriptionParams struct + MonthCount int + StarCount int + Text *string + TextEntities []models.MessageEntity + TextParseMode *string + UserID int64 + type HideGeneralForumTopicParams struct + ChatID models.ChatID + type LeaveChatParams struct + ChatID models.ChatID + type Option func(*options) error + func WithBaseURL(rawURL string) Option + func WithDefaultTimeout(d time.Duration) Option + func WithDefaults(d Defaults) Option + func WithHTTPClient(c *http.Client) Option + func WithLogger(l *slog.Logger) Option + func WithRateLimiter(l RateLimiter) Option + func WithRetryPolicy(p RetryPolicy) Option + func WithTransport(t Transport) Option + type PinChatMessageParams struct + BusinessConnectionID *string + ChatID models.ChatID + DisableNotification *bool + MessageID int64 + type PostStoryParams struct + ActivePeriod int + Areas []models.StoryArea + BusinessConnectionID string + Caption *string + CaptionEntities []models.MessageEntity + Content models.InputStoryContent + ParseMode *string + PostToChatPage *bool + ProtectContent *bool + type PromoteChatMemberParams struct + CanChangeInfo *bool + CanDeleteMessages *bool + CanDeleteStories *bool + CanEditMessages *bool + CanEditStories *bool + CanInviteUsers *bool + CanManageChat *bool + CanManageDirectMessages *bool + CanManageTags *bool + CanManageTopics *bool + CanManageVideoChats *bool + CanPinMessages *bool + CanPostMessages *bool + CanPostStories *bool + CanPromoteMembers *bool + CanRestrictMembers *bool + CanSendWelcomeMessages *bool + ChatID models.ChatID + IsAnonymous *bool + UserID int64 + type RateLimiter interface + Wait func(ctx context.Context, method string, chat models.ChatID) error + func NewRateLimiter(perSecond int, chatEvery, groupEvery time.Duration) RateLimiter + type ReadBusinessMessageParams struct + BusinessConnectionID string + ChatID int64 + MessageID int64 + type RefundStarPaymentParams struct + TelegramPaymentChargeID string + UserID int64 + type RemoveBusinessAccountProfilePhotoParams struct + BusinessConnectionID string + IsPublic *bool + type RemoveChatVerificationParams struct + ChatID models.ChatID + type RemoveUserVerificationParams struct + UserID int64 + type ReopenForumTopicParams struct + ChatID models.ChatID + MessageThreadID int64 + type ReopenGeneralForumTopicParams struct + ChatID models.ChatID + type ReplaceManagedBotTokenParams struct + UserID int64 + type ReplaceStickerInSetParams struct + Name string + OldSticker string + Sticker models.InputSticker + UserID int64 + type RepostStoryParams struct + ActivePeriod int + BusinessConnectionID string + FromChatID int64 + FromStoryID int64 + PostToChatPage *bool + ProtectContent *bool + type Request struct + Body io.Reader + ContentType string + Method string + type Response struct + Body []byte + RetryAfter time.Duration + StatusCode int + type RestrictChatMemberParams struct + ChatID models.ChatID + Permissions models.ChatPermissions + UntilDate *int64 + UseIndependentChatPermissions *bool + UserID int64 + type RetryPolicy interface + Retry func(attempt int, err error) (time.Duration, bool) + type RevokeChatInviteLinkParams struct + ChatID models.ChatID + InviteLink string + type SavePreparedInlineMessageParams struct + AllowBotChats *bool + AllowChannelChats *bool + AllowGroupChats *bool + AllowUserChats *bool + Result models.InlineQueryResult + UserID int64 + type SavePreparedKeyboardButtonParams struct + Button models.KeyboardButton + UserID int64 + type SendAnimationParams struct + AllowPaidBroadcast *bool + Animation models.InputFile + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Duration *int + EphemeralMessageParameters *models.EphemeralMessageParameters + HasSpoiler *bool + Height *int + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShowCaptionAboveMedia *bool + SuggestedPostParameters *models.SuggestedPostParameters + Thumbnail models.InputFile + Width *int + type SendAudioParams struct + AllowPaidBroadcast *bool + Audio models.InputFile + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Duration *int + EphemeralMessageParameters *models.EphemeralMessageParameters + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + Performer *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Thumbnail models.InputFile + Title *string + type SendChatActionParams struct + Action string + BusinessConnectionID *string + ChatID models.ChatID + MessageThreadID *int64 + type SendChatJoinRequestWebAppParams struct + ChatJoinRequestQueryID string + WebAppURL string + type SendChecklistParams struct + BusinessConnectionID string + ChatID models.ChatID + Checklist models.InputChecklist + DisableNotification *bool + MessageEffectID *string + ProtectContent *bool + ReplyMarkup *models.InlineKeyboardMarkup + ReplyParameters *models.ReplyParameters + type SendContactParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + EphemeralMessageParameters *models.EphemeralMessageParameters + FirstName string + LastName *string + MessageEffectID *string + MessageThreadID *int64 + PhoneNumber string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Vcard *string + type SendDiceParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Emoji *string + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + type SendDocumentParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableContentTypeDetection *bool + DisableNotification *bool + Document models.InputFile + EphemeralMessageParameters *models.EphemeralMessageParameters + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Thumbnail models.InputFile + type SendGameParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DisableNotification *bool + GameShortName string + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyMarkup *models.InlineKeyboardMarkup + ReplyParameters *models.ReplyParameters + type SendGiftParams struct + ChatID models.ChatID + GiftID string + PayForUpgrade *bool + Text *string + TextEntities []models.MessageEntity + TextParseMode *string + UserID *int64 + type SendInvoiceParams struct + AllowPaidBroadcast *bool + ChatID models.ChatID + Currency string + Description string + DirectMessagesTopicID *int64 + DisableNotification *bool + IsFlexible *bool + MaxTipAmount *int + MessageEffectID *string + MessageThreadID *int64 + NeedEmail *bool + NeedName *bool + NeedPhoneNumber *bool + NeedShippingAddress *bool + Payload string + PhotoHeight *int + PhotoSize *int + PhotoURL *string + PhotoWidth *int + Prices []models.LabeledPrice + ProtectContent *bool + ProviderData *string + ProviderToken *string + ReplyMarkup *models.InlineKeyboardMarkup + ReplyParameters *models.ReplyParameters + SendEmailToProvider *bool + SendPhoneNumberToProvider *bool + StartParameter *string + SuggestedPostParameters *models.SuggestedPostParameters + SuggestedTipAmounts []int + Title string + type SendLivePhotoParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + EphemeralMessageParameters *models.EphemeralMessageParameters + HasSpoiler *bool + LivePhoto models.InputFile + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + Photo models.InputFile + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShowCaptionAboveMedia *bool + SuggestedPostParameters *models.SuggestedPostParameters + type SendLocationParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + EphemeralMessageParameters *models.EphemeralMessageParameters + Heading *int + HorizontalAccuracy *float64 + Latitude float64 + LivePeriod *int + Longitude float64 + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ProximityAlertRadius *int + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + type SendMediaGroupParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Media []models.InputMediaGroupItem + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyParameters *models.ReplyParameters + type SendMessageDraftParams struct + CanStop *bool + ChatID int64 + DraftID int64 + Entities []models.MessageEntity + KeepOnStop *bool + MessageThreadID *int64 + ParseMode *string + Text *string + type SendMessageParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Entities []models.MessageEntity + EphemeralMessageParameters *models.EphemeralMessageParameters + LinkPreviewOptions *models.LinkPreviewOptions + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Text string + type SendPaidMediaParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Media []models.InputPaidMedia + MessageThreadID *int64 + ParseMode *string + Payload *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShowCaptionAboveMedia *bool + StarCount int + SuggestedPostParameters *models.SuggestedPostParameters + type SendPhotoParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + EphemeralMessageParameters *models.EphemeralMessageParameters + HasSpoiler *bool + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + Photo models.InputFile + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShowCaptionAboveMedia *bool + SuggestedPostParameters *models.SuggestedPostParameters + type SendPollParams struct + AllowAddingOptions *bool + AllowPaidBroadcast *bool + AllowsMultipleAnswers *bool + AllowsRevoting *bool + BusinessConnectionID *string + ChatID models.ChatID + CloseDate *int64 + CorrectOptionIDs []int64 + CountryCodes []string + Description *string + DescriptionEntities []models.MessageEntity + DescriptionParseMode *string + DisableNotification *bool + Explanation *string + ExplanationEntities []models.MessageEntity + ExplanationMedia models.InputPollMedia + ExplanationParseMode *string + HideResultsUntilCloses *bool + IsAnonymous *bool + IsClosed *bool + Media models.InputPollMedia + MembersOnly *bool + MessageEffectID *string + MessageThreadID *int64 + OpenPeriod *int + Options []models.InputPollOption + ProtectContent *bool + Question string + QuestionEntities []models.MessageEntity + QuestionParseMode *string + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShuffleOptions *bool + Type *string + type SendRichMessageDraftParams struct + CanStop *bool + ChatID int64 + DraftID int64 + KeepOnStop *bool + MessageThreadID *int64 + RichMessage models.InputRichMessage + type SendRichMessageParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + EphemeralMessageParameters *models.EphemeralMessageParameters + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + RichMessage models.InputRichMessage + SuggestedPostParameters *models.SuggestedPostParameters + type SendStickerParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Emoji *string + EphemeralMessageParameters *models.EphemeralMessageParameters + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + Sticker models.InputFile + SuggestedPostParameters *models.SuggestedPostParameters + type SendVenueParams struct + Address string + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + EphemeralMessageParameters *models.EphemeralMessageParameters + FoursquareID *string + FoursquareType *string + GooglePlaceID *string + GooglePlaceType *string + Latitude float64 + Longitude float64 + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Title string + type SendVideoNoteParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Duration *int + EphemeralMessageParameters *models.EphemeralMessageParameters + Length *int + MessageEffectID *string + MessageThreadID *int64 + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Thumbnail models.InputFile + VideoNote models.InputFile + type SendVideoParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + Cover models.InputFile + DirectMessagesTopicID *int64 + DisableNotification *bool + Duration *int + EphemeralMessageParameters *models.EphemeralMessageParameters + HasSpoiler *bool + Height *int + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + ShowCaptionAboveMedia *bool + StartTimestamp *int + SuggestedPostParameters *models.SuggestedPostParameters + SupportsStreaming *bool + Thumbnail models.InputFile + Video models.InputFile + Width *int + type SendVoiceParams struct + AllowPaidBroadcast *bool + BusinessConnectionID *string + Caption *string + CaptionEntities []models.MessageEntity + ChatID models.ChatID + DirectMessagesTopicID *int64 + DisableNotification *bool + Duration *int + EphemeralMessageParameters *models.EphemeralMessageParameters + MessageEffectID *string + MessageThreadID *int64 + ParseMode *string + ProtectContent *bool + ReplyMarkup models.ReplyMarkup + ReplyParameters *models.ReplyParameters + SuggestedPostParameters *models.SuggestedPostParameters + Voice models.InputFile + type SetBusinessAccountBioParams struct + Bio *string + BusinessConnectionID string + type SetBusinessAccountGiftSettingsParams struct + AcceptedGiftTypes models.AcceptedGiftTypes + BusinessConnectionID string + ShowGiftButton bool + type SetBusinessAccountNameParams struct + BusinessConnectionID string + FirstName string + LastName *string + type SetBusinessAccountProfilePhotoParams struct + BusinessConnectionID string + IsPublic *bool + Photo models.InputProfilePhoto + type SetBusinessAccountUsernameParams struct + BusinessConnectionID string + Username *string + type SetChatAdministratorCustomTitleParams struct + ChatID models.ChatID + CustomTitle string + UserID int64 + type SetChatDescriptionParams struct + ChatID models.ChatID + Description *string + type SetChatMemberTagParams struct + ChatID models.ChatID + Tag *string + UserID int64 + type SetChatMenuButtonParams struct + ChatID *int64 + MenuButton models.MenuButton + type SetChatPermissionsParams struct + ChatID models.ChatID + Permissions models.ChatPermissions + UseIndependentChatPermissions *bool + type SetChatPhotoParams struct + ChatID models.ChatID + Photo models.InputFile + type SetChatStickerSetParams struct + ChatID models.ChatID + StickerSetName string + type SetChatTitleParams struct + ChatID models.ChatID + Title string + type SetCustomEmojiStickerSetThumbnailParams struct + CustomEmojiID *string + Name string + type SetGameScoreParams struct + ChatID *int64 + DisableEditMessage *bool + Force *bool + InlineMessageID *string + MessageID *int64 + Score int + UserID int64 + type SetManagedBotAccessSettingsParams struct + AddedUserIDs []int64 + IsAccessRestricted bool + UserID int64 + type SetMessageReactionParams struct + ChatID models.ChatID + IsBig *bool + MessageID int64 + Reaction []models.ReactionType + type SetMyCommandsParams struct + Commands []models.BotCommand + LanguageCode *string + Scope models.BotCommandScope + type SetMyDefaultAdministratorRightsParams struct + ForChannels *bool + Rights *models.ChatAdministratorRights + type SetMyDescriptionParams struct + Description *string + LanguageCode *string + type SetMyNameParams struct + LanguageCode *string + Name *string + type SetMyProfilePhotoParams struct + Photo models.InputProfilePhoto + type SetMyShortDescriptionParams struct + LanguageCode *string + ShortDescription *string + type SetPassportDataErrorsParams struct + Errors []models.PassportElementError + UserID int64 + type SetStickerEmojiListParams struct + EmojiList []string + Sticker string + type SetStickerKeywordsParams struct + Keywords []string + Sticker string + type SetStickerMaskPositionParams struct + MaskPosition *models.MaskPosition + Sticker string + type SetStickerPositionInSetParams struct + Position int + Sticker string + type SetStickerSetThumbnailParams struct + Format string + Name string + Thumbnail models.InputFile + UserID int64 + type SetStickerSetTitleParams struct + Name string + Title string + type SetUserEmojiStatusParams struct + EmojiStatusCustomEmojiID *string + EmojiStatusExpirationDate *int64 + UserID int64 + type SetWebhookParams struct + AllowedUpdates []string + Certificate models.InputFile + DropPendingUpdates *bool + IPAddress *string + MaxConnections *int + SecretToken *string + URL string + type StopMessageLiveLocationParams struct + BusinessConnectionID *string + ChatID models.ChatID + InlineMessageID *string + MessageID *int64 + ReplyMarkup *models.InlineKeyboardMarkup + type StopPollParams struct + BusinessConnectionID *string + ChatID models.ChatID + MessageID int64 + ReplyMarkup *models.InlineKeyboardMarkup + type TransferBusinessAccountStarsParams struct + BusinessConnectionID string + StarCount int + type TransferGiftParams struct + BusinessConnectionID string + NewOwnerChatID int64 + OwnedGiftID string + StarCount *int + type Transport interface + Do func(ctx context.Context, req *Request) (*Response, error) + type TransportFunc func(ctx context.Context, req *Request) (*Response, error) + func (f TransportFunc) Do(ctx context.Context, req *Request) (*Response, error) + type UnbanChatMemberParams struct + ChatID models.ChatID + OnlyIfBanned *bool + UserID int64 + type UnbanChatSenderChatParams struct + ChatID models.ChatID + SenderChatID int64 + type UnhideGeneralForumTopicParams struct + ChatID models.ChatID + type UnpinAllChatMessagesParams struct + ChatID models.ChatID + type UnpinAllForumTopicMessagesParams struct + ChatID models.ChatID + MessageThreadID int64 + type UnpinAllGeneralForumTopicMessagesParams struct + ChatID models.ChatID + type UnpinChatMessageParams struct + BusinessConnectionID *string + ChatID models.ChatID + MessageID *int64 + type UpgradeGiftParams struct + BusinessConnectionID string + KeepOriginalDetails *bool + OwnedGiftID string + StarCount *int + type UploadStickerFileParams struct + Sticker models.InputFile + StickerFormat string + UserID int64 + type VerifyChatParams struct + ChatID models.ChatID + CustomDescription *string + type VerifyUserParams struct + CustomDescription *string + UserID int64