client

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 8 Imported by: 0

README

tgbotkit client

Go Report Card tests version license

Go client for the Telegram Bot API, generated from the official spec. This project follows an API-first approach, using an OpenAPI specification to ensure consistency and correctness.

Package docs: https://pkg.go.dev/github.com/tgbotkit/client

Supported Telegram Bot API version

Package Version API Version API Release Date
latest 9.2 August 15, 2025

Tooling

This client is generated using:

Generation is wired via go generate in generate.go and uses cfg.yaml.

Usage

See example_test.go for a minimal usage example.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation

Overview

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Index

Examples

Constants

View Source
const ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariableDefault = "<bot_token>"

ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariableDefault is the default value for the `botToken` variable for ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken

View Source
const (
	TelegramBotTokenScopes = "TelegramBotToken.Scopes"
)

Variables

This section is empty.

Functions

func NewAddStickerToSetRequest

func NewAddStickerToSetRequest(server string, body AddStickerToSetJSONRequestBody) (*http.Request, error)

NewAddStickerToSetRequest calls the generic AddStickerToSet builder with application/json body

func NewAddStickerToSetRequestWithBody

func NewAddStickerToSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAddStickerToSetRequestWithBody generates requests for AddStickerToSet with any type of body

func NewAnswerCallbackQueryRequest

func NewAnswerCallbackQueryRequest(server string, body AnswerCallbackQueryJSONRequestBody) (*http.Request, error)

NewAnswerCallbackQueryRequest calls the generic AnswerCallbackQuery builder with application/json body

func NewAnswerCallbackQueryRequestWithBody

func NewAnswerCallbackQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAnswerCallbackQueryRequestWithBody generates requests for AnswerCallbackQuery with any type of body

func NewAnswerInlineQueryRequest

func NewAnswerInlineQueryRequest(server string, body AnswerInlineQueryJSONRequestBody) (*http.Request, error)

NewAnswerInlineQueryRequest calls the generic AnswerInlineQuery builder with application/json body

func NewAnswerInlineQueryRequestWithBody

func NewAnswerInlineQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAnswerInlineQueryRequestWithBody generates requests for AnswerInlineQuery with any type of body

func NewAnswerPreCheckoutQueryRequest

func NewAnswerPreCheckoutQueryRequest(server string, body AnswerPreCheckoutQueryJSONRequestBody) (*http.Request, error)

NewAnswerPreCheckoutQueryRequest calls the generic AnswerPreCheckoutQuery builder with application/json body

func NewAnswerPreCheckoutQueryRequestWithBody

func NewAnswerPreCheckoutQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAnswerPreCheckoutQueryRequestWithBody generates requests for AnswerPreCheckoutQuery with any type of body

func NewAnswerShippingQueryRequest

func NewAnswerShippingQueryRequest(server string, body AnswerShippingQueryJSONRequestBody) (*http.Request, error)

NewAnswerShippingQueryRequest calls the generic AnswerShippingQuery builder with application/json body

func NewAnswerShippingQueryRequestWithBody

func NewAnswerShippingQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAnswerShippingQueryRequestWithBody generates requests for AnswerShippingQuery with any type of body

func NewAnswerWebAppQueryRequest

func NewAnswerWebAppQueryRequest(server string, body AnswerWebAppQueryJSONRequestBody) (*http.Request, error)

NewAnswerWebAppQueryRequest calls the generic AnswerWebAppQuery builder with application/json body

func NewAnswerWebAppQueryRequestWithBody

func NewAnswerWebAppQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAnswerWebAppQueryRequestWithBody generates requests for AnswerWebAppQuery with any type of body

func NewApproveChatJoinRequestRequest

func NewApproveChatJoinRequestRequest(server string, body ApproveChatJoinRequestJSONRequestBody) (*http.Request, error)

NewApproveChatJoinRequestRequest calls the generic ApproveChatJoinRequest builder with application/json body

func NewApproveChatJoinRequestRequestWithBody

func NewApproveChatJoinRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewApproveChatJoinRequestRequestWithBody generates requests for ApproveChatJoinRequest with any type of body

func NewApproveSuggestedPostRequest

func NewApproveSuggestedPostRequest(server string, body ApproveSuggestedPostJSONRequestBody) (*http.Request, error)

NewApproveSuggestedPostRequest calls the generic ApproveSuggestedPost builder with application/json body

func NewApproveSuggestedPostRequestWithBody

func NewApproveSuggestedPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewApproveSuggestedPostRequestWithBody generates requests for ApproveSuggestedPost with any type of body

func NewBanChatMemberRequest

func NewBanChatMemberRequest(server string, body BanChatMemberJSONRequestBody) (*http.Request, error)

NewBanChatMemberRequest calls the generic BanChatMember builder with application/json body

func NewBanChatMemberRequestWithBody

func NewBanChatMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewBanChatMemberRequestWithBody generates requests for BanChatMember with any type of body

func NewBanChatSenderChatRequest

func NewBanChatSenderChatRequest(server string, body BanChatSenderChatJSONRequestBody) (*http.Request, error)

NewBanChatSenderChatRequest calls the generic BanChatSenderChat builder with application/json body

func NewBanChatSenderChatRequestWithBody

func NewBanChatSenderChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewBanChatSenderChatRequestWithBody generates requests for BanChatSenderChat with any type of body

func NewCloseForumTopicRequest

func NewCloseForumTopicRequest(server string, body CloseForumTopicJSONRequestBody) (*http.Request, error)

NewCloseForumTopicRequest calls the generic CloseForumTopic builder with application/json body

func NewCloseForumTopicRequestWithBody

func NewCloseForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCloseForumTopicRequestWithBody generates requests for CloseForumTopic with any type of body

func NewCloseGeneralForumTopicRequest

func NewCloseGeneralForumTopicRequest(server string, body CloseGeneralForumTopicJSONRequestBody) (*http.Request, error)

NewCloseGeneralForumTopicRequest calls the generic CloseGeneralForumTopic builder with application/json body

func NewCloseGeneralForumTopicRequestWithBody

func NewCloseGeneralForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCloseGeneralForumTopicRequestWithBody generates requests for CloseGeneralForumTopic with any type of body

func NewCloseRequest

func NewCloseRequest(server string, body CloseJSONRequestBody) (*http.Request, error)

NewCloseRequest calls the generic Close builder with application/json body

func NewCloseRequestWithBody

func NewCloseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCloseRequestWithBody generates requests for Close with any type of body

func NewConvertGiftToStarsRequest

func NewConvertGiftToStarsRequest(server string, body ConvertGiftToStarsJSONRequestBody) (*http.Request, error)

NewConvertGiftToStarsRequest calls the generic ConvertGiftToStars builder with application/json body

func NewConvertGiftToStarsRequestWithBody

func NewConvertGiftToStarsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewConvertGiftToStarsRequestWithBody generates requests for ConvertGiftToStars with any type of body

func NewCopyMessageRequest

func NewCopyMessageRequest(server string, body CopyMessageJSONRequestBody) (*http.Request, error)

NewCopyMessageRequest calls the generic CopyMessage builder with application/json body

func NewCopyMessageRequestWithBody

func NewCopyMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCopyMessageRequestWithBody generates requests for CopyMessage with any type of body

func NewCopyMessagesRequest

func NewCopyMessagesRequest(server string, body CopyMessagesJSONRequestBody) (*http.Request, error)

NewCopyMessagesRequest calls the generic CopyMessages builder with application/json body

func NewCopyMessagesRequestWithBody

func NewCopyMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCopyMessagesRequestWithBody generates requests for CopyMessages with any type of body

func NewCreateChatInviteLinkRequest

func NewCreateChatInviteLinkRequest(server string, body CreateChatInviteLinkJSONRequestBody) (*http.Request, error)

NewCreateChatInviteLinkRequest calls the generic CreateChatInviteLink builder with application/json body

func NewCreateChatInviteLinkRequestWithBody

func NewCreateChatInviteLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateChatInviteLinkRequestWithBody generates requests for CreateChatInviteLink with any type of body

func NewCreateChatSubscriptionInviteLinkRequest

func NewCreateChatSubscriptionInviteLinkRequest(server string, body CreateChatSubscriptionInviteLinkJSONRequestBody) (*http.Request, error)

NewCreateChatSubscriptionInviteLinkRequest calls the generic CreateChatSubscriptionInviteLink builder with application/json body

func NewCreateChatSubscriptionInviteLinkRequestWithBody

func NewCreateChatSubscriptionInviteLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateChatSubscriptionInviteLinkRequestWithBody generates requests for CreateChatSubscriptionInviteLink with any type of body

func NewCreateForumTopicRequest

func NewCreateForumTopicRequest(server string, body CreateForumTopicJSONRequestBody) (*http.Request, error)

NewCreateForumTopicRequest calls the generic CreateForumTopic builder with application/json body

func NewCreateForumTopicRequestWithBody

func NewCreateForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateForumTopicRequestWithBody generates requests for CreateForumTopic with any type of body

func NewCreateInvoiceLinkRequest

func NewCreateInvoiceLinkRequest(server string, body CreateInvoiceLinkJSONRequestBody) (*http.Request, error)

NewCreateInvoiceLinkRequest calls the generic CreateInvoiceLink builder with application/json body

func NewCreateInvoiceLinkRequestWithBody

func NewCreateInvoiceLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateInvoiceLinkRequestWithBody generates requests for CreateInvoiceLink with any type of body

func NewCreateNewStickerSetRequest

func NewCreateNewStickerSetRequest(server string, body CreateNewStickerSetJSONRequestBody) (*http.Request, error)

NewCreateNewStickerSetRequest calls the generic CreateNewStickerSet builder with application/json body

func NewCreateNewStickerSetRequestWithBody

func NewCreateNewStickerSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateNewStickerSetRequestWithBody generates requests for CreateNewStickerSet with any type of body

func NewDeclineChatJoinRequestRequest

func NewDeclineChatJoinRequestRequest(server string, body DeclineChatJoinRequestJSONRequestBody) (*http.Request, error)

NewDeclineChatJoinRequestRequest calls the generic DeclineChatJoinRequest builder with application/json body

func NewDeclineChatJoinRequestRequestWithBody

func NewDeclineChatJoinRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeclineChatJoinRequestRequestWithBody generates requests for DeclineChatJoinRequest with any type of body

func NewDeclineSuggestedPostRequest

func NewDeclineSuggestedPostRequest(server string, body DeclineSuggestedPostJSONRequestBody) (*http.Request, error)

NewDeclineSuggestedPostRequest calls the generic DeclineSuggestedPost builder with application/json body

func NewDeclineSuggestedPostRequestWithBody

func NewDeclineSuggestedPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeclineSuggestedPostRequestWithBody generates requests for DeclineSuggestedPost with any type of body

func NewDeleteBusinessMessagesRequest

func NewDeleteBusinessMessagesRequest(server string, body DeleteBusinessMessagesJSONRequestBody) (*http.Request, error)

NewDeleteBusinessMessagesRequest calls the generic DeleteBusinessMessages builder with application/json body

func NewDeleteBusinessMessagesRequestWithBody

func NewDeleteBusinessMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteBusinessMessagesRequestWithBody generates requests for DeleteBusinessMessages with any type of body

func NewDeleteChatPhotoRequest

func NewDeleteChatPhotoRequest(server string, body DeleteChatPhotoJSONRequestBody) (*http.Request, error)

NewDeleteChatPhotoRequest calls the generic DeleteChatPhoto builder with application/json body

func NewDeleteChatPhotoRequestWithBody

func NewDeleteChatPhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteChatPhotoRequestWithBody generates requests for DeleteChatPhoto with any type of body

func NewDeleteChatStickerSetRequest

func NewDeleteChatStickerSetRequest(server string, body DeleteChatStickerSetJSONRequestBody) (*http.Request, error)

NewDeleteChatStickerSetRequest calls the generic DeleteChatStickerSet builder with application/json body

func NewDeleteChatStickerSetRequestWithBody

func NewDeleteChatStickerSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteChatStickerSetRequestWithBody generates requests for DeleteChatStickerSet with any type of body

func NewDeleteForumTopicRequest

func NewDeleteForumTopicRequest(server string, body DeleteForumTopicJSONRequestBody) (*http.Request, error)

NewDeleteForumTopicRequest calls the generic DeleteForumTopic builder with application/json body

func NewDeleteForumTopicRequestWithBody

func NewDeleteForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteForumTopicRequestWithBody generates requests for DeleteForumTopic with any type of body

func NewDeleteMessageRequest

func NewDeleteMessageRequest(server string, body DeleteMessageJSONRequestBody) (*http.Request, error)

NewDeleteMessageRequest calls the generic DeleteMessage builder with application/json body

func NewDeleteMessageRequestWithBody

func NewDeleteMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteMessageRequestWithBody generates requests for DeleteMessage with any type of body

func NewDeleteMessagesRequest

func NewDeleteMessagesRequest(server string, body DeleteMessagesJSONRequestBody) (*http.Request, error)

NewDeleteMessagesRequest calls the generic DeleteMessages builder with application/json body

func NewDeleteMessagesRequestWithBody

func NewDeleteMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteMessagesRequestWithBody generates requests for DeleteMessages with any type of body

func NewDeleteMyCommandsRequest

func NewDeleteMyCommandsRequest(server string, body DeleteMyCommandsJSONRequestBody) (*http.Request, error)

NewDeleteMyCommandsRequest calls the generic DeleteMyCommands builder with application/json body

func NewDeleteMyCommandsRequestWithBody

func NewDeleteMyCommandsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteMyCommandsRequestWithBody generates requests for DeleteMyCommands with any type of body

func NewDeleteStickerFromSetRequest

func NewDeleteStickerFromSetRequest(server string, body DeleteStickerFromSetJSONRequestBody) (*http.Request, error)

NewDeleteStickerFromSetRequest calls the generic DeleteStickerFromSet builder with application/json body

func NewDeleteStickerFromSetRequestWithBody

func NewDeleteStickerFromSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteStickerFromSetRequestWithBody generates requests for DeleteStickerFromSet with any type of body

func NewDeleteStickerSetRequest

func NewDeleteStickerSetRequest(server string, body DeleteStickerSetJSONRequestBody) (*http.Request, error)

NewDeleteStickerSetRequest calls the generic DeleteStickerSet builder with application/json body

func NewDeleteStickerSetRequestWithBody

func NewDeleteStickerSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteStickerSetRequestWithBody generates requests for DeleteStickerSet with any type of body

func NewDeleteStoryRequest

func NewDeleteStoryRequest(server string, body DeleteStoryJSONRequestBody) (*http.Request, error)

NewDeleteStoryRequest calls the generic DeleteStory builder with application/json body

func NewDeleteStoryRequestWithBody

func NewDeleteStoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteStoryRequestWithBody generates requests for DeleteStory with any type of body

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, body DeleteWebhookJSONRequestBody) (*http.Request, error)

NewDeleteWebhookRequest calls the generic DeleteWebhook builder with application/json body

func NewDeleteWebhookRequestWithBody

func NewDeleteWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteWebhookRequestWithBody generates requests for DeleteWebhook with any type of body

func NewEditChatInviteLinkRequest

func NewEditChatInviteLinkRequest(server string, body EditChatInviteLinkJSONRequestBody) (*http.Request, error)

NewEditChatInviteLinkRequest calls the generic EditChatInviteLink builder with application/json body

func NewEditChatInviteLinkRequestWithBody

func NewEditChatInviteLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditChatInviteLinkRequestWithBody generates requests for EditChatInviteLink with any type of body

func NewEditChatSubscriptionInviteLinkRequest

func NewEditChatSubscriptionInviteLinkRequest(server string, body EditChatSubscriptionInviteLinkJSONRequestBody) (*http.Request, error)

NewEditChatSubscriptionInviteLinkRequest calls the generic EditChatSubscriptionInviteLink builder with application/json body

func NewEditChatSubscriptionInviteLinkRequestWithBody

func NewEditChatSubscriptionInviteLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditChatSubscriptionInviteLinkRequestWithBody generates requests for EditChatSubscriptionInviteLink with any type of body

func NewEditForumTopicRequest

func NewEditForumTopicRequest(server string, body EditForumTopicJSONRequestBody) (*http.Request, error)

NewEditForumTopicRequest calls the generic EditForumTopic builder with application/json body

func NewEditForumTopicRequestWithBody

func NewEditForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditForumTopicRequestWithBody generates requests for EditForumTopic with any type of body

func NewEditGeneralForumTopicRequest

func NewEditGeneralForumTopicRequest(server string, body EditGeneralForumTopicJSONRequestBody) (*http.Request, error)

NewEditGeneralForumTopicRequest calls the generic EditGeneralForumTopic builder with application/json body

func NewEditGeneralForumTopicRequestWithBody

func NewEditGeneralForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditGeneralForumTopicRequestWithBody generates requests for EditGeneralForumTopic with any type of body

func NewEditMessageCaptionRequest

func NewEditMessageCaptionRequest(server string, body EditMessageCaptionJSONRequestBody) (*http.Request, error)

NewEditMessageCaptionRequest calls the generic EditMessageCaption builder with application/json body

func NewEditMessageCaptionRequestWithBody

func NewEditMessageCaptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditMessageCaptionRequestWithBody generates requests for EditMessageCaption with any type of body

func NewEditMessageChecklistRequest

func NewEditMessageChecklistRequest(server string, body EditMessageChecklistJSONRequestBody) (*http.Request, error)

NewEditMessageChecklistRequest calls the generic EditMessageChecklist builder with application/json body

func NewEditMessageChecklistRequestWithBody

func NewEditMessageChecklistRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditMessageChecklistRequestWithBody generates requests for EditMessageChecklist with any type of body

func NewEditMessageLiveLocationRequest

func NewEditMessageLiveLocationRequest(server string, body EditMessageLiveLocationJSONRequestBody) (*http.Request, error)

NewEditMessageLiveLocationRequest calls the generic EditMessageLiveLocation builder with application/json body

func NewEditMessageLiveLocationRequestWithBody

func NewEditMessageLiveLocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditMessageLiveLocationRequestWithBody generates requests for EditMessageLiveLocation with any type of body

func NewEditMessageMediaRequest

func NewEditMessageMediaRequest(server string, body EditMessageMediaJSONRequestBody) (*http.Request, error)

NewEditMessageMediaRequest calls the generic EditMessageMedia builder with application/json body

func NewEditMessageMediaRequestWithBody

func NewEditMessageMediaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditMessageMediaRequestWithBody generates requests for EditMessageMedia with any type of body

func NewEditMessageReplyMarkupRequest

func NewEditMessageReplyMarkupRequest(server string, body EditMessageReplyMarkupJSONRequestBody) (*http.Request, error)

NewEditMessageReplyMarkupRequest calls the generic EditMessageReplyMarkup builder with application/json body

func NewEditMessageReplyMarkupRequestWithBody

func NewEditMessageReplyMarkupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditMessageReplyMarkupRequestWithBody generates requests for EditMessageReplyMarkup with any type of body

func NewEditMessageTextRequest

func NewEditMessageTextRequest(server string, body EditMessageTextJSONRequestBody) (*http.Request, error)

NewEditMessageTextRequest calls the generic EditMessageText builder with application/json body

func NewEditMessageTextRequestWithBody

func NewEditMessageTextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditMessageTextRequestWithBody generates requests for EditMessageText with any type of body

func NewEditStoryRequest

func NewEditStoryRequest(server string, body EditStoryJSONRequestBody) (*http.Request, error)

NewEditStoryRequest calls the generic EditStory builder with application/json body

func NewEditStoryRequestWithBody

func NewEditStoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditStoryRequestWithBody generates requests for EditStory with any type of body

func NewEditUserStarSubscriptionRequest

func NewEditUserStarSubscriptionRequest(server string, body EditUserStarSubscriptionJSONRequestBody) (*http.Request, error)

NewEditUserStarSubscriptionRequest calls the generic EditUserStarSubscription builder with application/json body

func NewEditUserStarSubscriptionRequestWithBody

func NewEditUserStarSubscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEditUserStarSubscriptionRequestWithBody generates requests for EditUserStarSubscription with any type of body

func NewExportChatInviteLinkRequest

func NewExportChatInviteLinkRequest(server string, body ExportChatInviteLinkJSONRequestBody) (*http.Request, error)

NewExportChatInviteLinkRequest calls the generic ExportChatInviteLink builder with application/json body

func NewExportChatInviteLinkRequestWithBody

func NewExportChatInviteLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExportChatInviteLinkRequestWithBody generates requests for ExportChatInviteLink with any type of body

func NewForwardMessageRequest

func NewForwardMessageRequest(server string, body ForwardMessageJSONRequestBody) (*http.Request, error)

NewForwardMessageRequest calls the generic ForwardMessage builder with application/json body

func NewForwardMessageRequestWithBody

func NewForwardMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewForwardMessageRequestWithBody generates requests for ForwardMessage with any type of body

func NewForwardMessagesRequest

func NewForwardMessagesRequest(server string, body ForwardMessagesJSONRequestBody) (*http.Request, error)

NewForwardMessagesRequest calls the generic ForwardMessages builder with application/json body

func NewForwardMessagesRequestWithBody

func NewForwardMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewForwardMessagesRequestWithBody generates requests for ForwardMessages with any type of body

func NewGetAvailableGiftsRequest

func NewGetAvailableGiftsRequest(server string, body GetAvailableGiftsJSONRequestBody) (*http.Request, error)

NewGetAvailableGiftsRequest calls the generic GetAvailableGifts builder with application/json body

func NewGetAvailableGiftsRequestWithBody

func NewGetAvailableGiftsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetAvailableGiftsRequestWithBody generates requests for GetAvailableGifts with any type of body

func NewGetBusinessAccountGiftsRequest

func NewGetBusinessAccountGiftsRequest(server string, body GetBusinessAccountGiftsJSONRequestBody) (*http.Request, error)

NewGetBusinessAccountGiftsRequest calls the generic GetBusinessAccountGifts builder with application/json body

func NewGetBusinessAccountGiftsRequestWithBody

func NewGetBusinessAccountGiftsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetBusinessAccountGiftsRequestWithBody generates requests for GetBusinessAccountGifts with any type of body

func NewGetBusinessAccountStarBalanceRequest

func NewGetBusinessAccountStarBalanceRequest(server string, body GetBusinessAccountStarBalanceJSONRequestBody) (*http.Request, error)

NewGetBusinessAccountStarBalanceRequest calls the generic GetBusinessAccountStarBalance builder with application/json body

func NewGetBusinessAccountStarBalanceRequestWithBody

func NewGetBusinessAccountStarBalanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetBusinessAccountStarBalanceRequestWithBody generates requests for GetBusinessAccountStarBalance with any type of body

func NewGetBusinessConnectionRequest

func NewGetBusinessConnectionRequest(server string, body GetBusinessConnectionJSONRequestBody) (*http.Request, error)

NewGetBusinessConnectionRequest calls the generic GetBusinessConnection builder with application/json body

func NewGetBusinessConnectionRequestWithBody

func NewGetBusinessConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetBusinessConnectionRequestWithBody generates requests for GetBusinessConnection with any type of body

func NewGetChatAdministratorsRequest

func NewGetChatAdministratorsRequest(server string, body GetChatAdministratorsJSONRequestBody) (*http.Request, error)

NewGetChatAdministratorsRequest calls the generic GetChatAdministrators builder with application/json body

func NewGetChatAdministratorsRequestWithBody

func NewGetChatAdministratorsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetChatAdministratorsRequestWithBody generates requests for GetChatAdministrators with any type of body

func NewGetChatMemberCountRequest

func NewGetChatMemberCountRequest(server string, body GetChatMemberCountJSONRequestBody) (*http.Request, error)

NewGetChatMemberCountRequest calls the generic GetChatMemberCount builder with application/json body

func NewGetChatMemberCountRequestWithBody

func NewGetChatMemberCountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetChatMemberCountRequestWithBody generates requests for GetChatMemberCount with any type of body

func NewGetChatMemberRequest

func NewGetChatMemberRequest(server string, body GetChatMemberJSONRequestBody) (*http.Request, error)

NewGetChatMemberRequest calls the generic GetChatMember builder with application/json body

func NewGetChatMemberRequestWithBody

func NewGetChatMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetChatMemberRequestWithBody generates requests for GetChatMember with any type of body

func NewGetChatMenuButtonRequest

func NewGetChatMenuButtonRequest(server string, body GetChatMenuButtonJSONRequestBody) (*http.Request, error)

NewGetChatMenuButtonRequest calls the generic GetChatMenuButton builder with application/json body

func NewGetChatMenuButtonRequestWithBody

func NewGetChatMenuButtonRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetChatMenuButtonRequestWithBody generates requests for GetChatMenuButton with any type of body

func NewGetChatRequest

func NewGetChatRequest(server string, body GetChatJSONRequestBody) (*http.Request, error)

NewGetChatRequest calls the generic GetChat builder with application/json body

func NewGetChatRequestWithBody

func NewGetChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetChatRequestWithBody generates requests for GetChat with any type of body

func NewGetCustomEmojiStickersRequest

func NewGetCustomEmojiStickersRequest(server string, body GetCustomEmojiStickersJSONRequestBody) (*http.Request, error)

NewGetCustomEmojiStickersRequest calls the generic GetCustomEmojiStickers builder with application/json body

func NewGetCustomEmojiStickersRequestWithBody

func NewGetCustomEmojiStickersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetCustomEmojiStickersRequestWithBody generates requests for GetCustomEmojiStickers with any type of body

func NewGetFileRequest

func NewGetFileRequest(server string, body GetFileJSONRequestBody) (*http.Request, error)

NewGetFileRequest calls the generic GetFile builder with application/json body

func NewGetFileRequestWithBody

func NewGetFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetFileRequestWithBody generates requests for GetFile with any type of body

func NewGetForumTopicIconStickersRequest

func NewGetForumTopicIconStickersRequest(server string, body GetForumTopicIconStickersJSONRequestBody) (*http.Request, error)

NewGetForumTopicIconStickersRequest calls the generic GetForumTopicIconStickers builder with application/json body

func NewGetForumTopicIconStickersRequestWithBody

func NewGetForumTopicIconStickersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetForumTopicIconStickersRequestWithBody generates requests for GetForumTopicIconStickers with any type of body

func NewGetGameHighScoresRequest

func NewGetGameHighScoresRequest(server string, body GetGameHighScoresJSONRequestBody) (*http.Request, error)

NewGetGameHighScoresRequest calls the generic GetGameHighScores builder with application/json body

func NewGetGameHighScoresRequestWithBody

func NewGetGameHighScoresRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetGameHighScoresRequestWithBody generates requests for GetGameHighScores with any type of body

func NewGetMeRequest

func NewGetMeRequest(server string, body GetMeJSONRequestBody) (*http.Request, error)

NewGetMeRequest calls the generic GetMe builder with application/json body

func NewGetMeRequestWithBody

func NewGetMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMeRequestWithBody generates requests for GetMe with any type of body

func NewGetMyCommandsRequest

func NewGetMyCommandsRequest(server string, body GetMyCommandsJSONRequestBody) (*http.Request, error)

NewGetMyCommandsRequest calls the generic GetMyCommands builder with application/json body

func NewGetMyCommandsRequestWithBody

func NewGetMyCommandsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMyCommandsRequestWithBody generates requests for GetMyCommands with any type of body

func NewGetMyDefaultAdministratorRightsRequest

func NewGetMyDefaultAdministratorRightsRequest(server string, body GetMyDefaultAdministratorRightsJSONRequestBody) (*http.Request, error)

NewGetMyDefaultAdministratorRightsRequest calls the generic GetMyDefaultAdministratorRights builder with application/json body

func NewGetMyDefaultAdministratorRightsRequestWithBody

func NewGetMyDefaultAdministratorRightsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMyDefaultAdministratorRightsRequestWithBody generates requests for GetMyDefaultAdministratorRights with any type of body

func NewGetMyDescriptionRequest

func NewGetMyDescriptionRequest(server string, body GetMyDescriptionJSONRequestBody) (*http.Request, error)

NewGetMyDescriptionRequest calls the generic GetMyDescription builder with application/json body

func NewGetMyDescriptionRequestWithBody

func NewGetMyDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMyDescriptionRequestWithBody generates requests for GetMyDescription with any type of body

func NewGetMyNameRequest

func NewGetMyNameRequest(server string, body GetMyNameJSONRequestBody) (*http.Request, error)

NewGetMyNameRequest calls the generic GetMyName builder with application/json body

func NewGetMyNameRequestWithBody

func NewGetMyNameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMyNameRequestWithBody generates requests for GetMyName with any type of body

func NewGetMyShortDescriptionRequest

func NewGetMyShortDescriptionRequest(server string, body GetMyShortDescriptionJSONRequestBody) (*http.Request, error)

NewGetMyShortDescriptionRequest calls the generic GetMyShortDescription builder with application/json body

func NewGetMyShortDescriptionRequestWithBody

func NewGetMyShortDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMyShortDescriptionRequestWithBody generates requests for GetMyShortDescription with any type of body

func NewGetMyStarBalanceRequest

func NewGetMyStarBalanceRequest(server string, body GetMyStarBalanceJSONRequestBody) (*http.Request, error)

NewGetMyStarBalanceRequest calls the generic GetMyStarBalance builder with application/json body

func NewGetMyStarBalanceRequestWithBody

func NewGetMyStarBalanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetMyStarBalanceRequestWithBody generates requests for GetMyStarBalance with any type of body

func NewGetStarTransactionsRequest

func NewGetStarTransactionsRequest(server string, body GetStarTransactionsJSONRequestBody) (*http.Request, error)

NewGetStarTransactionsRequest calls the generic GetStarTransactions builder with application/json body

func NewGetStarTransactionsRequestWithBody

func NewGetStarTransactionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetStarTransactionsRequestWithBody generates requests for GetStarTransactions with any type of body

func NewGetStickerSetRequest

func NewGetStickerSetRequest(server string, body GetStickerSetJSONRequestBody) (*http.Request, error)

NewGetStickerSetRequest calls the generic GetStickerSet builder with application/json body

func NewGetStickerSetRequestWithBody

func NewGetStickerSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetStickerSetRequestWithBody generates requests for GetStickerSet with any type of body

func NewGetUpdatesRequest

func NewGetUpdatesRequest(server string, body GetUpdatesJSONRequestBody) (*http.Request, error)

NewGetUpdatesRequest calls the generic GetUpdates builder with application/json body

func NewGetUpdatesRequestWithBody

func NewGetUpdatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetUpdatesRequestWithBody generates requests for GetUpdates with any type of body

func NewGetUserChatBoostsRequest

func NewGetUserChatBoostsRequest(server string, body GetUserChatBoostsJSONRequestBody) (*http.Request, error)

NewGetUserChatBoostsRequest calls the generic GetUserChatBoosts builder with application/json body

func NewGetUserChatBoostsRequestWithBody

func NewGetUserChatBoostsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetUserChatBoostsRequestWithBody generates requests for GetUserChatBoosts with any type of body

func NewGetUserProfilePhotosRequest

func NewGetUserProfilePhotosRequest(server string, body GetUserProfilePhotosJSONRequestBody) (*http.Request, error)

NewGetUserProfilePhotosRequest calls the generic GetUserProfilePhotos builder with application/json body

func NewGetUserProfilePhotosRequestWithBody

func NewGetUserProfilePhotosRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetUserProfilePhotosRequestWithBody generates requests for GetUserProfilePhotos with any type of body

func NewGetWebhookInfoRequest

func NewGetWebhookInfoRequest(server string, body GetWebhookInfoJSONRequestBody) (*http.Request, error)

NewGetWebhookInfoRequest calls the generic GetWebhookInfo builder with application/json body

func NewGetWebhookInfoRequestWithBody

func NewGetWebhookInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetWebhookInfoRequestWithBody generates requests for GetWebhookInfo with any type of body

func NewGiftPremiumSubscriptionRequest

func NewGiftPremiumSubscriptionRequest(server string, body GiftPremiumSubscriptionJSONRequestBody) (*http.Request, error)

NewGiftPremiumSubscriptionRequest calls the generic GiftPremiumSubscription builder with application/json body

func NewGiftPremiumSubscriptionRequestWithBody

func NewGiftPremiumSubscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGiftPremiumSubscriptionRequestWithBody generates requests for GiftPremiumSubscription with any type of body

func NewHideGeneralForumTopicRequest

func NewHideGeneralForumTopicRequest(server string, body HideGeneralForumTopicJSONRequestBody) (*http.Request, error)

NewHideGeneralForumTopicRequest calls the generic HideGeneralForumTopic builder with application/json body

func NewHideGeneralForumTopicRequestWithBody

func NewHideGeneralForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewHideGeneralForumTopicRequestWithBody generates requests for HideGeneralForumTopic with any type of body

func NewLeaveChatRequest

func NewLeaveChatRequest(server string, body LeaveChatJSONRequestBody) (*http.Request, error)

NewLeaveChatRequest calls the generic LeaveChat builder with application/json body

func NewLeaveChatRequestWithBody

func NewLeaveChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewLeaveChatRequestWithBody generates requests for LeaveChat with any type of body

func NewLogOutRequest

func NewLogOutRequest(server string, body LogOutJSONRequestBody) (*http.Request, error)

NewLogOutRequest calls the generic LogOut builder with application/json body

func NewLogOutRequestWithBody

func NewLogOutRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewLogOutRequestWithBody generates requests for LogOut with any type of body

func NewPinChatMessageRequest

func NewPinChatMessageRequest(server string, body PinChatMessageJSONRequestBody) (*http.Request, error)

NewPinChatMessageRequest calls the generic PinChatMessage builder with application/json body

func NewPinChatMessageRequestWithBody

func NewPinChatMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPinChatMessageRequestWithBody generates requests for PinChatMessage with any type of body

func NewPostStoryRequest

func NewPostStoryRequest(server string, body PostStoryJSONRequestBody) (*http.Request, error)

NewPostStoryRequest calls the generic PostStory builder with application/json body

func NewPostStoryRequestWithBody

func NewPostStoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostStoryRequestWithBody generates requests for PostStory with any type of body

func NewPromoteChatMemberRequest

func NewPromoteChatMemberRequest(server string, body PromoteChatMemberJSONRequestBody) (*http.Request, error)

NewPromoteChatMemberRequest calls the generic PromoteChatMember builder with application/json body

func NewPromoteChatMemberRequestWithBody

func NewPromoteChatMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPromoteChatMemberRequestWithBody generates requests for PromoteChatMember with any type of body

func NewReadBusinessMessageRequest

func NewReadBusinessMessageRequest(server string, body ReadBusinessMessageJSONRequestBody) (*http.Request, error)

NewReadBusinessMessageRequest calls the generic ReadBusinessMessage builder with application/json body

func NewReadBusinessMessageRequestWithBody

func NewReadBusinessMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewReadBusinessMessageRequestWithBody generates requests for ReadBusinessMessage with any type of body

func NewRefundStarPaymentRequest

func NewRefundStarPaymentRequest(server string, body RefundStarPaymentJSONRequestBody) (*http.Request, error)

NewRefundStarPaymentRequest calls the generic RefundStarPayment builder with application/json body

func NewRefundStarPaymentRequestWithBody

func NewRefundStarPaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRefundStarPaymentRequestWithBody generates requests for RefundStarPayment with any type of body

func NewRemoveBusinessAccountProfilePhotoRequest

func NewRemoveBusinessAccountProfilePhotoRequest(server string, body RemoveBusinessAccountProfilePhotoJSONRequestBody) (*http.Request, error)

NewRemoveBusinessAccountProfilePhotoRequest calls the generic RemoveBusinessAccountProfilePhoto builder with application/json body

func NewRemoveBusinessAccountProfilePhotoRequestWithBody

func NewRemoveBusinessAccountProfilePhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRemoveBusinessAccountProfilePhotoRequestWithBody generates requests for RemoveBusinessAccountProfilePhoto with any type of body

func NewRemoveChatVerificationRequest

func NewRemoveChatVerificationRequest(server string, body RemoveChatVerificationJSONRequestBody) (*http.Request, error)

NewRemoveChatVerificationRequest calls the generic RemoveChatVerification builder with application/json body

func NewRemoveChatVerificationRequestWithBody

func NewRemoveChatVerificationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRemoveChatVerificationRequestWithBody generates requests for RemoveChatVerification with any type of body

func NewRemoveUserVerificationRequest

func NewRemoveUserVerificationRequest(server string, body RemoveUserVerificationJSONRequestBody) (*http.Request, error)

NewRemoveUserVerificationRequest calls the generic RemoveUserVerification builder with application/json body

func NewRemoveUserVerificationRequestWithBody

func NewRemoveUserVerificationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRemoveUserVerificationRequestWithBody generates requests for RemoveUserVerification with any type of body

func NewReopenForumTopicRequest

func NewReopenForumTopicRequest(server string, body ReopenForumTopicJSONRequestBody) (*http.Request, error)

NewReopenForumTopicRequest calls the generic ReopenForumTopic builder with application/json body

func NewReopenForumTopicRequestWithBody

func NewReopenForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewReopenForumTopicRequestWithBody generates requests for ReopenForumTopic with any type of body

func NewReopenGeneralForumTopicRequest

func NewReopenGeneralForumTopicRequest(server string, body ReopenGeneralForumTopicJSONRequestBody) (*http.Request, error)

NewReopenGeneralForumTopicRequest calls the generic ReopenGeneralForumTopic builder with application/json body

func NewReopenGeneralForumTopicRequestWithBody

func NewReopenGeneralForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewReopenGeneralForumTopicRequestWithBody generates requests for ReopenGeneralForumTopic with any type of body

func NewReplaceStickerInSetRequest

func NewReplaceStickerInSetRequest(server string, body ReplaceStickerInSetJSONRequestBody) (*http.Request, error)

NewReplaceStickerInSetRequest calls the generic ReplaceStickerInSet builder with application/json body

func NewReplaceStickerInSetRequestWithBody

func NewReplaceStickerInSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewReplaceStickerInSetRequestWithBody generates requests for ReplaceStickerInSet with any type of body

func NewRestrictChatMemberRequest

func NewRestrictChatMemberRequest(server string, body RestrictChatMemberJSONRequestBody) (*http.Request, error)

NewRestrictChatMemberRequest calls the generic RestrictChatMember builder with application/json body

func NewRestrictChatMemberRequestWithBody

func NewRestrictChatMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRestrictChatMemberRequestWithBody generates requests for RestrictChatMember with any type of body

func NewRevokeChatInviteLinkRequest

func NewRevokeChatInviteLinkRequest(server string, body RevokeChatInviteLinkJSONRequestBody) (*http.Request, error)

NewRevokeChatInviteLinkRequest calls the generic RevokeChatInviteLink builder with application/json body

func NewRevokeChatInviteLinkRequestWithBody

func NewRevokeChatInviteLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRevokeChatInviteLinkRequestWithBody generates requests for RevokeChatInviteLink with any type of body

func NewSavePreparedInlineMessageRequest

func NewSavePreparedInlineMessageRequest(server string, body SavePreparedInlineMessageJSONRequestBody) (*http.Request, error)

NewSavePreparedInlineMessageRequest calls the generic SavePreparedInlineMessage builder with application/json body

func NewSavePreparedInlineMessageRequestWithBody

func NewSavePreparedInlineMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSavePreparedInlineMessageRequestWithBody generates requests for SavePreparedInlineMessage with any type of body

func NewSendAnimationRequest

func NewSendAnimationRequest(server string, body SendAnimationJSONRequestBody) (*http.Request, error)

NewSendAnimationRequest calls the generic SendAnimation builder with application/json body

func NewSendAnimationRequestWithBody

func NewSendAnimationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendAnimationRequestWithBody generates requests for SendAnimation with any type of body

func NewSendAudioRequest

func NewSendAudioRequest(server string, body SendAudioJSONRequestBody) (*http.Request, error)

NewSendAudioRequest calls the generic SendAudio builder with application/json body

func NewSendAudioRequestWithBody

func NewSendAudioRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendAudioRequestWithBody generates requests for SendAudio with any type of body

func NewSendChatActionRequest

func NewSendChatActionRequest(server string, body SendChatActionJSONRequestBody) (*http.Request, error)

NewSendChatActionRequest calls the generic SendChatAction builder with application/json body

func NewSendChatActionRequestWithBody

func NewSendChatActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendChatActionRequestWithBody generates requests for SendChatAction with any type of body

func NewSendChecklistRequest

func NewSendChecklistRequest(server string, body SendChecklistJSONRequestBody) (*http.Request, error)

NewSendChecklistRequest calls the generic SendChecklist builder with application/json body

func NewSendChecklistRequestWithBody

func NewSendChecklistRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendChecklistRequestWithBody generates requests for SendChecklist with any type of body

func NewSendContactRequest

func NewSendContactRequest(server string, body SendContactJSONRequestBody) (*http.Request, error)

NewSendContactRequest calls the generic SendContact builder with application/json body

func NewSendContactRequestWithBody

func NewSendContactRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendContactRequestWithBody generates requests for SendContact with any type of body

func NewSendDiceRequest

func NewSendDiceRequest(server string, body SendDiceJSONRequestBody) (*http.Request, error)

NewSendDiceRequest calls the generic SendDice builder with application/json body

func NewSendDiceRequestWithBody

func NewSendDiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendDiceRequestWithBody generates requests for SendDice with any type of body

func NewSendDocumentRequest

func NewSendDocumentRequest(server string, body SendDocumentJSONRequestBody) (*http.Request, error)

NewSendDocumentRequest calls the generic SendDocument builder with application/json body

func NewSendDocumentRequestWithBody

func NewSendDocumentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendDocumentRequestWithBody generates requests for SendDocument with any type of body

func NewSendGameRequest

func NewSendGameRequest(server string, body SendGameJSONRequestBody) (*http.Request, error)

NewSendGameRequest calls the generic SendGame builder with application/json body

func NewSendGameRequestWithBody

func NewSendGameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendGameRequestWithBody generates requests for SendGame with any type of body

func NewSendGiftRequest

func NewSendGiftRequest(server string, body SendGiftJSONRequestBody) (*http.Request, error)

NewSendGiftRequest calls the generic SendGift builder with application/json body

func NewSendGiftRequestWithBody

func NewSendGiftRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendGiftRequestWithBody generates requests for SendGift with any type of body

func NewSendInvoiceRequest

func NewSendInvoiceRequest(server string, body SendInvoiceJSONRequestBody) (*http.Request, error)

NewSendInvoiceRequest calls the generic SendInvoice builder with application/json body

func NewSendInvoiceRequestWithBody

func NewSendInvoiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendInvoiceRequestWithBody generates requests for SendInvoice with any type of body

func NewSendLocationRequest

func NewSendLocationRequest(server string, body SendLocationJSONRequestBody) (*http.Request, error)

NewSendLocationRequest calls the generic SendLocation builder with application/json body

func NewSendLocationRequestWithBody

func NewSendLocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendLocationRequestWithBody generates requests for SendLocation with any type of body

func NewSendMediaGroupRequest

func NewSendMediaGroupRequest(server string, body SendMediaGroupJSONRequestBody) (*http.Request, error)

NewSendMediaGroupRequest calls the generic SendMediaGroup builder with application/json body

func NewSendMediaGroupRequestWithBody

func NewSendMediaGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendMediaGroupRequestWithBody generates requests for SendMediaGroup with any type of body

func NewSendMessageRequest

func NewSendMessageRequest(server string, body SendMessageJSONRequestBody) (*http.Request, error)

NewSendMessageRequest calls the generic SendMessage builder with application/json body

func NewSendMessageRequestWithBody

func NewSendMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendMessageRequestWithBody generates requests for SendMessage with any type of body

func NewSendPaidMediaRequest

func NewSendPaidMediaRequest(server string, body SendPaidMediaJSONRequestBody) (*http.Request, error)

NewSendPaidMediaRequest calls the generic SendPaidMedia builder with application/json body

func NewSendPaidMediaRequestWithBody

func NewSendPaidMediaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendPaidMediaRequestWithBody generates requests for SendPaidMedia with any type of body

func NewSendPhotoRequest

func NewSendPhotoRequest(server string, body SendPhotoJSONRequestBody) (*http.Request, error)

NewSendPhotoRequest calls the generic SendPhoto builder with application/json body

func NewSendPhotoRequestWithBody

func NewSendPhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendPhotoRequestWithBody generates requests for SendPhoto with any type of body

func NewSendPollRequest

func NewSendPollRequest(server string, body SendPollJSONRequestBody) (*http.Request, error)

NewSendPollRequest calls the generic SendPoll builder with application/json body

func NewSendPollRequestWithBody

func NewSendPollRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendPollRequestWithBody generates requests for SendPoll with any type of body

func NewSendStickerRequest

func NewSendStickerRequest(server string, body SendStickerJSONRequestBody) (*http.Request, error)

NewSendStickerRequest calls the generic SendSticker builder with application/json body

func NewSendStickerRequestWithBody

func NewSendStickerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendStickerRequestWithBody generates requests for SendSticker with any type of body

func NewSendVenueRequest

func NewSendVenueRequest(server string, body SendVenueJSONRequestBody) (*http.Request, error)

NewSendVenueRequest calls the generic SendVenue builder with application/json body

func NewSendVenueRequestWithBody

func NewSendVenueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendVenueRequestWithBody generates requests for SendVenue with any type of body

func NewSendVideoNoteRequest

func NewSendVideoNoteRequest(server string, body SendVideoNoteJSONRequestBody) (*http.Request, error)

NewSendVideoNoteRequest calls the generic SendVideoNote builder with application/json body

func NewSendVideoNoteRequestWithBody

func NewSendVideoNoteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendVideoNoteRequestWithBody generates requests for SendVideoNote with any type of body

func NewSendVideoRequest

func NewSendVideoRequest(server string, body SendVideoJSONRequestBody) (*http.Request, error)

NewSendVideoRequest calls the generic SendVideo builder with application/json body

func NewSendVideoRequestWithBody

func NewSendVideoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendVideoRequestWithBody generates requests for SendVideo with any type of body

func NewSendVoiceRequest

func NewSendVoiceRequest(server string, body SendVoiceJSONRequestBody) (*http.Request, error)

NewSendVoiceRequest calls the generic SendVoice builder with application/json body

func NewSendVoiceRequestWithBody

func NewSendVoiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSendVoiceRequestWithBody generates requests for SendVoice with any type of body

func NewServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken

func NewServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken(botToken ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariable) (string, error)

NewServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken constructs the Server URL for Telegram Bot API endpoint; substitute {botToken} with your bot token., with the provided variables.

func NewSetBusinessAccountBioRequest

func NewSetBusinessAccountBioRequest(server string, body SetBusinessAccountBioJSONRequestBody) (*http.Request, error)

NewSetBusinessAccountBioRequest calls the generic SetBusinessAccountBio builder with application/json body

func NewSetBusinessAccountBioRequestWithBody

func NewSetBusinessAccountBioRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetBusinessAccountBioRequestWithBody generates requests for SetBusinessAccountBio with any type of body

func NewSetBusinessAccountGiftSettingsRequest

func NewSetBusinessAccountGiftSettingsRequest(server string, body SetBusinessAccountGiftSettingsJSONRequestBody) (*http.Request, error)

NewSetBusinessAccountGiftSettingsRequest calls the generic SetBusinessAccountGiftSettings builder with application/json body

func NewSetBusinessAccountGiftSettingsRequestWithBody

func NewSetBusinessAccountGiftSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetBusinessAccountGiftSettingsRequestWithBody generates requests for SetBusinessAccountGiftSettings with any type of body

func NewSetBusinessAccountNameRequest

func NewSetBusinessAccountNameRequest(server string, body SetBusinessAccountNameJSONRequestBody) (*http.Request, error)

NewSetBusinessAccountNameRequest calls the generic SetBusinessAccountName builder with application/json body

func NewSetBusinessAccountNameRequestWithBody

func NewSetBusinessAccountNameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetBusinessAccountNameRequestWithBody generates requests for SetBusinessAccountName with any type of body

func NewSetBusinessAccountProfilePhotoRequest

func NewSetBusinessAccountProfilePhotoRequest(server string, body SetBusinessAccountProfilePhotoJSONRequestBody) (*http.Request, error)

NewSetBusinessAccountProfilePhotoRequest calls the generic SetBusinessAccountProfilePhoto builder with application/json body

func NewSetBusinessAccountProfilePhotoRequestWithBody

func NewSetBusinessAccountProfilePhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetBusinessAccountProfilePhotoRequestWithBody generates requests for SetBusinessAccountProfilePhoto with any type of body

func NewSetBusinessAccountUsernameRequest

func NewSetBusinessAccountUsernameRequest(server string, body SetBusinessAccountUsernameJSONRequestBody) (*http.Request, error)

NewSetBusinessAccountUsernameRequest calls the generic SetBusinessAccountUsername builder with application/json body

func NewSetBusinessAccountUsernameRequestWithBody

func NewSetBusinessAccountUsernameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetBusinessAccountUsernameRequestWithBody generates requests for SetBusinessAccountUsername with any type of body

func NewSetChatAdministratorCustomTitleRequest

func NewSetChatAdministratorCustomTitleRequest(server string, body SetChatAdministratorCustomTitleJSONRequestBody) (*http.Request, error)

NewSetChatAdministratorCustomTitleRequest calls the generic SetChatAdministratorCustomTitle builder with application/json body

func NewSetChatAdministratorCustomTitleRequestWithBody

func NewSetChatAdministratorCustomTitleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatAdministratorCustomTitleRequestWithBody generates requests for SetChatAdministratorCustomTitle with any type of body

func NewSetChatDescriptionRequest

func NewSetChatDescriptionRequest(server string, body SetChatDescriptionJSONRequestBody) (*http.Request, error)

NewSetChatDescriptionRequest calls the generic SetChatDescription builder with application/json body

func NewSetChatDescriptionRequestWithBody

func NewSetChatDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatDescriptionRequestWithBody generates requests for SetChatDescription with any type of body

func NewSetChatMenuButtonRequest

func NewSetChatMenuButtonRequest(server string, body SetChatMenuButtonJSONRequestBody) (*http.Request, error)

NewSetChatMenuButtonRequest calls the generic SetChatMenuButton builder with application/json body

func NewSetChatMenuButtonRequestWithBody

func NewSetChatMenuButtonRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatMenuButtonRequestWithBody generates requests for SetChatMenuButton with any type of body

func NewSetChatPermissionsRequest

func NewSetChatPermissionsRequest(server string, body SetChatPermissionsJSONRequestBody) (*http.Request, error)

NewSetChatPermissionsRequest calls the generic SetChatPermissions builder with application/json body

func NewSetChatPermissionsRequestWithBody

func NewSetChatPermissionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatPermissionsRequestWithBody generates requests for SetChatPermissions with any type of body

func NewSetChatPhotoRequest

func NewSetChatPhotoRequest(server string, body SetChatPhotoJSONRequestBody) (*http.Request, error)

NewSetChatPhotoRequest calls the generic SetChatPhoto builder with application/json body

func NewSetChatPhotoRequestWithBody

func NewSetChatPhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatPhotoRequestWithBody generates requests for SetChatPhoto with any type of body

func NewSetChatStickerSetRequest

func NewSetChatStickerSetRequest(server string, body SetChatStickerSetJSONRequestBody) (*http.Request, error)

NewSetChatStickerSetRequest calls the generic SetChatStickerSet builder with application/json body

func NewSetChatStickerSetRequestWithBody

func NewSetChatStickerSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatStickerSetRequestWithBody generates requests for SetChatStickerSet with any type of body

func NewSetChatTitleRequest

func NewSetChatTitleRequest(server string, body SetChatTitleJSONRequestBody) (*http.Request, error)

NewSetChatTitleRequest calls the generic SetChatTitle builder with application/json body

func NewSetChatTitleRequestWithBody

func NewSetChatTitleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetChatTitleRequestWithBody generates requests for SetChatTitle with any type of body

func NewSetCustomEmojiStickerSetThumbnailRequest

func NewSetCustomEmojiStickerSetThumbnailRequest(server string, body SetCustomEmojiStickerSetThumbnailJSONRequestBody) (*http.Request, error)

NewSetCustomEmojiStickerSetThumbnailRequest calls the generic SetCustomEmojiStickerSetThumbnail builder with application/json body

func NewSetCustomEmojiStickerSetThumbnailRequestWithBody

func NewSetCustomEmojiStickerSetThumbnailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetCustomEmojiStickerSetThumbnailRequestWithBody generates requests for SetCustomEmojiStickerSetThumbnail with any type of body

func NewSetGameScoreRequest

func NewSetGameScoreRequest(server string, body SetGameScoreJSONRequestBody) (*http.Request, error)

NewSetGameScoreRequest calls the generic SetGameScore builder with application/json body

func NewSetGameScoreRequestWithBody

func NewSetGameScoreRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetGameScoreRequestWithBody generates requests for SetGameScore with any type of body

func NewSetMessageReactionRequest

func NewSetMessageReactionRequest(server string, body SetMessageReactionJSONRequestBody) (*http.Request, error)

NewSetMessageReactionRequest calls the generic SetMessageReaction builder with application/json body

func NewSetMessageReactionRequestWithBody

func NewSetMessageReactionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetMessageReactionRequestWithBody generates requests for SetMessageReaction with any type of body

func NewSetMyCommandsRequest

func NewSetMyCommandsRequest(server string, body SetMyCommandsJSONRequestBody) (*http.Request, error)

NewSetMyCommandsRequest calls the generic SetMyCommands builder with application/json body

func NewSetMyCommandsRequestWithBody

func NewSetMyCommandsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetMyCommandsRequestWithBody generates requests for SetMyCommands with any type of body

func NewSetMyDefaultAdministratorRightsRequest

func NewSetMyDefaultAdministratorRightsRequest(server string, body SetMyDefaultAdministratorRightsJSONRequestBody) (*http.Request, error)

NewSetMyDefaultAdministratorRightsRequest calls the generic SetMyDefaultAdministratorRights builder with application/json body

func NewSetMyDefaultAdministratorRightsRequestWithBody

func NewSetMyDefaultAdministratorRightsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetMyDefaultAdministratorRightsRequestWithBody generates requests for SetMyDefaultAdministratorRights with any type of body

func NewSetMyDescriptionRequest

func NewSetMyDescriptionRequest(server string, body SetMyDescriptionJSONRequestBody) (*http.Request, error)

NewSetMyDescriptionRequest calls the generic SetMyDescription builder with application/json body

func NewSetMyDescriptionRequestWithBody

func NewSetMyDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetMyDescriptionRequestWithBody generates requests for SetMyDescription with any type of body

func NewSetMyNameRequest

func NewSetMyNameRequest(server string, body SetMyNameJSONRequestBody) (*http.Request, error)

NewSetMyNameRequest calls the generic SetMyName builder with application/json body

func NewSetMyNameRequestWithBody

func NewSetMyNameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetMyNameRequestWithBody generates requests for SetMyName with any type of body

func NewSetMyShortDescriptionRequest

func NewSetMyShortDescriptionRequest(server string, body SetMyShortDescriptionJSONRequestBody) (*http.Request, error)

NewSetMyShortDescriptionRequest calls the generic SetMyShortDescription builder with application/json body

func NewSetMyShortDescriptionRequestWithBody

func NewSetMyShortDescriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetMyShortDescriptionRequestWithBody generates requests for SetMyShortDescription with any type of body

func NewSetPassportDataErrorsRequest

func NewSetPassportDataErrorsRequest(server string, body SetPassportDataErrorsJSONRequestBody) (*http.Request, error)

NewSetPassportDataErrorsRequest calls the generic SetPassportDataErrors builder with application/json body

func NewSetPassportDataErrorsRequestWithBody

func NewSetPassportDataErrorsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetPassportDataErrorsRequestWithBody generates requests for SetPassportDataErrors with any type of body

func NewSetStickerEmojiListRequest

func NewSetStickerEmojiListRequest(server string, body SetStickerEmojiListJSONRequestBody) (*http.Request, error)

NewSetStickerEmojiListRequest calls the generic SetStickerEmojiList builder with application/json body

func NewSetStickerEmojiListRequestWithBody

func NewSetStickerEmojiListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetStickerEmojiListRequestWithBody generates requests for SetStickerEmojiList with any type of body

func NewSetStickerKeywordsRequest

func NewSetStickerKeywordsRequest(server string, body SetStickerKeywordsJSONRequestBody) (*http.Request, error)

NewSetStickerKeywordsRequest calls the generic SetStickerKeywords builder with application/json body

func NewSetStickerKeywordsRequestWithBody

func NewSetStickerKeywordsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetStickerKeywordsRequestWithBody generates requests for SetStickerKeywords with any type of body

func NewSetStickerMaskPositionRequest

func NewSetStickerMaskPositionRequest(server string, body SetStickerMaskPositionJSONRequestBody) (*http.Request, error)

NewSetStickerMaskPositionRequest calls the generic SetStickerMaskPosition builder with application/json body

func NewSetStickerMaskPositionRequestWithBody

func NewSetStickerMaskPositionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetStickerMaskPositionRequestWithBody generates requests for SetStickerMaskPosition with any type of body

func NewSetStickerPositionInSetRequest

func NewSetStickerPositionInSetRequest(server string, body SetStickerPositionInSetJSONRequestBody) (*http.Request, error)

NewSetStickerPositionInSetRequest calls the generic SetStickerPositionInSet builder with application/json body

func NewSetStickerPositionInSetRequestWithBody

func NewSetStickerPositionInSetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetStickerPositionInSetRequestWithBody generates requests for SetStickerPositionInSet with any type of body

func NewSetStickerSetThumbnailRequest

func NewSetStickerSetThumbnailRequest(server string, body SetStickerSetThumbnailJSONRequestBody) (*http.Request, error)

NewSetStickerSetThumbnailRequest calls the generic SetStickerSetThumbnail builder with application/json body

func NewSetStickerSetThumbnailRequestWithBody

func NewSetStickerSetThumbnailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetStickerSetThumbnailRequestWithBody generates requests for SetStickerSetThumbnail with any type of body

func NewSetStickerSetTitleRequest

func NewSetStickerSetTitleRequest(server string, body SetStickerSetTitleJSONRequestBody) (*http.Request, error)

NewSetStickerSetTitleRequest calls the generic SetStickerSetTitle builder with application/json body

func NewSetStickerSetTitleRequestWithBody

func NewSetStickerSetTitleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetStickerSetTitleRequestWithBody generates requests for SetStickerSetTitle with any type of body

func NewSetUserEmojiStatusRequest

func NewSetUserEmojiStatusRequest(server string, body SetUserEmojiStatusJSONRequestBody) (*http.Request, error)

NewSetUserEmojiStatusRequest calls the generic SetUserEmojiStatus builder with application/json body

func NewSetUserEmojiStatusRequestWithBody

func NewSetUserEmojiStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetUserEmojiStatusRequestWithBody generates requests for SetUserEmojiStatus with any type of body

func NewSetWebhookRequest

func NewSetWebhookRequest(server string, body SetWebhookJSONRequestBody) (*http.Request, error)

NewSetWebhookRequest calls the generic SetWebhook builder with application/json body

func NewSetWebhookRequestWithBody

func NewSetWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetWebhookRequestWithBody generates requests for SetWebhook with any type of body

func NewStopMessageLiveLocationRequest

func NewStopMessageLiveLocationRequest(server string, body StopMessageLiveLocationJSONRequestBody) (*http.Request, error)

NewStopMessageLiveLocationRequest calls the generic StopMessageLiveLocation builder with application/json body

func NewStopMessageLiveLocationRequestWithBody

func NewStopMessageLiveLocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewStopMessageLiveLocationRequestWithBody generates requests for StopMessageLiveLocation with any type of body

func NewStopPollRequest

func NewStopPollRequest(server string, body StopPollJSONRequestBody) (*http.Request, error)

NewStopPollRequest calls the generic StopPoll builder with application/json body

func NewStopPollRequestWithBody

func NewStopPollRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewStopPollRequestWithBody generates requests for StopPoll with any type of body

func NewTransferBusinessAccountStarsRequest

func NewTransferBusinessAccountStarsRequest(server string, body TransferBusinessAccountStarsJSONRequestBody) (*http.Request, error)

NewTransferBusinessAccountStarsRequest calls the generic TransferBusinessAccountStars builder with application/json body

func NewTransferBusinessAccountStarsRequestWithBody

func NewTransferBusinessAccountStarsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTransferBusinessAccountStarsRequestWithBody generates requests for TransferBusinessAccountStars with any type of body

func NewTransferGiftRequest

func NewTransferGiftRequest(server string, body TransferGiftJSONRequestBody) (*http.Request, error)

NewTransferGiftRequest calls the generic TransferGift builder with application/json body

func NewTransferGiftRequestWithBody

func NewTransferGiftRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTransferGiftRequestWithBody generates requests for TransferGift with any type of body

func NewUnbanChatMemberRequest

func NewUnbanChatMemberRequest(server string, body UnbanChatMemberJSONRequestBody) (*http.Request, error)

NewUnbanChatMemberRequest calls the generic UnbanChatMember builder with application/json body

func NewUnbanChatMemberRequestWithBody

func NewUnbanChatMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnbanChatMemberRequestWithBody generates requests for UnbanChatMember with any type of body

func NewUnbanChatSenderChatRequest

func NewUnbanChatSenderChatRequest(server string, body UnbanChatSenderChatJSONRequestBody) (*http.Request, error)

NewUnbanChatSenderChatRequest calls the generic UnbanChatSenderChat builder with application/json body

func NewUnbanChatSenderChatRequestWithBody

func NewUnbanChatSenderChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnbanChatSenderChatRequestWithBody generates requests for UnbanChatSenderChat with any type of body

func NewUnhideGeneralForumTopicRequest

func NewUnhideGeneralForumTopicRequest(server string, body UnhideGeneralForumTopicJSONRequestBody) (*http.Request, error)

NewUnhideGeneralForumTopicRequest calls the generic UnhideGeneralForumTopic builder with application/json body

func NewUnhideGeneralForumTopicRequestWithBody

func NewUnhideGeneralForumTopicRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnhideGeneralForumTopicRequestWithBody generates requests for UnhideGeneralForumTopic with any type of body

func NewUnpinAllChatMessagesRequest

func NewUnpinAllChatMessagesRequest(server string, body UnpinAllChatMessagesJSONRequestBody) (*http.Request, error)

NewUnpinAllChatMessagesRequest calls the generic UnpinAllChatMessages builder with application/json body

func NewUnpinAllChatMessagesRequestWithBody

func NewUnpinAllChatMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnpinAllChatMessagesRequestWithBody generates requests for UnpinAllChatMessages with any type of body

func NewUnpinAllForumTopicMessagesRequest

func NewUnpinAllForumTopicMessagesRequest(server string, body UnpinAllForumTopicMessagesJSONRequestBody) (*http.Request, error)

NewUnpinAllForumTopicMessagesRequest calls the generic UnpinAllForumTopicMessages builder with application/json body

func NewUnpinAllForumTopicMessagesRequestWithBody

func NewUnpinAllForumTopicMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnpinAllForumTopicMessagesRequestWithBody generates requests for UnpinAllForumTopicMessages with any type of body

func NewUnpinAllGeneralForumTopicMessagesRequest

func NewUnpinAllGeneralForumTopicMessagesRequest(server string, body UnpinAllGeneralForumTopicMessagesJSONRequestBody) (*http.Request, error)

NewUnpinAllGeneralForumTopicMessagesRequest calls the generic UnpinAllGeneralForumTopicMessages builder with application/json body

func NewUnpinAllGeneralForumTopicMessagesRequestWithBody

func NewUnpinAllGeneralForumTopicMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnpinAllGeneralForumTopicMessagesRequestWithBody generates requests for UnpinAllGeneralForumTopicMessages with any type of body

func NewUnpinChatMessageRequest

func NewUnpinChatMessageRequest(server string, body UnpinChatMessageJSONRequestBody) (*http.Request, error)

NewUnpinChatMessageRequest calls the generic UnpinChatMessage builder with application/json body

func NewUnpinChatMessageRequestWithBody

func NewUnpinChatMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUnpinChatMessageRequestWithBody generates requests for UnpinChatMessage with any type of body

func NewUpgradeGiftRequest

func NewUpgradeGiftRequest(server string, body UpgradeGiftJSONRequestBody) (*http.Request, error)

NewUpgradeGiftRequest calls the generic UpgradeGift builder with application/json body

func NewUpgradeGiftRequestWithBody

func NewUpgradeGiftRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpgradeGiftRequestWithBody generates requests for UpgradeGift with any type of body

func NewUploadStickerFileRequest

func NewUploadStickerFileRequest(server string, body UploadStickerFileJSONRequestBody) (*http.Request, error)

NewUploadStickerFileRequest calls the generic UploadStickerFile builder with application/json body

func NewUploadStickerFileRequestWithBody

func NewUploadStickerFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadStickerFileRequestWithBody generates requests for UploadStickerFile with any type of body

func NewVerifyChatRequest

func NewVerifyChatRequest(server string, body VerifyChatJSONRequestBody) (*http.Request, error)

NewVerifyChatRequest calls the generic VerifyChat builder with application/json body

func NewVerifyChatRequestWithBody

func NewVerifyChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVerifyChatRequestWithBody generates requests for VerifyChat with any type of body

func NewVerifyUserRequest

func NewVerifyUserRequest(server string, body VerifyUserJSONRequestBody) (*http.Request, error)

NewVerifyUserRequest calls the generic VerifyUser builder with application/json body

func NewVerifyUserRequestWithBody

func NewVerifyUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewVerifyUserRequestWithBody generates requests for VerifyUser with any type of body

Types

type AcceptedGiftTypes

type AcceptedGiftTypes struct {
	LimitedGifts        bool `json:"limited_gifts"`
	PremiumSubscription bool `json:"premium_subscription"`
	UniqueGifts         bool `json:"unique_gifts"`
	UnlimitedGifts      bool `json:"unlimited_gifts"`
}

AcceptedGiftTypes This object describes the types of gifts that can be gifted to a user or a chat.

type AddStickerToSet200Ok

type AddStickerToSet200Ok bool

type AddStickerToSetJSONBody

type AddStickerToSetJSONBody = map[string]interface{}

AddStickerToSetJSONBody defines parameters for AddStickerToSet.

type AddStickerToSetJSONRequestBody

type AddStickerToSetJSONRequestBody = AddStickerToSetJSONBody

AddStickerToSetJSONRequestBody defines body for AddStickerToSet for application/json ContentType.

type AddStickerToSetResponse

type AddStickerToSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     AddStickerToSet200Ok `json:"ok"`
		Result bool                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseAddStickerToSetResponse

func ParseAddStickerToSetResponse(rsp *http.Response) (*AddStickerToSetResponse, error)

ParseAddStickerToSetResponse parses an HTTP response from a AddStickerToSetWithResponse call

func (AddStickerToSetResponse) Status

func (r AddStickerToSetResponse) Status() string

Status returns HTTPResponse.Status

func (AddStickerToSetResponse) StatusCode

func (r AddStickerToSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Animation

type Animation struct {
	Duration     int     `json:"duration"`
	FileId       string  `json:"file_id"`
	FileName     *string `json:"file_name,omitempty"`
	FileSize     *int    `json:"file_size,omitempty"`
	FileUniqueId string  `json:"file_unique_id"`
	Height       int     `json:"height"`
	MimeType     *string `json:"mime_type,omitempty"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
	Width     int        `json:"width"`
}

Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).

type AnswerCallbackQuery200Ok

type AnswerCallbackQuery200Ok bool

type AnswerCallbackQueryJSONBody

type AnswerCallbackQueryJSONBody = map[string]interface{}

AnswerCallbackQueryJSONBody defines parameters for AnswerCallbackQuery.

type AnswerCallbackQueryJSONRequestBody

type AnswerCallbackQueryJSONRequestBody = AnswerCallbackQueryJSONBody

AnswerCallbackQueryJSONRequestBody defines body for AnswerCallbackQuery for application/json ContentType.

type AnswerCallbackQueryResponse

type AnswerCallbackQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     AnswerCallbackQuery200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseAnswerCallbackQueryResponse

func ParseAnswerCallbackQueryResponse(rsp *http.Response) (*AnswerCallbackQueryResponse, error)

ParseAnswerCallbackQueryResponse parses an HTTP response from a AnswerCallbackQueryWithResponse call

func (AnswerCallbackQueryResponse) Status

Status returns HTTPResponse.Status

func (AnswerCallbackQueryResponse) StatusCode

func (r AnswerCallbackQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnswerInlineQuery200Ok

type AnswerInlineQuery200Ok bool

type AnswerInlineQueryJSONBody

type AnswerInlineQueryJSONBody = map[string]interface{}

AnswerInlineQueryJSONBody defines parameters for AnswerInlineQuery.

type AnswerInlineQueryJSONRequestBody

type AnswerInlineQueryJSONRequestBody = AnswerInlineQueryJSONBody

AnswerInlineQueryJSONRequestBody defines body for AnswerInlineQuery for application/json ContentType.

type AnswerInlineQueryResponse

type AnswerInlineQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     AnswerInlineQuery200Ok `json:"ok"`
		Result bool                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseAnswerInlineQueryResponse

func ParseAnswerInlineQueryResponse(rsp *http.Response) (*AnswerInlineQueryResponse, error)

ParseAnswerInlineQueryResponse parses an HTTP response from a AnswerInlineQueryWithResponse call

func (AnswerInlineQueryResponse) Status

func (r AnswerInlineQueryResponse) Status() string

Status returns HTTPResponse.Status

func (AnswerInlineQueryResponse) StatusCode

func (r AnswerInlineQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnswerPreCheckoutQuery200Ok

type AnswerPreCheckoutQuery200Ok bool

type AnswerPreCheckoutQueryJSONBody

type AnswerPreCheckoutQueryJSONBody = map[string]interface{}

AnswerPreCheckoutQueryJSONBody defines parameters for AnswerPreCheckoutQuery.

type AnswerPreCheckoutQueryJSONRequestBody

type AnswerPreCheckoutQueryJSONRequestBody = AnswerPreCheckoutQueryJSONBody

AnswerPreCheckoutQueryJSONRequestBody defines body for AnswerPreCheckoutQuery for application/json ContentType.

type AnswerPreCheckoutQueryResponse

type AnswerPreCheckoutQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     AnswerPreCheckoutQuery200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseAnswerPreCheckoutQueryResponse

func ParseAnswerPreCheckoutQueryResponse(rsp *http.Response) (*AnswerPreCheckoutQueryResponse, error)

ParseAnswerPreCheckoutQueryResponse parses an HTTP response from a AnswerPreCheckoutQueryWithResponse call

func (AnswerPreCheckoutQueryResponse) Status

Status returns HTTPResponse.Status

func (AnswerPreCheckoutQueryResponse) StatusCode

func (r AnswerPreCheckoutQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnswerShippingQuery200Ok

type AnswerShippingQuery200Ok bool

type AnswerShippingQueryJSONBody

type AnswerShippingQueryJSONBody = map[string]interface{}

AnswerShippingQueryJSONBody defines parameters for AnswerShippingQuery.

type AnswerShippingQueryJSONRequestBody

type AnswerShippingQueryJSONRequestBody = AnswerShippingQueryJSONBody

AnswerShippingQueryJSONRequestBody defines body for AnswerShippingQuery for application/json ContentType.

type AnswerShippingQueryResponse

type AnswerShippingQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     AnswerShippingQuery200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseAnswerShippingQueryResponse

func ParseAnswerShippingQueryResponse(rsp *http.Response) (*AnswerShippingQueryResponse, error)

ParseAnswerShippingQueryResponse parses an HTTP response from a AnswerShippingQueryWithResponse call

func (AnswerShippingQueryResponse) Status

Status returns HTTPResponse.Status

func (AnswerShippingQueryResponse) StatusCode

func (r AnswerShippingQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnswerWebAppQuery200Ok

type AnswerWebAppQuery200Ok bool

type AnswerWebAppQueryJSONBody

type AnswerWebAppQueryJSONBody = map[string]interface{}

AnswerWebAppQueryJSONBody defines parameters for AnswerWebAppQuery.

type AnswerWebAppQueryJSONRequestBody

type AnswerWebAppQueryJSONRequestBody = AnswerWebAppQueryJSONBody

AnswerWebAppQueryJSONRequestBody defines body for AnswerWebAppQuery for application/json ContentType.

type AnswerWebAppQueryResponse

type AnswerWebAppQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok AnswerWebAppQuery200Ok `json:"ok"`

		// Result Describes an inline message sent by a Web App on behalf of a user.
		Result SentWebAppMessage `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseAnswerWebAppQueryResponse

func ParseAnswerWebAppQueryResponse(rsp *http.Response) (*AnswerWebAppQueryResponse, error)

ParseAnswerWebAppQueryResponse parses an HTTP response from a AnswerWebAppQueryWithResponse call

func (AnswerWebAppQueryResponse) Status

func (r AnswerWebAppQueryResponse) Status() string

Status returns HTTPResponse.Status

func (AnswerWebAppQueryResponse) StatusCode

func (r AnswerWebAppQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApproveChatJoinRequest200Ok

type ApproveChatJoinRequest200Ok bool

type ApproveChatJoinRequestJSONBody

type ApproveChatJoinRequestJSONBody = map[string]interface{}

ApproveChatJoinRequestJSONBody defines parameters for ApproveChatJoinRequest.

type ApproveChatJoinRequestJSONRequestBody

type ApproveChatJoinRequestJSONRequestBody = ApproveChatJoinRequestJSONBody

ApproveChatJoinRequestJSONRequestBody defines body for ApproveChatJoinRequest for application/json ContentType.

type ApproveChatJoinRequestResponse

type ApproveChatJoinRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ApproveChatJoinRequest200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseApproveChatJoinRequestResponse

func ParseApproveChatJoinRequestResponse(rsp *http.Response) (*ApproveChatJoinRequestResponse, error)

ParseApproveChatJoinRequestResponse parses an HTTP response from a ApproveChatJoinRequestWithResponse call

func (ApproveChatJoinRequestResponse) Status

Status returns HTTPResponse.Status

func (ApproveChatJoinRequestResponse) StatusCode

func (r ApproveChatJoinRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApproveSuggestedPost200Ok

type ApproveSuggestedPost200Ok bool

type ApproveSuggestedPostJSONBody

type ApproveSuggestedPostJSONBody = map[string]interface{}

ApproveSuggestedPostJSONBody defines parameters for ApproveSuggestedPost.

type ApproveSuggestedPostJSONRequestBody

type ApproveSuggestedPostJSONRequestBody = ApproveSuggestedPostJSONBody

ApproveSuggestedPostJSONRequestBody defines body for ApproveSuggestedPost for application/json ContentType.

type ApproveSuggestedPostResponse

type ApproveSuggestedPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ApproveSuggestedPost200Ok `json:"ok"`
		Result bool                      `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseApproveSuggestedPostResponse

func ParseApproveSuggestedPostResponse(rsp *http.Response) (*ApproveSuggestedPostResponse, error)

ParseApproveSuggestedPostResponse parses an HTTP response from a ApproveSuggestedPostWithResponse call

func (ApproveSuggestedPostResponse) Status

Status returns HTTPResponse.Status

func (ApproveSuggestedPostResponse) StatusCode

func (r ApproveSuggestedPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Audio

type Audio struct {
	Duration     int     `json:"duration"`
	FileId       string  `json:"file_id"`
	FileName     *string `json:"file_name,omitempty"`
	FileSize     *int    `json:"file_size,omitempty"`
	FileUniqueId string  `json:"file_unique_id"`
	MimeType     *string `json:"mime_type,omitempty"`
	Performer    *string `json:"performer,omitempty"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
	Title     *string    `json:"title,omitempty"`
}

Audio This object represents an audio file to be treated as music by the Telegram clients.

type BackgroundType

type BackgroundType = map[string]interface{}

BackgroundType This object describes the type of a background. Currently, it can be one of BackgroundTypeFill BackgroundTypeWallpaper BackgroundTypePattern BackgroundTypeChatTheme

type BanChatMember200Ok

type BanChatMember200Ok bool

type BanChatMemberJSONBody

type BanChatMemberJSONBody = map[string]interface{}

BanChatMemberJSONBody defines parameters for BanChatMember.

type BanChatMemberJSONRequestBody

type BanChatMemberJSONRequestBody = BanChatMemberJSONBody

BanChatMemberJSONRequestBody defines body for BanChatMember for application/json ContentType.

type BanChatMemberResponse

type BanChatMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     BanChatMember200Ok `json:"ok"`
		Result bool               `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseBanChatMemberResponse

func ParseBanChatMemberResponse(rsp *http.Response) (*BanChatMemberResponse, error)

ParseBanChatMemberResponse parses an HTTP response from a BanChatMemberWithResponse call

func (BanChatMemberResponse) Status

func (r BanChatMemberResponse) Status() string

Status returns HTTPResponse.Status

func (BanChatMemberResponse) StatusCode

func (r BanChatMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BanChatSenderChat200Ok

type BanChatSenderChat200Ok bool

type BanChatSenderChatJSONBody

type BanChatSenderChatJSONBody = map[string]interface{}

BanChatSenderChatJSONBody defines parameters for BanChatSenderChat.

type BanChatSenderChatJSONRequestBody

type BanChatSenderChatJSONRequestBody = BanChatSenderChatJSONBody

BanChatSenderChatJSONRequestBody defines body for BanChatSenderChat for application/json ContentType.

type BanChatSenderChatResponse

type BanChatSenderChatResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     BanChatSenderChat200Ok `json:"ok"`
		Result bool                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseBanChatSenderChatResponse

func ParseBanChatSenderChatResponse(rsp *http.Response) (*BanChatSenderChatResponse, error)

ParseBanChatSenderChatResponse parses an HTTP response from a BanChatSenderChatWithResponse call

func (BanChatSenderChatResponse) Status

func (r BanChatSenderChatResponse) Status() string

Status returns HTTPResponse.Status

func (BanChatSenderChatResponse) StatusCode

func (r BanChatSenderChatResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Birthdate

type Birthdate struct {
	Day   int  `json:"day"`
	Month int  `json:"month"`
	Year  *int `json:"year,omitempty"`
}

Birthdate Describes the birthdate of a user.

type BotCommand

type BotCommand struct {
	Command     string `json:"command"`
	Description string `json:"description"`
}

BotCommand This object represents a bot command.

type BotDescription

type BotDescription struct {
	Description string `json:"description"`
}

BotDescription This object represents the bot's description.

type BotName

type BotName struct {
	Name string `json:"name"`
}

BotName This object represents the bot's name.

type BotShortDescription

type BotShortDescription struct {
	ShortDescription string `json:"short_description"`
}

BotShortDescription This object represents the bot's short description.

type BusinessBotRights

type BusinessBotRights struct {
	CanChangeGiftSettings      *bool `json:"can_change_gift_settings,omitempty"`
	CanConvertGiftsToStars     *bool `json:"can_convert_gifts_to_stars,omitempty"`
	CanDeleteAllMessages       *bool `json:"can_delete_all_messages,omitempty"`
	CanDeleteSentMessages      *bool `json:"can_delete_sent_messages,omitempty"`
	CanEditBio                 *bool `json:"can_edit_bio,omitempty"`
	CanEditName                *bool `json:"can_edit_name,omitempty"`
	CanEditProfilePhoto        *bool `json:"can_edit_profile_photo,omitempty"`
	CanEditUsername            *bool `json:"can_edit_username,omitempty"`
	CanManageStories           *bool `json:"can_manage_stories,omitempty"`
	CanReadMessages            *bool `json:"can_read_messages,omitempty"`
	CanReply                   *bool `json:"can_reply,omitempty"`
	CanTransferAndUpgradeGifts *bool `json:"can_transfer_and_upgrade_gifts,omitempty"`
	CanTransferStars           *bool `json:"can_transfer_stars,omitempty"`
	CanViewGiftsAndStars       *bool `json:"can_view_gifts_and_stars,omitempty"`
}

BusinessBotRights Represents the rights of a business bot.

type BusinessConnection

type BusinessConnection struct {
	Date      int    `json:"date"`
	Id        string `json:"id"`
	IsEnabled bool   `json:"is_enabled"`

	// Rights Represents the rights of a business bot.
	Rights *BusinessBotRights `json:"rights,omitempty"`

	// User This object represents a Telegram user or bot.
	User       User `json:"user"`
	UserChatId int  `json:"user_chat_id"`
}

BusinessConnection Describes the connection of the bot with a business account.

type BusinessIntro

type BusinessIntro struct {
	Message *string `json:"message,omitempty"`

	// Sticker This object represents a sticker.
	Sticker *Sticker `json:"sticker,omitempty"`
	Title   *string  `json:"title,omitempty"`
}

BusinessIntro Contains information about the start page settings of a Telegram Business account.

type BusinessLocation

type BusinessLocation struct {
	Address string `json:"address"`

	// Location This object represents a point on the map.
	Location *Location `json:"location,omitempty"`
}

BusinessLocation Contains information about the location of a Telegram Business account.

type BusinessMessagesDeleted

type BusinessMessagesDeleted struct {
	BusinessConnectionId string `json:"business_connection_id"`

	// Chat This object represents a chat.
	Chat       Chat  `json:"chat"`
	MessageIds []int `json:"message_ids"`
}

BusinessMessagesDeleted This object is received when messages are deleted from a connected business account.

type BusinessOpeningHours

type BusinessOpeningHours struct {
	OpeningHours []BusinessOpeningHoursInterval `json:"opening_hours"`
	TimeZoneName string                         `json:"time_zone_name"`
}

BusinessOpeningHours Describes the opening hours of a business.

type BusinessOpeningHoursInterval

type BusinessOpeningHoursInterval struct {
	ClosingMinute int `json:"closing_minute"`
	OpeningMinute int `json:"opening_minute"`
}

BusinessOpeningHoursInterval Describes an interval of time during which a business is open.

type CallbackGame

type CallbackGame = map[string]interface{}

CallbackGame A placeholder, currently holds no information. Use BotFather to set up your game.

type CallbackQuery

type CallbackQuery struct {
	ChatInstance string  `json:"chat_instance"`
	Data         *string `json:"data,omitempty"`

	// From This object represents a Telegram user or bot.
	From            User    `json:"from"`
	GameShortName   *string `json:"game_short_name,omitempty"`
	Id              string  `json:"id"`
	InlineMessageId *string `json:"inline_message_id,omitempty"`

	// Message This object describes a message that can be inaccessible to the bot. It can be one of
	// Message
	// InaccessibleMessage
	Message *MaybeInaccessibleMessage `json:"message,omitempty"`
}

CallbackQuery This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.

type Chat

type Chat struct {
	FirstName        *string `json:"first_name,omitempty"`
	Id               int     `json:"id"`
	IsDirectMessages *bool   `json:"is_direct_messages,omitempty"`
	IsForum          *bool   `json:"is_forum,omitempty"`
	LastName         *string `json:"last_name,omitempty"`
	Title            *string `json:"title,omitempty"`
	Type             string  `json:"type"`
	Username         *string `json:"username,omitempty"`
}

Chat This object represents a chat.

type ChatAdministratorRights

type ChatAdministratorRights struct {
	CanChangeInfo           bool  `json:"can_change_info"`
	CanDeleteMessages       bool  `json:"can_delete_messages"`
	CanDeleteStories        bool  `json:"can_delete_stories"`
	CanEditMessages         *bool `json:"can_edit_messages,omitempty"`
	CanEditStories          bool  `json:"can_edit_stories"`
	CanInviteUsers          bool  `json:"can_invite_users"`
	CanManageChat           bool  `json:"can_manage_chat"`
	CanManageDirectMessages *bool `json:"can_manage_direct_messages,omitempty"`
	CanManageTopics         *bool `json:"can_manage_topics,omitempty"`
	CanManageVideoChats     bool  `json:"can_manage_video_chats"`
	CanPinMessages          *bool `json:"can_pin_messages,omitempty"`
	CanPostMessages         *bool `json:"can_post_messages,omitempty"`
	CanPostStories          bool  `json:"can_post_stories"`
	CanPromoteMembers       bool  `json:"can_promote_members"`
	CanRestrictMembers      bool  `json:"can_restrict_members"`
	IsAnonymous             bool  `json:"is_anonymous"`
}

ChatAdministratorRights Represents the rights of an administrator in a chat.

type ChatBackground

type ChatBackground struct {
	// Type This object describes the type of a background. Currently, it can be one of
	// BackgroundTypeFill
	// BackgroundTypeWallpaper
	// BackgroundTypePattern
	// BackgroundTypeChatTheme
	Type BackgroundType `json:"type"`
}

ChatBackground This object represents a chat background.

type ChatBoost

type ChatBoost struct {
	AddDate        int    `json:"add_date"`
	BoostId        string `json:"boost_id"`
	ExpirationDate int    `json:"expiration_date"`

	// Source This object describes the source of a chat boost. It can be one of
	// ChatBoostSourcePremium
	// ChatBoostSourceGiftCode
	// ChatBoostSourceGiveaway
	Source ChatBoostSource `json:"source"`
}

ChatBoost This object contains information about a chat boost.

type ChatBoostAdded

type ChatBoostAdded struct {
	BoostCount int `json:"boost_count"`
}

ChatBoostAdded This object represents a service message about a user boosting a chat.

type ChatBoostRemoved

type ChatBoostRemoved struct {
	BoostId string `json:"boost_id"`

	// Chat This object represents a chat.
	Chat       Chat `json:"chat"`
	RemoveDate int  `json:"remove_date"`

	// Source This object describes the source of a chat boost. It can be one of
	// ChatBoostSourcePremium
	// ChatBoostSourceGiftCode
	// ChatBoostSourceGiveaway
	Source ChatBoostSource `json:"source"`
}

ChatBoostRemoved This object represents a boost removed from a chat.

type ChatBoostSource

type ChatBoostSource = map[string]interface{}

ChatBoostSource This object describes the source of a chat boost. It can be one of ChatBoostSourcePremium ChatBoostSourceGiftCode ChatBoostSourceGiveaway

type ChatBoostUpdated

type ChatBoostUpdated struct {
	// Boost This object contains information about a chat boost.
	Boost ChatBoost `json:"boost"`

	// Chat This object represents a chat.
	Chat Chat `json:"chat"`
}

ChatBoostUpdated This object represents a boost added to a chat or changed.

type ChatFullInfo

type ChatFullInfo struct {
	AccentColorId int `json:"accent_color_id"`

	// AcceptedGiftTypes This object describes the types of gifts that can be gifted to a user or a chat.
	AcceptedGiftTypes       AcceptedGiftTypes `json:"accepted_gift_types"`
	ActiveUsernames         *[]string         `json:"active_usernames,omitempty"`
	AvailableReactions      *[]ReactionType   `json:"available_reactions,omitempty"`
	BackgroundCustomEmojiId *string           `json:"background_custom_emoji_id,omitempty"`
	Bio                     *string           `json:"bio,omitempty"`

	// Birthdate Describes the birthdate of a user.
	Birthdate *Birthdate `json:"birthdate,omitempty"`

	// BusinessIntro Contains information about the start page settings of a Telegram Business account.
	BusinessIntro *BusinessIntro `json:"business_intro,omitempty"`

	// BusinessLocation Contains information about the location of a Telegram Business account.
	BusinessLocation *BusinessLocation `json:"business_location,omitempty"`

	// BusinessOpeningHours Describes the opening hours of a business.
	BusinessOpeningHours               *BusinessOpeningHours `json:"business_opening_hours,omitempty"`
	CanSendPaidMedia                   *bool                 `json:"can_send_paid_media,omitempty"`
	CanSetStickerSet                   *bool                 `json:"can_set_sticker_set,omitempty"`
	CustomEmojiStickerSetName          *string               `json:"custom_emoji_sticker_set_name,omitempty"`
	Description                        *string               `json:"description,omitempty"`
	EmojiStatusCustomEmojiId           *string               `json:"emoji_status_custom_emoji_id,omitempty"`
	EmojiStatusExpirationDate          *int                  `json:"emoji_status_expiration_date,omitempty"`
	FirstName                          *string               `json:"first_name,omitempty"`
	HasAggressiveAntiSpamEnabled       *bool                 `json:"has_aggressive_anti_spam_enabled,omitempty"`
	HasHiddenMembers                   *bool                 `json:"has_hidden_members,omitempty"`
	HasPrivateForwards                 *bool                 `json:"has_private_forwards,omitempty"`
	HasProtectedContent                *bool                 `json:"has_protected_content,omitempty"`
	HasRestrictedVoiceAndVideoMessages *bool                 `json:"has_restricted_voice_and_video_messages,omitempty"`
	HasVisibleHistory                  *bool                 `json:"has_visible_history,omitempty"`
	Id                                 int                   `json:"id"`
	InviteLink                         *string               `json:"invite_link,omitempty"`
	IsDirectMessages                   *bool                 `json:"is_direct_messages,omitempty"`
	IsForum                            *bool                 `json:"is_forum,omitempty"`
	JoinByRequest                      *bool                 `json:"join_by_request,omitempty"`
	JoinToSendMessages                 *bool                 `json:"join_to_send_messages,omitempty"`
	LastName                           *string               `json:"last_name,omitempty"`
	LinkedChatId                       *int                  `json:"linked_chat_id,omitempty"`

	// Location Represents a location to which a chat is connected.
	Location              *ChatLocation `json:"location,omitempty"`
	MaxReactionCount      int           `json:"max_reaction_count"`
	MessageAutoDeleteTime *int          `json:"message_auto_delete_time,omitempty"`

	// ParentChat This object represents a chat.
	ParentChat *Chat `json:"parent_chat,omitempty"`

	// Permissions Describes actions that a non-administrator user is allowed to take in a chat.
	Permissions *ChatPermissions `json:"permissions,omitempty"`

	// PersonalChat This object represents a chat.
	PersonalChat *Chat `json:"personal_chat,omitempty"`

	// Photo This object represents a chat photo.
	Photo *ChatPhoto `json:"photo,omitempty"`

	// PinnedMessage This object represents a message.
	PinnedMessage                  *Message `json:"pinned_message,omitempty"`
	ProfileAccentColorId           *int     `json:"profile_accent_color_id,omitempty"`
	ProfileBackgroundCustomEmojiId *string  `json:"profile_background_custom_emoji_id,omitempty"`
	SlowModeDelay                  *int     `json:"slow_mode_delay,omitempty"`
	StickerSetName                 *string  `json:"sticker_set_name,omitempty"`
	Title                          *string  `json:"title,omitempty"`
	Type                           string   `json:"type"`
	UnrestrictBoostCount           *int     `json:"unrestrict_boost_count,omitempty"`
	Username                       *string  `json:"username,omitempty"`
}

ChatFullInfo This object contains full information about a chat.

type ChatInviteLink struct {
	CreatesJoinRequest bool `json:"creates_join_request"`

	// Creator This object represents a Telegram user or bot.
	Creator                 User    `json:"creator"`
	ExpireDate              *int    `json:"expire_date,omitempty"`
	InviteLink              string  `json:"invite_link"`
	IsPrimary               bool    `json:"is_primary"`
	IsRevoked               bool    `json:"is_revoked"`
	MemberLimit             *int    `json:"member_limit,omitempty"`
	Name                    *string `json:"name,omitempty"`
	PendingJoinRequestCount *int    `json:"pending_join_request_count,omitempty"`
	SubscriptionPeriod      *int    `json:"subscription_period,omitempty"`
	SubscriptionPrice       *int    `json:"subscription_price,omitempty"`
}

ChatInviteLink Represents an invite link for a chat.

type ChatJoinRequest

type ChatJoinRequest struct {
	Bio *string `json:"bio,omitempty"`

	// Chat This object represents a chat.
	Chat Chat `json:"chat"`
	Date int  `json:"date"`

	// From This object represents a Telegram user or bot.
	From User `json:"from"`

	// InviteLink Represents an invite link for a chat.
	InviteLink *ChatInviteLink `json:"invite_link,omitempty"`
	UserChatId int             `json:"user_chat_id"`
}

ChatJoinRequest Represents a join request sent to a chat.

type ChatLocation

type ChatLocation struct {
	Address string `json:"address"`

	// Location This object represents a point on the map.
	Location Location `json:"location"`
}

ChatLocation Represents a location to which a chat is connected.

type ChatMember

type ChatMember = map[string]interface{}

ChatMember This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported: ChatMemberOwner ChatMemberAdministrator ChatMemberMember ChatMemberRestricted ChatMemberLeft ChatMemberBanned

type ChatMemberUpdated

type ChatMemberUpdated struct {
	// Chat This object represents a chat.
	Chat Chat `json:"chat"`
	Date int  `json:"date"`

	// From This object represents a Telegram user or bot.
	From User `json:"from"`

	// InviteLink Represents an invite link for a chat.
	InviteLink *ChatInviteLink `json:"invite_link,omitempty"`

	// NewChatMember This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:
	// ChatMemberOwner
	// ChatMemberAdministrator
	// ChatMemberMember
	// ChatMemberRestricted
	// ChatMemberLeft
	// ChatMemberBanned
	NewChatMember ChatMember `json:"new_chat_member"`

	// OldChatMember This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:
	// ChatMemberOwner
	// ChatMemberAdministrator
	// ChatMemberMember
	// ChatMemberRestricted
	// ChatMemberLeft
	// ChatMemberBanned
	OldChatMember           ChatMember `json:"old_chat_member"`
	ViaChatFolderInviteLink *bool      `json:"via_chat_folder_invite_link,omitempty"`
	ViaJoinRequest          *bool      `json:"via_join_request,omitempty"`
}

ChatMemberUpdated This object represents changes in the status of a chat member.

type ChatPermissions

type ChatPermissions struct {
	CanAddWebPagePreviews *bool `json:"can_add_web_page_previews,omitempty"`
	CanChangeInfo         *bool `json:"can_change_info,omitempty"`
	CanInviteUsers        *bool `json:"can_invite_users,omitempty"`
	CanManageTopics       *bool `json:"can_manage_topics,omitempty"`
	CanPinMessages        *bool `json:"can_pin_messages,omitempty"`
	CanSendAudios         *bool `json:"can_send_audios,omitempty"`
	CanSendDocuments      *bool `json:"can_send_documents,omitempty"`
	CanSendMessages       *bool `json:"can_send_messages,omitempty"`
	CanSendOtherMessages  *bool `json:"can_send_other_messages,omitempty"`
	CanSendPhotos         *bool `json:"can_send_photos,omitempty"`
	CanSendPolls          *bool `json:"can_send_polls,omitempty"`
	CanSendVideoNotes     *bool `json:"can_send_video_notes,omitempty"`
	CanSendVideos         *bool `json:"can_send_videos,omitempty"`
	CanSendVoiceNotes     *bool `json:"can_send_voice_notes,omitempty"`
}

ChatPermissions Describes actions that a non-administrator user is allowed to take in a chat.

type ChatPhoto

type ChatPhoto struct {
	BigFileId         string `json:"big_file_id"`
	BigFileUniqueId   string `json:"big_file_unique_id"`
	SmallFileId       string `json:"small_file_id"`
	SmallFileUniqueId string `json:"small_file_unique_id"`
}

ChatPhoto This object represents a chat photo.

type ChatShared

type ChatShared struct {
	ChatId    int          `json:"chat_id"`
	Photo     *[]PhotoSize `json:"photo,omitempty"`
	RequestId int          `json:"request_id"`
	Title     *string      `json:"title,omitempty"`
	Username  *string      `json:"username,omitempty"`
}

ChatShared This object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button.

type Checklist

type Checklist struct {
	OthersCanAddTasks        *bool            `json:"others_can_add_tasks,omitempty"`
	OthersCanMarkTasksAsDone *bool            `json:"others_can_mark_tasks_as_done,omitempty"`
	Tasks                    []ChecklistTask  `json:"tasks"`
	Title                    string           `json:"title"`
	TitleEntities            *[]MessageEntity `json:"title_entities,omitempty"`
}

Checklist Describes a checklist.

type ChecklistTask

type ChecklistTask struct {
	// CompletedByUser This object represents a Telegram user or bot.
	CompletedByUser *User            `json:"completed_by_user,omitempty"`
	CompletionDate  *int             `json:"completion_date,omitempty"`
	Id              int              `json:"id"`
	Text            string           `json:"text"`
	TextEntities    *[]MessageEntity `json:"text_entities,omitempty"`
}

ChecklistTask Describes a task in a checklist.

type ChecklistTasksAdded

type ChecklistTasksAdded struct {
	// ChecklistMessage This object represents a message.
	ChecklistMessage *Message        `json:"checklist_message,omitempty"`
	Tasks            []ChecklistTask `json:"tasks"`
}

ChecklistTasksAdded Describes a service message about tasks added to a checklist.

type ChecklistTasksDone

type ChecklistTasksDone struct {
	// ChecklistMessage This object represents a message.
	ChecklistMessage       *Message `json:"checklist_message,omitempty"`
	MarkedAsDoneTaskIds    *[]int   `json:"marked_as_done_task_ids,omitempty"`
	MarkedAsNotDoneTaskIds *[]int   `json:"marked_as_not_done_task_ids,omitempty"`
}

ChecklistTasksDone Describes a service message about checklist tasks marked as done or not done.

type ChosenInlineResult

type ChosenInlineResult struct {
	// From This object represents a Telegram user or bot.
	From            User    `json:"from"`
	InlineMessageId *string `json:"inline_message_id,omitempty"`

	// Location This object represents a point on the map.
	Location *Location `json:"location,omitempty"`
	Query    string    `json:"query"`
	ResultId string    `json:"result_id"`
}

ChosenInlineResult Represents a result of an inline query that was chosen by the user and sent to their chat partner.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

Example
package main

import (
	"context"
	"net/http"

	"github.com/tgbotkit/client"
)

func main() {
	serverURL, err := client.NewServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken(
		client.ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariable("<bot_token>"),
	)
	if err != nil {
		return
	}

	c, err := client.NewClient(
		serverURL,
		client.WithHTTPClient(&http.Client{}),
		client.WithRequestEditorFn(func(ctx context.Context, req *http.Request) error {
			req.Header.Set("X-Request-Id", "example")
			return nil
		}),
	)
	if err != nil {
		return
	}

	_ = c
}

func (*Client) AddStickerToSet

func (c *Client) AddStickerToSet(ctx context.Context, body AddStickerToSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddStickerToSetWithBody

func (c *Client) AddStickerToSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerCallbackQuery

func (c *Client) AnswerCallbackQuery(ctx context.Context, body AnswerCallbackQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerCallbackQueryWithBody

func (c *Client) AnswerCallbackQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerInlineQuery

func (c *Client) AnswerInlineQuery(ctx context.Context, body AnswerInlineQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerInlineQueryWithBody

func (c *Client) AnswerInlineQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerPreCheckoutQuery

func (c *Client) AnswerPreCheckoutQuery(ctx context.Context, body AnswerPreCheckoutQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerPreCheckoutQueryWithBody

func (c *Client) AnswerPreCheckoutQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerShippingQuery

func (c *Client) AnswerShippingQuery(ctx context.Context, body AnswerShippingQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerShippingQueryWithBody

func (c *Client) AnswerShippingQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerWebAppQuery

func (c *Client) AnswerWebAppQuery(ctx context.Context, body AnswerWebAppQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AnswerWebAppQueryWithBody

func (c *Client) AnswerWebAppQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApproveChatJoinRequest

func (c *Client) ApproveChatJoinRequest(ctx context.Context, body ApproveChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApproveChatJoinRequestWithBody

func (c *Client) ApproveChatJoinRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApproveSuggestedPost

func (c *Client) ApproveSuggestedPost(ctx context.Context, body ApproveSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApproveSuggestedPostWithBody

func (c *Client) ApproveSuggestedPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BanChatMember

func (c *Client) BanChatMember(ctx context.Context, body BanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BanChatMemberWithBody

func (c *Client) BanChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BanChatSenderChat

func (c *Client) BanChatSenderChat(ctx context.Context, body BanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BanChatSenderChatWithBody

func (c *Client) BanChatSenderChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Close

func (c *Client) Close(ctx context.Context, body CloseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CloseForumTopic

func (c *Client) CloseForumTopic(ctx context.Context, body CloseForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CloseForumTopicWithBody

func (c *Client) CloseForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CloseGeneralForumTopic

func (c *Client) CloseGeneralForumTopic(ctx context.Context, body CloseGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CloseGeneralForumTopicWithBody

func (c *Client) CloseGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CloseWithBody

func (c *Client) CloseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ConvertGiftToStars

func (c *Client) ConvertGiftToStars(ctx context.Context, body ConvertGiftToStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ConvertGiftToStarsWithBody

func (c *Client) ConvertGiftToStarsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CopyMessage

func (c *Client) CopyMessage(ctx context.Context, body CopyMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CopyMessageWithBody

func (c *Client) CopyMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CopyMessages

func (c *Client) CopyMessages(ctx context.Context, body CopyMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CopyMessagesWithBody

func (c *Client) CopyMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) CreateChatInviteLink(ctx context.Context, body CreateChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateChatInviteLinkWithBody

func (c *Client) CreateChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) CreateChatSubscriptionInviteLink(ctx context.Context, body CreateChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateChatSubscriptionInviteLinkWithBody

func (c *Client) CreateChatSubscriptionInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateForumTopic

func (c *Client) CreateForumTopic(ctx context.Context, body CreateForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateForumTopicWithBody

func (c *Client) CreateForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) CreateInvoiceLink(ctx context.Context, body CreateInvoiceLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvoiceLinkWithBody

func (c *Client) CreateInvoiceLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNewStickerSet

func (c *Client) CreateNewStickerSet(ctx context.Context, body CreateNewStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNewStickerSetWithBody

func (c *Client) CreateNewStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeclineChatJoinRequest

func (c *Client) DeclineChatJoinRequest(ctx context.Context, body DeclineChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeclineChatJoinRequestWithBody

func (c *Client) DeclineChatJoinRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeclineSuggestedPost

func (c *Client) DeclineSuggestedPost(ctx context.Context, body DeclineSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeclineSuggestedPostWithBody

func (c *Client) DeclineSuggestedPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteBusinessMessages

func (c *Client) DeleteBusinessMessages(ctx context.Context, body DeleteBusinessMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteBusinessMessagesWithBody

func (c *Client) DeleteBusinessMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChatPhoto

func (c *Client) DeleteChatPhoto(ctx context.Context, body DeleteChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChatPhotoWithBody

func (c *Client) DeleteChatPhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChatStickerSet

func (c *Client) DeleteChatStickerSet(ctx context.Context, body DeleteChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChatStickerSetWithBody

func (c *Client) DeleteChatStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteForumTopic

func (c *Client) DeleteForumTopic(ctx context.Context, body DeleteForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteForumTopicWithBody

func (c *Client) DeleteForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessage

func (c *Client) DeleteMessage(ctx context.Context, body DeleteMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessageWithBody

func (c *Client) DeleteMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessages

func (c *Client) DeleteMessages(ctx context.Context, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessagesWithBody

func (c *Client) DeleteMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMyCommands

func (c *Client) DeleteMyCommands(ctx context.Context, body DeleteMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMyCommandsWithBody

func (c *Client) DeleteMyCommandsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStickerFromSet

func (c *Client) DeleteStickerFromSet(ctx context.Context, body DeleteStickerFromSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStickerFromSetWithBody

func (c *Client) DeleteStickerFromSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStickerSet

func (c *Client) DeleteStickerSet(ctx context.Context, body DeleteStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStickerSetWithBody

func (c *Client) DeleteStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStory

func (c *Client) DeleteStory(ctx context.Context, body DeleteStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStoryWithBody

func (c *Client) DeleteStoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, body DeleteWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhookWithBody

func (c *Client) DeleteWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) EditChatInviteLink(ctx context.Context, body EditChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditChatInviteLinkWithBody

func (c *Client) EditChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) EditChatSubscriptionInviteLink(ctx context.Context, body EditChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditChatSubscriptionInviteLinkWithBody

func (c *Client) EditChatSubscriptionInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditForumTopic

func (c *Client) EditForumTopic(ctx context.Context, body EditForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditForumTopicWithBody

func (c *Client) EditForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditGeneralForumTopic

func (c *Client) EditGeneralForumTopic(ctx context.Context, body EditGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditGeneralForumTopicWithBody

func (c *Client) EditGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageCaption

func (c *Client) EditMessageCaption(ctx context.Context, body EditMessageCaptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageCaptionWithBody

func (c *Client) EditMessageCaptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageChecklist

func (c *Client) EditMessageChecklist(ctx context.Context, body EditMessageChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageChecklistWithBody

func (c *Client) EditMessageChecklistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageLiveLocation

func (c *Client) EditMessageLiveLocation(ctx context.Context, body EditMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageLiveLocationWithBody

func (c *Client) EditMessageLiveLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageMedia

func (c *Client) EditMessageMedia(ctx context.Context, body EditMessageMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageMediaWithBody

func (c *Client) EditMessageMediaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageReplyMarkup

func (c *Client) EditMessageReplyMarkup(ctx context.Context, body EditMessageReplyMarkupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageReplyMarkupWithBody

func (c *Client) EditMessageReplyMarkupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageText

func (c *Client) EditMessageText(ctx context.Context, body EditMessageTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditMessageTextWithBody

func (c *Client) EditMessageTextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditStory

func (c *Client) EditStory(ctx context.Context, body EditStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditStoryWithBody

func (c *Client) EditStoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditUserStarSubscription

func (c *Client) EditUserStarSubscription(ctx context.Context, body EditUserStarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditUserStarSubscriptionWithBody

func (c *Client) EditUserStarSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) ExportChatInviteLink(ctx context.Context, body ExportChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportChatInviteLinkWithBody

func (c *Client) ExportChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ForwardMessage

func (c *Client) ForwardMessage(ctx context.Context, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ForwardMessageWithBody

func (c *Client) ForwardMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ForwardMessages

func (c *Client) ForwardMessages(ctx context.Context, body ForwardMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ForwardMessagesWithBody

func (c *Client) ForwardMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAvailableGifts

func (c *Client) GetAvailableGifts(ctx context.Context, body GetAvailableGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAvailableGiftsWithBody

func (c *Client) GetAvailableGiftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBusinessAccountGifts

func (c *Client) GetBusinessAccountGifts(ctx context.Context, body GetBusinessAccountGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBusinessAccountGiftsWithBody

func (c *Client) GetBusinessAccountGiftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBusinessAccountStarBalance

func (c *Client) GetBusinessAccountStarBalance(ctx context.Context, body GetBusinessAccountStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBusinessAccountStarBalanceWithBody

func (c *Client) GetBusinessAccountStarBalanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBusinessConnection

func (c *Client) GetBusinessConnection(ctx context.Context, body GetBusinessConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBusinessConnectionWithBody

func (c *Client) GetBusinessConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChat

func (c *Client) GetChat(ctx context.Context, body GetChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatAdministrators

func (c *Client) GetChatAdministrators(ctx context.Context, body GetChatAdministratorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatAdministratorsWithBody

func (c *Client) GetChatAdministratorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatMember

func (c *Client) GetChatMember(ctx context.Context, body GetChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatMemberCount

func (c *Client) GetChatMemberCount(ctx context.Context, body GetChatMemberCountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatMemberCountWithBody

func (c *Client) GetChatMemberCountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatMemberWithBody

func (c *Client) GetChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatMenuButton

func (c *Client) GetChatMenuButton(ctx context.Context, body GetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatMenuButtonWithBody

func (c *Client) GetChatMenuButtonWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChatWithBody

func (c *Client) GetChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomEmojiStickers

func (c *Client) GetCustomEmojiStickers(ctx context.Context, body GetCustomEmojiStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomEmojiStickersWithBody

func (c *Client) GetCustomEmojiStickersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFile

func (c *Client) GetFile(ctx context.Context, body GetFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFileWithBody

func (c *Client) GetFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetForumTopicIconStickers

func (c *Client) GetForumTopicIconStickers(ctx context.Context, body GetForumTopicIconStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetForumTopicIconStickersWithBody

func (c *Client) GetForumTopicIconStickersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGameHighScores

func (c *Client) GetGameHighScores(ctx context.Context, body GetGameHighScoresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGameHighScoresWithBody

func (c *Client) GetGameHighScoresWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMe

func (c *Client) GetMe(ctx context.Context, body GetMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMeWithBody

func (c *Client) GetMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyCommands

func (c *Client) GetMyCommands(ctx context.Context, body GetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyCommandsWithBody

func (c *Client) GetMyCommandsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyDefaultAdministratorRights

func (c *Client) GetMyDefaultAdministratorRights(ctx context.Context, body GetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyDefaultAdministratorRightsWithBody

func (c *Client) GetMyDefaultAdministratorRightsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyDescription

func (c *Client) GetMyDescription(ctx context.Context, body GetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyDescriptionWithBody

func (c *Client) GetMyDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyName

func (c *Client) GetMyName(ctx context.Context, body GetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyNameWithBody

func (c *Client) GetMyNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyShortDescription

func (c *Client) GetMyShortDescription(ctx context.Context, body GetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyShortDescriptionWithBody

func (c *Client) GetMyShortDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyStarBalance

func (c *Client) GetMyStarBalance(ctx context.Context, body GetMyStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMyStarBalanceWithBody

func (c *Client) GetMyStarBalanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetStarTransactions

func (c *Client) GetStarTransactions(ctx context.Context, body GetStarTransactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetStarTransactionsWithBody

func (c *Client) GetStarTransactionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetStickerSet

func (c *Client) GetStickerSet(ctx context.Context, body GetStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetStickerSetWithBody

func (c *Client) GetStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUpdates

func (c *Client) GetUpdates(ctx context.Context, body GetUpdatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUpdatesWithBody

func (c *Client) GetUpdatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserChatBoosts

func (c *Client) GetUserChatBoosts(ctx context.Context, body GetUserChatBoostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserChatBoostsWithBody

func (c *Client) GetUserChatBoostsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserProfilePhotos

func (c *Client) GetUserProfilePhotos(ctx context.Context, body GetUserProfilePhotosJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserProfilePhotosWithBody

func (c *Client) GetUserProfilePhotosWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhookInfo

func (c *Client) GetWebhookInfo(ctx context.Context, body GetWebhookInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhookInfoWithBody

func (c *Client) GetWebhookInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GiftPremiumSubscription

func (c *Client) GiftPremiumSubscription(ctx context.Context, body GiftPremiumSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GiftPremiumSubscriptionWithBody

func (c *Client) GiftPremiumSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HideGeneralForumTopic

func (c *Client) HideGeneralForumTopic(ctx context.Context, body HideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HideGeneralForumTopicWithBody

func (c *Client) HideGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LeaveChat

func (c *Client) LeaveChat(ctx context.Context, body LeaveChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LeaveChatWithBody

func (c *Client) LeaveChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LogOut

func (c *Client) LogOut(ctx context.Context, body LogOutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LogOutWithBody

func (c *Client) LogOutWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PinChatMessage

func (c *Client) PinChatMessage(ctx context.Context, body PinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PinChatMessageWithBody

func (c *Client) PinChatMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostStory

func (c *Client) PostStory(ctx context.Context, body PostStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostStoryWithBody

func (c *Client) PostStoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PromoteChatMember

func (c *Client) PromoteChatMember(ctx context.Context, body PromoteChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PromoteChatMemberWithBody

func (c *Client) PromoteChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadBusinessMessage

func (c *Client) ReadBusinessMessage(ctx context.Context, body ReadBusinessMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadBusinessMessageWithBody

func (c *Client) ReadBusinessMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RefundStarPayment

func (c *Client) RefundStarPayment(ctx context.Context, body RefundStarPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RefundStarPaymentWithBody

func (c *Client) RefundStarPaymentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveBusinessAccountProfilePhoto

func (c *Client) RemoveBusinessAccountProfilePhoto(ctx context.Context, body RemoveBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveBusinessAccountProfilePhotoWithBody

func (c *Client) RemoveBusinessAccountProfilePhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveChatVerification

func (c *Client) RemoveChatVerification(ctx context.Context, body RemoveChatVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveChatVerificationWithBody

func (c *Client) RemoveChatVerificationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveUserVerification

func (c *Client) RemoveUserVerification(ctx context.Context, body RemoveUserVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveUserVerificationWithBody

func (c *Client) RemoveUserVerificationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReopenForumTopic

func (c *Client) ReopenForumTopic(ctx context.Context, body ReopenForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReopenForumTopicWithBody

func (c *Client) ReopenForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReopenGeneralForumTopic

func (c *Client) ReopenGeneralForumTopic(ctx context.Context, body ReopenGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReopenGeneralForumTopicWithBody

func (c *Client) ReopenGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStickerInSet

func (c *Client) ReplaceStickerInSet(ctx context.Context, body ReplaceStickerInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStickerInSetWithBody

func (c *Client) ReplaceStickerInSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RestrictChatMember

func (c *Client) RestrictChatMember(ctx context.Context, body RestrictChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RestrictChatMemberWithBody

func (c *Client) RestrictChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) RevokeChatInviteLink(ctx context.Context, body RevokeChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevokeChatInviteLinkWithBody

func (c *Client) RevokeChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SavePreparedInlineMessage

func (c *Client) SavePreparedInlineMessage(ctx context.Context, body SavePreparedInlineMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SavePreparedInlineMessageWithBody

func (c *Client) SavePreparedInlineMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendAnimation

func (c *Client) SendAnimation(ctx context.Context, body SendAnimationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendAnimationWithBody

func (c *Client) SendAnimationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendAudio

func (c *Client) SendAudio(ctx context.Context, body SendAudioJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendAudioWithBody

func (c *Client) SendAudioWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendChatAction

func (c *Client) SendChatAction(ctx context.Context, body SendChatActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendChatActionWithBody

func (c *Client) SendChatActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendChecklist

func (c *Client) SendChecklist(ctx context.Context, body SendChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendChecklistWithBody

func (c *Client) SendChecklistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendContact

func (c *Client) SendContact(ctx context.Context, body SendContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendContactWithBody

func (c *Client) SendContactWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendDice

func (c *Client) SendDice(ctx context.Context, body SendDiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendDiceWithBody

func (c *Client) SendDiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendDocument

func (c *Client) SendDocument(ctx context.Context, body SendDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendDocumentWithBody

func (c *Client) SendDocumentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendGame

func (c *Client) SendGame(ctx context.Context, body SendGameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendGameWithBody

func (c *Client) SendGameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendGift

func (c *Client) SendGift(ctx context.Context, body SendGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendGiftWithBody

func (c *Client) SendGiftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendInvoice

func (c *Client) SendInvoice(ctx context.Context, body SendInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendInvoiceWithBody

func (c *Client) SendInvoiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendLocation

func (c *Client) SendLocation(ctx context.Context, body SendLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendLocationWithBody

func (c *Client) SendLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendMediaGroup

func (c *Client) SendMediaGroup(ctx context.Context, body SendMediaGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendMediaGroupWithBody

func (c *Client) SendMediaGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendMessage

func (c *Client) SendMessage(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendMessageWithBody

func (c *Client) SendMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendPaidMedia

func (c *Client) SendPaidMedia(ctx context.Context, body SendPaidMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendPaidMediaWithBody

func (c *Client) SendPaidMediaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendPhoto

func (c *Client) SendPhoto(ctx context.Context, body SendPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendPhotoWithBody

func (c *Client) SendPhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendPoll

func (c *Client) SendPoll(ctx context.Context, body SendPollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendPollWithBody

func (c *Client) SendPollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendSticker

func (c *Client) SendSticker(ctx context.Context, body SendStickerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendStickerWithBody

func (c *Client) SendStickerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVenue

func (c *Client) SendVenue(ctx context.Context, body SendVenueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVenueWithBody

func (c *Client) SendVenueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVideo

func (c *Client) SendVideo(ctx context.Context, body SendVideoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVideoNote

func (c *Client) SendVideoNote(ctx context.Context, body SendVideoNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVideoNoteWithBody

func (c *Client) SendVideoNoteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVideoWithBody

func (c *Client) SendVideoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVoice

func (c *Client) SendVoice(ctx context.Context, body SendVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendVoiceWithBody

func (c *Client) SendVoiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountBio

func (c *Client) SetBusinessAccountBio(ctx context.Context, body SetBusinessAccountBioJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountBioWithBody

func (c *Client) SetBusinessAccountBioWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountGiftSettings

func (c *Client) SetBusinessAccountGiftSettings(ctx context.Context, body SetBusinessAccountGiftSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountGiftSettingsWithBody

func (c *Client) SetBusinessAccountGiftSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountName

func (c *Client) SetBusinessAccountName(ctx context.Context, body SetBusinessAccountNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountNameWithBody

func (c *Client) SetBusinessAccountNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountProfilePhoto

func (c *Client) SetBusinessAccountProfilePhoto(ctx context.Context, body SetBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountProfilePhotoWithBody

func (c *Client) SetBusinessAccountProfilePhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountUsername

func (c *Client) SetBusinessAccountUsername(ctx context.Context, body SetBusinessAccountUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBusinessAccountUsernameWithBody

func (c *Client) SetBusinessAccountUsernameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatAdministratorCustomTitle

func (c *Client) SetChatAdministratorCustomTitle(ctx context.Context, body SetChatAdministratorCustomTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatAdministratorCustomTitleWithBody

func (c *Client) SetChatAdministratorCustomTitleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatDescription

func (c *Client) SetChatDescription(ctx context.Context, body SetChatDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatDescriptionWithBody

func (c *Client) SetChatDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatMenuButton

func (c *Client) SetChatMenuButton(ctx context.Context, body SetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatMenuButtonWithBody

func (c *Client) SetChatMenuButtonWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatPermissions

func (c *Client) SetChatPermissions(ctx context.Context, body SetChatPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatPermissionsWithBody

func (c *Client) SetChatPermissionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatPhoto

func (c *Client) SetChatPhoto(ctx context.Context, body SetChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatPhotoWithBody

func (c *Client) SetChatPhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatStickerSet

func (c *Client) SetChatStickerSet(ctx context.Context, body SetChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatStickerSetWithBody

func (c *Client) SetChatStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatTitle

func (c *Client) SetChatTitle(ctx context.Context, body SetChatTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChatTitleWithBody

func (c *Client) SetChatTitleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCustomEmojiStickerSetThumbnail

func (c *Client) SetCustomEmojiStickerSetThumbnail(ctx context.Context, body SetCustomEmojiStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCustomEmojiStickerSetThumbnailWithBody

func (c *Client) SetCustomEmojiStickerSetThumbnailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetGameScore

func (c *Client) SetGameScore(ctx context.Context, body SetGameScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetGameScoreWithBody

func (c *Client) SetGameScoreWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMessageReaction

func (c *Client) SetMessageReaction(ctx context.Context, body SetMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMessageReactionWithBody

func (c *Client) SetMessageReactionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyCommands

func (c *Client) SetMyCommands(ctx context.Context, body SetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyCommandsWithBody

func (c *Client) SetMyCommandsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyDefaultAdministratorRights

func (c *Client) SetMyDefaultAdministratorRights(ctx context.Context, body SetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyDefaultAdministratorRightsWithBody

func (c *Client) SetMyDefaultAdministratorRightsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyDescription

func (c *Client) SetMyDescription(ctx context.Context, body SetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyDescriptionWithBody

func (c *Client) SetMyDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyName

func (c *Client) SetMyName(ctx context.Context, body SetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyNameWithBody

func (c *Client) SetMyNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyShortDescription

func (c *Client) SetMyShortDescription(ctx context.Context, body SetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMyShortDescriptionWithBody

func (c *Client) SetMyShortDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetPassportDataErrors

func (c *Client) SetPassportDataErrors(ctx context.Context, body SetPassportDataErrorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetPassportDataErrorsWithBody

func (c *Client) SetPassportDataErrorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerEmojiList

func (c *Client) SetStickerEmojiList(ctx context.Context, body SetStickerEmojiListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerEmojiListWithBody

func (c *Client) SetStickerEmojiListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerKeywords

func (c *Client) SetStickerKeywords(ctx context.Context, body SetStickerKeywordsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerKeywordsWithBody

func (c *Client) SetStickerKeywordsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerMaskPosition

func (c *Client) SetStickerMaskPosition(ctx context.Context, body SetStickerMaskPositionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerMaskPositionWithBody

func (c *Client) SetStickerMaskPositionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerPositionInSet

func (c *Client) SetStickerPositionInSet(ctx context.Context, body SetStickerPositionInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerPositionInSetWithBody

func (c *Client) SetStickerPositionInSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerSetThumbnail

func (c *Client) SetStickerSetThumbnail(ctx context.Context, body SetStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerSetThumbnailWithBody

func (c *Client) SetStickerSetThumbnailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerSetTitle

func (c *Client) SetStickerSetTitle(ctx context.Context, body SetStickerSetTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetStickerSetTitleWithBody

func (c *Client) SetStickerSetTitleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetUserEmojiStatus

func (c *Client) SetUserEmojiStatus(ctx context.Context, body SetUserEmojiStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetUserEmojiStatusWithBody

func (c *Client) SetUserEmojiStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetWebhook

func (c *Client) SetWebhook(ctx context.Context, body SetWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetWebhookWithBody

func (c *Client) SetWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopMessageLiveLocation

func (c *Client) StopMessageLiveLocation(ctx context.Context, body StopMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopMessageLiveLocationWithBody

func (c *Client) StopMessageLiveLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopPoll

func (c *Client) StopPoll(ctx context.Context, body StopPollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopPollWithBody

func (c *Client) StopPollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TransferBusinessAccountStars

func (c *Client) TransferBusinessAccountStars(ctx context.Context, body TransferBusinessAccountStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TransferBusinessAccountStarsWithBody

func (c *Client) TransferBusinessAccountStarsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TransferGift

func (c *Client) TransferGift(ctx context.Context, body TransferGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TransferGiftWithBody

func (c *Client) TransferGiftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnbanChatMember

func (c *Client) UnbanChatMember(ctx context.Context, body UnbanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnbanChatMemberWithBody

func (c *Client) UnbanChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnbanChatSenderChat

func (c *Client) UnbanChatSenderChat(ctx context.Context, body UnbanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnbanChatSenderChatWithBody

func (c *Client) UnbanChatSenderChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnhideGeneralForumTopic

func (c *Client) UnhideGeneralForumTopic(ctx context.Context, body UnhideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnhideGeneralForumTopicWithBody

func (c *Client) UnhideGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinAllChatMessages

func (c *Client) UnpinAllChatMessages(ctx context.Context, body UnpinAllChatMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinAllChatMessagesWithBody

func (c *Client) UnpinAllChatMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinAllForumTopicMessages

func (c *Client) UnpinAllForumTopicMessages(ctx context.Context, body UnpinAllForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinAllForumTopicMessagesWithBody

func (c *Client) UnpinAllForumTopicMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinAllGeneralForumTopicMessages

func (c *Client) UnpinAllGeneralForumTopicMessages(ctx context.Context, body UnpinAllGeneralForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinAllGeneralForumTopicMessagesWithBody

func (c *Client) UnpinAllGeneralForumTopicMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinChatMessage

func (c *Client) UnpinChatMessage(ctx context.Context, body UnpinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpinChatMessageWithBody

func (c *Client) UnpinChatMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeGift

func (c *Client) UpgradeGift(ctx context.Context, body UpgradeGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeGiftWithBody

func (c *Client) UpgradeGiftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadStickerFile

func (c *Client) UploadStickerFile(ctx context.Context, body UploadStickerFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadStickerFileWithBody

func (c *Client) UploadStickerFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VerifyChat

func (c *Client) VerifyChat(ctx context.Context, body VerifyChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VerifyChatWithBody

func (c *Client) VerifyChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VerifyUser

func (c *Client) VerifyUser(ctx context.Context, body VerifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VerifyUserWithBody

func (c *Client) VerifyUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// AddStickerToSetWithBody request with any body
	AddStickerToSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddStickerToSet(ctx context.Context, body AddStickerToSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnswerCallbackQueryWithBody request with any body
	AnswerCallbackQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AnswerCallbackQuery(ctx context.Context, body AnswerCallbackQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnswerInlineQueryWithBody request with any body
	AnswerInlineQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AnswerInlineQuery(ctx context.Context, body AnswerInlineQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnswerPreCheckoutQueryWithBody request with any body
	AnswerPreCheckoutQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AnswerPreCheckoutQuery(ctx context.Context, body AnswerPreCheckoutQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnswerShippingQueryWithBody request with any body
	AnswerShippingQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AnswerShippingQuery(ctx context.Context, body AnswerShippingQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnswerWebAppQueryWithBody request with any body
	AnswerWebAppQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AnswerWebAppQuery(ctx context.Context, body AnswerWebAppQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApproveChatJoinRequestWithBody request with any body
	ApproveChatJoinRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ApproveChatJoinRequest(ctx context.Context, body ApproveChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApproveSuggestedPostWithBody request with any body
	ApproveSuggestedPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ApproveSuggestedPost(ctx context.Context, body ApproveSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BanChatMemberWithBody request with any body
	BanChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BanChatMember(ctx context.Context, body BanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BanChatSenderChatWithBody request with any body
	BanChatSenderChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BanChatSenderChat(ctx context.Context, body BanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CloseWithBody request with any body
	CloseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	Close(ctx context.Context, body CloseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CloseForumTopicWithBody request with any body
	CloseForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CloseForumTopic(ctx context.Context, body CloseForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CloseGeneralForumTopicWithBody request with any body
	CloseGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CloseGeneralForumTopic(ctx context.Context, body CloseGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConvertGiftToStarsWithBody request with any body
	ConvertGiftToStarsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ConvertGiftToStars(ctx context.Context, body ConvertGiftToStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CopyMessageWithBody request with any body
	CopyMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CopyMessage(ctx context.Context, body CopyMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CopyMessagesWithBody request with any body
	CopyMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CopyMessages(ctx context.Context, body CopyMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateChatInviteLinkWithBody request with any body
	CreateChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateChatInviteLink(ctx context.Context, body CreateChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateChatSubscriptionInviteLinkWithBody request with any body
	CreateChatSubscriptionInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateChatSubscriptionInviteLink(ctx context.Context, body CreateChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateForumTopicWithBody request with any body
	CreateForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateForumTopic(ctx context.Context, body CreateForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInvoiceLinkWithBody request with any body
	CreateInvoiceLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInvoiceLink(ctx context.Context, body CreateInvoiceLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateNewStickerSetWithBody request with any body
	CreateNewStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateNewStickerSet(ctx context.Context, body CreateNewStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeclineChatJoinRequestWithBody request with any body
	DeclineChatJoinRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeclineChatJoinRequest(ctx context.Context, body DeclineChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeclineSuggestedPostWithBody request with any body
	DeclineSuggestedPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeclineSuggestedPost(ctx context.Context, body DeclineSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBusinessMessagesWithBody request with any body
	DeleteBusinessMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteBusinessMessages(ctx context.Context, body DeleteBusinessMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteChatPhotoWithBody request with any body
	DeleteChatPhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteChatPhoto(ctx context.Context, body DeleteChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteChatStickerSetWithBody request with any body
	DeleteChatStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteChatStickerSet(ctx context.Context, body DeleteChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteForumTopicWithBody request with any body
	DeleteForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteForumTopic(ctx context.Context, body DeleteForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMessageWithBody request with any body
	DeleteMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteMessage(ctx context.Context, body DeleteMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMessagesWithBody request with any body
	DeleteMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteMessages(ctx context.Context, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMyCommandsWithBody request with any body
	DeleteMyCommandsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteMyCommands(ctx context.Context, body DeleteMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStickerFromSetWithBody request with any body
	DeleteStickerFromSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteStickerFromSet(ctx context.Context, body DeleteStickerFromSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStickerSetWithBody request with any body
	DeleteStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteStickerSet(ctx context.Context, body DeleteStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStoryWithBody request with any body
	DeleteStoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteStory(ctx context.Context, body DeleteStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhookWithBody request with any body
	DeleteWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteWebhook(ctx context.Context, body DeleteWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditChatInviteLinkWithBody request with any body
	EditChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditChatInviteLink(ctx context.Context, body EditChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditChatSubscriptionInviteLinkWithBody request with any body
	EditChatSubscriptionInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditChatSubscriptionInviteLink(ctx context.Context, body EditChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditForumTopicWithBody request with any body
	EditForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditForumTopic(ctx context.Context, body EditForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditGeneralForumTopicWithBody request with any body
	EditGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditGeneralForumTopic(ctx context.Context, body EditGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditMessageCaptionWithBody request with any body
	EditMessageCaptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditMessageCaption(ctx context.Context, body EditMessageCaptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditMessageChecklistWithBody request with any body
	EditMessageChecklistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditMessageChecklist(ctx context.Context, body EditMessageChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditMessageLiveLocationWithBody request with any body
	EditMessageLiveLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditMessageLiveLocation(ctx context.Context, body EditMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditMessageMediaWithBody request with any body
	EditMessageMediaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditMessageMedia(ctx context.Context, body EditMessageMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditMessageReplyMarkupWithBody request with any body
	EditMessageReplyMarkupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditMessageReplyMarkup(ctx context.Context, body EditMessageReplyMarkupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditMessageTextWithBody request with any body
	EditMessageTextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditMessageText(ctx context.Context, body EditMessageTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditStoryWithBody request with any body
	EditStoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditStory(ctx context.Context, body EditStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EditUserStarSubscriptionWithBody request with any body
	EditUserStarSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EditUserStarSubscription(ctx context.Context, body EditUserStarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportChatInviteLinkWithBody request with any body
	ExportChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExportChatInviteLink(ctx context.Context, body ExportChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ForwardMessageWithBody request with any body
	ForwardMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ForwardMessage(ctx context.Context, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ForwardMessagesWithBody request with any body
	ForwardMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ForwardMessages(ctx context.Context, body ForwardMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAvailableGiftsWithBody request with any body
	GetAvailableGiftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetAvailableGifts(ctx context.Context, body GetAvailableGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBusinessAccountGiftsWithBody request with any body
	GetBusinessAccountGiftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetBusinessAccountGifts(ctx context.Context, body GetBusinessAccountGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBusinessAccountStarBalanceWithBody request with any body
	GetBusinessAccountStarBalanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetBusinessAccountStarBalance(ctx context.Context, body GetBusinessAccountStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBusinessConnectionWithBody request with any body
	GetBusinessConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetBusinessConnection(ctx context.Context, body GetBusinessConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatWithBody request with any body
	GetChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetChat(ctx context.Context, body GetChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatAdministratorsWithBody request with any body
	GetChatAdministratorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetChatAdministrators(ctx context.Context, body GetChatAdministratorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatMemberWithBody request with any body
	GetChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetChatMember(ctx context.Context, body GetChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatMemberCountWithBody request with any body
	GetChatMemberCountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetChatMemberCount(ctx context.Context, body GetChatMemberCountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatMenuButtonWithBody request with any body
	GetChatMenuButtonWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetChatMenuButton(ctx context.Context, body GetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomEmojiStickersWithBody request with any body
	GetCustomEmojiStickersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetCustomEmojiStickers(ctx context.Context, body GetCustomEmojiStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFileWithBody request with any body
	GetFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetFile(ctx context.Context, body GetFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetForumTopicIconStickersWithBody request with any body
	GetForumTopicIconStickersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetForumTopicIconStickers(ctx context.Context, body GetForumTopicIconStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGameHighScoresWithBody request with any body
	GetGameHighScoresWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetGameHighScores(ctx context.Context, body GetGameHighScoresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMeWithBody request with any body
	GetMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMe(ctx context.Context, body GetMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMyCommandsWithBody request with any body
	GetMyCommandsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMyCommands(ctx context.Context, body GetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMyDefaultAdministratorRightsWithBody request with any body
	GetMyDefaultAdministratorRightsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMyDefaultAdministratorRights(ctx context.Context, body GetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMyDescriptionWithBody request with any body
	GetMyDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMyDescription(ctx context.Context, body GetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMyNameWithBody request with any body
	GetMyNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMyName(ctx context.Context, body GetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMyShortDescriptionWithBody request with any body
	GetMyShortDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMyShortDescription(ctx context.Context, body GetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMyStarBalanceWithBody request with any body
	GetMyStarBalanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetMyStarBalance(ctx context.Context, body GetMyStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStarTransactionsWithBody request with any body
	GetStarTransactionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetStarTransactions(ctx context.Context, body GetStarTransactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStickerSetWithBody request with any body
	GetStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetStickerSet(ctx context.Context, body GetStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUpdatesWithBody request with any body
	GetUpdatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetUpdates(ctx context.Context, body GetUpdatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserChatBoostsWithBody request with any body
	GetUserChatBoostsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetUserChatBoosts(ctx context.Context, body GetUserChatBoostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserProfilePhotosWithBody request with any body
	GetUserProfilePhotosWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetUserProfilePhotos(ctx context.Context, body GetUserProfilePhotosJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhookInfoWithBody request with any body
	GetWebhookInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetWebhookInfo(ctx context.Context, body GetWebhookInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GiftPremiumSubscriptionWithBody request with any body
	GiftPremiumSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GiftPremiumSubscription(ctx context.Context, body GiftPremiumSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HideGeneralForumTopicWithBody request with any body
	HideGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	HideGeneralForumTopic(ctx context.Context, body HideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LeaveChatWithBody request with any body
	LeaveChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	LeaveChat(ctx context.Context, body LeaveChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LogOutWithBody request with any body
	LogOutWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	LogOut(ctx context.Context, body LogOutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PinChatMessageWithBody request with any body
	PinChatMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PinChatMessage(ctx context.Context, body PinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostStoryWithBody request with any body
	PostStoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostStory(ctx context.Context, body PostStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PromoteChatMemberWithBody request with any body
	PromoteChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PromoteChatMember(ctx context.Context, body PromoteChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadBusinessMessageWithBody request with any body
	ReadBusinessMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReadBusinessMessage(ctx context.Context, body ReadBusinessMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefundStarPaymentWithBody request with any body
	RefundStarPaymentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RefundStarPayment(ctx context.Context, body RefundStarPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveBusinessAccountProfilePhotoWithBody request with any body
	RemoveBusinessAccountProfilePhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RemoveBusinessAccountProfilePhoto(ctx context.Context, body RemoveBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveChatVerificationWithBody request with any body
	RemoveChatVerificationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RemoveChatVerification(ctx context.Context, body RemoveChatVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveUserVerificationWithBody request with any body
	RemoveUserVerificationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RemoveUserVerification(ctx context.Context, body RemoveUserVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReopenForumTopicWithBody request with any body
	ReopenForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReopenForumTopic(ctx context.Context, body ReopenForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReopenGeneralForumTopicWithBody request with any body
	ReopenGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReopenGeneralForumTopic(ctx context.Context, body ReopenGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceStickerInSetWithBody request with any body
	ReplaceStickerInSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceStickerInSet(ctx context.Context, body ReplaceStickerInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RestrictChatMemberWithBody request with any body
	RestrictChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RestrictChatMember(ctx context.Context, body RestrictChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeChatInviteLinkWithBody request with any body
	RevokeChatInviteLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RevokeChatInviteLink(ctx context.Context, body RevokeChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SavePreparedInlineMessageWithBody request with any body
	SavePreparedInlineMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SavePreparedInlineMessage(ctx context.Context, body SavePreparedInlineMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendAnimationWithBody request with any body
	SendAnimationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendAnimation(ctx context.Context, body SendAnimationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendAudioWithBody request with any body
	SendAudioWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendAudio(ctx context.Context, body SendAudioJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendChatActionWithBody request with any body
	SendChatActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendChatAction(ctx context.Context, body SendChatActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendChecklistWithBody request with any body
	SendChecklistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendChecklist(ctx context.Context, body SendChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendContactWithBody request with any body
	SendContactWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendContact(ctx context.Context, body SendContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDiceWithBody request with any body
	SendDiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendDice(ctx context.Context, body SendDiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendDocumentWithBody request with any body
	SendDocumentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendDocument(ctx context.Context, body SendDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendGameWithBody request with any body
	SendGameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendGame(ctx context.Context, body SendGameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendGiftWithBody request with any body
	SendGiftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendGift(ctx context.Context, body SendGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendInvoiceWithBody request with any body
	SendInvoiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendInvoice(ctx context.Context, body SendInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendLocationWithBody request with any body
	SendLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendLocation(ctx context.Context, body SendLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendMediaGroupWithBody request with any body
	SendMediaGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendMediaGroup(ctx context.Context, body SendMediaGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendMessageWithBody request with any body
	SendMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendMessage(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendPaidMediaWithBody request with any body
	SendPaidMediaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendPaidMedia(ctx context.Context, body SendPaidMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendPhotoWithBody request with any body
	SendPhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendPhoto(ctx context.Context, body SendPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendPollWithBody request with any body
	SendPollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendPoll(ctx context.Context, body SendPollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendStickerWithBody request with any body
	SendStickerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendSticker(ctx context.Context, body SendStickerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendVenueWithBody request with any body
	SendVenueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendVenue(ctx context.Context, body SendVenueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendVideoWithBody request with any body
	SendVideoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendVideo(ctx context.Context, body SendVideoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendVideoNoteWithBody request with any body
	SendVideoNoteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendVideoNote(ctx context.Context, body SendVideoNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SendVoiceWithBody request with any body
	SendVoiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SendVoice(ctx context.Context, body SendVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBusinessAccountBioWithBody request with any body
	SetBusinessAccountBioWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBusinessAccountBio(ctx context.Context, body SetBusinessAccountBioJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBusinessAccountGiftSettingsWithBody request with any body
	SetBusinessAccountGiftSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBusinessAccountGiftSettings(ctx context.Context, body SetBusinessAccountGiftSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBusinessAccountNameWithBody request with any body
	SetBusinessAccountNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBusinessAccountName(ctx context.Context, body SetBusinessAccountNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBusinessAccountProfilePhotoWithBody request with any body
	SetBusinessAccountProfilePhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBusinessAccountProfilePhoto(ctx context.Context, body SetBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBusinessAccountUsernameWithBody request with any body
	SetBusinessAccountUsernameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBusinessAccountUsername(ctx context.Context, body SetBusinessAccountUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatAdministratorCustomTitleWithBody request with any body
	SetChatAdministratorCustomTitleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatAdministratorCustomTitle(ctx context.Context, body SetChatAdministratorCustomTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatDescriptionWithBody request with any body
	SetChatDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatDescription(ctx context.Context, body SetChatDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatMenuButtonWithBody request with any body
	SetChatMenuButtonWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatMenuButton(ctx context.Context, body SetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatPermissionsWithBody request with any body
	SetChatPermissionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatPermissions(ctx context.Context, body SetChatPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatPhotoWithBody request with any body
	SetChatPhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatPhoto(ctx context.Context, body SetChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatStickerSetWithBody request with any body
	SetChatStickerSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatStickerSet(ctx context.Context, body SetChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChatTitleWithBody request with any body
	SetChatTitleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetChatTitle(ctx context.Context, body SetChatTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCustomEmojiStickerSetThumbnailWithBody request with any body
	SetCustomEmojiStickerSetThumbnailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetCustomEmojiStickerSetThumbnail(ctx context.Context, body SetCustomEmojiStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetGameScoreWithBody request with any body
	SetGameScoreWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetGameScore(ctx context.Context, body SetGameScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMessageReactionWithBody request with any body
	SetMessageReactionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMessageReaction(ctx context.Context, body SetMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMyCommandsWithBody request with any body
	SetMyCommandsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMyCommands(ctx context.Context, body SetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMyDefaultAdministratorRightsWithBody request with any body
	SetMyDefaultAdministratorRightsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMyDefaultAdministratorRights(ctx context.Context, body SetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMyDescriptionWithBody request with any body
	SetMyDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMyDescription(ctx context.Context, body SetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMyNameWithBody request with any body
	SetMyNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMyName(ctx context.Context, body SetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMyShortDescriptionWithBody request with any body
	SetMyShortDescriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMyShortDescription(ctx context.Context, body SetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPassportDataErrorsWithBody request with any body
	SetPassportDataErrorsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetPassportDataErrors(ctx context.Context, body SetPassportDataErrorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetStickerEmojiListWithBody request with any body
	SetStickerEmojiListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetStickerEmojiList(ctx context.Context, body SetStickerEmojiListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetStickerKeywordsWithBody request with any body
	SetStickerKeywordsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetStickerKeywords(ctx context.Context, body SetStickerKeywordsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetStickerMaskPositionWithBody request with any body
	SetStickerMaskPositionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetStickerMaskPosition(ctx context.Context, body SetStickerMaskPositionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetStickerPositionInSetWithBody request with any body
	SetStickerPositionInSetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetStickerPositionInSet(ctx context.Context, body SetStickerPositionInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetStickerSetThumbnailWithBody request with any body
	SetStickerSetThumbnailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetStickerSetThumbnail(ctx context.Context, body SetStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetStickerSetTitleWithBody request with any body
	SetStickerSetTitleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetStickerSetTitle(ctx context.Context, body SetStickerSetTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetUserEmojiStatusWithBody request with any body
	SetUserEmojiStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetUserEmojiStatus(ctx context.Context, body SetUserEmojiStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetWebhookWithBody request with any body
	SetWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetWebhook(ctx context.Context, body SetWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopMessageLiveLocationWithBody request with any body
	StopMessageLiveLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StopMessageLiveLocation(ctx context.Context, body StopMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopPollWithBody request with any body
	StopPollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StopPoll(ctx context.Context, body StopPollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TransferBusinessAccountStarsWithBody request with any body
	TransferBusinessAccountStarsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TransferBusinessAccountStars(ctx context.Context, body TransferBusinessAccountStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TransferGiftWithBody request with any body
	TransferGiftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TransferGift(ctx context.Context, body TransferGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnbanChatMemberWithBody request with any body
	UnbanChatMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnbanChatMember(ctx context.Context, body UnbanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnbanChatSenderChatWithBody request with any body
	UnbanChatSenderChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnbanChatSenderChat(ctx context.Context, body UnbanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnhideGeneralForumTopicWithBody request with any body
	UnhideGeneralForumTopicWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnhideGeneralForumTopic(ctx context.Context, body UnhideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnpinAllChatMessagesWithBody request with any body
	UnpinAllChatMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnpinAllChatMessages(ctx context.Context, body UnpinAllChatMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnpinAllForumTopicMessagesWithBody request with any body
	UnpinAllForumTopicMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnpinAllForumTopicMessages(ctx context.Context, body UnpinAllForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnpinAllGeneralForumTopicMessagesWithBody request with any body
	UnpinAllGeneralForumTopicMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnpinAllGeneralForumTopicMessages(ctx context.Context, body UnpinAllGeneralForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnpinChatMessageWithBody request with any body
	UnpinChatMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UnpinChatMessage(ctx context.Context, body UnpinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpgradeGiftWithBody request with any body
	UpgradeGiftWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpgradeGift(ctx context.Context, body UpgradeGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadStickerFileWithBody request with any body
	UploadStickerFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UploadStickerFile(ctx context.Context, body UploadStickerFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyChatWithBody request with any body
	VerifyChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VerifyChat(ctx context.Context, body VerifyChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyUserWithBody request with any body
	VerifyUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VerifyUser(ctx context.Context, body VerifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddStickerToSetWithBodyWithResponse

func (c *ClientWithResponses) AddStickerToSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddStickerToSetResponse, error)

AddStickerToSetWithBodyWithResponse request with arbitrary body returning *AddStickerToSetResponse

func (*ClientWithResponses) AddStickerToSetWithResponse

func (c *ClientWithResponses) AddStickerToSetWithResponse(ctx context.Context, body AddStickerToSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AddStickerToSetResponse, error)

func (*ClientWithResponses) AnswerCallbackQueryWithBodyWithResponse

func (c *ClientWithResponses) AnswerCallbackQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerCallbackQueryResponse, error)

AnswerCallbackQueryWithBodyWithResponse request with arbitrary body returning *AnswerCallbackQueryResponse

func (*ClientWithResponses) AnswerCallbackQueryWithResponse

func (c *ClientWithResponses) AnswerCallbackQueryWithResponse(ctx context.Context, body AnswerCallbackQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerCallbackQueryResponse, error)

func (*ClientWithResponses) AnswerInlineQueryWithBodyWithResponse

func (c *ClientWithResponses) AnswerInlineQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerInlineQueryResponse, error)

AnswerInlineQueryWithBodyWithResponse request with arbitrary body returning *AnswerInlineQueryResponse

func (*ClientWithResponses) AnswerInlineQueryWithResponse

func (c *ClientWithResponses) AnswerInlineQueryWithResponse(ctx context.Context, body AnswerInlineQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerInlineQueryResponse, error)

func (*ClientWithResponses) AnswerPreCheckoutQueryWithBodyWithResponse

func (c *ClientWithResponses) AnswerPreCheckoutQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerPreCheckoutQueryResponse, error)

AnswerPreCheckoutQueryWithBodyWithResponse request with arbitrary body returning *AnswerPreCheckoutQueryResponse

func (*ClientWithResponses) AnswerPreCheckoutQueryWithResponse

func (c *ClientWithResponses) AnswerPreCheckoutQueryWithResponse(ctx context.Context, body AnswerPreCheckoutQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerPreCheckoutQueryResponse, error)

func (*ClientWithResponses) AnswerShippingQueryWithBodyWithResponse

func (c *ClientWithResponses) AnswerShippingQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerShippingQueryResponse, error)

AnswerShippingQueryWithBodyWithResponse request with arbitrary body returning *AnswerShippingQueryResponse

func (*ClientWithResponses) AnswerShippingQueryWithResponse

func (c *ClientWithResponses) AnswerShippingQueryWithResponse(ctx context.Context, body AnswerShippingQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerShippingQueryResponse, error)

func (*ClientWithResponses) AnswerWebAppQueryWithBodyWithResponse

func (c *ClientWithResponses) AnswerWebAppQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerWebAppQueryResponse, error)

AnswerWebAppQueryWithBodyWithResponse request with arbitrary body returning *AnswerWebAppQueryResponse

func (*ClientWithResponses) AnswerWebAppQueryWithResponse

func (c *ClientWithResponses) AnswerWebAppQueryWithResponse(ctx context.Context, body AnswerWebAppQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerWebAppQueryResponse, error)

func (*ClientWithResponses) ApproveChatJoinRequestWithBodyWithResponse

func (c *ClientWithResponses) ApproveChatJoinRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveChatJoinRequestResponse, error)

ApproveChatJoinRequestWithBodyWithResponse request with arbitrary body returning *ApproveChatJoinRequestResponse

func (*ClientWithResponses) ApproveChatJoinRequestWithResponse

func (c *ClientWithResponses) ApproveChatJoinRequestWithResponse(ctx context.Context, body ApproveChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveChatJoinRequestResponse, error)

func (*ClientWithResponses) ApproveSuggestedPostWithBodyWithResponse

func (c *ClientWithResponses) ApproveSuggestedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveSuggestedPostResponse, error)

ApproveSuggestedPostWithBodyWithResponse request with arbitrary body returning *ApproveSuggestedPostResponse

func (*ClientWithResponses) ApproveSuggestedPostWithResponse

func (c *ClientWithResponses) ApproveSuggestedPostWithResponse(ctx context.Context, body ApproveSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveSuggestedPostResponse, error)

func (*ClientWithResponses) BanChatMemberWithBodyWithResponse

func (c *ClientWithResponses) BanChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BanChatMemberResponse, error)

BanChatMemberWithBodyWithResponse request with arbitrary body returning *BanChatMemberResponse

func (*ClientWithResponses) BanChatMemberWithResponse

func (c *ClientWithResponses) BanChatMemberWithResponse(ctx context.Context, body BanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*BanChatMemberResponse, error)

func (*ClientWithResponses) BanChatSenderChatWithBodyWithResponse

func (c *ClientWithResponses) BanChatSenderChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BanChatSenderChatResponse, error)

BanChatSenderChatWithBodyWithResponse request with arbitrary body returning *BanChatSenderChatResponse

func (*ClientWithResponses) BanChatSenderChatWithResponse

func (c *ClientWithResponses) BanChatSenderChatWithResponse(ctx context.Context, body BanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*BanChatSenderChatResponse, error)

func (*ClientWithResponses) CloseForumTopicWithBodyWithResponse

func (c *ClientWithResponses) CloseForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloseForumTopicResponse, error)

CloseForumTopicWithBodyWithResponse request with arbitrary body returning *CloseForumTopicResponse

func (*ClientWithResponses) CloseForumTopicWithResponse

func (c *ClientWithResponses) CloseForumTopicWithResponse(ctx context.Context, body CloseForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*CloseForumTopicResponse, error)

func (*ClientWithResponses) CloseGeneralForumTopicWithBodyWithResponse

func (c *ClientWithResponses) CloseGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloseGeneralForumTopicResponse, error)

CloseGeneralForumTopicWithBodyWithResponse request with arbitrary body returning *CloseGeneralForumTopicResponse

func (*ClientWithResponses) CloseGeneralForumTopicWithResponse

func (c *ClientWithResponses) CloseGeneralForumTopicWithResponse(ctx context.Context, body CloseGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*CloseGeneralForumTopicResponse, error)

func (*ClientWithResponses) CloseWithBodyWithResponse

func (c *ClientWithResponses) CloseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloseResponse, error)

CloseWithBodyWithResponse request with arbitrary body returning *CloseResponse

func (*ClientWithResponses) CloseWithResponse

func (c *ClientWithResponses) CloseWithResponse(ctx context.Context, body CloseJSONRequestBody, reqEditors ...RequestEditorFn) (*CloseResponse, error)

func (*ClientWithResponses) ConvertGiftToStarsWithBodyWithResponse

func (c *ClientWithResponses) ConvertGiftToStarsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertGiftToStarsResponse, error)

ConvertGiftToStarsWithBodyWithResponse request with arbitrary body returning *ConvertGiftToStarsResponse

func (*ClientWithResponses) ConvertGiftToStarsWithResponse

func (c *ClientWithResponses) ConvertGiftToStarsWithResponse(ctx context.Context, body ConvertGiftToStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*ConvertGiftToStarsResponse, error)

func (*ClientWithResponses) CopyMessageWithBodyWithResponse

func (c *ClientWithResponses) CopyMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyMessageResponse, error)

CopyMessageWithBodyWithResponse request with arbitrary body returning *CopyMessageResponse

func (*ClientWithResponses) CopyMessageWithResponse

func (c *ClientWithResponses) CopyMessageWithResponse(ctx context.Context, body CopyMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyMessageResponse, error)

func (*ClientWithResponses) CopyMessagesWithBodyWithResponse

func (c *ClientWithResponses) CopyMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyMessagesResponse, error)

CopyMessagesWithBodyWithResponse request with arbitrary body returning *CopyMessagesResponse

func (*ClientWithResponses) CopyMessagesWithResponse

func (c *ClientWithResponses) CopyMessagesWithResponse(ctx context.Context, body CopyMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyMessagesResponse, error)

func (*ClientWithResponses) CreateChatInviteLinkWithBodyWithResponse

func (c *ClientWithResponses) CreateChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChatInviteLinkResponse, error)

CreateChatInviteLinkWithBodyWithResponse request with arbitrary body returning *CreateChatInviteLinkResponse

func (*ClientWithResponses) CreateChatInviteLinkWithResponse

func (c *ClientWithResponses) CreateChatInviteLinkWithResponse(ctx context.Context, body CreateChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChatInviteLinkResponse, error)

func (*ClientWithResponses) CreateChatSubscriptionInviteLinkWithBodyWithResponse

func (c *ClientWithResponses) CreateChatSubscriptionInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChatSubscriptionInviteLinkResponse, error)

CreateChatSubscriptionInviteLinkWithBodyWithResponse request with arbitrary body returning *CreateChatSubscriptionInviteLinkResponse

func (*ClientWithResponses) CreateForumTopicWithBodyWithResponse

func (c *ClientWithResponses) CreateForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateForumTopicResponse, error)

CreateForumTopicWithBodyWithResponse request with arbitrary body returning *CreateForumTopicResponse

func (*ClientWithResponses) CreateForumTopicWithResponse

func (c *ClientWithResponses) CreateForumTopicWithResponse(ctx context.Context, body CreateForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateForumTopicResponse, error)

func (*ClientWithResponses) CreateInvoiceLinkWithBodyWithResponse

func (c *ClientWithResponses) CreateInvoiceLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvoiceLinkResponse, error)

CreateInvoiceLinkWithBodyWithResponse request with arbitrary body returning *CreateInvoiceLinkResponse

func (*ClientWithResponses) CreateInvoiceLinkWithResponse

func (c *ClientWithResponses) CreateInvoiceLinkWithResponse(ctx context.Context, body CreateInvoiceLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvoiceLinkResponse, error)

func (*ClientWithResponses) CreateNewStickerSetWithBodyWithResponse

func (c *ClientWithResponses) CreateNewStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNewStickerSetResponse, error)

CreateNewStickerSetWithBodyWithResponse request with arbitrary body returning *CreateNewStickerSetResponse

func (*ClientWithResponses) CreateNewStickerSetWithResponse

func (c *ClientWithResponses) CreateNewStickerSetWithResponse(ctx context.Context, body CreateNewStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNewStickerSetResponse, error)

func (*ClientWithResponses) DeclineChatJoinRequestWithBodyWithResponse

func (c *ClientWithResponses) DeclineChatJoinRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeclineChatJoinRequestResponse, error)

DeclineChatJoinRequestWithBodyWithResponse request with arbitrary body returning *DeclineChatJoinRequestResponse

func (*ClientWithResponses) DeclineChatJoinRequestWithResponse

func (c *ClientWithResponses) DeclineChatJoinRequestWithResponse(ctx context.Context, body DeclineChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*DeclineChatJoinRequestResponse, error)

func (*ClientWithResponses) DeclineSuggestedPostWithBodyWithResponse

func (c *ClientWithResponses) DeclineSuggestedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeclineSuggestedPostResponse, error)

DeclineSuggestedPostWithBodyWithResponse request with arbitrary body returning *DeclineSuggestedPostResponse

func (*ClientWithResponses) DeclineSuggestedPostWithResponse

func (c *ClientWithResponses) DeclineSuggestedPostWithResponse(ctx context.Context, body DeclineSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeclineSuggestedPostResponse, error)

func (*ClientWithResponses) DeleteBusinessMessagesWithBodyWithResponse

func (c *ClientWithResponses) DeleteBusinessMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteBusinessMessagesResponse, error)

DeleteBusinessMessagesWithBodyWithResponse request with arbitrary body returning *DeleteBusinessMessagesResponse

func (*ClientWithResponses) DeleteBusinessMessagesWithResponse

func (c *ClientWithResponses) DeleteBusinessMessagesWithResponse(ctx context.Context, body DeleteBusinessMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteBusinessMessagesResponse, error)

func (*ClientWithResponses) DeleteChatPhotoWithBodyWithResponse

func (c *ClientWithResponses) DeleteChatPhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteChatPhotoResponse, error)

DeleteChatPhotoWithBodyWithResponse request with arbitrary body returning *DeleteChatPhotoResponse

func (*ClientWithResponses) DeleteChatPhotoWithResponse

func (c *ClientWithResponses) DeleteChatPhotoWithResponse(ctx context.Context, body DeleteChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteChatPhotoResponse, error)

func (*ClientWithResponses) DeleteChatStickerSetWithBodyWithResponse

func (c *ClientWithResponses) DeleteChatStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteChatStickerSetResponse, error)

DeleteChatStickerSetWithBodyWithResponse request with arbitrary body returning *DeleteChatStickerSetResponse

func (*ClientWithResponses) DeleteChatStickerSetWithResponse

func (c *ClientWithResponses) DeleteChatStickerSetWithResponse(ctx context.Context, body DeleteChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteChatStickerSetResponse, error)

func (*ClientWithResponses) DeleteForumTopicWithBodyWithResponse

func (c *ClientWithResponses) DeleteForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteForumTopicResponse, error)

DeleteForumTopicWithBodyWithResponse request with arbitrary body returning *DeleteForumTopicResponse

func (*ClientWithResponses) DeleteForumTopicWithResponse

func (c *ClientWithResponses) DeleteForumTopicWithResponse(ctx context.Context, body DeleteForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteForumTopicResponse, error)

func (*ClientWithResponses) DeleteMessageWithBodyWithResponse

func (c *ClientWithResponses) DeleteMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMessageResponse, error)

DeleteMessageWithBodyWithResponse request with arbitrary body returning *DeleteMessageResponse

func (*ClientWithResponses) DeleteMessageWithResponse

func (c *ClientWithResponses) DeleteMessageWithResponse(ctx context.Context, body DeleteMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMessageResponse, error)

func (*ClientWithResponses) DeleteMessagesWithBodyWithResponse

func (c *ClientWithResponses) DeleteMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)

DeleteMessagesWithBodyWithResponse request with arbitrary body returning *DeleteMessagesResponse

func (*ClientWithResponses) DeleteMessagesWithResponse

func (c *ClientWithResponses) DeleteMessagesWithResponse(ctx context.Context, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)

func (*ClientWithResponses) DeleteMyCommandsWithBodyWithResponse

func (c *ClientWithResponses) DeleteMyCommandsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMyCommandsResponse, error)

DeleteMyCommandsWithBodyWithResponse request with arbitrary body returning *DeleteMyCommandsResponse

func (*ClientWithResponses) DeleteMyCommandsWithResponse

func (c *ClientWithResponses) DeleteMyCommandsWithResponse(ctx context.Context, body DeleteMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMyCommandsResponse, error)

func (*ClientWithResponses) DeleteStickerFromSetWithBodyWithResponse

func (c *ClientWithResponses) DeleteStickerFromSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStickerFromSetResponse, error)

DeleteStickerFromSetWithBodyWithResponse request with arbitrary body returning *DeleteStickerFromSetResponse

func (*ClientWithResponses) DeleteStickerFromSetWithResponse

func (c *ClientWithResponses) DeleteStickerFromSetWithResponse(ctx context.Context, body DeleteStickerFromSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStickerFromSetResponse, error)

func (*ClientWithResponses) DeleteStickerSetWithBodyWithResponse

func (c *ClientWithResponses) DeleteStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStickerSetResponse, error)

DeleteStickerSetWithBodyWithResponse request with arbitrary body returning *DeleteStickerSetResponse

func (*ClientWithResponses) DeleteStickerSetWithResponse

func (c *ClientWithResponses) DeleteStickerSetWithResponse(ctx context.Context, body DeleteStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStickerSetResponse, error)

func (*ClientWithResponses) DeleteStoryWithBodyWithResponse

func (c *ClientWithResponses) DeleteStoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStoryResponse, error)

DeleteStoryWithBodyWithResponse request with arbitrary body returning *DeleteStoryResponse

func (*ClientWithResponses) DeleteStoryWithResponse

func (c *ClientWithResponses) DeleteStoryWithResponse(ctx context.Context, body DeleteStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStoryResponse, error)

func (*ClientWithResponses) DeleteWebhookWithBodyWithResponse

func (c *ClientWithResponses) DeleteWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithBodyWithResponse request with arbitrary body returning *DeleteWebhookResponse

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, body DeleteWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

func (*ClientWithResponses) EditChatInviteLinkWithBodyWithResponse

func (c *ClientWithResponses) EditChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditChatInviteLinkResponse, error)

EditChatInviteLinkWithBodyWithResponse request with arbitrary body returning *EditChatInviteLinkResponse

func (*ClientWithResponses) EditChatInviteLinkWithResponse

func (c *ClientWithResponses) EditChatInviteLinkWithResponse(ctx context.Context, body EditChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*EditChatInviteLinkResponse, error)

func (*ClientWithResponses) EditChatSubscriptionInviteLinkWithBodyWithResponse

func (c *ClientWithResponses) EditChatSubscriptionInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditChatSubscriptionInviteLinkResponse, error)

EditChatSubscriptionInviteLinkWithBodyWithResponse request with arbitrary body returning *EditChatSubscriptionInviteLinkResponse

func (*ClientWithResponses) EditChatSubscriptionInviteLinkWithResponse

func (c *ClientWithResponses) EditChatSubscriptionInviteLinkWithResponse(ctx context.Context, body EditChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*EditChatSubscriptionInviteLinkResponse, error)

func (*ClientWithResponses) EditForumTopicWithBodyWithResponse

func (c *ClientWithResponses) EditForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditForumTopicResponse, error)

EditForumTopicWithBodyWithResponse request with arbitrary body returning *EditForumTopicResponse

func (*ClientWithResponses) EditForumTopicWithResponse

func (c *ClientWithResponses) EditForumTopicWithResponse(ctx context.Context, body EditForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*EditForumTopicResponse, error)

func (*ClientWithResponses) EditGeneralForumTopicWithBodyWithResponse

func (c *ClientWithResponses) EditGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditGeneralForumTopicResponse, error)

EditGeneralForumTopicWithBodyWithResponse request with arbitrary body returning *EditGeneralForumTopicResponse

func (*ClientWithResponses) EditGeneralForumTopicWithResponse

func (c *ClientWithResponses) EditGeneralForumTopicWithResponse(ctx context.Context, body EditGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*EditGeneralForumTopicResponse, error)

func (*ClientWithResponses) EditMessageCaptionWithBodyWithResponse

func (c *ClientWithResponses) EditMessageCaptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageCaptionResponse, error)

EditMessageCaptionWithBodyWithResponse request with arbitrary body returning *EditMessageCaptionResponse

func (*ClientWithResponses) EditMessageCaptionWithResponse

func (c *ClientWithResponses) EditMessageCaptionWithResponse(ctx context.Context, body EditMessageCaptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageCaptionResponse, error)

func (*ClientWithResponses) EditMessageChecklistWithBodyWithResponse

func (c *ClientWithResponses) EditMessageChecklistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageChecklistResponse, error)

EditMessageChecklistWithBodyWithResponse request with arbitrary body returning *EditMessageChecklistResponse

func (*ClientWithResponses) EditMessageChecklistWithResponse

func (c *ClientWithResponses) EditMessageChecklistWithResponse(ctx context.Context, body EditMessageChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageChecklistResponse, error)

func (*ClientWithResponses) EditMessageLiveLocationWithBodyWithResponse

func (c *ClientWithResponses) EditMessageLiveLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageLiveLocationResponse, error)

EditMessageLiveLocationWithBodyWithResponse request with arbitrary body returning *EditMessageLiveLocationResponse

func (*ClientWithResponses) EditMessageLiveLocationWithResponse

func (c *ClientWithResponses) EditMessageLiveLocationWithResponse(ctx context.Context, body EditMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageLiveLocationResponse, error)

func (*ClientWithResponses) EditMessageMediaWithBodyWithResponse

func (c *ClientWithResponses) EditMessageMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageMediaResponse, error)

EditMessageMediaWithBodyWithResponse request with arbitrary body returning *EditMessageMediaResponse

func (*ClientWithResponses) EditMessageMediaWithResponse

func (c *ClientWithResponses) EditMessageMediaWithResponse(ctx context.Context, body EditMessageMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageMediaResponse, error)

func (*ClientWithResponses) EditMessageReplyMarkupWithBodyWithResponse

func (c *ClientWithResponses) EditMessageReplyMarkupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageReplyMarkupResponse, error)

EditMessageReplyMarkupWithBodyWithResponse request with arbitrary body returning *EditMessageReplyMarkupResponse

func (*ClientWithResponses) EditMessageReplyMarkupWithResponse

func (c *ClientWithResponses) EditMessageReplyMarkupWithResponse(ctx context.Context, body EditMessageReplyMarkupJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageReplyMarkupResponse, error)

func (*ClientWithResponses) EditMessageTextWithBodyWithResponse

func (c *ClientWithResponses) EditMessageTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageTextResponse, error)

EditMessageTextWithBodyWithResponse request with arbitrary body returning *EditMessageTextResponse

func (*ClientWithResponses) EditMessageTextWithResponse

func (c *ClientWithResponses) EditMessageTextWithResponse(ctx context.Context, body EditMessageTextJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageTextResponse, error)

func (*ClientWithResponses) EditStoryWithBodyWithResponse

func (c *ClientWithResponses) EditStoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditStoryResponse, error)

EditStoryWithBodyWithResponse request with arbitrary body returning *EditStoryResponse

func (*ClientWithResponses) EditStoryWithResponse

func (c *ClientWithResponses) EditStoryWithResponse(ctx context.Context, body EditStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*EditStoryResponse, error)

func (*ClientWithResponses) EditUserStarSubscriptionWithBodyWithResponse

func (c *ClientWithResponses) EditUserStarSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditUserStarSubscriptionResponse, error)

EditUserStarSubscriptionWithBodyWithResponse request with arbitrary body returning *EditUserStarSubscriptionResponse

func (*ClientWithResponses) EditUserStarSubscriptionWithResponse

func (c *ClientWithResponses) EditUserStarSubscriptionWithResponse(ctx context.Context, body EditUserStarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditUserStarSubscriptionResponse, error)

func (*ClientWithResponses) ExportChatInviteLinkWithBodyWithResponse

func (c *ClientWithResponses) ExportChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportChatInviteLinkResponse, error)

ExportChatInviteLinkWithBodyWithResponse request with arbitrary body returning *ExportChatInviteLinkResponse

func (*ClientWithResponses) ExportChatInviteLinkWithResponse

func (c *ClientWithResponses) ExportChatInviteLinkWithResponse(ctx context.Context, body ExportChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportChatInviteLinkResponse, error)

func (*ClientWithResponses) ForwardMessageWithBodyWithResponse

func (c *ClientWithResponses) ForwardMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)

ForwardMessageWithBodyWithResponse request with arbitrary body returning *ForwardMessageResponse

func (*ClientWithResponses) ForwardMessageWithResponse

func (c *ClientWithResponses) ForwardMessageWithResponse(ctx context.Context, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)

func (*ClientWithResponses) ForwardMessagesWithBodyWithResponse

func (c *ClientWithResponses) ForwardMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForwardMessagesResponse, error)

ForwardMessagesWithBodyWithResponse request with arbitrary body returning *ForwardMessagesResponse

func (*ClientWithResponses) ForwardMessagesWithResponse

func (c *ClientWithResponses) ForwardMessagesWithResponse(ctx context.Context, body ForwardMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*ForwardMessagesResponse, error)

func (*ClientWithResponses) GetAvailableGiftsWithBodyWithResponse

func (c *ClientWithResponses) GetAvailableGiftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAvailableGiftsResponse, error)

GetAvailableGiftsWithBodyWithResponse request with arbitrary body returning *GetAvailableGiftsResponse

func (*ClientWithResponses) GetAvailableGiftsWithResponse

func (c *ClientWithResponses) GetAvailableGiftsWithResponse(ctx context.Context, body GetAvailableGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAvailableGiftsResponse, error)

func (*ClientWithResponses) GetBusinessAccountGiftsWithBodyWithResponse

func (c *ClientWithResponses) GetBusinessAccountGiftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBusinessAccountGiftsResponse, error)

GetBusinessAccountGiftsWithBodyWithResponse request with arbitrary body returning *GetBusinessAccountGiftsResponse

func (*ClientWithResponses) GetBusinessAccountGiftsWithResponse

func (c *ClientWithResponses) GetBusinessAccountGiftsWithResponse(ctx context.Context, body GetBusinessAccountGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBusinessAccountGiftsResponse, error)

func (*ClientWithResponses) GetBusinessAccountStarBalanceWithBodyWithResponse

func (c *ClientWithResponses) GetBusinessAccountStarBalanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBusinessAccountStarBalanceResponse, error)

GetBusinessAccountStarBalanceWithBodyWithResponse request with arbitrary body returning *GetBusinessAccountStarBalanceResponse

func (*ClientWithResponses) GetBusinessAccountStarBalanceWithResponse

func (c *ClientWithResponses) GetBusinessAccountStarBalanceWithResponse(ctx context.Context, body GetBusinessAccountStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBusinessAccountStarBalanceResponse, error)

func (*ClientWithResponses) GetBusinessConnectionWithBodyWithResponse

func (c *ClientWithResponses) GetBusinessConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBusinessConnectionResponse, error)

GetBusinessConnectionWithBodyWithResponse request with arbitrary body returning *GetBusinessConnectionResponse

func (*ClientWithResponses) GetBusinessConnectionWithResponse

func (c *ClientWithResponses) GetBusinessConnectionWithResponse(ctx context.Context, body GetBusinessConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBusinessConnectionResponse, error)

func (*ClientWithResponses) GetChatAdministratorsWithBodyWithResponse

func (c *ClientWithResponses) GetChatAdministratorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatAdministratorsResponse, error)

GetChatAdministratorsWithBodyWithResponse request with arbitrary body returning *GetChatAdministratorsResponse

func (*ClientWithResponses) GetChatAdministratorsWithResponse

func (c *ClientWithResponses) GetChatAdministratorsWithResponse(ctx context.Context, body GetChatAdministratorsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatAdministratorsResponse, error)

func (*ClientWithResponses) GetChatMemberCountWithBodyWithResponse

func (c *ClientWithResponses) GetChatMemberCountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatMemberCountResponse, error)

GetChatMemberCountWithBodyWithResponse request with arbitrary body returning *GetChatMemberCountResponse

func (*ClientWithResponses) GetChatMemberCountWithResponse

func (c *ClientWithResponses) GetChatMemberCountWithResponse(ctx context.Context, body GetChatMemberCountJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatMemberCountResponse, error)

func (*ClientWithResponses) GetChatMemberWithBodyWithResponse

func (c *ClientWithResponses) GetChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatMemberResponse, error)

GetChatMemberWithBodyWithResponse request with arbitrary body returning *GetChatMemberResponse

func (*ClientWithResponses) GetChatMemberWithResponse

func (c *ClientWithResponses) GetChatMemberWithResponse(ctx context.Context, body GetChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatMemberResponse, error)

func (*ClientWithResponses) GetChatMenuButtonWithBodyWithResponse

func (c *ClientWithResponses) GetChatMenuButtonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatMenuButtonResponse, error)

GetChatMenuButtonWithBodyWithResponse request with arbitrary body returning *GetChatMenuButtonResponse

func (*ClientWithResponses) GetChatMenuButtonWithResponse

func (c *ClientWithResponses) GetChatMenuButtonWithResponse(ctx context.Context, body GetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatMenuButtonResponse, error)

func (*ClientWithResponses) GetChatWithBodyWithResponse

func (c *ClientWithResponses) GetChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatResponse, error)

GetChatWithBodyWithResponse request with arbitrary body returning *GetChatResponse

func (*ClientWithResponses) GetChatWithResponse

func (c *ClientWithResponses) GetChatWithResponse(ctx context.Context, body GetChatJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatResponse, error)

func (*ClientWithResponses) GetCustomEmojiStickersWithBodyWithResponse

func (c *ClientWithResponses) GetCustomEmojiStickersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetCustomEmojiStickersResponse, error)

GetCustomEmojiStickersWithBodyWithResponse request with arbitrary body returning *GetCustomEmojiStickersResponse

func (*ClientWithResponses) GetCustomEmojiStickersWithResponse

func (c *ClientWithResponses) GetCustomEmojiStickersWithResponse(ctx context.Context, body GetCustomEmojiStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*GetCustomEmojiStickersResponse, error)

func (*ClientWithResponses) GetFileWithBodyWithResponse

func (c *ClientWithResponses) GetFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetFileResponse, error)

GetFileWithBodyWithResponse request with arbitrary body returning *GetFileResponse

func (*ClientWithResponses) GetFileWithResponse

func (c *ClientWithResponses) GetFileWithResponse(ctx context.Context, body GetFileJSONRequestBody, reqEditors ...RequestEditorFn) (*GetFileResponse, error)

func (*ClientWithResponses) GetForumTopicIconStickersWithBodyWithResponse

func (c *ClientWithResponses) GetForumTopicIconStickersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetForumTopicIconStickersResponse, error)

GetForumTopicIconStickersWithBodyWithResponse request with arbitrary body returning *GetForumTopicIconStickersResponse

func (*ClientWithResponses) GetForumTopicIconStickersWithResponse

func (c *ClientWithResponses) GetForumTopicIconStickersWithResponse(ctx context.Context, body GetForumTopicIconStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*GetForumTopicIconStickersResponse, error)

func (*ClientWithResponses) GetGameHighScoresWithBodyWithResponse

func (c *ClientWithResponses) GetGameHighScoresWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetGameHighScoresResponse, error)

GetGameHighScoresWithBodyWithResponse request with arbitrary body returning *GetGameHighScoresResponse

func (*ClientWithResponses) GetGameHighScoresWithResponse

func (c *ClientWithResponses) GetGameHighScoresWithResponse(ctx context.Context, body GetGameHighScoresJSONRequestBody, reqEditors ...RequestEditorFn) (*GetGameHighScoresResponse, error)

func (*ClientWithResponses) GetMeWithBodyWithResponse

func (c *ClientWithResponses) GetMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMeResponse, error)

GetMeWithBodyWithResponse request with arbitrary body returning *GetMeResponse

func (*ClientWithResponses) GetMeWithResponse

func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, body GetMeJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
Example
package main

import (
	"context"
	"fmt"
	"net/http"
	"net/http/httptest"
	"net/url"

	"github.com/tgbotkit/client"
)

func main() {
	ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		if r.Method != http.MethodPost || r.URL.Path != "/bot<bot_token>/getMe" {
			http.NotFound(w, r)
			return
		}

		w.Header().Set("Content-Type", "application/json")
		w.WriteHeader(http.StatusOK)
		_, _ = w.Write([]byte(`{"ok":true,"result":{"id":123,"is_bot":true,"first_name":"TgBotKit"}}`))
	}))
	defer ts.Close()

	serverURL, err := client.NewServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken(
		client.ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariable("<bot_token>"),
	)
	if err != nil {
		return
	}

	baseURL, err := url.Parse(serverURL)
	if err != nil {
		return
	}
	testURL, err := url.Parse(ts.URL)
	if err != nil {
		return
	}
	baseURL.Scheme = testURL.Scheme
	baseURL.Host = testURL.Host

	c, err := client.NewClientWithResponses(
		baseURL.String(),
		client.WithHTTPClient(ts.Client()),
	)
	if err != nil {
		return
	}

	resp, err := c.GetMeWithResponse(context.Background(), client.GetMeJSONRequestBody{})
	if err != nil {
		return
	}
	if resp.JSON200 != nil {
		fmt.Println(resp.JSON200.Result.FirstName)
	}

}
Output:

TgBotKit

func (*ClientWithResponses) GetMyCommandsWithBodyWithResponse

func (c *ClientWithResponses) GetMyCommandsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyCommandsResponse, error)

GetMyCommandsWithBodyWithResponse request with arbitrary body returning *GetMyCommandsResponse

func (*ClientWithResponses) GetMyCommandsWithResponse

func (c *ClientWithResponses) GetMyCommandsWithResponse(ctx context.Context, body GetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyCommandsResponse, error)

func (*ClientWithResponses) GetMyDefaultAdministratorRightsWithBodyWithResponse

func (c *ClientWithResponses) GetMyDefaultAdministratorRightsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyDefaultAdministratorRightsResponse, error)

GetMyDefaultAdministratorRightsWithBodyWithResponse request with arbitrary body returning *GetMyDefaultAdministratorRightsResponse

func (*ClientWithResponses) GetMyDefaultAdministratorRightsWithResponse

func (c *ClientWithResponses) GetMyDefaultAdministratorRightsWithResponse(ctx context.Context, body GetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyDefaultAdministratorRightsResponse, error)

func (*ClientWithResponses) GetMyDescriptionWithBodyWithResponse

func (c *ClientWithResponses) GetMyDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyDescriptionResponse, error)

GetMyDescriptionWithBodyWithResponse request with arbitrary body returning *GetMyDescriptionResponse

func (*ClientWithResponses) GetMyDescriptionWithResponse

func (c *ClientWithResponses) GetMyDescriptionWithResponse(ctx context.Context, body GetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyDescriptionResponse, error)

func (*ClientWithResponses) GetMyNameWithBodyWithResponse

func (c *ClientWithResponses) GetMyNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyNameResponse, error)

GetMyNameWithBodyWithResponse request with arbitrary body returning *GetMyNameResponse

func (*ClientWithResponses) GetMyNameWithResponse

func (c *ClientWithResponses) GetMyNameWithResponse(ctx context.Context, body GetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyNameResponse, error)

func (*ClientWithResponses) GetMyShortDescriptionWithBodyWithResponse

func (c *ClientWithResponses) GetMyShortDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyShortDescriptionResponse, error)

GetMyShortDescriptionWithBodyWithResponse request with arbitrary body returning *GetMyShortDescriptionResponse

func (*ClientWithResponses) GetMyShortDescriptionWithResponse

func (c *ClientWithResponses) GetMyShortDescriptionWithResponse(ctx context.Context, body GetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyShortDescriptionResponse, error)

func (*ClientWithResponses) GetMyStarBalanceWithBodyWithResponse

func (c *ClientWithResponses) GetMyStarBalanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyStarBalanceResponse, error)

GetMyStarBalanceWithBodyWithResponse request with arbitrary body returning *GetMyStarBalanceResponse

func (*ClientWithResponses) GetMyStarBalanceWithResponse

func (c *ClientWithResponses) GetMyStarBalanceWithResponse(ctx context.Context, body GetMyStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyStarBalanceResponse, error)

func (*ClientWithResponses) GetStarTransactionsWithBodyWithResponse

func (c *ClientWithResponses) GetStarTransactionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStarTransactionsResponse, error)

GetStarTransactionsWithBodyWithResponse request with arbitrary body returning *GetStarTransactionsResponse

func (*ClientWithResponses) GetStarTransactionsWithResponse

func (c *ClientWithResponses) GetStarTransactionsWithResponse(ctx context.Context, body GetStarTransactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStarTransactionsResponse, error)

func (*ClientWithResponses) GetStickerSetWithBodyWithResponse

func (c *ClientWithResponses) GetStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStickerSetResponse, error)

GetStickerSetWithBodyWithResponse request with arbitrary body returning *GetStickerSetResponse

func (*ClientWithResponses) GetStickerSetWithResponse

func (c *ClientWithResponses) GetStickerSetWithResponse(ctx context.Context, body GetStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStickerSetResponse, error)

func (*ClientWithResponses) GetUpdatesWithBodyWithResponse

func (c *ClientWithResponses) GetUpdatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUpdatesResponse, error)

GetUpdatesWithBodyWithResponse request with arbitrary body returning *GetUpdatesResponse

func (*ClientWithResponses) GetUpdatesWithResponse

func (c *ClientWithResponses) GetUpdatesWithResponse(ctx context.Context, body GetUpdatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUpdatesResponse, error)

func (*ClientWithResponses) GetUserChatBoostsWithBodyWithResponse

func (c *ClientWithResponses) GetUserChatBoostsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUserChatBoostsResponse, error)

GetUserChatBoostsWithBodyWithResponse request with arbitrary body returning *GetUserChatBoostsResponse

func (*ClientWithResponses) GetUserChatBoostsWithResponse

func (c *ClientWithResponses) GetUserChatBoostsWithResponse(ctx context.Context, body GetUserChatBoostsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUserChatBoostsResponse, error)

func (*ClientWithResponses) GetUserProfilePhotosWithBodyWithResponse

func (c *ClientWithResponses) GetUserProfilePhotosWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUserProfilePhotosResponse, error)

GetUserProfilePhotosWithBodyWithResponse request with arbitrary body returning *GetUserProfilePhotosResponse

func (*ClientWithResponses) GetUserProfilePhotosWithResponse

func (c *ClientWithResponses) GetUserProfilePhotosWithResponse(ctx context.Context, body GetUserProfilePhotosJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUserProfilePhotosResponse, error)

func (*ClientWithResponses) GetWebhookInfoWithBodyWithResponse

func (c *ClientWithResponses) GetWebhookInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWebhookInfoResponse, error)

GetWebhookInfoWithBodyWithResponse request with arbitrary body returning *GetWebhookInfoResponse

func (*ClientWithResponses) GetWebhookInfoWithResponse

func (c *ClientWithResponses) GetWebhookInfoWithResponse(ctx context.Context, body GetWebhookInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWebhookInfoResponse, error)

func (*ClientWithResponses) GiftPremiumSubscriptionWithBodyWithResponse

func (c *ClientWithResponses) GiftPremiumSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiftPremiumSubscriptionResponse, error)

GiftPremiumSubscriptionWithBodyWithResponse request with arbitrary body returning *GiftPremiumSubscriptionResponse

func (*ClientWithResponses) GiftPremiumSubscriptionWithResponse

func (c *ClientWithResponses) GiftPremiumSubscriptionWithResponse(ctx context.Context, body GiftPremiumSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*GiftPremiumSubscriptionResponse, error)

func (*ClientWithResponses) HideGeneralForumTopicWithBodyWithResponse

func (c *ClientWithResponses) HideGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HideGeneralForumTopicResponse, error)

HideGeneralForumTopicWithBodyWithResponse request with arbitrary body returning *HideGeneralForumTopicResponse

func (*ClientWithResponses) HideGeneralForumTopicWithResponse

func (c *ClientWithResponses) HideGeneralForumTopicWithResponse(ctx context.Context, body HideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*HideGeneralForumTopicResponse, error)

func (*ClientWithResponses) LeaveChatWithBodyWithResponse

func (c *ClientWithResponses) LeaveChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LeaveChatResponse, error)

LeaveChatWithBodyWithResponse request with arbitrary body returning *LeaveChatResponse

func (*ClientWithResponses) LeaveChatWithResponse

func (c *ClientWithResponses) LeaveChatWithResponse(ctx context.Context, body LeaveChatJSONRequestBody, reqEditors ...RequestEditorFn) (*LeaveChatResponse, error)

func (*ClientWithResponses) LogOutWithBodyWithResponse

func (c *ClientWithResponses) LogOutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogOutResponse, error)

LogOutWithBodyWithResponse request with arbitrary body returning *LogOutResponse

func (*ClientWithResponses) LogOutWithResponse

func (c *ClientWithResponses) LogOutWithResponse(ctx context.Context, body LogOutJSONRequestBody, reqEditors ...RequestEditorFn) (*LogOutResponse, error)

func (*ClientWithResponses) PinChatMessageWithBodyWithResponse

func (c *ClientWithResponses) PinChatMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PinChatMessageResponse, error)

PinChatMessageWithBodyWithResponse request with arbitrary body returning *PinChatMessageResponse

func (*ClientWithResponses) PinChatMessageWithResponse

func (c *ClientWithResponses) PinChatMessageWithResponse(ctx context.Context, body PinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*PinChatMessageResponse, error)

func (*ClientWithResponses) PostStoryWithBodyWithResponse

func (c *ClientWithResponses) PostStoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStoryResponse, error)

PostStoryWithBodyWithResponse request with arbitrary body returning *PostStoryResponse

func (*ClientWithResponses) PostStoryWithResponse

func (c *ClientWithResponses) PostStoryWithResponse(ctx context.Context, body PostStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStoryResponse, error)

func (*ClientWithResponses) PromoteChatMemberWithBodyWithResponse

func (c *ClientWithResponses) PromoteChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PromoteChatMemberResponse, error)

PromoteChatMemberWithBodyWithResponse request with arbitrary body returning *PromoteChatMemberResponse

func (*ClientWithResponses) PromoteChatMemberWithResponse

func (c *ClientWithResponses) PromoteChatMemberWithResponse(ctx context.Context, body PromoteChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*PromoteChatMemberResponse, error)

func (*ClientWithResponses) ReadBusinessMessageWithBodyWithResponse

func (c *ClientWithResponses) ReadBusinessMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReadBusinessMessageResponse, error)

ReadBusinessMessageWithBodyWithResponse request with arbitrary body returning *ReadBusinessMessageResponse

func (*ClientWithResponses) ReadBusinessMessageWithResponse

func (c *ClientWithResponses) ReadBusinessMessageWithResponse(ctx context.Context, body ReadBusinessMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ReadBusinessMessageResponse, error)

func (*ClientWithResponses) RefundStarPaymentWithBodyWithResponse

func (c *ClientWithResponses) RefundStarPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefundStarPaymentResponse, error)

RefundStarPaymentWithBodyWithResponse request with arbitrary body returning *RefundStarPaymentResponse

func (*ClientWithResponses) RefundStarPaymentWithResponse

func (c *ClientWithResponses) RefundStarPaymentWithResponse(ctx context.Context, body RefundStarPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RefundStarPaymentResponse, error)

func (*ClientWithResponses) RemoveBusinessAccountProfilePhotoWithBodyWithResponse

func (c *ClientWithResponses) RemoveBusinessAccountProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveBusinessAccountProfilePhotoResponse, error)

RemoveBusinessAccountProfilePhotoWithBodyWithResponse request with arbitrary body returning *RemoveBusinessAccountProfilePhotoResponse

func (*ClientWithResponses) RemoveChatVerificationWithBodyWithResponse

func (c *ClientWithResponses) RemoveChatVerificationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveChatVerificationResponse, error)

RemoveChatVerificationWithBodyWithResponse request with arbitrary body returning *RemoveChatVerificationResponse

func (*ClientWithResponses) RemoveChatVerificationWithResponse

func (c *ClientWithResponses) RemoveChatVerificationWithResponse(ctx context.Context, body RemoveChatVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveChatVerificationResponse, error)

func (*ClientWithResponses) RemoveUserVerificationWithBodyWithResponse

func (c *ClientWithResponses) RemoveUserVerificationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveUserVerificationResponse, error)

RemoveUserVerificationWithBodyWithResponse request with arbitrary body returning *RemoveUserVerificationResponse

func (*ClientWithResponses) RemoveUserVerificationWithResponse

func (c *ClientWithResponses) RemoveUserVerificationWithResponse(ctx context.Context, body RemoveUserVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveUserVerificationResponse, error)

func (*ClientWithResponses) ReopenForumTopicWithBodyWithResponse

func (c *ClientWithResponses) ReopenForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReopenForumTopicResponse, error)

ReopenForumTopicWithBodyWithResponse request with arbitrary body returning *ReopenForumTopicResponse

func (*ClientWithResponses) ReopenForumTopicWithResponse

func (c *ClientWithResponses) ReopenForumTopicWithResponse(ctx context.Context, body ReopenForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*ReopenForumTopicResponse, error)

func (*ClientWithResponses) ReopenGeneralForumTopicWithBodyWithResponse

func (c *ClientWithResponses) ReopenGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReopenGeneralForumTopicResponse, error)

ReopenGeneralForumTopicWithBodyWithResponse request with arbitrary body returning *ReopenGeneralForumTopicResponse

func (*ClientWithResponses) ReopenGeneralForumTopicWithResponse

func (c *ClientWithResponses) ReopenGeneralForumTopicWithResponse(ctx context.Context, body ReopenGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*ReopenGeneralForumTopicResponse, error)

func (*ClientWithResponses) ReplaceStickerInSetWithBodyWithResponse

func (c *ClientWithResponses) ReplaceStickerInSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceStickerInSetResponse, error)

ReplaceStickerInSetWithBodyWithResponse request with arbitrary body returning *ReplaceStickerInSetResponse

func (*ClientWithResponses) ReplaceStickerInSetWithResponse

func (c *ClientWithResponses) ReplaceStickerInSetWithResponse(ctx context.Context, body ReplaceStickerInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceStickerInSetResponse, error)

func (*ClientWithResponses) RestrictChatMemberWithBodyWithResponse

func (c *ClientWithResponses) RestrictChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestrictChatMemberResponse, error)

RestrictChatMemberWithBodyWithResponse request with arbitrary body returning *RestrictChatMemberResponse

func (*ClientWithResponses) RestrictChatMemberWithResponse

func (c *ClientWithResponses) RestrictChatMemberWithResponse(ctx context.Context, body RestrictChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*RestrictChatMemberResponse, error)

func (*ClientWithResponses) RevokeChatInviteLinkWithBodyWithResponse

func (c *ClientWithResponses) RevokeChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeChatInviteLinkResponse, error)

RevokeChatInviteLinkWithBodyWithResponse request with arbitrary body returning *RevokeChatInviteLinkResponse

func (*ClientWithResponses) RevokeChatInviteLinkWithResponse

func (c *ClientWithResponses) RevokeChatInviteLinkWithResponse(ctx context.Context, body RevokeChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeChatInviteLinkResponse, error)

func (*ClientWithResponses) SavePreparedInlineMessageWithBodyWithResponse

func (c *ClientWithResponses) SavePreparedInlineMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SavePreparedInlineMessageResponse, error)

SavePreparedInlineMessageWithBodyWithResponse request with arbitrary body returning *SavePreparedInlineMessageResponse

func (*ClientWithResponses) SavePreparedInlineMessageWithResponse

func (c *ClientWithResponses) SavePreparedInlineMessageWithResponse(ctx context.Context, body SavePreparedInlineMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SavePreparedInlineMessageResponse, error)

func (*ClientWithResponses) SendAnimationWithBodyWithResponse

func (c *ClientWithResponses) SendAnimationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendAnimationResponse, error)

SendAnimationWithBodyWithResponse request with arbitrary body returning *SendAnimationResponse

func (*ClientWithResponses) SendAnimationWithResponse

func (c *ClientWithResponses) SendAnimationWithResponse(ctx context.Context, body SendAnimationJSONRequestBody, reqEditors ...RequestEditorFn) (*SendAnimationResponse, error)

func (*ClientWithResponses) SendAudioWithBodyWithResponse

func (c *ClientWithResponses) SendAudioWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendAudioResponse, error)

SendAudioWithBodyWithResponse request with arbitrary body returning *SendAudioResponse

func (*ClientWithResponses) SendAudioWithResponse

func (c *ClientWithResponses) SendAudioWithResponse(ctx context.Context, body SendAudioJSONRequestBody, reqEditors ...RequestEditorFn) (*SendAudioResponse, error)

func (*ClientWithResponses) SendChatActionWithBodyWithResponse

func (c *ClientWithResponses) SendChatActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendChatActionResponse, error)

SendChatActionWithBodyWithResponse request with arbitrary body returning *SendChatActionResponse

func (*ClientWithResponses) SendChatActionWithResponse

func (c *ClientWithResponses) SendChatActionWithResponse(ctx context.Context, body SendChatActionJSONRequestBody, reqEditors ...RequestEditorFn) (*SendChatActionResponse, error)

func (*ClientWithResponses) SendChecklistWithBodyWithResponse

func (c *ClientWithResponses) SendChecklistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendChecklistResponse, error)

SendChecklistWithBodyWithResponse request with arbitrary body returning *SendChecklistResponse

func (*ClientWithResponses) SendChecklistWithResponse

func (c *ClientWithResponses) SendChecklistWithResponse(ctx context.Context, body SendChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*SendChecklistResponse, error)

func (*ClientWithResponses) SendContactWithBodyWithResponse

func (c *ClientWithResponses) SendContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendContactResponse, error)

SendContactWithBodyWithResponse request with arbitrary body returning *SendContactResponse

func (*ClientWithResponses) SendContactWithResponse

func (c *ClientWithResponses) SendContactWithResponse(ctx context.Context, body SendContactJSONRequestBody, reqEditors ...RequestEditorFn) (*SendContactResponse, error)

func (*ClientWithResponses) SendDiceWithBodyWithResponse

func (c *ClientWithResponses) SendDiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDiceResponse, error)

SendDiceWithBodyWithResponse request with arbitrary body returning *SendDiceResponse

func (*ClientWithResponses) SendDiceWithResponse

func (c *ClientWithResponses) SendDiceWithResponse(ctx context.Context, body SendDiceJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDiceResponse, error)

func (*ClientWithResponses) SendDocumentWithBodyWithResponse

func (c *ClientWithResponses) SendDocumentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDocumentResponse, error)

SendDocumentWithBodyWithResponse request with arbitrary body returning *SendDocumentResponse

func (*ClientWithResponses) SendDocumentWithResponse

func (c *ClientWithResponses) SendDocumentWithResponse(ctx context.Context, body SendDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDocumentResponse, error)

func (*ClientWithResponses) SendGameWithBodyWithResponse

func (c *ClientWithResponses) SendGameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendGameResponse, error)

SendGameWithBodyWithResponse request with arbitrary body returning *SendGameResponse

func (*ClientWithResponses) SendGameWithResponse

func (c *ClientWithResponses) SendGameWithResponse(ctx context.Context, body SendGameJSONRequestBody, reqEditors ...RequestEditorFn) (*SendGameResponse, error)

func (*ClientWithResponses) SendGiftWithBodyWithResponse

func (c *ClientWithResponses) SendGiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendGiftResponse, error)

SendGiftWithBodyWithResponse request with arbitrary body returning *SendGiftResponse

func (*ClientWithResponses) SendGiftWithResponse

func (c *ClientWithResponses) SendGiftWithResponse(ctx context.Context, body SendGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*SendGiftResponse, error)

func (*ClientWithResponses) SendInvoiceWithBodyWithResponse

func (c *ClientWithResponses) SendInvoiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendInvoiceResponse, error)

SendInvoiceWithBodyWithResponse request with arbitrary body returning *SendInvoiceResponse

func (*ClientWithResponses) SendInvoiceWithResponse

func (c *ClientWithResponses) SendInvoiceWithResponse(ctx context.Context, body SendInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*SendInvoiceResponse, error)

func (*ClientWithResponses) SendLocationWithBodyWithResponse

func (c *ClientWithResponses) SendLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendLocationResponse, error)

SendLocationWithBodyWithResponse request with arbitrary body returning *SendLocationResponse

func (*ClientWithResponses) SendLocationWithResponse

func (c *ClientWithResponses) SendLocationWithResponse(ctx context.Context, body SendLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*SendLocationResponse, error)

func (*ClientWithResponses) SendMediaGroupWithBodyWithResponse

func (c *ClientWithResponses) SendMediaGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMediaGroupResponse, error)

SendMediaGroupWithBodyWithResponse request with arbitrary body returning *SendMediaGroupResponse

func (*ClientWithResponses) SendMediaGroupWithResponse

func (c *ClientWithResponses) SendMediaGroupWithResponse(ctx context.Context, body SendMediaGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMediaGroupResponse, error)

func (*ClientWithResponses) SendMessageWithBodyWithResponse

func (c *ClientWithResponses) SendMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)

SendMessageWithBodyWithResponse request with arbitrary body returning *SendMessageResponse

func (*ClientWithResponses) SendMessageWithResponse

func (c *ClientWithResponses) SendMessageWithResponse(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)

func (*ClientWithResponses) SendPaidMediaWithBodyWithResponse

func (c *ClientWithResponses) SendPaidMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPaidMediaResponse, error)

SendPaidMediaWithBodyWithResponse request with arbitrary body returning *SendPaidMediaResponse

func (*ClientWithResponses) SendPaidMediaWithResponse

func (c *ClientWithResponses) SendPaidMediaWithResponse(ctx context.Context, body SendPaidMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPaidMediaResponse, error)

func (*ClientWithResponses) SendPhotoWithBodyWithResponse

func (c *ClientWithResponses) SendPhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPhotoResponse, error)

SendPhotoWithBodyWithResponse request with arbitrary body returning *SendPhotoResponse

func (*ClientWithResponses) SendPhotoWithResponse

func (c *ClientWithResponses) SendPhotoWithResponse(ctx context.Context, body SendPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPhotoResponse, error)

func (*ClientWithResponses) SendPollWithBodyWithResponse

func (c *ClientWithResponses) SendPollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPollResponse, error)

SendPollWithBodyWithResponse request with arbitrary body returning *SendPollResponse

func (*ClientWithResponses) SendPollWithResponse

func (c *ClientWithResponses) SendPollWithResponse(ctx context.Context, body SendPollJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPollResponse, error)

func (*ClientWithResponses) SendStickerWithBodyWithResponse

func (c *ClientWithResponses) SendStickerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendStickerResponse, error)

SendStickerWithBodyWithResponse request with arbitrary body returning *SendStickerResponse

func (*ClientWithResponses) SendStickerWithResponse

func (c *ClientWithResponses) SendStickerWithResponse(ctx context.Context, body SendStickerJSONRequestBody, reqEditors ...RequestEditorFn) (*SendStickerResponse, error)

func (*ClientWithResponses) SendVenueWithBodyWithResponse

func (c *ClientWithResponses) SendVenueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVenueResponse, error)

SendVenueWithBodyWithResponse request with arbitrary body returning *SendVenueResponse

func (*ClientWithResponses) SendVenueWithResponse

func (c *ClientWithResponses) SendVenueWithResponse(ctx context.Context, body SendVenueJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVenueResponse, error)

func (*ClientWithResponses) SendVideoNoteWithBodyWithResponse

func (c *ClientWithResponses) SendVideoNoteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVideoNoteResponse, error)

SendVideoNoteWithBodyWithResponse request with arbitrary body returning *SendVideoNoteResponse

func (*ClientWithResponses) SendVideoNoteWithResponse

func (c *ClientWithResponses) SendVideoNoteWithResponse(ctx context.Context, body SendVideoNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVideoNoteResponse, error)

func (*ClientWithResponses) SendVideoWithBodyWithResponse

func (c *ClientWithResponses) SendVideoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVideoResponse, error)

SendVideoWithBodyWithResponse request with arbitrary body returning *SendVideoResponse

func (*ClientWithResponses) SendVideoWithResponse

func (c *ClientWithResponses) SendVideoWithResponse(ctx context.Context, body SendVideoJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVideoResponse, error)

func (*ClientWithResponses) SendVoiceWithBodyWithResponse

func (c *ClientWithResponses) SendVoiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVoiceResponse, error)

SendVoiceWithBodyWithResponse request with arbitrary body returning *SendVoiceResponse

func (*ClientWithResponses) SendVoiceWithResponse

func (c *ClientWithResponses) SendVoiceWithResponse(ctx context.Context, body SendVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVoiceResponse, error)

func (*ClientWithResponses) SetBusinessAccountBioWithBodyWithResponse

func (c *ClientWithResponses) SetBusinessAccountBioWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountBioResponse, error)

SetBusinessAccountBioWithBodyWithResponse request with arbitrary body returning *SetBusinessAccountBioResponse

func (*ClientWithResponses) SetBusinessAccountBioWithResponse

func (c *ClientWithResponses) SetBusinessAccountBioWithResponse(ctx context.Context, body SetBusinessAccountBioJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountBioResponse, error)

func (*ClientWithResponses) SetBusinessAccountGiftSettingsWithBodyWithResponse

func (c *ClientWithResponses) SetBusinessAccountGiftSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountGiftSettingsResponse, error)

SetBusinessAccountGiftSettingsWithBodyWithResponse request with arbitrary body returning *SetBusinessAccountGiftSettingsResponse

func (*ClientWithResponses) SetBusinessAccountGiftSettingsWithResponse

func (c *ClientWithResponses) SetBusinessAccountGiftSettingsWithResponse(ctx context.Context, body SetBusinessAccountGiftSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountGiftSettingsResponse, error)

func (*ClientWithResponses) SetBusinessAccountNameWithBodyWithResponse

func (c *ClientWithResponses) SetBusinessAccountNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountNameResponse, error)

SetBusinessAccountNameWithBodyWithResponse request with arbitrary body returning *SetBusinessAccountNameResponse

func (*ClientWithResponses) SetBusinessAccountNameWithResponse

func (c *ClientWithResponses) SetBusinessAccountNameWithResponse(ctx context.Context, body SetBusinessAccountNameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountNameResponse, error)

func (*ClientWithResponses) SetBusinessAccountProfilePhotoWithBodyWithResponse

func (c *ClientWithResponses) SetBusinessAccountProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountProfilePhotoResponse, error)

SetBusinessAccountProfilePhotoWithBodyWithResponse request with arbitrary body returning *SetBusinessAccountProfilePhotoResponse

func (*ClientWithResponses) SetBusinessAccountProfilePhotoWithResponse

func (c *ClientWithResponses) SetBusinessAccountProfilePhotoWithResponse(ctx context.Context, body SetBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountProfilePhotoResponse, error)

func (*ClientWithResponses) SetBusinessAccountUsernameWithBodyWithResponse

func (c *ClientWithResponses) SetBusinessAccountUsernameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountUsernameResponse, error)

SetBusinessAccountUsernameWithBodyWithResponse request with arbitrary body returning *SetBusinessAccountUsernameResponse

func (*ClientWithResponses) SetBusinessAccountUsernameWithResponse

func (c *ClientWithResponses) SetBusinessAccountUsernameWithResponse(ctx context.Context, body SetBusinessAccountUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountUsernameResponse, error)

func (*ClientWithResponses) SetChatAdministratorCustomTitleWithBodyWithResponse

func (c *ClientWithResponses) SetChatAdministratorCustomTitleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatAdministratorCustomTitleResponse, error)

SetChatAdministratorCustomTitleWithBodyWithResponse request with arbitrary body returning *SetChatAdministratorCustomTitleResponse

func (*ClientWithResponses) SetChatAdministratorCustomTitleWithResponse

func (c *ClientWithResponses) SetChatAdministratorCustomTitleWithResponse(ctx context.Context, body SetChatAdministratorCustomTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatAdministratorCustomTitleResponse, error)

func (*ClientWithResponses) SetChatDescriptionWithBodyWithResponse

func (c *ClientWithResponses) SetChatDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatDescriptionResponse, error)

SetChatDescriptionWithBodyWithResponse request with arbitrary body returning *SetChatDescriptionResponse

func (*ClientWithResponses) SetChatDescriptionWithResponse

func (c *ClientWithResponses) SetChatDescriptionWithResponse(ctx context.Context, body SetChatDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatDescriptionResponse, error)

func (*ClientWithResponses) SetChatMenuButtonWithBodyWithResponse

func (c *ClientWithResponses) SetChatMenuButtonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatMenuButtonResponse, error)

SetChatMenuButtonWithBodyWithResponse request with arbitrary body returning *SetChatMenuButtonResponse

func (*ClientWithResponses) SetChatMenuButtonWithResponse

func (c *ClientWithResponses) SetChatMenuButtonWithResponse(ctx context.Context, body SetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatMenuButtonResponse, error)

func (*ClientWithResponses) SetChatPermissionsWithBodyWithResponse

func (c *ClientWithResponses) SetChatPermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatPermissionsResponse, error)

SetChatPermissionsWithBodyWithResponse request with arbitrary body returning *SetChatPermissionsResponse

func (*ClientWithResponses) SetChatPermissionsWithResponse

func (c *ClientWithResponses) SetChatPermissionsWithResponse(ctx context.Context, body SetChatPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatPermissionsResponse, error)

func (*ClientWithResponses) SetChatPhotoWithBodyWithResponse

func (c *ClientWithResponses) SetChatPhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatPhotoResponse, error)

SetChatPhotoWithBodyWithResponse request with arbitrary body returning *SetChatPhotoResponse

func (*ClientWithResponses) SetChatPhotoWithResponse

func (c *ClientWithResponses) SetChatPhotoWithResponse(ctx context.Context, body SetChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatPhotoResponse, error)

func (*ClientWithResponses) SetChatStickerSetWithBodyWithResponse

func (c *ClientWithResponses) SetChatStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatStickerSetResponse, error)

SetChatStickerSetWithBodyWithResponse request with arbitrary body returning *SetChatStickerSetResponse

func (*ClientWithResponses) SetChatStickerSetWithResponse

func (c *ClientWithResponses) SetChatStickerSetWithResponse(ctx context.Context, body SetChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatStickerSetResponse, error)

func (*ClientWithResponses) SetChatTitleWithBodyWithResponse

func (c *ClientWithResponses) SetChatTitleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatTitleResponse, error)

SetChatTitleWithBodyWithResponse request with arbitrary body returning *SetChatTitleResponse

func (*ClientWithResponses) SetChatTitleWithResponse

func (c *ClientWithResponses) SetChatTitleWithResponse(ctx context.Context, body SetChatTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatTitleResponse, error)

func (*ClientWithResponses) SetCustomEmojiStickerSetThumbnailWithBodyWithResponse

func (c *ClientWithResponses) SetCustomEmojiStickerSetThumbnailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCustomEmojiStickerSetThumbnailResponse, error)

SetCustomEmojiStickerSetThumbnailWithBodyWithResponse request with arbitrary body returning *SetCustomEmojiStickerSetThumbnailResponse

func (*ClientWithResponses) SetGameScoreWithBodyWithResponse

func (c *ClientWithResponses) SetGameScoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGameScoreResponse, error)

SetGameScoreWithBodyWithResponse request with arbitrary body returning *SetGameScoreResponse

func (*ClientWithResponses) SetGameScoreWithResponse

func (c *ClientWithResponses) SetGameScoreWithResponse(ctx context.Context, body SetGameScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGameScoreResponse, error)

func (*ClientWithResponses) SetMessageReactionWithBodyWithResponse

func (c *ClientWithResponses) SetMessageReactionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessageReactionResponse, error)

SetMessageReactionWithBodyWithResponse request with arbitrary body returning *SetMessageReactionResponse

func (*ClientWithResponses) SetMessageReactionWithResponse

func (c *ClientWithResponses) SetMessageReactionWithResponse(ctx context.Context, body SetMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessageReactionResponse, error)

func (*ClientWithResponses) SetMyCommandsWithBodyWithResponse

func (c *ClientWithResponses) SetMyCommandsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyCommandsResponse, error)

SetMyCommandsWithBodyWithResponse request with arbitrary body returning *SetMyCommandsResponse

func (*ClientWithResponses) SetMyCommandsWithResponse

func (c *ClientWithResponses) SetMyCommandsWithResponse(ctx context.Context, body SetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyCommandsResponse, error)

func (*ClientWithResponses) SetMyDefaultAdministratorRightsWithBodyWithResponse

func (c *ClientWithResponses) SetMyDefaultAdministratorRightsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyDefaultAdministratorRightsResponse, error)

SetMyDefaultAdministratorRightsWithBodyWithResponse request with arbitrary body returning *SetMyDefaultAdministratorRightsResponse

func (*ClientWithResponses) SetMyDefaultAdministratorRightsWithResponse

func (c *ClientWithResponses) SetMyDefaultAdministratorRightsWithResponse(ctx context.Context, body SetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyDefaultAdministratorRightsResponse, error)

func (*ClientWithResponses) SetMyDescriptionWithBodyWithResponse

func (c *ClientWithResponses) SetMyDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyDescriptionResponse, error)

SetMyDescriptionWithBodyWithResponse request with arbitrary body returning *SetMyDescriptionResponse

func (*ClientWithResponses) SetMyDescriptionWithResponse

func (c *ClientWithResponses) SetMyDescriptionWithResponse(ctx context.Context, body SetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyDescriptionResponse, error)

func (*ClientWithResponses) SetMyNameWithBodyWithResponse

func (c *ClientWithResponses) SetMyNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyNameResponse, error)

SetMyNameWithBodyWithResponse request with arbitrary body returning *SetMyNameResponse

func (*ClientWithResponses) SetMyNameWithResponse

func (c *ClientWithResponses) SetMyNameWithResponse(ctx context.Context, body SetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyNameResponse, error)

func (*ClientWithResponses) SetMyShortDescriptionWithBodyWithResponse

func (c *ClientWithResponses) SetMyShortDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyShortDescriptionResponse, error)

SetMyShortDescriptionWithBodyWithResponse request with arbitrary body returning *SetMyShortDescriptionResponse

func (*ClientWithResponses) SetMyShortDescriptionWithResponse

func (c *ClientWithResponses) SetMyShortDescriptionWithResponse(ctx context.Context, body SetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyShortDescriptionResponse, error)

func (*ClientWithResponses) SetPassportDataErrorsWithBodyWithResponse

func (c *ClientWithResponses) SetPassportDataErrorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPassportDataErrorsResponse, error)

SetPassportDataErrorsWithBodyWithResponse request with arbitrary body returning *SetPassportDataErrorsResponse

func (*ClientWithResponses) SetPassportDataErrorsWithResponse

func (c *ClientWithResponses) SetPassportDataErrorsWithResponse(ctx context.Context, body SetPassportDataErrorsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPassportDataErrorsResponse, error)

func (*ClientWithResponses) SetStickerEmojiListWithBodyWithResponse

func (c *ClientWithResponses) SetStickerEmojiListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerEmojiListResponse, error)

SetStickerEmojiListWithBodyWithResponse request with arbitrary body returning *SetStickerEmojiListResponse

func (*ClientWithResponses) SetStickerEmojiListWithResponse

func (c *ClientWithResponses) SetStickerEmojiListWithResponse(ctx context.Context, body SetStickerEmojiListJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerEmojiListResponse, error)

func (*ClientWithResponses) SetStickerKeywordsWithBodyWithResponse

func (c *ClientWithResponses) SetStickerKeywordsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerKeywordsResponse, error)

SetStickerKeywordsWithBodyWithResponse request with arbitrary body returning *SetStickerKeywordsResponse

func (*ClientWithResponses) SetStickerKeywordsWithResponse

func (c *ClientWithResponses) SetStickerKeywordsWithResponse(ctx context.Context, body SetStickerKeywordsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerKeywordsResponse, error)

func (*ClientWithResponses) SetStickerMaskPositionWithBodyWithResponse

func (c *ClientWithResponses) SetStickerMaskPositionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerMaskPositionResponse, error)

SetStickerMaskPositionWithBodyWithResponse request with arbitrary body returning *SetStickerMaskPositionResponse

func (*ClientWithResponses) SetStickerMaskPositionWithResponse

func (c *ClientWithResponses) SetStickerMaskPositionWithResponse(ctx context.Context, body SetStickerMaskPositionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerMaskPositionResponse, error)

func (*ClientWithResponses) SetStickerPositionInSetWithBodyWithResponse

func (c *ClientWithResponses) SetStickerPositionInSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerPositionInSetResponse, error)

SetStickerPositionInSetWithBodyWithResponse request with arbitrary body returning *SetStickerPositionInSetResponse

func (*ClientWithResponses) SetStickerPositionInSetWithResponse

func (c *ClientWithResponses) SetStickerPositionInSetWithResponse(ctx context.Context, body SetStickerPositionInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerPositionInSetResponse, error)

func (*ClientWithResponses) SetStickerSetThumbnailWithBodyWithResponse

func (c *ClientWithResponses) SetStickerSetThumbnailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerSetThumbnailResponse, error)

SetStickerSetThumbnailWithBodyWithResponse request with arbitrary body returning *SetStickerSetThumbnailResponse

func (*ClientWithResponses) SetStickerSetThumbnailWithResponse

func (c *ClientWithResponses) SetStickerSetThumbnailWithResponse(ctx context.Context, body SetStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerSetThumbnailResponse, error)

func (*ClientWithResponses) SetStickerSetTitleWithBodyWithResponse

func (c *ClientWithResponses) SetStickerSetTitleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerSetTitleResponse, error)

SetStickerSetTitleWithBodyWithResponse request with arbitrary body returning *SetStickerSetTitleResponse

func (*ClientWithResponses) SetStickerSetTitleWithResponse

func (c *ClientWithResponses) SetStickerSetTitleWithResponse(ctx context.Context, body SetStickerSetTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerSetTitleResponse, error)

func (*ClientWithResponses) SetUserEmojiStatusWithBodyWithResponse

func (c *ClientWithResponses) SetUserEmojiStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUserEmojiStatusResponse, error)

SetUserEmojiStatusWithBodyWithResponse request with arbitrary body returning *SetUserEmojiStatusResponse

func (*ClientWithResponses) SetUserEmojiStatusWithResponse

func (c *ClientWithResponses) SetUserEmojiStatusWithResponse(ctx context.Context, body SetUserEmojiStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUserEmojiStatusResponse, error)

func (*ClientWithResponses) SetWebhookWithBodyWithResponse

func (c *ClientWithResponses) SetWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetWebhookResponse, error)

SetWebhookWithBodyWithResponse request with arbitrary body returning *SetWebhookResponse

func (*ClientWithResponses) SetWebhookWithResponse

func (c *ClientWithResponses) SetWebhookWithResponse(ctx context.Context, body SetWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*SetWebhookResponse, error)

func (*ClientWithResponses) StopMessageLiveLocationWithBodyWithResponse

func (c *ClientWithResponses) StopMessageLiveLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopMessageLiveLocationResponse, error)

StopMessageLiveLocationWithBodyWithResponse request with arbitrary body returning *StopMessageLiveLocationResponse

func (*ClientWithResponses) StopMessageLiveLocationWithResponse

func (c *ClientWithResponses) StopMessageLiveLocationWithResponse(ctx context.Context, body StopMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*StopMessageLiveLocationResponse, error)

func (*ClientWithResponses) StopPollWithBodyWithResponse

func (c *ClientWithResponses) StopPollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopPollResponse, error)

StopPollWithBodyWithResponse request with arbitrary body returning *StopPollResponse

func (*ClientWithResponses) StopPollWithResponse

func (c *ClientWithResponses) StopPollWithResponse(ctx context.Context, body StopPollJSONRequestBody, reqEditors ...RequestEditorFn) (*StopPollResponse, error)

func (*ClientWithResponses) TransferBusinessAccountStarsWithBodyWithResponse

func (c *ClientWithResponses) TransferBusinessAccountStarsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferBusinessAccountStarsResponse, error)

TransferBusinessAccountStarsWithBodyWithResponse request with arbitrary body returning *TransferBusinessAccountStarsResponse

func (*ClientWithResponses) TransferBusinessAccountStarsWithResponse

func (c *ClientWithResponses) TransferBusinessAccountStarsWithResponse(ctx context.Context, body TransferBusinessAccountStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*TransferBusinessAccountStarsResponse, error)

func (*ClientWithResponses) TransferGiftWithBodyWithResponse

func (c *ClientWithResponses) TransferGiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferGiftResponse, error)

TransferGiftWithBodyWithResponse request with arbitrary body returning *TransferGiftResponse

func (*ClientWithResponses) TransferGiftWithResponse

func (c *ClientWithResponses) TransferGiftWithResponse(ctx context.Context, body TransferGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*TransferGiftResponse, error)

func (*ClientWithResponses) UnbanChatMemberWithBodyWithResponse

func (c *ClientWithResponses) UnbanChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbanChatMemberResponse, error)

UnbanChatMemberWithBodyWithResponse request with arbitrary body returning *UnbanChatMemberResponse

func (*ClientWithResponses) UnbanChatMemberWithResponse

func (c *ClientWithResponses) UnbanChatMemberWithResponse(ctx context.Context, body UnbanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbanChatMemberResponse, error)

func (*ClientWithResponses) UnbanChatSenderChatWithBodyWithResponse

func (c *ClientWithResponses) UnbanChatSenderChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbanChatSenderChatResponse, error)

UnbanChatSenderChatWithBodyWithResponse request with arbitrary body returning *UnbanChatSenderChatResponse

func (*ClientWithResponses) UnbanChatSenderChatWithResponse

func (c *ClientWithResponses) UnbanChatSenderChatWithResponse(ctx context.Context, body UnbanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbanChatSenderChatResponse, error)

func (*ClientWithResponses) UnhideGeneralForumTopicWithBodyWithResponse

func (c *ClientWithResponses) UnhideGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnhideGeneralForumTopicResponse, error)

UnhideGeneralForumTopicWithBodyWithResponse request with arbitrary body returning *UnhideGeneralForumTopicResponse

func (*ClientWithResponses) UnhideGeneralForumTopicWithResponse

func (c *ClientWithResponses) UnhideGeneralForumTopicWithResponse(ctx context.Context, body UnhideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*UnhideGeneralForumTopicResponse, error)

func (*ClientWithResponses) UnpinAllChatMessagesWithBodyWithResponse

func (c *ClientWithResponses) UnpinAllChatMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinAllChatMessagesResponse, error)

UnpinAllChatMessagesWithBodyWithResponse request with arbitrary body returning *UnpinAllChatMessagesResponse

func (*ClientWithResponses) UnpinAllChatMessagesWithResponse

func (c *ClientWithResponses) UnpinAllChatMessagesWithResponse(ctx context.Context, body UnpinAllChatMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinAllChatMessagesResponse, error)

func (*ClientWithResponses) UnpinAllForumTopicMessagesWithBodyWithResponse

func (c *ClientWithResponses) UnpinAllForumTopicMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinAllForumTopicMessagesResponse, error)

UnpinAllForumTopicMessagesWithBodyWithResponse request with arbitrary body returning *UnpinAllForumTopicMessagesResponse

func (*ClientWithResponses) UnpinAllForumTopicMessagesWithResponse

func (c *ClientWithResponses) UnpinAllForumTopicMessagesWithResponse(ctx context.Context, body UnpinAllForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinAllForumTopicMessagesResponse, error)

func (*ClientWithResponses) UnpinAllGeneralForumTopicMessagesWithBodyWithResponse

func (c *ClientWithResponses) UnpinAllGeneralForumTopicMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinAllGeneralForumTopicMessagesResponse, error)

UnpinAllGeneralForumTopicMessagesWithBodyWithResponse request with arbitrary body returning *UnpinAllGeneralForumTopicMessagesResponse

func (*ClientWithResponses) UnpinChatMessageWithBodyWithResponse

func (c *ClientWithResponses) UnpinChatMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinChatMessageResponse, error)

UnpinChatMessageWithBodyWithResponse request with arbitrary body returning *UnpinChatMessageResponse

func (*ClientWithResponses) UnpinChatMessageWithResponse

func (c *ClientWithResponses) UnpinChatMessageWithResponse(ctx context.Context, body UnpinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinChatMessageResponse, error)

func (*ClientWithResponses) UpgradeGiftWithBodyWithResponse

func (c *ClientWithResponses) UpgradeGiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeGiftResponse, error)

UpgradeGiftWithBodyWithResponse request with arbitrary body returning *UpgradeGiftResponse

func (*ClientWithResponses) UpgradeGiftWithResponse

func (c *ClientWithResponses) UpgradeGiftWithResponse(ctx context.Context, body UpgradeGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeGiftResponse, error)

func (*ClientWithResponses) UploadStickerFileWithBodyWithResponse

func (c *ClientWithResponses) UploadStickerFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadStickerFileResponse, error)

UploadStickerFileWithBodyWithResponse request with arbitrary body returning *UploadStickerFileResponse

func (*ClientWithResponses) UploadStickerFileWithResponse

func (c *ClientWithResponses) UploadStickerFileWithResponse(ctx context.Context, body UploadStickerFileJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadStickerFileResponse, error)

func (*ClientWithResponses) VerifyChatWithBodyWithResponse

func (c *ClientWithResponses) VerifyChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyChatResponse, error)

VerifyChatWithBodyWithResponse request with arbitrary body returning *VerifyChatResponse

func (*ClientWithResponses) VerifyChatWithResponse

func (c *ClientWithResponses) VerifyChatWithResponse(ctx context.Context, body VerifyChatJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyChatResponse, error)

func (*ClientWithResponses) VerifyUserWithBodyWithResponse

func (c *ClientWithResponses) VerifyUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserResponse, error)

VerifyUserWithBodyWithResponse request with arbitrary body returning *VerifyUserResponse

func (*ClientWithResponses) VerifyUserWithResponse

func (c *ClientWithResponses) VerifyUserWithResponse(ctx context.Context, body VerifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// AddStickerToSetWithBodyWithResponse request with any body
	AddStickerToSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddStickerToSetResponse, error)

	AddStickerToSetWithResponse(ctx context.Context, body AddStickerToSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AddStickerToSetResponse, error)

	// AnswerCallbackQueryWithBodyWithResponse request with any body
	AnswerCallbackQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerCallbackQueryResponse, error)

	AnswerCallbackQueryWithResponse(ctx context.Context, body AnswerCallbackQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerCallbackQueryResponse, error)

	// AnswerInlineQueryWithBodyWithResponse request with any body
	AnswerInlineQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerInlineQueryResponse, error)

	AnswerInlineQueryWithResponse(ctx context.Context, body AnswerInlineQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerInlineQueryResponse, error)

	// AnswerPreCheckoutQueryWithBodyWithResponse request with any body
	AnswerPreCheckoutQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerPreCheckoutQueryResponse, error)

	AnswerPreCheckoutQueryWithResponse(ctx context.Context, body AnswerPreCheckoutQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerPreCheckoutQueryResponse, error)

	// AnswerShippingQueryWithBodyWithResponse request with any body
	AnswerShippingQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerShippingQueryResponse, error)

	AnswerShippingQueryWithResponse(ctx context.Context, body AnswerShippingQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerShippingQueryResponse, error)

	// AnswerWebAppQueryWithBodyWithResponse request with any body
	AnswerWebAppQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnswerWebAppQueryResponse, error)

	AnswerWebAppQueryWithResponse(ctx context.Context, body AnswerWebAppQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*AnswerWebAppQueryResponse, error)

	// ApproveChatJoinRequestWithBodyWithResponse request with any body
	ApproveChatJoinRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveChatJoinRequestResponse, error)

	ApproveChatJoinRequestWithResponse(ctx context.Context, body ApproveChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveChatJoinRequestResponse, error)

	// ApproveSuggestedPostWithBodyWithResponse request with any body
	ApproveSuggestedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveSuggestedPostResponse, error)

	ApproveSuggestedPostWithResponse(ctx context.Context, body ApproveSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveSuggestedPostResponse, error)

	// BanChatMemberWithBodyWithResponse request with any body
	BanChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BanChatMemberResponse, error)

	BanChatMemberWithResponse(ctx context.Context, body BanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*BanChatMemberResponse, error)

	// BanChatSenderChatWithBodyWithResponse request with any body
	BanChatSenderChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BanChatSenderChatResponse, error)

	BanChatSenderChatWithResponse(ctx context.Context, body BanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*BanChatSenderChatResponse, error)

	// CloseWithBodyWithResponse request with any body
	CloseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloseResponse, error)

	CloseWithResponse(ctx context.Context, body CloseJSONRequestBody, reqEditors ...RequestEditorFn) (*CloseResponse, error)

	// CloseForumTopicWithBodyWithResponse request with any body
	CloseForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloseForumTopicResponse, error)

	CloseForumTopicWithResponse(ctx context.Context, body CloseForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*CloseForumTopicResponse, error)

	// CloseGeneralForumTopicWithBodyWithResponse request with any body
	CloseGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloseGeneralForumTopicResponse, error)

	CloseGeneralForumTopicWithResponse(ctx context.Context, body CloseGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*CloseGeneralForumTopicResponse, error)

	// ConvertGiftToStarsWithBodyWithResponse request with any body
	ConvertGiftToStarsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertGiftToStarsResponse, error)

	ConvertGiftToStarsWithResponse(ctx context.Context, body ConvertGiftToStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*ConvertGiftToStarsResponse, error)

	// CopyMessageWithBodyWithResponse request with any body
	CopyMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyMessageResponse, error)

	CopyMessageWithResponse(ctx context.Context, body CopyMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyMessageResponse, error)

	// CopyMessagesWithBodyWithResponse request with any body
	CopyMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyMessagesResponse, error)

	CopyMessagesWithResponse(ctx context.Context, body CopyMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyMessagesResponse, error)

	// CreateChatInviteLinkWithBodyWithResponse request with any body
	CreateChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChatInviteLinkResponse, error)

	CreateChatInviteLinkWithResponse(ctx context.Context, body CreateChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChatInviteLinkResponse, error)

	// CreateChatSubscriptionInviteLinkWithBodyWithResponse request with any body
	CreateChatSubscriptionInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChatSubscriptionInviteLinkResponse, error)

	CreateChatSubscriptionInviteLinkWithResponse(ctx context.Context, body CreateChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChatSubscriptionInviteLinkResponse, error)

	// CreateForumTopicWithBodyWithResponse request with any body
	CreateForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateForumTopicResponse, error)

	CreateForumTopicWithResponse(ctx context.Context, body CreateForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateForumTopicResponse, error)

	// CreateInvoiceLinkWithBodyWithResponse request with any body
	CreateInvoiceLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvoiceLinkResponse, error)

	CreateInvoiceLinkWithResponse(ctx context.Context, body CreateInvoiceLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvoiceLinkResponse, error)

	// CreateNewStickerSetWithBodyWithResponse request with any body
	CreateNewStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNewStickerSetResponse, error)

	CreateNewStickerSetWithResponse(ctx context.Context, body CreateNewStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNewStickerSetResponse, error)

	// DeclineChatJoinRequestWithBodyWithResponse request with any body
	DeclineChatJoinRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeclineChatJoinRequestResponse, error)

	DeclineChatJoinRequestWithResponse(ctx context.Context, body DeclineChatJoinRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*DeclineChatJoinRequestResponse, error)

	// DeclineSuggestedPostWithBodyWithResponse request with any body
	DeclineSuggestedPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeclineSuggestedPostResponse, error)

	DeclineSuggestedPostWithResponse(ctx context.Context, body DeclineSuggestedPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeclineSuggestedPostResponse, error)

	// DeleteBusinessMessagesWithBodyWithResponse request with any body
	DeleteBusinessMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteBusinessMessagesResponse, error)

	DeleteBusinessMessagesWithResponse(ctx context.Context, body DeleteBusinessMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteBusinessMessagesResponse, error)

	// DeleteChatPhotoWithBodyWithResponse request with any body
	DeleteChatPhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteChatPhotoResponse, error)

	DeleteChatPhotoWithResponse(ctx context.Context, body DeleteChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteChatPhotoResponse, error)

	// DeleteChatStickerSetWithBodyWithResponse request with any body
	DeleteChatStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteChatStickerSetResponse, error)

	DeleteChatStickerSetWithResponse(ctx context.Context, body DeleteChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteChatStickerSetResponse, error)

	// DeleteForumTopicWithBodyWithResponse request with any body
	DeleteForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteForumTopicResponse, error)

	DeleteForumTopicWithResponse(ctx context.Context, body DeleteForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteForumTopicResponse, error)

	// DeleteMessageWithBodyWithResponse request with any body
	DeleteMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMessageResponse, error)

	DeleteMessageWithResponse(ctx context.Context, body DeleteMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMessageResponse, error)

	// DeleteMessagesWithBodyWithResponse request with any body
	DeleteMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)

	DeleteMessagesWithResponse(ctx context.Context, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)

	// DeleteMyCommandsWithBodyWithResponse request with any body
	DeleteMyCommandsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMyCommandsResponse, error)

	DeleteMyCommandsWithResponse(ctx context.Context, body DeleteMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMyCommandsResponse, error)

	// DeleteStickerFromSetWithBodyWithResponse request with any body
	DeleteStickerFromSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStickerFromSetResponse, error)

	DeleteStickerFromSetWithResponse(ctx context.Context, body DeleteStickerFromSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStickerFromSetResponse, error)

	// DeleteStickerSetWithBodyWithResponse request with any body
	DeleteStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStickerSetResponse, error)

	DeleteStickerSetWithResponse(ctx context.Context, body DeleteStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStickerSetResponse, error)

	// DeleteStoryWithBodyWithResponse request with any body
	DeleteStoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStoryResponse, error)

	DeleteStoryWithResponse(ctx context.Context, body DeleteStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStoryResponse, error)

	// DeleteWebhookWithBodyWithResponse request with any body
	DeleteWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	DeleteWebhookWithResponse(ctx context.Context, body DeleteWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// EditChatInviteLinkWithBodyWithResponse request with any body
	EditChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditChatInviteLinkResponse, error)

	EditChatInviteLinkWithResponse(ctx context.Context, body EditChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*EditChatInviteLinkResponse, error)

	// EditChatSubscriptionInviteLinkWithBodyWithResponse request with any body
	EditChatSubscriptionInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditChatSubscriptionInviteLinkResponse, error)

	EditChatSubscriptionInviteLinkWithResponse(ctx context.Context, body EditChatSubscriptionInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*EditChatSubscriptionInviteLinkResponse, error)

	// EditForumTopicWithBodyWithResponse request with any body
	EditForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditForumTopicResponse, error)

	EditForumTopicWithResponse(ctx context.Context, body EditForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*EditForumTopicResponse, error)

	// EditGeneralForumTopicWithBodyWithResponse request with any body
	EditGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditGeneralForumTopicResponse, error)

	EditGeneralForumTopicWithResponse(ctx context.Context, body EditGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*EditGeneralForumTopicResponse, error)

	// EditMessageCaptionWithBodyWithResponse request with any body
	EditMessageCaptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageCaptionResponse, error)

	EditMessageCaptionWithResponse(ctx context.Context, body EditMessageCaptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageCaptionResponse, error)

	// EditMessageChecklistWithBodyWithResponse request with any body
	EditMessageChecklistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageChecklistResponse, error)

	EditMessageChecklistWithResponse(ctx context.Context, body EditMessageChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageChecklistResponse, error)

	// EditMessageLiveLocationWithBodyWithResponse request with any body
	EditMessageLiveLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageLiveLocationResponse, error)

	EditMessageLiveLocationWithResponse(ctx context.Context, body EditMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageLiveLocationResponse, error)

	// EditMessageMediaWithBodyWithResponse request with any body
	EditMessageMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageMediaResponse, error)

	EditMessageMediaWithResponse(ctx context.Context, body EditMessageMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageMediaResponse, error)

	// EditMessageReplyMarkupWithBodyWithResponse request with any body
	EditMessageReplyMarkupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageReplyMarkupResponse, error)

	EditMessageReplyMarkupWithResponse(ctx context.Context, body EditMessageReplyMarkupJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageReplyMarkupResponse, error)

	// EditMessageTextWithBodyWithResponse request with any body
	EditMessageTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageTextResponse, error)

	EditMessageTextWithResponse(ctx context.Context, body EditMessageTextJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageTextResponse, error)

	// EditStoryWithBodyWithResponse request with any body
	EditStoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditStoryResponse, error)

	EditStoryWithResponse(ctx context.Context, body EditStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*EditStoryResponse, error)

	// EditUserStarSubscriptionWithBodyWithResponse request with any body
	EditUserStarSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditUserStarSubscriptionResponse, error)

	EditUserStarSubscriptionWithResponse(ctx context.Context, body EditUserStarSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*EditUserStarSubscriptionResponse, error)

	// ExportChatInviteLinkWithBodyWithResponse request with any body
	ExportChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportChatInviteLinkResponse, error)

	ExportChatInviteLinkWithResponse(ctx context.Context, body ExportChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportChatInviteLinkResponse, error)

	// ForwardMessageWithBodyWithResponse request with any body
	ForwardMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)

	ForwardMessageWithResponse(ctx context.Context, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)

	// ForwardMessagesWithBodyWithResponse request with any body
	ForwardMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForwardMessagesResponse, error)

	ForwardMessagesWithResponse(ctx context.Context, body ForwardMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*ForwardMessagesResponse, error)

	// GetAvailableGiftsWithBodyWithResponse request with any body
	GetAvailableGiftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAvailableGiftsResponse, error)

	GetAvailableGiftsWithResponse(ctx context.Context, body GetAvailableGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAvailableGiftsResponse, error)

	// GetBusinessAccountGiftsWithBodyWithResponse request with any body
	GetBusinessAccountGiftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBusinessAccountGiftsResponse, error)

	GetBusinessAccountGiftsWithResponse(ctx context.Context, body GetBusinessAccountGiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBusinessAccountGiftsResponse, error)

	// GetBusinessAccountStarBalanceWithBodyWithResponse request with any body
	GetBusinessAccountStarBalanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBusinessAccountStarBalanceResponse, error)

	GetBusinessAccountStarBalanceWithResponse(ctx context.Context, body GetBusinessAccountStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBusinessAccountStarBalanceResponse, error)

	// GetBusinessConnectionWithBodyWithResponse request with any body
	GetBusinessConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetBusinessConnectionResponse, error)

	GetBusinessConnectionWithResponse(ctx context.Context, body GetBusinessConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetBusinessConnectionResponse, error)

	// GetChatWithBodyWithResponse request with any body
	GetChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatResponse, error)

	GetChatWithResponse(ctx context.Context, body GetChatJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatResponse, error)

	// GetChatAdministratorsWithBodyWithResponse request with any body
	GetChatAdministratorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatAdministratorsResponse, error)

	GetChatAdministratorsWithResponse(ctx context.Context, body GetChatAdministratorsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatAdministratorsResponse, error)

	// GetChatMemberWithBodyWithResponse request with any body
	GetChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatMemberResponse, error)

	GetChatMemberWithResponse(ctx context.Context, body GetChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatMemberResponse, error)

	// GetChatMemberCountWithBodyWithResponse request with any body
	GetChatMemberCountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatMemberCountResponse, error)

	GetChatMemberCountWithResponse(ctx context.Context, body GetChatMemberCountJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatMemberCountResponse, error)

	// GetChatMenuButtonWithBodyWithResponse request with any body
	GetChatMenuButtonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatMenuButtonResponse, error)

	GetChatMenuButtonWithResponse(ctx context.Context, body GetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatMenuButtonResponse, error)

	// GetCustomEmojiStickersWithBodyWithResponse request with any body
	GetCustomEmojiStickersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetCustomEmojiStickersResponse, error)

	GetCustomEmojiStickersWithResponse(ctx context.Context, body GetCustomEmojiStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*GetCustomEmojiStickersResponse, error)

	// GetFileWithBodyWithResponse request with any body
	GetFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetFileResponse, error)

	GetFileWithResponse(ctx context.Context, body GetFileJSONRequestBody, reqEditors ...RequestEditorFn) (*GetFileResponse, error)

	// GetForumTopicIconStickersWithBodyWithResponse request with any body
	GetForumTopicIconStickersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetForumTopicIconStickersResponse, error)

	GetForumTopicIconStickersWithResponse(ctx context.Context, body GetForumTopicIconStickersJSONRequestBody, reqEditors ...RequestEditorFn) (*GetForumTopicIconStickersResponse, error)

	// GetGameHighScoresWithBodyWithResponse request with any body
	GetGameHighScoresWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetGameHighScoresResponse, error)

	GetGameHighScoresWithResponse(ctx context.Context, body GetGameHighScoresJSONRequestBody, reqEditors ...RequestEditorFn) (*GetGameHighScoresResponse, error)

	// GetMeWithBodyWithResponse request with any body
	GetMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMeResponse, error)

	GetMeWithResponse(ctx context.Context, body GetMeJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMeResponse, error)

	// GetMyCommandsWithBodyWithResponse request with any body
	GetMyCommandsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyCommandsResponse, error)

	GetMyCommandsWithResponse(ctx context.Context, body GetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyCommandsResponse, error)

	// GetMyDefaultAdministratorRightsWithBodyWithResponse request with any body
	GetMyDefaultAdministratorRightsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyDefaultAdministratorRightsResponse, error)

	GetMyDefaultAdministratorRightsWithResponse(ctx context.Context, body GetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyDefaultAdministratorRightsResponse, error)

	// GetMyDescriptionWithBodyWithResponse request with any body
	GetMyDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyDescriptionResponse, error)

	GetMyDescriptionWithResponse(ctx context.Context, body GetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyDescriptionResponse, error)

	// GetMyNameWithBodyWithResponse request with any body
	GetMyNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyNameResponse, error)

	GetMyNameWithResponse(ctx context.Context, body GetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyNameResponse, error)

	// GetMyShortDescriptionWithBodyWithResponse request with any body
	GetMyShortDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyShortDescriptionResponse, error)

	GetMyShortDescriptionWithResponse(ctx context.Context, body GetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyShortDescriptionResponse, error)

	// GetMyStarBalanceWithBodyWithResponse request with any body
	GetMyStarBalanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMyStarBalanceResponse, error)

	GetMyStarBalanceWithResponse(ctx context.Context, body GetMyStarBalanceJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMyStarBalanceResponse, error)

	// GetStarTransactionsWithBodyWithResponse request with any body
	GetStarTransactionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStarTransactionsResponse, error)

	GetStarTransactionsWithResponse(ctx context.Context, body GetStarTransactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStarTransactionsResponse, error)

	// GetStickerSetWithBodyWithResponse request with any body
	GetStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStickerSetResponse, error)

	GetStickerSetWithResponse(ctx context.Context, body GetStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStickerSetResponse, error)

	// GetUpdatesWithBodyWithResponse request with any body
	GetUpdatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUpdatesResponse, error)

	GetUpdatesWithResponse(ctx context.Context, body GetUpdatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUpdatesResponse, error)

	// GetUserChatBoostsWithBodyWithResponse request with any body
	GetUserChatBoostsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUserChatBoostsResponse, error)

	GetUserChatBoostsWithResponse(ctx context.Context, body GetUserChatBoostsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUserChatBoostsResponse, error)

	// GetUserProfilePhotosWithBodyWithResponse request with any body
	GetUserProfilePhotosWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUserProfilePhotosResponse, error)

	GetUserProfilePhotosWithResponse(ctx context.Context, body GetUserProfilePhotosJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUserProfilePhotosResponse, error)

	// GetWebhookInfoWithBodyWithResponse request with any body
	GetWebhookInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWebhookInfoResponse, error)

	GetWebhookInfoWithResponse(ctx context.Context, body GetWebhookInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWebhookInfoResponse, error)

	// GiftPremiumSubscriptionWithBodyWithResponse request with any body
	GiftPremiumSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GiftPremiumSubscriptionResponse, error)

	GiftPremiumSubscriptionWithResponse(ctx context.Context, body GiftPremiumSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*GiftPremiumSubscriptionResponse, error)

	// HideGeneralForumTopicWithBodyWithResponse request with any body
	HideGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HideGeneralForumTopicResponse, error)

	HideGeneralForumTopicWithResponse(ctx context.Context, body HideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*HideGeneralForumTopicResponse, error)

	// LeaveChatWithBodyWithResponse request with any body
	LeaveChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LeaveChatResponse, error)

	LeaveChatWithResponse(ctx context.Context, body LeaveChatJSONRequestBody, reqEditors ...RequestEditorFn) (*LeaveChatResponse, error)

	// LogOutWithBodyWithResponse request with any body
	LogOutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogOutResponse, error)

	LogOutWithResponse(ctx context.Context, body LogOutJSONRequestBody, reqEditors ...RequestEditorFn) (*LogOutResponse, error)

	// PinChatMessageWithBodyWithResponse request with any body
	PinChatMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PinChatMessageResponse, error)

	PinChatMessageWithResponse(ctx context.Context, body PinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*PinChatMessageResponse, error)

	// PostStoryWithBodyWithResponse request with any body
	PostStoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStoryResponse, error)

	PostStoryWithResponse(ctx context.Context, body PostStoryJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStoryResponse, error)

	// PromoteChatMemberWithBodyWithResponse request with any body
	PromoteChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PromoteChatMemberResponse, error)

	PromoteChatMemberWithResponse(ctx context.Context, body PromoteChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*PromoteChatMemberResponse, error)

	// ReadBusinessMessageWithBodyWithResponse request with any body
	ReadBusinessMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReadBusinessMessageResponse, error)

	ReadBusinessMessageWithResponse(ctx context.Context, body ReadBusinessMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ReadBusinessMessageResponse, error)

	// RefundStarPaymentWithBodyWithResponse request with any body
	RefundStarPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefundStarPaymentResponse, error)

	RefundStarPaymentWithResponse(ctx context.Context, body RefundStarPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RefundStarPaymentResponse, error)

	// RemoveBusinessAccountProfilePhotoWithBodyWithResponse request with any body
	RemoveBusinessAccountProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveBusinessAccountProfilePhotoResponse, error)

	RemoveBusinessAccountProfilePhotoWithResponse(ctx context.Context, body RemoveBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveBusinessAccountProfilePhotoResponse, error)

	// RemoveChatVerificationWithBodyWithResponse request with any body
	RemoveChatVerificationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveChatVerificationResponse, error)

	RemoveChatVerificationWithResponse(ctx context.Context, body RemoveChatVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveChatVerificationResponse, error)

	// RemoveUserVerificationWithBodyWithResponse request with any body
	RemoveUserVerificationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveUserVerificationResponse, error)

	RemoveUserVerificationWithResponse(ctx context.Context, body RemoveUserVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveUserVerificationResponse, error)

	// ReopenForumTopicWithBodyWithResponse request with any body
	ReopenForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReopenForumTopicResponse, error)

	ReopenForumTopicWithResponse(ctx context.Context, body ReopenForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*ReopenForumTopicResponse, error)

	// ReopenGeneralForumTopicWithBodyWithResponse request with any body
	ReopenGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReopenGeneralForumTopicResponse, error)

	ReopenGeneralForumTopicWithResponse(ctx context.Context, body ReopenGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*ReopenGeneralForumTopicResponse, error)

	// ReplaceStickerInSetWithBodyWithResponse request with any body
	ReplaceStickerInSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceStickerInSetResponse, error)

	ReplaceStickerInSetWithResponse(ctx context.Context, body ReplaceStickerInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceStickerInSetResponse, error)

	// RestrictChatMemberWithBodyWithResponse request with any body
	RestrictChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestrictChatMemberResponse, error)

	RestrictChatMemberWithResponse(ctx context.Context, body RestrictChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*RestrictChatMemberResponse, error)

	// RevokeChatInviteLinkWithBodyWithResponse request with any body
	RevokeChatInviteLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeChatInviteLinkResponse, error)

	RevokeChatInviteLinkWithResponse(ctx context.Context, body RevokeChatInviteLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeChatInviteLinkResponse, error)

	// SavePreparedInlineMessageWithBodyWithResponse request with any body
	SavePreparedInlineMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SavePreparedInlineMessageResponse, error)

	SavePreparedInlineMessageWithResponse(ctx context.Context, body SavePreparedInlineMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SavePreparedInlineMessageResponse, error)

	// SendAnimationWithBodyWithResponse request with any body
	SendAnimationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendAnimationResponse, error)

	SendAnimationWithResponse(ctx context.Context, body SendAnimationJSONRequestBody, reqEditors ...RequestEditorFn) (*SendAnimationResponse, error)

	// SendAudioWithBodyWithResponse request with any body
	SendAudioWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendAudioResponse, error)

	SendAudioWithResponse(ctx context.Context, body SendAudioJSONRequestBody, reqEditors ...RequestEditorFn) (*SendAudioResponse, error)

	// SendChatActionWithBodyWithResponse request with any body
	SendChatActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendChatActionResponse, error)

	SendChatActionWithResponse(ctx context.Context, body SendChatActionJSONRequestBody, reqEditors ...RequestEditorFn) (*SendChatActionResponse, error)

	// SendChecklistWithBodyWithResponse request with any body
	SendChecklistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendChecklistResponse, error)

	SendChecklistWithResponse(ctx context.Context, body SendChecklistJSONRequestBody, reqEditors ...RequestEditorFn) (*SendChecklistResponse, error)

	// SendContactWithBodyWithResponse request with any body
	SendContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendContactResponse, error)

	SendContactWithResponse(ctx context.Context, body SendContactJSONRequestBody, reqEditors ...RequestEditorFn) (*SendContactResponse, error)

	// SendDiceWithBodyWithResponse request with any body
	SendDiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDiceResponse, error)

	SendDiceWithResponse(ctx context.Context, body SendDiceJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDiceResponse, error)

	// SendDocumentWithBodyWithResponse request with any body
	SendDocumentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendDocumentResponse, error)

	SendDocumentWithResponse(ctx context.Context, body SendDocumentJSONRequestBody, reqEditors ...RequestEditorFn) (*SendDocumentResponse, error)

	// SendGameWithBodyWithResponse request with any body
	SendGameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendGameResponse, error)

	SendGameWithResponse(ctx context.Context, body SendGameJSONRequestBody, reqEditors ...RequestEditorFn) (*SendGameResponse, error)

	// SendGiftWithBodyWithResponse request with any body
	SendGiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendGiftResponse, error)

	SendGiftWithResponse(ctx context.Context, body SendGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*SendGiftResponse, error)

	// SendInvoiceWithBodyWithResponse request with any body
	SendInvoiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendInvoiceResponse, error)

	SendInvoiceWithResponse(ctx context.Context, body SendInvoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*SendInvoiceResponse, error)

	// SendLocationWithBodyWithResponse request with any body
	SendLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendLocationResponse, error)

	SendLocationWithResponse(ctx context.Context, body SendLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*SendLocationResponse, error)

	// SendMediaGroupWithBodyWithResponse request with any body
	SendMediaGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMediaGroupResponse, error)

	SendMediaGroupWithResponse(ctx context.Context, body SendMediaGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMediaGroupResponse, error)

	// SendMessageWithBodyWithResponse request with any body
	SendMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)

	SendMessageWithResponse(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)

	// SendPaidMediaWithBodyWithResponse request with any body
	SendPaidMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPaidMediaResponse, error)

	SendPaidMediaWithResponse(ctx context.Context, body SendPaidMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPaidMediaResponse, error)

	// SendPhotoWithBodyWithResponse request with any body
	SendPhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPhotoResponse, error)

	SendPhotoWithResponse(ctx context.Context, body SendPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPhotoResponse, error)

	// SendPollWithBodyWithResponse request with any body
	SendPollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPollResponse, error)

	SendPollWithResponse(ctx context.Context, body SendPollJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPollResponse, error)

	// SendStickerWithBodyWithResponse request with any body
	SendStickerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendStickerResponse, error)

	SendStickerWithResponse(ctx context.Context, body SendStickerJSONRequestBody, reqEditors ...RequestEditorFn) (*SendStickerResponse, error)

	// SendVenueWithBodyWithResponse request with any body
	SendVenueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVenueResponse, error)

	SendVenueWithResponse(ctx context.Context, body SendVenueJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVenueResponse, error)

	// SendVideoWithBodyWithResponse request with any body
	SendVideoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVideoResponse, error)

	SendVideoWithResponse(ctx context.Context, body SendVideoJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVideoResponse, error)

	// SendVideoNoteWithBodyWithResponse request with any body
	SendVideoNoteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVideoNoteResponse, error)

	SendVideoNoteWithResponse(ctx context.Context, body SendVideoNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVideoNoteResponse, error)

	// SendVoiceWithBodyWithResponse request with any body
	SendVoiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendVoiceResponse, error)

	SendVoiceWithResponse(ctx context.Context, body SendVoiceJSONRequestBody, reqEditors ...RequestEditorFn) (*SendVoiceResponse, error)

	// SetBusinessAccountBioWithBodyWithResponse request with any body
	SetBusinessAccountBioWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountBioResponse, error)

	SetBusinessAccountBioWithResponse(ctx context.Context, body SetBusinessAccountBioJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountBioResponse, error)

	// SetBusinessAccountGiftSettingsWithBodyWithResponse request with any body
	SetBusinessAccountGiftSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountGiftSettingsResponse, error)

	SetBusinessAccountGiftSettingsWithResponse(ctx context.Context, body SetBusinessAccountGiftSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountGiftSettingsResponse, error)

	// SetBusinessAccountNameWithBodyWithResponse request with any body
	SetBusinessAccountNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountNameResponse, error)

	SetBusinessAccountNameWithResponse(ctx context.Context, body SetBusinessAccountNameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountNameResponse, error)

	// SetBusinessAccountProfilePhotoWithBodyWithResponse request with any body
	SetBusinessAccountProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountProfilePhotoResponse, error)

	SetBusinessAccountProfilePhotoWithResponse(ctx context.Context, body SetBusinessAccountProfilePhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountProfilePhotoResponse, error)

	// SetBusinessAccountUsernameWithBodyWithResponse request with any body
	SetBusinessAccountUsernameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBusinessAccountUsernameResponse, error)

	SetBusinessAccountUsernameWithResponse(ctx context.Context, body SetBusinessAccountUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBusinessAccountUsernameResponse, error)

	// SetChatAdministratorCustomTitleWithBodyWithResponse request with any body
	SetChatAdministratorCustomTitleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatAdministratorCustomTitleResponse, error)

	SetChatAdministratorCustomTitleWithResponse(ctx context.Context, body SetChatAdministratorCustomTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatAdministratorCustomTitleResponse, error)

	// SetChatDescriptionWithBodyWithResponse request with any body
	SetChatDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatDescriptionResponse, error)

	SetChatDescriptionWithResponse(ctx context.Context, body SetChatDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatDescriptionResponse, error)

	// SetChatMenuButtonWithBodyWithResponse request with any body
	SetChatMenuButtonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatMenuButtonResponse, error)

	SetChatMenuButtonWithResponse(ctx context.Context, body SetChatMenuButtonJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatMenuButtonResponse, error)

	// SetChatPermissionsWithBodyWithResponse request with any body
	SetChatPermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatPermissionsResponse, error)

	SetChatPermissionsWithResponse(ctx context.Context, body SetChatPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatPermissionsResponse, error)

	// SetChatPhotoWithBodyWithResponse request with any body
	SetChatPhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatPhotoResponse, error)

	SetChatPhotoWithResponse(ctx context.Context, body SetChatPhotoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatPhotoResponse, error)

	// SetChatStickerSetWithBodyWithResponse request with any body
	SetChatStickerSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatStickerSetResponse, error)

	SetChatStickerSetWithResponse(ctx context.Context, body SetChatStickerSetJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatStickerSetResponse, error)

	// SetChatTitleWithBodyWithResponse request with any body
	SetChatTitleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetChatTitleResponse, error)

	SetChatTitleWithResponse(ctx context.Context, body SetChatTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetChatTitleResponse, error)

	// SetCustomEmojiStickerSetThumbnailWithBodyWithResponse request with any body
	SetCustomEmojiStickerSetThumbnailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCustomEmojiStickerSetThumbnailResponse, error)

	SetCustomEmojiStickerSetThumbnailWithResponse(ctx context.Context, body SetCustomEmojiStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCustomEmojiStickerSetThumbnailResponse, error)

	// SetGameScoreWithBodyWithResponse request with any body
	SetGameScoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGameScoreResponse, error)

	SetGameScoreWithResponse(ctx context.Context, body SetGameScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGameScoreResponse, error)

	// SetMessageReactionWithBodyWithResponse request with any body
	SetMessageReactionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessageReactionResponse, error)

	SetMessageReactionWithResponse(ctx context.Context, body SetMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessageReactionResponse, error)

	// SetMyCommandsWithBodyWithResponse request with any body
	SetMyCommandsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyCommandsResponse, error)

	SetMyCommandsWithResponse(ctx context.Context, body SetMyCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyCommandsResponse, error)

	// SetMyDefaultAdministratorRightsWithBodyWithResponse request with any body
	SetMyDefaultAdministratorRightsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyDefaultAdministratorRightsResponse, error)

	SetMyDefaultAdministratorRightsWithResponse(ctx context.Context, body SetMyDefaultAdministratorRightsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyDefaultAdministratorRightsResponse, error)

	// SetMyDescriptionWithBodyWithResponse request with any body
	SetMyDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyDescriptionResponse, error)

	SetMyDescriptionWithResponse(ctx context.Context, body SetMyDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyDescriptionResponse, error)

	// SetMyNameWithBodyWithResponse request with any body
	SetMyNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyNameResponse, error)

	SetMyNameWithResponse(ctx context.Context, body SetMyNameJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyNameResponse, error)

	// SetMyShortDescriptionWithBodyWithResponse request with any body
	SetMyShortDescriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMyShortDescriptionResponse, error)

	SetMyShortDescriptionWithResponse(ctx context.Context, body SetMyShortDescriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMyShortDescriptionResponse, error)

	// SetPassportDataErrorsWithBodyWithResponse request with any body
	SetPassportDataErrorsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPassportDataErrorsResponse, error)

	SetPassportDataErrorsWithResponse(ctx context.Context, body SetPassportDataErrorsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPassportDataErrorsResponse, error)

	// SetStickerEmojiListWithBodyWithResponse request with any body
	SetStickerEmojiListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerEmojiListResponse, error)

	SetStickerEmojiListWithResponse(ctx context.Context, body SetStickerEmojiListJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerEmojiListResponse, error)

	// SetStickerKeywordsWithBodyWithResponse request with any body
	SetStickerKeywordsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerKeywordsResponse, error)

	SetStickerKeywordsWithResponse(ctx context.Context, body SetStickerKeywordsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerKeywordsResponse, error)

	// SetStickerMaskPositionWithBodyWithResponse request with any body
	SetStickerMaskPositionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerMaskPositionResponse, error)

	SetStickerMaskPositionWithResponse(ctx context.Context, body SetStickerMaskPositionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerMaskPositionResponse, error)

	// SetStickerPositionInSetWithBodyWithResponse request with any body
	SetStickerPositionInSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerPositionInSetResponse, error)

	SetStickerPositionInSetWithResponse(ctx context.Context, body SetStickerPositionInSetJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerPositionInSetResponse, error)

	// SetStickerSetThumbnailWithBodyWithResponse request with any body
	SetStickerSetThumbnailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerSetThumbnailResponse, error)

	SetStickerSetThumbnailWithResponse(ctx context.Context, body SetStickerSetThumbnailJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerSetThumbnailResponse, error)

	// SetStickerSetTitleWithBodyWithResponse request with any body
	SetStickerSetTitleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStickerSetTitleResponse, error)

	SetStickerSetTitleWithResponse(ctx context.Context, body SetStickerSetTitleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStickerSetTitleResponse, error)

	// SetUserEmojiStatusWithBodyWithResponse request with any body
	SetUserEmojiStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUserEmojiStatusResponse, error)

	SetUserEmojiStatusWithResponse(ctx context.Context, body SetUserEmojiStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUserEmojiStatusResponse, error)

	// SetWebhookWithBodyWithResponse request with any body
	SetWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetWebhookResponse, error)

	SetWebhookWithResponse(ctx context.Context, body SetWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*SetWebhookResponse, error)

	// StopMessageLiveLocationWithBodyWithResponse request with any body
	StopMessageLiveLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopMessageLiveLocationResponse, error)

	StopMessageLiveLocationWithResponse(ctx context.Context, body StopMessageLiveLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*StopMessageLiveLocationResponse, error)

	// StopPollWithBodyWithResponse request with any body
	StopPollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopPollResponse, error)

	StopPollWithResponse(ctx context.Context, body StopPollJSONRequestBody, reqEditors ...RequestEditorFn) (*StopPollResponse, error)

	// TransferBusinessAccountStarsWithBodyWithResponse request with any body
	TransferBusinessAccountStarsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferBusinessAccountStarsResponse, error)

	TransferBusinessAccountStarsWithResponse(ctx context.Context, body TransferBusinessAccountStarsJSONRequestBody, reqEditors ...RequestEditorFn) (*TransferBusinessAccountStarsResponse, error)

	// TransferGiftWithBodyWithResponse request with any body
	TransferGiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferGiftResponse, error)

	TransferGiftWithResponse(ctx context.Context, body TransferGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*TransferGiftResponse, error)

	// UnbanChatMemberWithBodyWithResponse request with any body
	UnbanChatMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbanChatMemberResponse, error)

	UnbanChatMemberWithResponse(ctx context.Context, body UnbanChatMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbanChatMemberResponse, error)

	// UnbanChatSenderChatWithBodyWithResponse request with any body
	UnbanChatSenderChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnbanChatSenderChatResponse, error)

	UnbanChatSenderChatWithResponse(ctx context.Context, body UnbanChatSenderChatJSONRequestBody, reqEditors ...RequestEditorFn) (*UnbanChatSenderChatResponse, error)

	// UnhideGeneralForumTopicWithBodyWithResponse request with any body
	UnhideGeneralForumTopicWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnhideGeneralForumTopicResponse, error)

	UnhideGeneralForumTopicWithResponse(ctx context.Context, body UnhideGeneralForumTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*UnhideGeneralForumTopicResponse, error)

	// UnpinAllChatMessagesWithBodyWithResponse request with any body
	UnpinAllChatMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinAllChatMessagesResponse, error)

	UnpinAllChatMessagesWithResponse(ctx context.Context, body UnpinAllChatMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinAllChatMessagesResponse, error)

	// UnpinAllForumTopicMessagesWithBodyWithResponse request with any body
	UnpinAllForumTopicMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinAllForumTopicMessagesResponse, error)

	UnpinAllForumTopicMessagesWithResponse(ctx context.Context, body UnpinAllForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinAllForumTopicMessagesResponse, error)

	// UnpinAllGeneralForumTopicMessagesWithBodyWithResponse request with any body
	UnpinAllGeneralForumTopicMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinAllGeneralForumTopicMessagesResponse, error)

	UnpinAllGeneralForumTopicMessagesWithResponse(ctx context.Context, body UnpinAllGeneralForumTopicMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinAllGeneralForumTopicMessagesResponse, error)

	// UnpinChatMessageWithBodyWithResponse request with any body
	UnpinChatMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpinChatMessageResponse, error)

	UnpinChatMessageWithResponse(ctx context.Context, body UnpinChatMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpinChatMessageResponse, error)

	// UpgradeGiftWithBodyWithResponse request with any body
	UpgradeGiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeGiftResponse, error)

	UpgradeGiftWithResponse(ctx context.Context, body UpgradeGiftJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeGiftResponse, error)

	// UploadStickerFileWithBodyWithResponse request with any body
	UploadStickerFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadStickerFileResponse, error)

	UploadStickerFileWithResponse(ctx context.Context, body UploadStickerFileJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadStickerFileResponse, error)

	// VerifyChatWithBodyWithResponse request with any body
	VerifyChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyChatResponse, error)

	VerifyChatWithResponse(ctx context.Context, body VerifyChatJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyChatResponse, error)

	// VerifyUserWithBodyWithResponse request with any body
	VerifyUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserResponse, error)

	VerifyUserWithResponse(ctx context.Context, body VerifyUserJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Close200Ok

type Close200Ok bool

type CloseForumTopic200Ok

type CloseForumTopic200Ok bool

type CloseForumTopicJSONBody

type CloseForumTopicJSONBody = map[string]interface{}

CloseForumTopicJSONBody defines parameters for CloseForumTopic.

type CloseForumTopicJSONRequestBody

type CloseForumTopicJSONRequestBody = CloseForumTopicJSONBody

CloseForumTopicJSONRequestBody defines body for CloseForumTopic for application/json ContentType.

type CloseForumTopicResponse

type CloseForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     CloseForumTopic200Ok `json:"ok"`
		Result bool                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCloseForumTopicResponse

func ParseCloseForumTopicResponse(rsp *http.Response) (*CloseForumTopicResponse, error)

ParseCloseForumTopicResponse parses an HTTP response from a CloseForumTopicWithResponse call

func (CloseForumTopicResponse) Status

func (r CloseForumTopicResponse) Status() string

Status returns HTTPResponse.Status

func (CloseForumTopicResponse) StatusCode

func (r CloseForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CloseGeneralForumTopic200Ok

type CloseGeneralForumTopic200Ok bool

type CloseGeneralForumTopicJSONBody

type CloseGeneralForumTopicJSONBody = map[string]interface{}

CloseGeneralForumTopicJSONBody defines parameters for CloseGeneralForumTopic.

type CloseGeneralForumTopicJSONRequestBody

type CloseGeneralForumTopicJSONRequestBody = CloseGeneralForumTopicJSONBody

CloseGeneralForumTopicJSONRequestBody defines body for CloseGeneralForumTopic for application/json ContentType.

type CloseGeneralForumTopicResponse

type CloseGeneralForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     CloseGeneralForumTopic200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCloseGeneralForumTopicResponse

func ParseCloseGeneralForumTopicResponse(rsp *http.Response) (*CloseGeneralForumTopicResponse, error)

ParseCloseGeneralForumTopicResponse parses an HTTP response from a CloseGeneralForumTopicWithResponse call

func (CloseGeneralForumTopicResponse) Status

Status returns HTTPResponse.Status

func (CloseGeneralForumTopicResponse) StatusCode

func (r CloseGeneralForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CloseJSONBody

type CloseJSONBody = map[string]interface{}

CloseJSONBody defines parameters for Close.

type CloseJSONRequestBody

type CloseJSONRequestBody = CloseJSONBody

CloseJSONRequestBody defines body for Close for application/json ContentType.

type CloseResponse

type CloseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     Close200Ok `json:"ok"`
		Result bool       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCloseResponse

func ParseCloseResponse(rsp *http.Response) (*CloseResponse, error)

ParseCloseResponse parses an HTTP response from a CloseWithResponse call

func (CloseResponse) Status

func (r CloseResponse) Status() string

Status returns HTTPResponse.Status

func (CloseResponse) StatusCode

func (r CloseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Contact

type Contact struct {
	FirstName   string  `json:"first_name"`
	LastName    *string `json:"last_name,omitempty"`
	PhoneNumber string  `json:"phone_number"`
	UserId      *int    `json:"user_id,omitempty"`
	Vcard       *string `json:"vcard,omitempty"`
}

Contact This object represents a phone contact.

type ConvertGiftToStars200Ok

type ConvertGiftToStars200Ok bool

type ConvertGiftToStarsJSONBody

type ConvertGiftToStarsJSONBody = map[string]interface{}

ConvertGiftToStarsJSONBody defines parameters for ConvertGiftToStars.

type ConvertGiftToStarsJSONRequestBody

type ConvertGiftToStarsJSONRequestBody = ConvertGiftToStarsJSONBody

ConvertGiftToStarsJSONRequestBody defines body for ConvertGiftToStars for application/json ContentType.

type ConvertGiftToStarsResponse

type ConvertGiftToStarsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ConvertGiftToStars200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseConvertGiftToStarsResponse

func ParseConvertGiftToStarsResponse(rsp *http.Response) (*ConvertGiftToStarsResponse, error)

ParseConvertGiftToStarsResponse parses an HTTP response from a ConvertGiftToStarsWithResponse call

func (ConvertGiftToStarsResponse) Status

Status returns HTTPResponse.Status

func (ConvertGiftToStarsResponse) StatusCode

func (r ConvertGiftToStarsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CopyMessage200Ok

type CopyMessage200Ok bool

type CopyMessageJSONBody

type CopyMessageJSONBody = map[string]interface{}

CopyMessageJSONBody defines parameters for CopyMessage.

type CopyMessageJSONRequestBody

type CopyMessageJSONRequestBody = CopyMessageJSONBody

CopyMessageJSONRequestBody defines body for CopyMessage for application/json ContentType.

type CopyMessageResponse

type CopyMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok CopyMessage200Ok `json:"ok"`

		// Result This object represents a unique message identifier.
		Result MessageId `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCopyMessageResponse

func ParseCopyMessageResponse(rsp *http.Response) (*CopyMessageResponse, error)

ParseCopyMessageResponse parses an HTTP response from a CopyMessageWithResponse call

func (CopyMessageResponse) Status

func (r CopyMessageResponse) Status() string

Status returns HTTPResponse.Status

func (CopyMessageResponse) StatusCode

func (r CopyMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CopyMessages200Ok

type CopyMessages200Ok bool

type CopyMessagesJSONBody

type CopyMessagesJSONBody = map[string]interface{}

CopyMessagesJSONBody defines parameters for CopyMessages.

type CopyMessagesJSONRequestBody

type CopyMessagesJSONRequestBody = CopyMessagesJSONBody

CopyMessagesJSONRequestBody defines body for CopyMessages for application/json ContentType.

type CopyMessagesResponse

type CopyMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     CopyMessages200Ok `json:"ok"`
		Result []MessageId       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCopyMessagesResponse

func ParseCopyMessagesResponse(rsp *http.Response) (*CopyMessagesResponse, error)

ParseCopyMessagesResponse parses an HTTP response from a CopyMessagesWithResponse call

func (CopyMessagesResponse) Status

func (r CopyMessagesResponse) Status() string

Status returns HTTPResponse.Status

func (CopyMessagesResponse) StatusCode

func (r CopyMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CopyTextButton

type CopyTextButton struct {
	Text string `json:"text"`
}

CopyTextButton This object represents an inline keyboard button that copies specified text to the clipboard.

type CreateChatInviteLink200Ok

type CreateChatInviteLink200Ok bool

type CreateChatInviteLinkJSONBody

type CreateChatInviteLinkJSONBody = map[string]interface{}

CreateChatInviteLinkJSONBody defines parameters for CreateChatInviteLink.

type CreateChatInviteLinkJSONRequestBody

type CreateChatInviteLinkJSONRequestBody = CreateChatInviteLinkJSONBody

CreateChatInviteLinkJSONRequestBody defines body for CreateChatInviteLink for application/json ContentType.

type CreateChatInviteLinkResponse

type CreateChatInviteLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok CreateChatInviteLink200Ok `json:"ok"`

		// Result Represents an invite link for a chat.
		Result ChatInviteLink `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCreateChatInviteLinkResponse

func ParseCreateChatInviteLinkResponse(rsp *http.Response) (*CreateChatInviteLinkResponse, error)

ParseCreateChatInviteLinkResponse parses an HTTP response from a CreateChatInviteLinkWithResponse call

func (CreateChatInviteLinkResponse) Status

Status returns HTTPResponse.Status

func (CreateChatInviteLinkResponse) StatusCode

func (r CreateChatInviteLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateChatSubscriptionInviteLink200Ok

type CreateChatSubscriptionInviteLink200Ok bool

type CreateChatSubscriptionInviteLinkJSONBody

type CreateChatSubscriptionInviteLinkJSONBody = map[string]interface{}

CreateChatSubscriptionInviteLinkJSONBody defines parameters for CreateChatSubscriptionInviteLink.

type CreateChatSubscriptionInviteLinkJSONRequestBody

type CreateChatSubscriptionInviteLinkJSONRequestBody = CreateChatSubscriptionInviteLinkJSONBody

CreateChatSubscriptionInviteLinkJSONRequestBody defines body for CreateChatSubscriptionInviteLink for application/json ContentType.

type CreateChatSubscriptionInviteLinkResponse

type CreateChatSubscriptionInviteLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok CreateChatSubscriptionInviteLink200Ok `json:"ok"`

		// Result Represents an invite link for a chat.
		Result ChatInviteLink `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCreateChatSubscriptionInviteLinkResponse

func ParseCreateChatSubscriptionInviteLinkResponse(rsp *http.Response) (*CreateChatSubscriptionInviteLinkResponse, error)

ParseCreateChatSubscriptionInviteLinkResponse parses an HTTP response from a CreateChatSubscriptionInviteLinkWithResponse call

func (CreateChatSubscriptionInviteLinkResponse) Status

Status returns HTTPResponse.Status

func (CreateChatSubscriptionInviteLinkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateForumTopic200Ok

type CreateForumTopic200Ok bool

type CreateForumTopicJSONBody

type CreateForumTopicJSONBody = map[string]interface{}

CreateForumTopicJSONBody defines parameters for CreateForumTopic.

type CreateForumTopicJSONRequestBody

type CreateForumTopicJSONRequestBody = CreateForumTopicJSONBody

CreateForumTopicJSONRequestBody defines body for CreateForumTopic for application/json ContentType.

type CreateForumTopicResponse

type CreateForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok CreateForumTopic200Ok `json:"ok"`

		// Result This object represents a forum topic.
		Result ForumTopic `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCreateForumTopicResponse

func ParseCreateForumTopicResponse(rsp *http.Response) (*CreateForumTopicResponse, error)

ParseCreateForumTopicResponse parses an HTTP response from a CreateForumTopicWithResponse call

func (CreateForumTopicResponse) Status

func (r CreateForumTopicResponse) Status() string

Status returns HTTPResponse.Status

func (CreateForumTopicResponse) StatusCode

func (r CreateForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInvoiceLink200Ok

type CreateInvoiceLink200Ok bool

type CreateInvoiceLinkJSONBody

type CreateInvoiceLinkJSONBody = map[string]interface{}

CreateInvoiceLinkJSONBody defines parameters for CreateInvoiceLink.

type CreateInvoiceLinkJSONRequestBody

type CreateInvoiceLinkJSONRequestBody = CreateInvoiceLinkJSONBody

CreateInvoiceLinkJSONRequestBody defines body for CreateInvoiceLink for application/json ContentType.

type CreateInvoiceLinkResponse

type CreateInvoiceLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     CreateInvoiceLink200Ok `json:"ok"`
		Result string                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCreateInvoiceLinkResponse

func ParseCreateInvoiceLinkResponse(rsp *http.Response) (*CreateInvoiceLinkResponse, error)

ParseCreateInvoiceLinkResponse parses an HTTP response from a CreateInvoiceLinkWithResponse call

func (CreateInvoiceLinkResponse) Status

func (r CreateInvoiceLinkResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInvoiceLinkResponse) StatusCode

func (r CreateInvoiceLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateNewStickerSet200Ok

type CreateNewStickerSet200Ok bool

type CreateNewStickerSetJSONBody

type CreateNewStickerSetJSONBody = map[string]interface{}

CreateNewStickerSetJSONBody defines parameters for CreateNewStickerSet.

type CreateNewStickerSetJSONRequestBody

type CreateNewStickerSetJSONRequestBody = CreateNewStickerSetJSONBody

CreateNewStickerSetJSONRequestBody defines body for CreateNewStickerSet for application/json ContentType.

type CreateNewStickerSetResponse

type CreateNewStickerSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     CreateNewStickerSet200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseCreateNewStickerSetResponse

func ParseCreateNewStickerSetResponse(rsp *http.Response) (*CreateNewStickerSetResponse, error)

ParseCreateNewStickerSetResponse parses an HTTP response from a CreateNewStickerSetWithResponse call

func (CreateNewStickerSetResponse) Status

Status returns HTTPResponse.Status

func (CreateNewStickerSetResponse) StatusCode

func (r CreateNewStickerSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeclineChatJoinRequest200Ok

type DeclineChatJoinRequest200Ok bool

type DeclineChatJoinRequestJSONBody

type DeclineChatJoinRequestJSONBody = map[string]interface{}

DeclineChatJoinRequestJSONBody defines parameters for DeclineChatJoinRequest.

type DeclineChatJoinRequestJSONRequestBody

type DeclineChatJoinRequestJSONRequestBody = DeclineChatJoinRequestJSONBody

DeclineChatJoinRequestJSONRequestBody defines body for DeclineChatJoinRequest for application/json ContentType.

type DeclineChatJoinRequestResponse

type DeclineChatJoinRequestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeclineChatJoinRequest200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeclineChatJoinRequestResponse

func ParseDeclineChatJoinRequestResponse(rsp *http.Response) (*DeclineChatJoinRequestResponse, error)

ParseDeclineChatJoinRequestResponse parses an HTTP response from a DeclineChatJoinRequestWithResponse call

func (DeclineChatJoinRequestResponse) Status

Status returns HTTPResponse.Status

func (DeclineChatJoinRequestResponse) StatusCode

func (r DeclineChatJoinRequestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeclineSuggestedPost200Ok

type DeclineSuggestedPost200Ok bool

type DeclineSuggestedPostJSONBody

type DeclineSuggestedPostJSONBody = map[string]interface{}

DeclineSuggestedPostJSONBody defines parameters for DeclineSuggestedPost.

type DeclineSuggestedPostJSONRequestBody

type DeclineSuggestedPostJSONRequestBody = DeclineSuggestedPostJSONBody

DeclineSuggestedPostJSONRequestBody defines body for DeclineSuggestedPost for application/json ContentType.

type DeclineSuggestedPostResponse

type DeclineSuggestedPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeclineSuggestedPost200Ok `json:"ok"`
		Result bool                      `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeclineSuggestedPostResponse

func ParseDeclineSuggestedPostResponse(rsp *http.Response) (*DeclineSuggestedPostResponse, error)

ParseDeclineSuggestedPostResponse parses an HTTP response from a DeclineSuggestedPostWithResponse call

func (DeclineSuggestedPostResponse) Status

Status returns HTTPResponse.Status

func (DeclineSuggestedPostResponse) StatusCode

func (r DeclineSuggestedPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBusinessMessages200Ok

type DeleteBusinessMessages200Ok bool

type DeleteBusinessMessagesJSONBody

type DeleteBusinessMessagesJSONBody = map[string]interface{}

DeleteBusinessMessagesJSONBody defines parameters for DeleteBusinessMessages.

type DeleteBusinessMessagesJSONRequestBody

type DeleteBusinessMessagesJSONRequestBody = DeleteBusinessMessagesJSONBody

DeleteBusinessMessagesJSONRequestBody defines body for DeleteBusinessMessages for application/json ContentType.

type DeleteBusinessMessagesResponse

type DeleteBusinessMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteBusinessMessages200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteBusinessMessagesResponse

func ParseDeleteBusinessMessagesResponse(rsp *http.Response) (*DeleteBusinessMessagesResponse, error)

ParseDeleteBusinessMessagesResponse parses an HTTP response from a DeleteBusinessMessagesWithResponse call

func (DeleteBusinessMessagesResponse) Status

Status returns HTTPResponse.Status

func (DeleteBusinessMessagesResponse) StatusCode

func (r DeleteBusinessMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteChatPhoto200Ok

type DeleteChatPhoto200Ok bool

type DeleteChatPhotoJSONBody

type DeleteChatPhotoJSONBody = map[string]interface{}

DeleteChatPhotoJSONBody defines parameters for DeleteChatPhoto.

type DeleteChatPhotoJSONRequestBody

type DeleteChatPhotoJSONRequestBody = DeleteChatPhotoJSONBody

DeleteChatPhotoJSONRequestBody defines body for DeleteChatPhoto for application/json ContentType.

type DeleteChatPhotoResponse

type DeleteChatPhotoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteChatPhoto200Ok `json:"ok"`
		Result bool                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteChatPhotoResponse

func ParseDeleteChatPhotoResponse(rsp *http.Response) (*DeleteChatPhotoResponse, error)

ParseDeleteChatPhotoResponse parses an HTTP response from a DeleteChatPhotoWithResponse call

func (DeleteChatPhotoResponse) Status

func (r DeleteChatPhotoResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteChatPhotoResponse) StatusCode

func (r DeleteChatPhotoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteChatStickerSet200Ok

type DeleteChatStickerSet200Ok bool

type DeleteChatStickerSetJSONBody

type DeleteChatStickerSetJSONBody = map[string]interface{}

DeleteChatStickerSetJSONBody defines parameters for DeleteChatStickerSet.

type DeleteChatStickerSetJSONRequestBody

type DeleteChatStickerSetJSONRequestBody = DeleteChatStickerSetJSONBody

DeleteChatStickerSetJSONRequestBody defines body for DeleteChatStickerSet for application/json ContentType.

type DeleteChatStickerSetResponse

type DeleteChatStickerSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteChatStickerSet200Ok `json:"ok"`
		Result bool                      `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteChatStickerSetResponse

func ParseDeleteChatStickerSetResponse(rsp *http.Response) (*DeleteChatStickerSetResponse, error)

ParseDeleteChatStickerSetResponse parses an HTTP response from a DeleteChatStickerSetWithResponse call

func (DeleteChatStickerSetResponse) Status

Status returns HTTPResponse.Status

func (DeleteChatStickerSetResponse) StatusCode

func (r DeleteChatStickerSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteForumTopic200Ok

type DeleteForumTopic200Ok bool

type DeleteForumTopicJSONBody

type DeleteForumTopicJSONBody = map[string]interface{}

DeleteForumTopicJSONBody defines parameters for DeleteForumTopic.

type DeleteForumTopicJSONRequestBody

type DeleteForumTopicJSONRequestBody = DeleteForumTopicJSONBody

DeleteForumTopicJSONRequestBody defines body for DeleteForumTopic for application/json ContentType.

type DeleteForumTopicResponse

type DeleteForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteForumTopic200Ok `json:"ok"`
		Result bool                  `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteForumTopicResponse

func ParseDeleteForumTopicResponse(rsp *http.Response) (*DeleteForumTopicResponse, error)

ParseDeleteForumTopicResponse parses an HTTP response from a DeleteForumTopicWithResponse call

func (DeleteForumTopicResponse) Status

func (r DeleteForumTopicResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteForumTopicResponse) StatusCode

func (r DeleteForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMessage200Ok

type DeleteMessage200Ok bool

type DeleteMessageJSONBody

type DeleteMessageJSONBody = map[string]interface{}

DeleteMessageJSONBody defines parameters for DeleteMessage.

type DeleteMessageJSONRequestBody

type DeleteMessageJSONRequestBody = DeleteMessageJSONBody

DeleteMessageJSONRequestBody defines body for DeleteMessage for application/json ContentType.

type DeleteMessageResponse

type DeleteMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteMessage200Ok `json:"ok"`
		Result bool               `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteMessageResponse

func ParseDeleteMessageResponse(rsp *http.Response) (*DeleteMessageResponse, error)

ParseDeleteMessageResponse parses an HTTP response from a DeleteMessageWithResponse call

func (DeleteMessageResponse) Status

func (r DeleteMessageResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMessageResponse) StatusCode

func (r DeleteMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMessages200Ok

type DeleteMessages200Ok bool

type DeleteMessagesJSONBody

type DeleteMessagesJSONBody = map[string]interface{}

DeleteMessagesJSONBody defines parameters for DeleteMessages.

type DeleteMessagesJSONRequestBody

type DeleteMessagesJSONRequestBody = DeleteMessagesJSONBody

DeleteMessagesJSONRequestBody defines body for DeleteMessages for application/json ContentType.

type DeleteMessagesResponse

type DeleteMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteMessages200Ok `json:"ok"`
		Result bool                `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteMessagesResponse

func ParseDeleteMessagesResponse(rsp *http.Response) (*DeleteMessagesResponse, error)

ParseDeleteMessagesResponse parses an HTTP response from a DeleteMessagesWithResponse call

func (DeleteMessagesResponse) Status

func (r DeleteMessagesResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMessagesResponse) StatusCode

func (r DeleteMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMyCommands200Ok

type DeleteMyCommands200Ok bool

type DeleteMyCommandsJSONBody

type DeleteMyCommandsJSONBody = map[string]interface{}

DeleteMyCommandsJSONBody defines parameters for DeleteMyCommands.

type DeleteMyCommandsJSONRequestBody

type DeleteMyCommandsJSONRequestBody = DeleteMyCommandsJSONBody

DeleteMyCommandsJSONRequestBody defines body for DeleteMyCommands for application/json ContentType.

type DeleteMyCommandsResponse

type DeleteMyCommandsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteMyCommands200Ok `json:"ok"`
		Result bool                  `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteMyCommandsResponse

func ParseDeleteMyCommandsResponse(rsp *http.Response) (*DeleteMyCommandsResponse, error)

ParseDeleteMyCommandsResponse parses an HTTP response from a DeleteMyCommandsWithResponse call

func (DeleteMyCommandsResponse) Status

func (r DeleteMyCommandsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMyCommandsResponse) StatusCode

func (r DeleteMyCommandsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteStickerFromSet200Ok

type DeleteStickerFromSet200Ok bool

type DeleteStickerFromSetJSONBody

type DeleteStickerFromSetJSONBody = map[string]interface{}

DeleteStickerFromSetJSONBody defines parameters for DeleteStickerFromSet.

type DeleteStickerFromSetJSONRequestBody

type DeleteStickerFromSetJSONRequestBody = DeleteStickerFromSetJSONBody

DeleteStickerFromSetJSONRequestBody defines body for DeleteStickerFromSet for application/json ContentType.

type DeleteStickerFromSetResponse

type DeleteStickerFromSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteStickerFromSet200Ok `json:"ok"`
		Result bool                      `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteStickerFromSetResponse

func ParseDeleteStickerFromSetResponse(rsp *http.Response) (*DeleteStickerFromSetResponse, error)

ParseDeleteStickerFromSetResponse parses an HTTP response from a DeleteStickerFromSetWithResponse call

func (DeleteStickerFromSetResponse) Status

Status returns HTTPResponse.Status

func (DeleteStickerFromSetResponse) StatusCode

func (r DeleteStickerFromSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteStickerSet200Ok

type DeleteStickerSet200Ok bool

type DeleteStickerSetJSONBody

type DeleteStickerSetJSONBody = map[string]interface{}

DeleteStickerSetJSONBody defines parameters for DeleteStickerSet.

type DeleteStickerSetJSONRequestBody

type DeleteStickerSetJSONRequestBody = DeleteStickerSetJSONBody

DeleteStickerSetJSONRequestBody defines body for DeleteStickerSet for application/json ContentType.

type DeleteStickerSetResponse

type DeleteStickerSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteStickerSet200Ok `json:"ok"`
		Result bool                  `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteStickerSetResponse

func ParseDeleteStickerSetResponse(rsp *http.Response) (*DeleteStickerSetResponse, error)

ParseDeleteStickerSetResponse parses an HTTP response from a DeleteStickerSetWithResponse call

func (DeleteStickerSetResponse) Status

func (r DeleteStickerSetResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteStickerSetResponse) StatusCode

func (r DeleteStickerSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteStory200Ok

type DeleteStory200Ok bool

type DeleteStoryJSONBody

type DeleteStoryJSONBody = map[string]interface{}

DeleteStoryJSONBody defines parameters for DeleteStory.

type DeleteStoryJSONRequestBody

type DeleteStoryJSONRequestBody = DeleteStoryJSONBody

DeleteStoryJSONRequestBody defines body for DeleteStory for application/json ContentType.

type DeleteStoryResponse

type DeleteStoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteStory200Ok `json:"ok"`
		Result bool             `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteStoryResponse

func ParseDeleteStoryResponse(rsp *http.Response) (*DeleteStoryResponse, error)

ParseDeleteStoryResponse parses an HTTP response from a DeleteStoryWithResponse call

func (DeleteStoryResponse) Status

func (r DeleteStoryResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteStoryResponse) StatusCode

func (r DeleteStoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhook200Ok

type DeleteWebhook200Ok bool

type DeleteWebhookJSONBody

type DeleteWebhookJSONBody = map[string]interface{}

DeleteWebhookJSONBody defines parameters for DeleteWebhook.

type DeleteWebhookJSONRequestBody

type DeleteWebhookJSONRequestBody = DeleteWebhookJSONBody

DeleteWebhookJSONRequestBody defines body for DeleteWebhook for application/json ContentType.

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     DeleteWebhook200Ok `json:"ok"`
		Result bool               `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Dice

type Dice struct {
	Emoji string `json:"emoji"`
	Value int    `json:"value"`
}

Dice This object represents an animated emoji that displays a random value.

type DirectMessagePriceChanged

type DirectMessagePriceChanged struct {
	AreDirectMessagesEnabled bool `json:"are_direct_messages_enabled"`
	DirectMessageStarCount   *int `json:"direct_message_star_count,omitempty"`
}

DirectMessagePriceChanged Describes a service message about a change in the price of direct messages sent to a channel chat.

type DirectMessagesTopic

type DirectMessagesTopic struct {
	TopicId int `json:"topic_id"`

	// User This object represents a Telegram user or bot.
	User *User `json:"user,omitempty"`
}

DirectMessagesTopic Describes a topic of a direct messages chat.

type Document

type Document struct {
	FileId       string  `json:"file_id"`
	FileName     *string `json:"file_name,omitempty"`
	FileSize     *int    `json:"file_size,omitempty"`
	FileUniqueId string  `json:"file_unique_id"`
	MimeType     *string `json:"mime_type,omitempty"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
}

Document This object represents a general file (as opposed to photos, voice messages and audio files).

type EditChatInviteLink200Ok

type EditChatInviteLink200Ok bool

type EditChatInviteLinkJSONBody

type EditChatInviteLinkJSONBody = map[string]interface{}

EditChatInviteLinkJSONBody defines parameters for EditChatInviteLink.

type EditChatInviteLinkJSONRequestBody

type EditChatInviteLinkJSONRequestBody = EditChatInviteLinkJSONBody

EditChatInviteLinkJSONRequestBody defines body for EditChatInviteLink for application/json ContentType.

type EditChatInviteLinkResponse

type EditChatInviteLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok EditChatInviteLink200Ok `json:"ok"`

		// Result Represents an invite link for a chat.
		Result ChatInviteLink `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditChatInviteLinkResponse

func ParseEditChatInviteLinkResponse(rsp *http.Response) (*EditChatInviteLinkResponse, error)

ParseEditChatInviteLinkResponse parses an HTTP response from a EditChatInviteLinkWithResponse call

func (EditChatInviteLinkResponse) Status

Status returns HTTPResponse.Status

func (EditChatInviteLinkResponse) StatusCode

func (r EditChatInviteLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditChatSubscriptionInviteLink200Ok

type EditChatSubscriptionInviteLink200Ok bool

type EditChatSubscriptionInviteLinkJSONBody

type EditChatSubscriptionInviteLinkJSONBody = map[string]interface{}

EditChatSubscriptionInviteLinkJSONBody defines parameters for EditChatSubscriptionInviteLink.

type EditChatSubscriptionInviteLinkJSONRequestBody

type EditChatSubscriptionInviteLinkJSONRequestBody = EditChatSubscriptionInviteLinkJSONBody

EditChatSubscriptionInviteLinkJSONRequestBody defines body for EditChatSubscriptionInviteLink for application/json ContentType.

type EditChatSubscriptionInviteLinkResponse

type EditChatSubscriptionInviteLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok EditChatSubscriptionInviteLink200Ok `json:"ok"`

		// Result Represents an invite link for a chat.
		Result ChatInviteLink `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditChatSubscriptionInviteLinkResponse

func ParseEditChatSubscriptionInviteLinkResponse(rsp *http.Response) (*EditChatSubscriptionInviteLinkResponse, error)

ParseEditChatSubscriptionInviteLinkResponse parses an HTTP response from a EditChatSubscriptionInviteLinkWithResponse call

func (EditChatSubscriptionInviteLinkResponse) Status

Status returns HTTPResponse.Status

func (EditChatSubscriptionInviteLinkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EditForumTopic200Ok

type EditForumTopic200Ok bool

type EditForumTopicJSONBody

type EditForumTopicJSONBody = map[string]interface{}

EditForumTopicJSONBody defines parameters for EditForumTopic.

type EditForumTopicJSONRequestBody

type EditForumTopicJSONRequestBody = EditForumTopicJSONBody

EditForumTopicJSONRequestBody defines body for EditForumTopic for application/json ContentType.

type EditForumTopicResponse

type EditForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditForumTopic200Ok `json:"ok"`
		Result bool                `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditForumTopicResponse

func ParseEditForumTopicResponse(rsp *http.Response) (*EditForumTopicResponse, error)

ParseEditForumTopicResponse parses an HTTP response from a EditForumTopicWithResponse call

func (EditForumTopicResponse) Status

func (r EditForumTopicResponse) Status() string

Status returns HTTPResponse.Status

func (EditForumTopicResponse) StatusCode

func (r EditForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditGeneralForumTopic200Ok

type EditGeneralForumTopic200Ok bool

type EditGeneralForumTopicJSONBody

type EditGeneralForumTopicJSONBody = map[string]interface{}

EditGeneralForumTopicJSONBody defines parameters for EditGeneralForumTopic.

type EditGeneralForumTopicJSONRequestBody

type EditGeneralForumTopicJSONRequestBody = EditGeneralForumTopicJSONBody

EditGeneralForumTopicJSONRequestBody defines body for EditGeneralForumTopic for application/json ContentType.

type EditGeneralForumTopicResponse

type EditGeneralForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditGeneralForumTopic200Ok `json:"ok"`
		Result bool                       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditGeneralForumTopicResponse

func ParseEditGeneralForumTopicResponse(rsp *http.Response) (*EditGeneralForumTopicResponse, error)

ParseEditGeneralForumTopicResponse parses an HTTP response from a EditGeneralForumTopicWithResponse call

func (EditGeneralForumTopicResponse) Status

Status returns HTTPResponse.Status

func (EditGeneralForumTopicResponse) StatusCode

func (r EditGeneralForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageCaption200Ok

type EditMessageCaption200Ok bool

type EditMessageCaption200Result1

type EditMessageCaption200Result1 = bool

type EditMessageCaptionJSONBody

type EditMessageCaptionJSONBody = map[string]interface{}

EditMessageCaptionJSONBody defines parameters for EditMessageCaption.

type EditMessageCaptionJSONRequestBody

type EditMessageCaptionJSONRequestBody = EditMessageCaptionJSONBody

EditMessageCaptionJSONRequestBody defines body for EditMessageCaption for application/json ContentType.

type EditMessageCaptionResponse

type EditMessageCaptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditMessageCaption200Ok       `json:"ok"`
		Result EditMessageCaption_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditMessageCaptionResponse

func ParseEditMessageCaptionResponse(rsp *http.Response) (*EditMessageCaptionResponse, error)

ParseEditMessageCaptionResponse parses an HTTP response from a EditMessageCaptionWithResponse call

func (EditMessageCaptionResponse) Status

Status returns HTTPResponse.Status

func (EditMessageCaptionResponse) StatusCode

func (r EditMessageCaptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageCaption_200_Result

type EditMessageCaption_200_Result struct {
	// contains filtered or unexported fields
}

type EditMessageChecklist200Ok

type EditMessageChecklist200Ok bool

type EditMessageChecklistJSONBody

type EditMessageChecklistJSONBody = map[string]interface{}

EditMessageChecklistJSONBody defines parameters for EditMessageChecklist.

type EditMessageChecklistJSONRequestBody

type EditMessageChecklistJSONRequestBody = EditMessageChecklistJSONBody

EditMessageChecklistJSONRequestBody defines body for EditMessageChecklist for application/json ContentType.

type EditMessageChecklistResponse

type EditMessageChecklistResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok EditMessageChecklist200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditMessageChecklistResponse

func ParseEditMessageChecklistResponse(rsp *http.Response) (*EditMessageChecklistResponse, error)

ParseEditMessageChecklistResponse parses an HTTP response from a EditMessageChecklistWithResponse call

func (EditMessageChecklistResponse) Status

Status returns HTTPResponse.Status

func (EditMessageChecklistResponse) StatusCode

func (r EditMessageChecklistResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageLiveLocation200Ok

type EditMessageLiveLocation200Ok bool

type EditMessageLiveLocation200Result1

type EditMessageLiveLocation200Result1 = bool

type EditMessageLiveLocationJSONBody

type EditMessageLiveLocationJSONBody = map[string]interface{}

EditMessageLiveLocationJSONBody defines parameters for EditMessageLiveLocation.

type EditMessageLiveLocationJSONRequestBody

type EditMessageLiveLocationJSONRequestBody = EditMessageLiveLocationJSONBody

EditMessageLiveLocationJSONRequestBody defines body for EditMessageLiveLocation for application/json ContentType.

type EditMessageLiveLocationResponse

type EditMessageLiveLocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditMessageLiveLocation200Ok       `json:"ok"`
		Result EditMessageLiveLocation_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditMessageLiveLocationResponse

func ParseEditMessageLiveLocationResponse(rsp *http.Response) (*EditMessageLiveLocationResponse, error)

ParseEditMessageLiveLocationResponse parses an HTTP response from a EditMessageLiveLocationWithResponse call

func (EditMessageLiveLocationResponse) Status

Status returns HTTPResponse.Status

func (EditMessageLiveLocationResponse) StatusCode

func (r EditMessageLiveLocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageLiveLocation_200_Result

type EditMessageLiveLocation_200_Result struct {
	// contains filtered or unexported fields
}

type EditMessageMedia200Ok

type EditMessageMedia200Ok bool

type EditMessageMedia200Result1

type EditMessageMedia200Result1 = bool

type EditMessageMediaJSONBody

type EditMessageMediaJSONBody = map[string]interface{}

EditMessageMediaJSONBody defines parameters for EditMessageMedia.

type EditMessageMediaJSONRequestBody

type EditMessageMediaJSONRequestBody = EditMessageMediaJSONBody

EditMessageMediaJSONRequestBody defines body for EditMessageMedia for application/json ContentType.

type EditMessageMediaResponse

type EditMessageMediaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditMessageMedia200Ok       `json:"ok"`
		Result EditMessageMedia_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditMessageMediaResponse

func ParseEditMessageMediaResponse(rsp *http.Response) (*EditMessageMediaResponse, error)

ParseEditMessageMediaResponse parses an HTTP response from a EditMessageMediaWithResponse call

func (EditMessageMediaResponse) Status

func (r EditMessageMediaResponse) Status() string

Status returns HTTPResponse.Status

func (EditMessageMediaResponse) StatusCode

func (r EditMessageMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageMedia_200_Result

type EditMessageMedia_200_Result struct {
	// contains filtered or unexported fields
}

type EditMessageReplyMarkup200Ok

type EditMessageReplyMarkup200Ok bool

type EditMessageReplyMarkup200Result1

type EditMessageReplyMarkup200Result1 = bool

type EditMessageReplyMarkupJSONBody

type EditMessageReplyMarkupJSONBody = map[string]interface{}

EditMessageReplyMarkupJSONBody defines parameters for EditMessageReplyMarkup.

type EditMessageReplyMarkupJSONRequestBody

type EditMessageReplyMarkupJSONRequestBody = EditMessageReplyMarkupJSONBody

EditMessageReplyMarkupJSONRequestBody defines body for EditMessageReplyMarkup for application/json ContentType.

type EditMessageReplyMarkupResponse

type EditMessageReplyMarkupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditMessageReplyMarkup200Ok       `json:"ok"`
		Result EditMessageReplyMarkup_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditMessageReplyMarkupResponse

func ParseEditMessageReplyMarkupResponse(rsp *http.Response) (*EditMessageReplyMarkupResponse, error)

ParseEditMessageReplyMarkupResponse parses an HTTP response from a EditMessageReplyMarkupWithResponse call

func (EditMessageReplyMarkupResponse) Status

Status returns HTTPResponse.Status

func (EditMessageReplyMarkupResponse) StatusCode

func (r EditMessageReplyMarkupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageReplyMarkup_200_Result

type EditMessageReplyMarkup_200_Result struct {
	// contains filtered or unexported fields
}

type EditMessageText200Ok

type EditMessageText200Ok bool

type EditMessageText200Result1

type EditMessageText200Result1 = bool

type EditMessageTextJSONBody

type EditMessageTextJSONBody = map[string]interface{}

EditMessageTextJSONBody defines parameters for EditMessageText.

type EditMessageTextJSONRequestBody

type EditMessageTextJSONRequestBody = EditMessageTextJSONBody

EditMessageTextJSONRequestBody defines body for EditMessageText for application/json ContentType.

type EditMessageTextResponse

type EditMessageTextResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditMessageText200Ok       `json:"ok"`
		Result EditMessageText_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditMessageTextResponse

func ParseEditMessageTextResponse(rsp *http.Response) (*EditMessageTextResponse, error)

ParseEditMessageTextResponse parses an HTTP response from a EditMessageTextWithResponse call

func (EditMessageTextResponse) Status

func (r EditMessageTextResponse) Status() string

Status returns HTTPResponse.Status

func (EditMessageTextResponse) StatusCode

func (r EditMessageTextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditMessageText_200_Result

type EditMessageText_200_Result struct {
	// contains filtered or unexported fields
}

type EditStory200Ok

type EditStory200Ok bool

type EditStoryJSONBody

type EditStoryJSONBody = map[string]interface{}

EditStoryJSONBody defines parameters for EditStory.

type EditStoryJSONRequestBody

type EditStoryJSONRequestBody = EditStoryJSONBody

EditStoryJSONRequestBody defines body for EditStory for application/json ContentType.

type EditStoryResponse

type EditStoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok EditStory200Ok `json:"ok"`

		// Result This object represents a story.
		Result Story `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditStoryResponse

func ParseEditStoryResponse(rsp *http.Response) (*EditStoryResponse, error)

ParseEditStoryResponse parses an HTTP response from a EditStoryWithResponse call

func (EditStoryResponse) Status

func (r EditStoryResponse) Status() string

Status returns HTTPResponse.Status

func (EditStoryResponse) StatusCode

func (r EditStoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditUserStarSubscription200Ok

type EditUserStarSubscription200Ok bool

type EditUserStarSubscriptionJSONBody

type EditUserStarSubscriptionJSONBody = map[string]interface{}

EditUserStarSubscriptionJSONBody defines parameters for EditUserStarSubscription.

type EditUserStarSubscriptionJSONRequestBody

type EditUserStarSubscriptionJSONRequestBody = EditUserStarSubscriptionJSONBody

EditUserStarSubscriptionJSONRequestBody defines body for EditUserStarSubscription for application/json ContentType.

type EditUserStarSubscriptionResponse

type EditUserStarSubscriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     EditUserStarSubscription200Ok `json:"ok"`
		Result bool                          `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseEditUserStarSubscriptionResponse

func ParseEditUserStarSubscriptionResponse(rsp *http.Response) (*EditUserStarSubscriptionResponse, error)

ParseEditUserStarSubscriptionResponse parses an HTTP response from a EditUserStarSubscriptionWithResponse call

func (EditUserStarSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (EditUserStarSubscriptionResponse) StatusCode

func (r EditUserStarSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EncryptedCredentials

type EncryptedCredentials struct {
	Data   string `json:"data"`
	Hash   string `json:"hash"`
	Secret string `json:"secret"`
}

EncryptedCredentials Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.

type EncryptedPassportElement

type EncryptedPassportElement struct {
	Data  *string         `json:"data,omitempty"`
	Email *string         `json:"email,omitempty"`
	Files *[]PassportFile `json:"files,omitempty"`

	// FrontSide This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.
	FrontSide   *PassportFile `json:"front_side,omitempty"`
	Hash        string        `json:"hash"`
	PhoneNumber *string       `json:"phone_number,omitempty"`

	// ReverseSide This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.
	ReverseSide *PassportFile `json:"reverse_side,omitempty"`

	// Selfie This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.
	Selfie      *PassportFile   `json:"selfie,omitempty"`
	Translation *[]PassportFile `json:"translation,omitempty"`
	Type        string          `json:"type"`
}

EncryptedPassportElement Describes documents or other Telegram Passport elements shared with the bot by the user.

type ErrorResponse

type ErrorResponse struct {
	Description string          `json:"description"`
	ErrorCode   int             `json:"error_code"`
	Ok          ErrorResponseOk `json:"ok"`

	// Parameters Describes why a request was unsuccessful.
	Parameters *ResponseParameters `json:"parameters,omitempty"`
}

ErrorResponse defines model for ErrorResponse.

type ErrorResponseOk

type ErrorResponseOk bool

ErrorResponseOk defines model for ErrorResponse.Ok.

const (
	False ErrorResponseOk = false
)

Defines values for ErrorResponseOk.

type ExportChatInviteLink200Ok

type ExportChatInviteLink200Ok bool

type ExportChatInviteLinkJSONBody

type ExportChatInviteLinkJSONBody = map[string]interface{}

ExportChatInviteLinkJSONBody defines parameters for ExportChatInviteLink.

type ExportChatInviteLinkJSONRequestBody

type ExportChatInviteLinkJSONRequestBody = ExportChatInviteLinkJSONBody

ExportChatInviteLinkJSONRequestBody defines body for ExportChatInviteLink for application/json ContentType.

type ExportChatInviteLinkResponse

type ExportChatInviteLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ExportChatInviteLink200Ok `json:"ok"`
		Result string                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseExportChatInviteLinkResponse

func ParseExportChatInviteLinkResponse(rsp *http.Response) (*ExportChatInviteLinkResponse, error)

ParseExportChatInviteLinkResponse parses an HTTP response from a ExportChatInviteLinkWithResponse call

func (ExportChatInviteLinkResponse) Status

Status returns HTTPResponse.Status

func (ExportChatInviteLinkResponse) StatusCode

func (r ExportChatInviteLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExternalReplyInfo

type ExternalReplyInfo struct {
	// Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
	Animation *Animation `json:"animation,omitempty"`

	// Audio This object represents an audio file to be treated as music by the Telegram clients.
	Audio *Audio `json:"audio,omitempty"`

	// Chat This object represents a chat.
	Chat *Chat `json:"chat,omitempty"`

	// Checklist Describes a checklist.
	Checklist *Checklist `json:"checklist,omitempty"`

	// Contact This object represents a phone contact.
	Contact *Contact `json:"contact,omitempty"`

	// Dice This object represents an animated emoji that displays a random value.
	Dice *Dice `json:"dice,omitempty"`

	// Document This object represents a general file (as opposed to photos, voice messages and audio files).
	Document *Document `json:"document,omitempty"`

	// Game This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
	Game *Game `json:"game,omitempty"`

	// Giveaway This object represents a message about a scheduled giveaway.
	Giveaway *Giveaway `json:"giveaway,omitempty"`

	// GiveawayWinners This object represents a message about the completion of a giveaway with public winners.
	GiveawayWinners *GiveawayWinners `json:"giveaway_winners,omitempty"`
	HasMediaSpoiler *bool            `json:"has_media_spoiler,omitempty"`

	// Invoice This object contains basic information about an invoice.
	Invoice *Invoice `json:"invoice,omitempty"`

	// LinkPreviewOptions Describes the options used for link preview generation.
	LinkPreviewOptions *LinkPreviewOptions `json:"link_preview_options,omitempty"`

	// Location This object represents a point on the map.
	Location  *Location `json:"location,omitempty"`
	MessageId *int      `json:"message_id,omitempty"`

	// Origin This object describes the origin of a message. It can be one of
	// MessageOriginUser
	// MessageOriginHiddenUser
	// MessageOriginChat
	// MessageOriginChannel
	Origin MessageOrigin `json:"origin"`

	// PaidMedia Describes the paid media added to a message.
	PaidMedia *PaidMediaInfo `json:"paid_media,omitempty"`
	Photo     *[]PhotoSize   `json:"photo,omitempty"`

	// Poll This object contains information about a poll.
	Poll *Poll `json:"poll,omitempty"`

	// Sticker This object represents a sticker.
	Sticker *Sticker `json:"sticker,omitempty"`

	// Story This object represents a story.
	Story *Story `json:"story,omitempty"`

	// Venue This object represents a venue.
	Venue *Venue `json:"venue,omitempty"`

	// Video This object represents a video file.
	Video *Video `json:"video,omitempty"`

	// VideoNote This object represents a video message (available in Telegram apps as of v.4.0).
	VideoNote *VideoNote `json:"video_note,omitempty"`

	// Voice This object represents a voice note.
	Voice *Voice `json:"voice,omitempty"`
}

ExternalReplyInfo This object contains information about a message that is being replied to, which may come from another chat or forum topic.

type File

type File struct {
	FileId       string  `json:"file_id"`
	FilePath     *string `json:"file_path,omitempty"`
	FileSize     *int    `json:"file_size,omitempty"`
	FileUniqueId string  `json:"file_unique_id"`
}

File This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.

type ForumTopic

type ForumTopic struct {
	IconColor         int     `json:"icon_color"`
	IconCustomEmojiId *string `json:"icon_custom_emoji_id,omitempty"`
	MessageThreadId   int     `json:"message_thread_id"`
	Name              string  `json:"name"`
}

ForumTopic This object represents a forum topic.

type ForumTopicClosed

type ForumTopicClosed = map[string]interface{}

ForumTopicClosed This object represents a service message about a forum topic closed in the chat. Currently holds no information.

type ForumTopicCreated

type ForumTopicCreated struct {
	IconColor         int     `json:"icon_color"`
	IconCustomEmojiId *string `json:"icon_custom_emoji_id,omitempty"`
	Name              string  `json:"name"`
}

ForumTopicCreated This object represents a service message about a new forum topic created in the chat.

type ForumTopicEdited

type ForumTopicEdited struct {
	IconCustomEmojiId *string `json:"icon_custom_emoji_id,omitempty"`
	Name              *string `json:"name,omitempty"`
}

ForumTopicEdited This object represents a service message about an edited forum topic.

type ForumTopicReopened

type ForumTopicReopened = map[string]interface{}

ForumTopicReopened This object represents a service message about a forum topic reopened in the chat. Currently holds no information.

type ForwardMessage200Ok

type ForwardMessage200Ok bool

type ForwardMessageJSONBody

type ForwardMessageJSONBody = map[string]interface{}

ForwardMessageJSONBody defines parameters for ForwardMessage.

type ForwardMessageJSONRequestBody

type ForwardMessageJSONRequestBody = ForwardMessageJSONBody

ForwardMessageJSONRequestBody defines body for ForwardMessage for application/json ContentType.

type ForwardMessageResponse

type ForwardMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok ForwardMessage200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseForwardMessageResponse

func ParseForwardMessageResponse(rsp *http.Response) (*ForwardMessageResponse, error)

ParseForwardMessageResponse parses an HTTP response from a ForwardMessageWithResponse call

func (ForwardMessageResponse) Status

func (r ForwardMessageResponse) Status() string

Status returns HTTPResponse.Status

func (ForwardMessageResponse) StatusCode

func (r ForwardMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ForwardMessages200Ok

type ForwardMessages200Ok bool

type ForwardMessagesJSONBody

type ForwardMessagesJSONBody = map[string]interface{}

ForwardMessagesJSONBody defines parameters for ForwardMessages.

type ForwardMessagesJSONRequestBody

type ForwardMessagesJSONRequestBody = ForwardMessagesJSONBody

ForwardMessagesJSONRequestBody defines body for ForwardMessages for application/json ContentType.

type ForwardMessagesResponse

type ForwardMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ForwardMessages200Ok `json:"ok"`
		Result []MessageId          `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseForwardMessagesResponse

func ParseForwardMessagesResponse(rsp *http.Response) (*ForwardMessagesResponse, error)

ParseForwardMessagesResponse parses an HTTP response from a ForwardMessagesWithResponse call

func (ForwardMessagesResponse) Status

func (r ForwardMessagesResponse) Status() string

Status returns HTTPResponse.Status

func (ForwardMessagesResponse) StatusCode

func (r ForwardMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Game

type Game struct {
	// Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
	Animation    *Animation       `json:"animation,omitempty"`
	Description  string           `json:"description"`
	Photo        []PhotoSize      `json:"photo"`
	Text         *string          `json:"text,omitempty"`
	TextEntities *[]MessageEntity `json:"text_entities,omitempty"`
	Title        string           `json:"title"`
}

Game This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.

type GameHighScore

type GameHighScore struct {
	Position int `json:"position"`
	Score    int `json:"score"`

	// User This object represents a Telegram user or bot.
	User User `json:"user"`
}

GameHighScore This object represents one row of the high scores table for a game.

type GeneralForumTopicHidden

type GeneralForumTopicHidden = map[string]interface{}

GeneralForumTopicHidden This object represents a service message about General forum topic hidden in the chat. Currently holds no information.

type GeneralForumTopicUnhidden

type GeneralForumTopicUnhidden = map[string]interface{}

GeneralForumTopicUnhidden This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.

type GetAvailableGifts200Ok

type GetAvailableGifts200Ok bool

type GetAvailableGiftsJSONBody

type GetAvailableGiftsJSONBody = map[string]interface{}

GetAvailableGiftsJSONBody defines parameters for GetAvailableGifts.

type GetAvailableGiftsJSONRequestBody

type GetAvailableGiftsJSONRequestBody = GetAvailableGiftsJSONBody

GetAvailableGiftsJSONRequestBody defines body for GetAvailableGifts for application/json ContentType.

type GetAvailableGiftsResponse

type GetAvailableGiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetAvailableGifts200Ok `json:"ok"`

		// Result This object represent a list of gifts.
		Result Gifts `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetAvailableGiftsResponse

func ParseGetAvailableGiftsResponse(rsp *http.Response) (*GetAvailableGiftsResponse, error)

ParseGetAvailableGiftsResponse parses an HTTP response from a GetAvailableGiftsWithResponse call

func (GetAvailableGiftsResponse) Status

func (r GetAvailableGiftsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAvailableGiftsResponse) StatusCode

func (r GetAvailableGiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBusinessAccountGifts200Ok

type GetBusinessAccountGifts200Ok bool

type GetBusinessAccountGiftsJSONBody

type GetBusinessAccountGiftsJSONBody = map[string]interface{}

GetBusinessAccountGiftsJSONBody defines parameters for GetBusinessAccountGifts.

type GetBusinessAccountGiftsJSONRequestBody

type GetBusinessAccountGiftsJSONRequestBody = GetBusinessAccountGiftsJSONBody

GetBusinessAccountGiftsJSONRequestBody defines body for GetBusinessAccountGifts for application/json ContentType.

type GetBusinessAccountGiftsResponse

type GetBusinessAccountGiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetBusinessAccountGifts200Ok `json:"ok"`

		// Result Contains the list of gifts received and owned by a user or a chat.
		Result OwnedGifts `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetBusinessAccountGiftsResponse

func ParseGetBusinessAccountGiftsResponse(rsp *http.Response) (*GetBusinessAccountGiftsResponse, error)

ParseGetBusinessAccountGiftsResponse parses an HTTP response from a GetBusinessAccountGiftsWithResponse call

func (GetBusinessAccountGiftsResponse) Status

Status returns HTTPResponse.Status

func (GetBusinessAccountGiftsResponse) StatusCode

func (r GetBusinessAccountGiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBusinessAccountStarBalance200Ok

type GetBusinessAccountStarBalance200Ok bool

type GetBusinessAccountStarBalanceJSONBody

type GetBusinessAccountStarBalanceJSONBody = map[string]interface{}

GetBusinessAccountStarBalanceJSONBody defines parameters for GetBusinessAccountStarBalance.

type GetBusinessAccountStarBalanceJSONRequestBody

type GetBusinessAccountStarBalanceJSONRequestBody = GetBusinessAccountStarBalanceJSONBody

GetBusinessAccountStarBalanceJSONRequestBody defines body for GetBusinessAccountStarBalance for application/json ContentType.

type GetBusinessAccountStarBalanceResponse

type GetBusinessAccountStarBalanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetBusinessAccountStarBalance200Ok `json:"ok"`

		// Result Describes an amount of Telegram Stars.
		Result StarAmount `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetBusinessAccountStarBalanceResponse

func ParseGetBusinessAccountStarBalanceResponse(rsp *http.Response) (*GetBusinessAccountStarBalanceResponse, error)

ParseGetBusinessAccountStarBalanceResponse parses an HTTP response from a GetBusinessAccountStarBalanceWithResponse call

func (GetBusinessAccountStarBalanceResponse) Status

Status returns HTTPResponse.Status

func (GetBusinessAccountStarBalanceResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetBusinessConnection200Ok

type GetBusinessConnection200Ok bool

type GetBusinessConnectionJSONBody

type GetBusinessConnectionJSONBody = map[string]interface{}

GetBusinessConnectionJSONBody defines parameters for GetBusinessConnection.

type GetBusinessConnectionJSONRequestBody

type GetBusinessConnectionJSONRequestBody = GetBusinessConnectionJSONBody

GetBusinessConnectionJSONRequestBody defines body for GetBusinessConnection for application/json ContentType.

type GetBusinessConnectionResponse

type GetBusinessConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetBusinessConnection200Ok `json:"ok"`

		// Result Describes the connection of the bot with a business account.
		Result BusinessConnection `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetBusinessConnectionResponse

func ParseGetBusinessConnectionResponse(rsp *http.Response) (*GetBusinessConnectionResponse, error)

ParseGetBusinessConnectionResponse parses an HTTP response from a GetBusinessConnectionWithResponse call

func (GetBusinessConnectionResponse) Status

Status returns HTTPResponse.Status

func (GetBusinessConnectionResponse) StatusCode

func (r GetBusinessConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChat200Ok

type GetChat200Ok bool

type GetChatAdministrators200Ok

type GetChatAdministrators200Ok bool

type GetChatAdministratorsJSONBody

type GetChatAdministratorsJSONBody = map[string]interface{}

GetChatAdministratorsJSONBody defines parameters for GetChatAdministrators.

type GetChatAdministratorsJSONRequestBody

type GetChatAdministratorsJSONRequestBody = GetChatAdministratorsJSONBody

GetChatAdministratorsJSONRequestBody defines body for GetChatAdministrators for application/json ContentType.

type GetChatAdministratorsResponse

type GetChatAdministratorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetChatAdministrators200Ok `json:"ok"`
		Result []ChatMember               `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetChatAdministratorsResponse

func ParseGetChatAdministratorsResponse(rsp *http.Response) (*GetChatAdministratorsResponse, error)

ParseGetChatAdministratorsResponse parses an HTTP response from a GetChatAdministratorsWithResponse call

func (GetChatAdministratorsResponse) Status

Status returns HTTPResponse.Status

func (GetChatAdministratorsResponse) StatusCode

func (r GetChatAdministratorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChatJSONBody

type GetChatJSONBody = map[string]interface{}

GetChatJSONBody defines parameters for GetChat.

type GetChatJSONRequestBody

type GetChatJSONRequestBody = GetChatJSONBody

GetChatJSONRequestBody defines body for GetChat for application/json ContentType.

type GetChatMember200Ok

type GetChatMember200Ok bool

type GetChatMemberCount200Ok

type GetChatMemberCount200Ok bool

type GetChatMemberCountJSONBody

type GetChatMemberCountJSONBody = map[string]interface{}

GetChatMemberCountJSONBody defines parameters for GetChatMemberCount.

type GetChatMemberCountJSONRequestBody

type GetChatMemberCountJSONRequestBody = GetChatMemberCountJSONBody

GetChatMemberCountJSONRequestBody defines body for GetChatMemberCount for application/json ContentType.

type GetChatMemberCountResponse

type GetChatMemberCountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetChatMemberCount200Ok `json:"ok"`
		Result int                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetChatMemberCountResponse

func ParseGetChatMemberCountResponse(rsp *http.Response) (*GetChatMemberCountResponse, error)

ParseGetChatMemberCountResponse parses an HTTP response from a GetChatMemberCountWithResponse call

func (GetChatMemberCountResponse) Status

Status returns HTTPResponse.Status

func (GetChatMemberCountResponse) StatusCode

func (r GetChatMemberCountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChatMemberJSONBody

type GetChatMemberJSONBody = map[string]interface{}

GetChatMemberJSONBody defines parameters for GetChatMember.

type GetChatMemberJSONRequestBody

type GetChatMemberJSONRequestBody = GetChatMemberJSONBody

GetChatMemberJSONRequestBody defines body for GetChatMember for application/json ContentType.

type GetChatMemberResponse

type GetChatMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetChatMember200Ok `json:"ok"`

		// Result This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:
		// ChatMemberOwner
		// ChatMemberAdministrator
		// ChatMemberMember
		// ChatMemberRestricted
		// ChatMemberLeft
		// ChatMemberBanned
		Result ChatMember `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetChatMemberResponse

func ParseGetChatMemberResponse(rsp *http.Response) (*GetChatMemberResponse, error)

ParseGetChatMemberResponse parses an HTTP response from a GetChatMemberWithResponse call

func (GetChatMemberResponse) Status

func (r GetChatMemberResponse) Status() string

Status returns HTTPResponse.Status

func (GetChatMemberResponse) StatusCode

func (r GetChatMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChatMenuButton200Ok

type GetChatMenuButton200Ok bool

type GetChatMenuButtonJSONBody

type GetChatMenuButtonJSONBody = map[string]interface{}

GetChatMenuButtonJSONBody defines parameters for GetChatMenuButton.

type GetChatMenuButtonJSONRequestBody

type GetChatMenuButtonJSONRequestBody = GetChatMenuButtonJSONBody

GetChatMenuButtonJSONRequestBody defines body for GetChatMenuButton for application/json ContentType.

type GetChatMenuButtonResponse

type GetChatMenuButtonResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetChatMenuButton200Ok `json:"ok"`

		// Result This object describes the bot's menu button in a private chat. It should be one of
		// MenuButtonCommands
		// MenuButtonWebApp
		// MenuButtonDefault
		// If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands.
		Result MenuButton `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetChatMenuButtonResponse

func ParseGetChatMenuButtonResponse(rsp *http.Response) (*GetChatMenuButtonResponse, error)

ParseGetChatMenuButtonResponse parses an HTTP response from a GetChatMenuButtonWithResponse call

func (GetChatMenuButtonResponse) Status

func (r GetChatMenuButtonResponse) Status() string

Status returns HTTPResponse.Status

func (GetChatMenuButtonResponse) StatusCode

func (r GetChatMenuButtonResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChatResponse

type GetChatResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetChat200Ok `json:"ok"`

		// Result This object contains full information about a chat.
		Result ChatFullInfo `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetChatResponse

func ParseGetChatResponse(rsp *http.Response) (*GetChatResponse, error)

ParseGetChatResponse parses an HTTP response from a GetChatWithResponse call

func (GetChatResponse) Status

func (r GetChatResponse) Status() string

Status returns HTTPResponse.Status

func (GetChatResponse) StatusCode

func (r GetChatResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomEmojiStickers200Ok

type GetCustomEmojiStickers200Ok bool

type GetCustomEmojiStickersJSONBody

type GetCustomEmojiStickersJSONBody = map[string]interface{}

GetCustomEmojiStickersJSONBody defines parameters for GetCustomEmojiStickers.

type GetCustomEmojiStickersJSONRequestBody

type GetCustomEmojiStickersJSONRequestBody = GetCustomEmojiStickersJSONBody

GetCustomEmojiStickersJSONRequestBody defines body for GetCustomEmojiStickers for application/json ContentType.

type GetCustomEmojiStickersResponse

type GetCustomEmojiStickersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetCustomEmojiStickers200Ok `json:"ok"`
		Result []Sticker                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetCustomEmojiStickersResponse

func ParseGetCustomEmojiStickersResponse(rsp *http.Response) (*GetCustomEmojiStickersResponse, error)

ParseGetCustomEmojiStickersResponse parses an HTTP response from a GetCustomEmojiStickersWithResponse call

func (GetCustomEmojiStickersResponse) Status

Status returns HTTPResponse.Status

func (GetCustomEmojiStickersResponse) StatusCode

func (r GetCustomEmojiStickersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFile200Ok

type GetFile200Ok bool

type GetFileJSONBody

type GetFileJSONBody = map[string]interface{}

GetFileJSONBody defines parameters for GetFile.

type GetFileJSONRequestBody

type GetFileJSONRequestBody = GetFileJSONBody

GetFileJSONRequestBody defines body for GetFile for application/json ContentType.

type GetFileResponse

type GetFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetFile200Ok `json:"ok"`

		// Result This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.
		Result File `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetFileResponse

func ParseGetFileResponse(rsp *http.Response) (*GetFileResponse, error)

ParseGetFileResponse parses an HTTP response from a GetFileWithResponse call

func (GetFileResponse) Status

func (r GetFileResponse) Status() string

Status returns HTTPResponse.Status

func (GetFileResponse) StatusCode

func (r GetFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetForumTopicIconStickers200Ok

type GetForumTopicIconStickers200Ok bool

type GetForumTopicIconStickersJSONBody

type GetForumTopicIconStickersJSONBody = map[string]interface{}

GetForumTopicIconStickersJSONBody defines parameters for GetForumTopicIconStickers.

type GetForumTopicIconStickersJSONRequestBody

type GetForumTopicIconStickersJSONRequestBody = GetForumTopicIconStickersJSONBody

GetForumTopicIconStickersJSONRequestBody defines body for GetForumTopicIconStickers for application/json ContentType.

type GetForumTopicIconStickersResponse

type GetForumTopicIconStickersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetForumTopicIconStickers200Ok `json:"ok"`
		Result []Sticker                      `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetForumTopicIconStickersResponse

func ParseGetForumTopicIconStickersResponse(rsp *http.Response) (*GetForumTopicIconStickersResponse, error)

ParseGetForumTopicIconStickersResponse parses an HTTP response from a GetForumTopicIconStickersWithResponse call

func (GetForumTopicIconStickersResponse) Status

Status returns HTTPResponse.Status

func (GetForumTopicIconStickersResponse) StatusCode

func (r GetForumTopicIconStickersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGameHighScores200Ok

type GetGameHighScores200Ok bool

type GetGameHighScoresJSONBody

type GetGameHighScoresJSONBody = map[string]interface{}

GetGameHighScoresJSONBody defines parameters for GetGameHighScores.

type GetGameHighScoresJSONRequestBody

type GetGameHighScoresJSONRequestBody = GetGameHighScoresJSONBody

GetGameHighScoresJSONRequestBody defines body for GetGameHighScores for application/json ContentType.

type GetGameHighScoresResponse

type GetGameHighScoresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetGameHighScores200Ok `json:"ok"`
		Result []GameHighScore        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetGameHighScoresResponse

func ParseGetGameHighScoresResponse(rsp *http.Response) (*GetGameHighScoresResponse, error)

ParseGetGameHighScoresResponse parses an HTTP response from a GetGameHighScoresWithResponse call

func (GetGameHighScoresResponse) Status

func (r GetGameHighScoresResponse) Status() string

Status returns HTTPResponse.Status

func (GetGameHighScoresResponse) StatusCode

func (r GetGameHighScoresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMe200Ok

type GetMe200Ok bool

type GetMeJSONBody

type GetMeJSONBody = map[string]interface{}

GetMeJSONBody defines parameters for GetMe.

type GetMeJSONRequestBody

type GetMeJSONRequestBody = GetMeJSONBody

GetMeJSONRequestBody defines body for GetMe for application/json ContentType.

type GetMeResponse

type GetMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetMe200Ok `json:"ok"`

		// Result This object represents a Telegram user or bot.
		Result User `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMeResponse

func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)

ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call

func (GetMeResponse) Status

func (r GetMeResponse) Status() string

Status returns HTTPResponse.Status

func (GetMeResponse) StatusCode

func (r GetMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMyCommands200Ok

type GetMyCommands200Ok bool

type GetMyCommandsJSONBody

type GetMyCommandsJSONBody = map[string]interface{}

GetMyCommandsJSONBody defines parameters for GetMyCommands.

type GetMyCommandsJSONRequestBody

type GetMyCommandsJSONRequestBody = GetMyCommandsJSONBody

GetMyCommandsJSONRequestBody defines body for GetMyCommands for application/json ContentType.

type GetMyCommandsResponse

type GetMyCommandsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetMyCommands200Ok `json:"ok"`
		Result []BotCommand       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMyCommandsResponse

func ParseGetMyCommandsResponse(rsp *http.Response) (*GetMyCommandsResponse, error)

ParseGetMyCommandsResponse parses an HTTP response from a GetMyCommandsWithResponse call

func (GetMyCommandsResponse) Status

func (r GetMyCommandsResponse) Status() string

Status returns HTTPResponse.Status

func (GetMyCommandsResponse) StatusCode

func (r GetMyCommandsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMyDefaultAdministratorRights200Ok

type GetMyDefaultAdministratorRights200Ok bool

type GetMyDefaultAdministratorRightsJSONBody

type GetMyDefaultAdministratorRightsJSONBody = map[string]interface{}

GetMyDefaultAdministratorRightsJSONBody defines parameters for GetMyDefaultAdministratorRights.

type GetMyDefaultAdministratorRightsJSONRequestBody

type GetMyDefaultAdministratorRightsJSONRequestBody = GetMyDefaultAdministratorRightsJSONBody

GetMyDefaultAdministratorRightsJSONRequestBody defines body for GetMyDefaultAdministratorRights for application/json ContentType.

type GetMyDefaultAdministratorRightsResponse

type GetMyDefaultAdministratorRightsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetMyDefaultAdministratorRights200Ok `json:"ok"`

		// Result Represents the rights of an administrator in a chat.
		Result ChatAdministratorRights `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMyDefaultAdministratorRightsResponse

func ParseGetMyDefaultAdministratorRightsResponse(rsp *http.Response) (*GetMyDefaultAdministratorRightsResponse, error)

ParseGetMyDefaultAdministratorRightsResponse parses an HTTP response from a GetMyDefaultAdministratorRightsWithResponse call

func (GetMyDefaultAdministratorRightsResponse) Status

Status returns HTTPResponse.Status

func (GetMyDefaultAdministratorRightsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetMyDescription200Ok

type GetMyDescription200Ok bool

type GetMyDescriptionJSONBody

type GetMyDescriptionJSONBody = map[string]interface{}

GetMyDescriptionJSONBody defines parameters for GetMyDescription.

type GetMyDescriptionJSONRequestBody

type GetMyDescriptionJSONRequestBody = GetMyDescriptionJSONBody

GetMyDescriptionJSONRequestBody defines body for GetMyDescription for application/json ContentType.

type GetMyDescriptionResponse

type GetMyDescriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetMyDescription200Ok `json:"ok"`

		// Result This object represents the bot's description.
		Result BotDescription `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMyDescriptionResponse

func ParseGetMyDescriptionResponse(rsp *http.Response) (*GetMyDescriptionResponse, error)

ParseGetMyDescriptionResponse parses an HTTP response from a GetMyDescriptionWithResponse call

func (GetMyDescriptionResponse) Status

func (r GetMyDescriptionResponse) Status() string

Status returns HTTPResponse.Status

func (GetMyDescriptionResponse) StatusCode

func (r GetMyDescriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMyName200Ok

type GetMyName200Ok bool

type GetMyNameJSONBody

type GetMyNameJSONBody = map[string]interface{}

GetMyNameJSONBody defines parameters for GetMyName.

type GetMyNameJSONRequestBody

type GetMyNameJSONRequestBody = GetMyNameJSONBody

GetMyNameJSONRequestBody defines body for GetMyName for application/json ContentType.

type GetMyNameResponse

type GetMyNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetMyName200Ok `json:"ok"`

		// Result This object represents the bot's name.
		Result BotName `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMyNameResponse

func ParseGetMyNameResponse(rsp *http.Response) (*GetMyNameResponse, error)

ParseGetMyNameResponse parses an HTTP response from a GetMyNameWithResponse call

func (GetMyNameResponse) Status

func (r GetMyNameResponse) Status() string

Status returns HTTPResponse.Status

func (GetMyNameResponse) StatusCode

func (r GetMyNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMyShortDescription200Ok

type GetMyShortDescription200Ok bool

type GetMyShortDescriptionJSONBody

type GetMyShortDescriptionJSONBody = map[string]interface{}

GetMyShortDescriptionJSONBody defines parameters for GetMyShortDescription.

type GetMyShortDescriptionJSONRequestBody

type GetMyShortDescriptionJSONRequestBody = GetMyShortDescriptionJSONBody

GetMyShortDescriptionJSONRequestBody defines body for GetMyShortDescription for application/json ContentType.

type GetMyShortDescriptionResponse

type GetMyShortDescriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetMyShortDescription200Ok `json:"ok"`

		// Result This object represents the bot's short description.
		Result BotShortDescription `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMyShortDescriptionResponse

func ParseGetMyShortDescriptionResponse(rsp *http.Response) (*GetMyShortDescriptionResponse, error)

ParseGetMyShortDescriptionResponse parses an HTTP response from a GetMyShortDescriptionWithResponse call

func (GetMyShortDescriptionResponse) Status

Status returns HTTPResponse.Status

func (GetMyShortDescriptionResponse) StatusCode

func (r GetMyShortDescriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMyStarBalance200Ok

type GetMyStarBalance200Ok bool

type GetMyStarBalanceJSONBody

type GetMyStarBalanceJSONBody = map[string]interface{}

GetMyStarBalanceJSONBody defines parameters for GetMyStarBalance.

type GetMyStarBalanceJSONRequestBody

type GetMyStarBalanceJSONRequestBody = GetMyStarBalanceJSONBody

GetMyStarBalanceJSONRequestBody defines body for GetMyStarBalance for application/json ContentType.

type GetMyStarBalanceResponse

type GetMyStarBalanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetMyStarBalance200Ok `json:"ok"`

		// Result Describes an amount of Telegram Stars.
		Result StarAmount `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetMyStarBalanceResponse

func ParseGetMyStarBalanceResponse(rsp *http.Response) (*GetMyStarBalanceResponse, error)

ParseGetMyStarBalanceResponse parses an HTTP response from a GetMyStarBalanceWithResponse call

func (GetMyStarBalanceResponse) Status

func (r GetMyStarBalanceResponse) Status() string

Status returns HTTPResponse.Status

func (GetMyStarBalanceResponse) StatusCode

func (r GetMyStarBalanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStarTransactions200Ok

type GetStarTransactions200Ok bool

type GetStarTransactionsJSONBody

type GetStarTransactionsJSONBody = map[string]interface{}

GetStarTransactionsJSONBody defines parameters for GetStarTransactions.

type GetStarTransactionsJSONRequestBody

type GetStarTransactionsJSONRequestBody = GetStarTransactionsJSONBody

GetStarTransactionsJSONRequestBody defines body for GetStarTransactions for application/json ContentType.

type GetStarTransactionsResponse

type GetStarTransactionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetStarTransactions200Ok `json:"ok"`

		// Result Contains a list of Telegram Star transactions.
		Result StarTransactions `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetStarTransactionsResponse

func ParseGetStarTransactionsResponse(rsp *http.Response) (*GetStarTransactionsResponse, error)

ParseGetStarTransactionsResponse parses an HTTP response from a GetStarTransactionsWithResponse call

func (GetStarTransactionsResponse) Status

Status returns HTTPResponse.Status

func (GetStarTransactionsResponse) StatusCode

func (r GetStarTransactionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStickerSet200Ok

type GetStickerSet200Ok bool

type GetStickerSetJSONBody

type GetStickerSetJSONBody = map[string]interface{}

GetStickerSetJSONBody defines parameters for GetStickerSet.

type GetStickerSetJSONRequestBody

type GetStickerSetJSONRequestBody = GetStickerSetJSONBody

GetStickerSetJSONRequestBody defines body for GetStickerSet for application/json ContentType.

type GetStickerSetResponse

type GetStickerSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetStickerSet200Ok `json:"ok"`

		// Result This object represents a sticker set.
		Result StickerSet `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetStickerSetResponse

func ParseGetStickerSetResponse(rsp *http.Response) (*GetStickerSetResponse, error)

ParseGetStickerSetResponse parses an HTTP response from a GetStickerSetWithResponse call

func (GetStickerSetResponse) Status

func (r GetStickerSetResponse) Status() string

Status returns HTTPResponse.Status

func (GetStickerSetResponse) StatusCode

func (r GetStickerSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUpdates200Ok

type GetUpdates200Ok bool

type GetUpdatesJSONBody

type GetUpdatesJSONBody = map[string]interface{}

GetUpdatesJSONBody defines parameters for GetUpdates.

type GetUpdatesJSONRequestBody

type GetUpdatesJSONRequestBody = GetUpdatesJSONBody

GetUpdatesJSONRequestBody defines body for GetUpdates for application/json ContentType.

type GetUpdatesResponse

type GetUpdatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GetUpdates200Ok `json:"ok"`
		Result []Update        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetUpdatesResponse

func ParseGetUpdatesResponse(rsp *http.Response) (*GetUpdatesResponse, error)

ParseGetUpdatesResponse parses an HTTP response from a GetUpdatesWithResponse call

func (GetUpdatesResponse) Status

func (r GetUpdatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetUpdatesResponse) StatusCode

func (r GetUpdatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserChatBoosts200Ok

type GetUserChatBoosts200Ok bool

type GetUserChatBoostsJSONBody

type GetUserChatBoostsJSONBody = map[string]interface{}

GetUserChatBoostsJSONBody defines parameters for GetUserChatBoosts.

type GetUserChatBoostsJSONRequestBody

type GetUserChatBoostsJSONRequestBody = GetUserChatBoostsJSONBody

GetUserChatBoostsJSONRequestBody defines body for GetUserChatBoosts for application/json ContentType.

type GetUserChatBoostsResponse

type GetUserChatBoostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetUserChatBoosts200Ok `json:"ok"`

		// Result This object represents a list of boosts added to a chat by a user.
		Result UserChatBoosts `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetUserChatBoostsResponse

func ParseGetUserChatBoostsResponse(rsp *http.Response) (*GetUserChatBoostsResponse, error)

ParseGetUserChatBoostsResponse parses an HTTP response from a GetUserChatBoostsWithResponse call

func (GetUserChatBoostsResponse) Status

func (r GetUserChatBoostsResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserChatBoostsResponse) StatusCode

func (r GetUserChatBoostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserProfilePhotos200Ok

type GetUserProfilePhotos200Ok bool

type GetUserProfilePhotosJSONBody

type GetUserProfilePhotosJSONBody = map[string]interface{}

GetUserProfilePhotosJSONBody defines parameters for GetUserProfilePhotos.

type GetUserProfilePhotosJSONRequestBody

type GetUserProfilePhotosJSONRequestBody = GetUserProfilePhotosJSONBody

GetUserProfilePhotosJSONRequestBody defines body for GetUserProfilePhotos for application/json ContentType.

type GetUserProfilePhotosResponse

type GetUserProfilePhotosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetUserProfilePhotos200Ok `json:"ok"`

		// Result This object represent a user's profile pictures.
		Result UserProfilePhotos `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetUserProfilePhotosResponse

func ParseGetUserProfilePhotosResponse(rsp *http.Response) (*GetUserProfilePhotosResponse, error)

ParseGetUserProfilePhotosResponse parses an HTTP response from a GetUserProfilePhotosWithResponse call

func (GetUserProfilePhotosResponse) Status

Status returns HTTPResponse.Status

func (GetUserProfilePhotosResponse) StatusCode

func (r GetUserProfilePhotosResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookInfo200Ok

type GetWebhookInfo200Ok bool

type GetWebhookInfoJSONBody

type GetWebhookInfoJSONBody = map[string]interface{}

GetWebhookInfoJSONBody defines parameters for GetWebhookInfo.

type GetWebhookInfoJSONRequestBody

type GetWebhookInfoJSONRequestBody = GetWebhookInfoJSONBody

GetWebhookInfoJSONRequestBody defines body for GetWebhookInfo for application/json ContentType.

type GetWebhookInfoResponse

type GetWebhookInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok GetWebhookInfo200Ok `json:"ok"`

		// Result Describes the current status of a webhook.
		Result WebhookInfo `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGetWebhookInfoResponse

func ParseGetWebhookInfoResponse(rsp *http.Response) (*GetWebhookInfoResponse, error)

ParseGetWebhookInfoResponse parses an HTTP response from a GetWebhookInfoWithResponse call

func (GetWebhookInfoResponse) Status

func (r GetWebhookInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookInfoResponse) StatusCode

func (r GetWebhookInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Gift

type Gift struct {
	Id string `json:"id"`

	// PublisherChat This object represents a chat.
	PublisherChat  *Chat `json:"publisher_chat,omitempty"`
	RemainingCount *int  `json:"remaining_count,omitempty"`
	StarCount      int   `json:"star_count"`

	// Sticker This object represents a sticker.
	Sticker          Sticker `json:"sticker"`
	TotalCount       *int    `json:"total_count,omitempty"`
	UpgradeStarCount *int    `json:"upgrade_star_count,omitempty"`
}

Gift This object represents a gift that can be sent by the bot.

type GiftInfo

type GiftInfo struct {
	CanBeUpgraded    *bool            `json:"can_be_upgraded,omitempty"`
	ConvertStarCount *int             `json:"convert_star_count,omitempty"`
	Entities         *[]MessageEntity `json:"entities,omitempty"`

	// Gift This object represents a gift that can be sent by the bot.
	Gift                    Gift    `json:"gift"`
	IsPrivate               *bool   `json:"is_private,omitempty"`
	OwnedGiftId             *string `json:"owned_gift_id,omitempty"`
	PrepaidUpgradeStarCount *int    `json:"prepaid_upgrade_star_count,omitempty"`
	Text                    *string `json:"text,omitempty"`
}

GiftInfo Describes a service message about a regular gift that was sent or received.

type GiftPremiumSubscription200Ok

type GiftPremiumSubscription200Ok bool

type GiftPremiumSubscriptionJSONBody

type GiftPremiumSubscriptionJSONBody = map[string]interface{}

GiftPremiumSubscriptionJSONBody defines parameters for GiftPremiumSubscription.

type GiftPremiumSubscriptionJSONRequestBody

type GiftPremiumSubscriptionJSONRequestBody = GiftPremiumSubscriptionJSONBody

GiftPremiumSubscriptionJSONRequestBody defines body for GiftPremiumSubscription for application/json ContentType.

type GiftPremiumSubscriptionResponse

type GiftPremiumSubscriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     GiftPremiumSubscription200Ok `json:"ok"`
		Result bool                         `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseGiftPremiumSubscriptionResponse

func ParseGiftPremiumSubscriptionResponse(rsp *http.Response) (*GiftPremiumSubscriptionResponse, error)

ParseGiftPremiumSubscriptionResponse parses an HTTP response from a GiftPremiumSubscriptionWithResponse call

func (GiftPremiumSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (GiftPremiumSubscriptionResponse) StatusCode

func (r GiftPremiumSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Gifts

type Gifts struct {
	Gifts []Gift `json:"gifts"`
}

Gifts This object represent a list of gifts.

type Giveaway

type Giveaway struct {
	Chats                         []Chat    `json:"chats"`
	CountryCodes                  *[]string `json:"country_codes,omitempty"`
	HasPublicWinners              *bool     `json:"has_public_winners,omitempty"`
	OnlyNewMembers                *bool     `json:"only_new_members,omitempty"`
	PremiumSubscriptionMonthCount *int      `json:"premium_subscription_month_count,omitempty"`
	PrizeDescription              *string   `json:"prize_description,omitempty"`
	PrizeStarCount                *int      `json:"prize_star_count,omitempty"`
	WinnerCount                   int       `json:"winner_count"`
	WinnersSelectionDate          int       `json:"winners_selection_date"`
}

Giveaway This object represents a message about a scheduled giveaway.

type GiveawayCompleted

type GiveawayCompleted struct {
	// GiveawayMessage This object represents a message.
	GiveawayMessage     *Message `json:"giveaway_message,omitempty"`
	IsStarGiveaway      *bool    `json:"is_star_giveaway,omitempty"`
	UnclaimedPrizeCount *int     `json:"unclaimed_prize_count,omitempty"`
	WinnerCount         int      `json:"winner_count"`
}

GiveawayCompleted This object represents a service message about the completion of a giveaway without public winners.

type GiveawayCreated

type GiveawayCreated struct {
	PrizeStarCount *int `json:"prize_star_count,omitempty"`
}

GiveawayCreated This object represents a service message about the creation of a scheduled giveaway.

type GiveawayWinners

type GiveawayWinners struct {
	AdditionalChatCount *int `json:"additional_chat_count,omitempty"`

	// Chat This object represents a chat.
	Chat                          Chat    `json:"chat"`
	GiveawayMessageId             int     `json:"giveaway_message_id"`
	OnlyNewMembers                *bool   `json:"only_new_members,omitempty"`
	PremiumSubscriptionMonthCount *int    `json:"premium_subscription_month_count,omitempty"`
	PrizeDescription              *string `json:"prize_description,omitempty"`
	PrizeStarCount                *int    `json:"prize_star_count,omitempty"`
	UnclaimedPrizeCount           *int    `json:"unclaimed_prize_count,omitempty"`
	WasRefunded                   *bool   `json:"was_refunded,omitempty"`
	WinnerCount                   int     `json:"winner_count"`
	Winners                       []User  `json:"winners"`
	WinnersSelectionDate          int     `json:"winners_selection_date"`
}

GiveawayWinners This object represents a message about the completion of a giveaway with public winners.

type HideGeneralForumTopic200Ok

type HideGeneralForumTopic200Ok bool

type HideGeneralForumTopicJSONBody

type HideGeneralForumTopicJSONBody = map[string]interface{}

HideGeneralForumTopicJSONBody defines parameters for HideGeneralForumTopic.

type HideGeneralForumTopicJSONRequestBody

type HideGeneralForumTopicJSONRequestBody = HideGeneralForumTopicJSONBody

HideGeneralForumTopicJSONRequestBody defines body for HideGeneralForumTopic for application/json ContentType.

type HideGeneralForumTopicResponse

type HideGeneralForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     HideGeneralForumTopic200Ok `json:"ok"`
		Result bool                       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseHideGeneralForumTopicResponse

func ParseHideGeneralForumTopicResponse(rsp *http.Response) (*HideGeneralForumTopicResponse, error)

ParseHideGeneralForumTopicResponse parses an HTTP response from a HideGeneralForumTopicWithResponse call

func (HideGeneralForumTopicResponse) Status

Status returns HTTPResponse.Status

func (HideGeneralForumTopicResponse) StatusCode

func (r HideGeneralForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InlineKeyboardButton

type InlineKeyboardButton struct {
	CallbackData *string `json:"callback_data,omitempty"`

	// CallbackGame A placeholder, currently holds no information. Use BotFather to set up your game.
	CallbackGame *CallbackGame `json:"callback_game,omitempty"`

	// CopyText This object represents an inline keyboard button that copies specified text to the clipboard.
	CopyText *CopyTextButton `json:"copy_text,omitempty"`

	// LoginUrl This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in:
	// Telegram apps support these buttons as of version 5.7.
	LoginUrl          *LoginUrl `json:"login_url,omitempty"`
	Pay               *bool     `json:"pay,omitempty"`
	SwitchInlineQuery *string   `json:"switch_inline_query,omitempty"`

	// SwitchInlineQueryChosenChat This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.
	SwitchInlineQueryChosenChat  *SwitchInlineQueryChosenChat `json:"switch_inline_query_chosen_chat,omitempty"`
	SwitchInlineQueryCurrentChat *string                      `json:"switch_inline_query_current_chat,omitempty"`
	Text                         string                       `json:"text"`
	Url                          *string                      `json:"url,omitempty"`

	// WebApp Describes a Web App.
	WebApp *WebAppInfo `json:"web_app,omitempty"`
}

InlineKeyboardButton This object represents one button of an inline keyboard. Exactly one of the optional fields must be used to specify type of the button.

type InlineKeyboardMarkup

type InlineKeyboardMarkup struct {
	InlineKeyboard [][]InlineKeyboardButton `json:"inline_keyboard"`
}

InlineKeyboardMarkup This object represents an inline keyboard that appears right next to the message it belongs to.

type InlineQuery

type InlineQuery struct {
	ChatType *string `json:"chat_type,omitempty"`

	// From This object represents a Telegram user or bot.
	From User   `json:"from"`
	Id   string `json:"id"`

	// Location This object represents a point on the map.
	Location *Location `json:"location,omitempty"`
	Offset   string    `json:"offset"`
	Query    string    `json:"query"`
}

InlineQuery This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.

type Invoice

type Invoice struct {
	Currency       string `json:"currency"`
	Description    string `json:"description"`
	StartParameter string `json:"start_parameter"`
	Title          string `json:"title"`
	TotalAmount    int    `json:"total_amount"`
}

Invoice This object contains basic information about an invoice.

type LeaveChat200Ok

type LeaveChat200Ok bool

type LeaveChatJSONBody

type LeaveChatJSONBody = map[string]interface{}

LeaveChatJSONBody defines parameters for LeaveChat.

type LeaveChatJSONRequestBody

type LeaveChatJSONRequestBody = LeaveChatJSONBody

LeaveChatJSONRequestBody defines body for LeaveChat for application/json ContentType.

type LeaveChatResponse

type LeaveChatResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     LeaveChat200Ok `json:"ok"`
		Result bool           `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseLeaveChatResponse

func ParseLeaveChatResponse(rsp *http.Response) (*LeaveChatResponse, error)

ParseLeaveChatResponse parses an HTTP response from a LeaveChatWithResponse call

func (LeaveChatResponse) Status

func (r LeaveChatResponse) Status() string

Status returns HTTPResponse.Status

func (LeaveChatResponse) StatusCode

func (r LeaveChatResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LinkPreviewOptions

type LinkPreviewOptions struct {
	IsDisabled       *bool   `json:"is_disabled,omitempty"`
	PreferLargeMedia *bool   `json:"prefer_large_media,omitempty"`
	PreferSmallMedia *bool   `json:"prefer_small_media,omitempty"`
	ShowAboveText    *bool   `json:"show_above_text,omitempty"`
	Url              *string `json:"url,omitempty"`
}

LinkPreviewOptions Describes the options used for link preview generation.

type Location

type Location struct {
	Heading              *int     `json:"heading,omitempty"`
	HorizontalAccuracy   *float32 `json:"horizontal_accuracy,omitempty"`
	Latitude             float32  `json:"latitude"`
	LivePeriod           *int     `json:"live_period,omitempty"`
	Longitude            float32  `json:"longitude"`
	ProximityAlertRadius *int     `json:"proximity_alert_radius,omitempty"`
}

Location This object represents a point on the map.

type LogOut200Ok

type LogOut200Ok bool

type LogOutJSONBody

type LogOutJSONBody = map[string]interface{}

LogOutJSONBody defines parameters for LogOut.

type LogOutJSONRequestBody

type LogOutJSONRequestBody = LogOutJSONBody

LogOutJSONRequestBody defines body for LogOut for application/json ContentType.

type LogOutResponse

type LogOutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     LogOut200Ok `json:"ok"`
		Result bool        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseLogOutResponse

func ParseLogOutResponse(rsp *http.Response) (*LogOutResponse, error)

ParseLogOutResponse parses an HTTP response from a LogOutWithResponse call

func (LogOutResponse) Status

func (r LogOutResponse) Status() string

Status returns HTTPResponse.Status

func (LogOutResponse) StatusCode

func (r LogOutResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LoginUrl

type LoginUrl struct {
	BotUsername        *string `json:"bot_username,omitempty"`
	ForwardText        *string `json:"forward_text,omitempty"`
	RequestWriteAccess *bool   `json:"request_write_access,omitempty"`
	Url                string  `json:"url"`
}

LoginUrl This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in: Telegram apps support these buttons as of version 5.7.

type MaskPosition

type MaskPosition struct {
	Point  string  `json:"point"`
	Scale  float32 `json:"scale"`
	XShift float32 `json:"x_shift"`
	YShift float32 `json:"y_shift"`
}

MaskPosition This object describes the position on faces where a mask should be placed by default.

type MaybeInaccessibleMessage

type MaybeInaccessibleMessage = map[string]interface{}

MaybeInaccessibleMessage This object describes a message that can be inaccessible to the bot. It can be one of Message InaccessibleMessage

type MenuButton = map[string]interface{}

MenuButton This object describes the bot's menu button in a private chat. It should be one of MenuButtonCommands MenuButtonWebApp MenuButtonDefault If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands.

type Message

type Message struct {
	// Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
	Animation *Animation `json:"animation,omitempty"`

	// Audio This object represents an audio file to be treated as music by the Telegram clients.
	Audio           *Audio  `json:"audio,omitempty"`
	AuthorSignature *string `json:"author_signature,omitempty"`

	// BoostAdded This object represents a service message about a user boosting a chat.
	BoostAdded           *ChatBoostAdded  `json:"boost_added,omitempty"`
	BusinessConnectionId *string          `json:"business_connection_id,omitempty"`
	Caption              *string          `json:"caption,omitempty"`
	CaptionEntities      *[]MessageEntity `json:"caption_entities,omitempty"`
	ChannelChatCreated   *bool            `json:"channel_chat_created,omitempty"`

	// Chat This object represents a chat.
	Chat Chat `json:"chat"`

	// ChatBackgroundSet This object represents a chat background.
	ChatBackgroundSet *ChatBackground `json:"chat_background_set,omitempty"`

	// ChatShared This object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button.
	ChatShared *ChatShared `json:"chat_shared,omitempty"`

	// Checklist Describes a checklist.
	Checklist *Checklist `json:"checklist,omitempty"`

	// ChecklistTasksAdded Describes a service message about tasks added to a checklist.
	ChecklistTasksAdded *ChecklistTasksAdded `json:"checklist_tasks_added,omitempty"`

	// ChecklistTasksDone Describes a service message about checklist tasks marked as done or not done.
	ChecklistTasksDone *ChecklistTasksDone `json:"checklist_tasks_done,omitempty"`
	ConnectedWebsite   *string             `json:"connected_website,omitempty"`

	// Contact This object represents a phone contact.
	Contact         *Contact `json:"contact,omitempty"`
	Date            int      `json:"date"`
	DeleteChatPhoto *bool    `json:"delete_chat_photo,omitempty"`

	// Dice This object represents an animated emoji that displays a random value.
	Dice *Dice `json:"dice,omitempty"`

	// DirectMessagePriceChanged Describes a service message about a change in the price of direct messages sent to a channel chat.
	DirectMessagePriceChanged *DirectMessagePriceChanged `json:"direct_message_price_changed,omitempty"`

	// DirectMessagesTopic Describes a topic of a direct messages chat.
	DirectMessagesTopic *DirectMessagesTopic `json:"direct_messages_topic,omitempty"`

	// Document This object represents a general file (as opposed to photos, voice messages and audio files).
	Document *Document        `json:"document,omitempty"`
	EditDate *int             `json:"edit_date,omitempty"`
	EffectId *string          `json:"effect_id,omitempty"`
	Entities *[]MessageEntity `json:"entities,omitempty"`

	// ExternalReply This object contains information about a message that is being replied to, which may come from another chat or forum topic.
	ExternalReply *ExternalReplyInfo `json:"external_reply,omitempty"`

	// ForumTopicClosed This object represents a service message about a forum topic closed in the chat. Currently holds no information.
	ForumTopicClosed *ForumTopicClosed `json:"forum_topic_closed,omitempty"`

	// ForumTopicCreated This object represents a service message about a new forum topic created in the chat.
	ForumTopicCreated *ForumTopicCreated `json:"forum_topic_created,omitempty"`

	// ForumTopicEdited This object represents a service message about an edited forum topic.
	ForumTopicEdited *ForumTopicEdited `json:"forum_topic_edited,omitempty"`

	// ForumTopicReopened This object represents a service message about a forum topic reopened in the chat. Currently holds no information.
	ForumTopicReopened *ForumTopicReopened `json:"forum_topic_reopened,omitempty"`

	// ForwardOrigin This object describes the origin of a message. It can be one of
	// MessageOriginUser
	// MessageOriginHiddenUser
	// MessageOriginChat
	// MessageOriginChannel
	ForwardOrigin *MessageOrigin `json:"forward_origin,omitempty"`

	// From This object represents a Telegram user or bot.
	From *User `json:"from,omitempty"`

	// Game This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
	Game *Game `json:"game,omitempty"`

	// GeneralForumTopicHidden This object represents a service message about General forum topic hidden in the chat. Currently holds no information.
	GeneralForumTopicHidden *GeneralForumTopicHidden `json:"general_forum_topic_hidden,omitempty"`

	// GeneralForumTopicUnhidden This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.
	GeneralForumTopicUnhidden *GeneralForumTopicUnhidden `json:"general_forum_topic_unhidden,omitempty"`

	// Gift Describes a service message about a regular gift that was sent or received.
	Gift *GiftInfo `json:"gift,omitempty"`

	// Giveaway This object represents a message about a scheduled giveaway.
	Giveaway *Giveaway `json:"giveaway,omitempty"`

	// GiveawayCompleted This object represents a service message about the completion of a giveaway without public winners.
	GiveawayCompleted *GiveawayCompleted `json:"giveaway_completed,omitempty"`

	// GiveawayCreated This object represents a service message about the creation of a scheduled giveaway.
	GiveawayCreated *GiveawayCreated `json:"giveaway_created,omitempty"`

	// GiveawayWinners This object represents a message about the completion of a giveaway with public winners.
	GiveawayWinners     *GiveawayWinners `json:"giveaway_winners,omitempty"`
	GroupChatCreated    *bool            `json:"group_chat_created,omitempty"`
	HasMediaSpoiler     *bool            `json:"has_media_spoiler,omitempty"`
	HasProtectedContent *bool            `json:"has_protected_content,omitempty"`

	// Invoice This object contains basic information about an invoice.
	Invoice            *Invoice `json:"invoice,omitempty"`
	IsAutomaticForward *bool    `json:"is_automatic_forward,omitempty"`
	IsFromOffline      *bool    `json:"is_from_offline,omitempty"`
	IsPaidPost         *bool    `json:"is_paid_post,omitempty"`
	IsTopicMessage     *bool    `json:"is_topic_message,omitempty"`

	// LeftChatMember This object represents a Telegram user or bot.
	LeftChatMember *User `json:"left_chat_member,omitempty"`

	// LinkPreviewOptions Describes the options used for link preview generation.
	LinkPreviewOptions *LinkPreviewOptions `json:"link_preview_options,omitempty"`

	// Location This object represents a point on the map.
	Location     *Location `json:"location,omitempty"`
	MediaGroupId *string   `json:"media_group_id,omitempty"`

	// MessageAutoDeleteTimerChanged This object represents a service message about a change in auto-delete timer settings.
	MessageAutoDeleteTimerChanged *MessageAutoDeleteTimerChanged `json:"message_auto_delete_timer_changed,omitempty"`
	MessageId                     int                            `json:"message_id"`
	MessageThreadId               *int                           `json:"message_thread_id,omitempty"`
	MigrateFromChatId             *int                           `json:"migrate_from_chat_id,omitempty"`
	MigrateToChatId               *int                           `json:"migrate_to_chat_id,omitempty"`
	NewChatMembers                *[]User                        `json:"new_chat_members,omitempty"`
	NewChatPhoto                  *[]PhotoSize                   `json:"new_chat_photo,omitempty"`
	NewChatTitle                  *string                        `json:"new_chat_title,omitempty"`

	// PaidMedia Describes the paid media added to a message.
	PaidMedia *PaidMediaInfo `json:"paid_media,omitempty"`

	// PaidMessagePriceChanged Describes a service message about a change in the price of paid messages within a chat.
	PaidMessagePriceChanged *PaidMessagePriceChanged `json:"paid_message_price_changed,omitempty"`
	PaidStarCount           *int                     `json:"paid_star_count,omitempty"`

	// PassportData Describes Telegram Passport data shared with the bot by the user.
	PassportData *PassportData `json:"passport_data,omitempty"`
	Photo        *[]PhotoSize  `json:"photo,omitempty"`

	// PinnedMessage This object describes a message that can be inaccessible to the bot. It can be one of
	// Message
	// InaccessibleMessage
	PinnedMessage *MaybeInaccessibleMessage `json:"pinned_message,omitempty"`

	// Poll This object contains information about a poll.
	Poll *Poll `json:"poll,omitempty"`

	// ProximityAlertTriggered This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
	ProximityAlertTriggered *ProximityAlertTriggered `json:"proximity_alert_triggered,omitempty"`

	// Quote This object contains information about the quoted part of a message that is replied to by the given message.
	Quote *TextQuote `json:"quote,omitempty"`

	// RefundedPayment This object contains basic information about a refunded payment.
	RefundedPayment *RefundedPayment `json:"refunded_payment,omitempty"`

	// ReplyMarkup This object represents an inline keyboard that appears right next to the message it belongs to.
	ReplyMarkup            *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	ReplyToChecklistTaskId *int                  `json:"reply_to_checklist_task_id,omitempty"`

	// ReplyToMessage This object represents a message.
	ReplyToMessage *Message `json:"reply_to_message,omitempty"`

	// ReplyToStory This object represents a story.
	ReplyToStory     *Story `json:"reply_to_story,omitempty"`
	SenderBoostCount *int   `json:"sender_boost_count,omitempty"`

	// SenderBusinessBot This object represents a Telegram user or bot.
	SenderBusinessBot *User `json:"sender_business_bot,omitempty"`

	// SenderChat This object represents a chat.
	SenderChat            *Chat `json:"sender_chat,omitempty"`
	ShowCaptionAboveMedia *bool `json:"show_caption_above_media,omitempty"`

	// Sticker This object represents a sticker.
	Sticker *Sticker `json:"sticker,omitempty"`

	// Story This object represents a story.
	Story *Story `json:"story,omitempty"`

	// SuccessfulPayment This object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control.
	SuccessfulPayment *SuccessfulPayment `json:"successful_payment,omitempty"`

	// SuggestedPostApprovalFailed Describes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval.
	SuggestedPostApprovalFailed *SuggestedPostApprovalFailed `json:"suggested_post_approval_failed,omitempty"`

	// SuggestedPostApproved Describes a service message about the approval of a suggested post.
	SuggestedPostApproved *SuggestedPostApproved `json:"suggested_post_approved,omitempty"`

	// SuggestedPostDeclined Describes a service message about the rejection of a suggested post.
	SuggestedPostDeclined *SuggestedPostDeclined `json:"suggested_post_declined,omitempty"`

	// SuggestedPostInfo Contains information about a suggested post.
	SuggestedPostInfo *SuggestedPostInfo `json:"suggested_post_info,omitempty"`

	// SuggestedPostPaid Describes a service message about a successful payment for a suggested post.
	SuggestedPostPaid *SuggestedPostPaid `json:"suggested_post_paid,omitempty"`

	// SuggestedPostRefunded Describes a service message about a payment refund for a suggested post.
	SuggestedPostRefunded *SuggestedPostRefunded `json:"suggested_post_refunded,omitempty"`
	SupergroupChatCreated *bool                  `json:"supergroup_chat_created,omitempty"`
	Text                  *string                `json:"text,omitempty"`

	// UniqueGift Describes a service message about a unique gift that was sent or received.
	UniqueGift *UniqueGiftInfo `json:"unique_gift,omitempty"`

	// UsersShared This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.
	UsersShared *UsersShared `json:"users_shared,omitempty"`

	// Venue This object represents a venue.
	Venue *Venue `json:"venue,omitempty"`

	// ViaBot This object represents a Telegram user or bot.
	ViaBot *User `json:"via_bot,omitempty"`

	// Video This object represents a video file.
	Video *Video `json:"video,omitempty"`

	// VideoChatEnded This object represents a service message about a video chat ended in the chat.
	VideoChatEnded *VideoChatEnded `json:"video_chat_ended,omitempty"`

	// VideoChatParticipantsInvited This object represents a service message about new members invited to a video chat.
	VideoChatParticipantsInvited *VideoChatParticipantsInvited `json:"video_chat_participants_invited,omitempty"`

	// VideoChatScheduled This object represents a service message about a video chat scheduled in the chat.
	VideoChatScheduled *VideoChatScheduled `json:"video_chat_scheduled,omitempty"`

	// VideoChatStarted This object represents a service message about a video chat started in the chat. Currently holds no information.
	VideoChatStarted *VideoChatStarted `json:"video_chat_started,omitempty"`

	// VideoNote This object represents a video message (available in Telegram apps as of v.4.0).
	VideoNote *VideoNote `json:"video_note,omitempty"`

	// Voice This object represents a voice note.
	Voice *Voice `json:"voice,omitempty"`

	// WebAppData Describes data sent from a Web App to the bot.
	WebAppData *WebAppData `json:"web_app_data,omitempty"`

	// WriteAccessAllowed This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.
	WriteAccessAllowed *WriteAccessAllowed `json:"write_access_allowed,omitempty"`
}

Message This object represents a message.

type MessageAutoDeleteTimerChanged

type MessageAutoDeleteTimerChanged struct {
	MessageAutoDeleteTime int `json:"message_auto_delete_time"`
}

MessageAutoDeleteTimerChanged This object represents a service message about a change in auto-delete timer settings.

type MessageEntity

type MessageEntity struct {
	CustomEmojiId *string `json:"custom_emoji_id,omitempty"`
	Language      *string `json:"language,omitempty"`
	Length        int     `json:"length"`
	Offset        int     `json:"offset"`
	Type          string  `json:"type"`
	Url           *string `json:"url,omitempty"`

	// User This object represents a Telegram user or bot.
	User *User `json:"user,omitempty"`
}

MessageEntity This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

type MessageId

type MessageId struct {
	MessageId int `json:"message_id"`
}

MessageId This object represents a unique message identifier.

type MessageOrigin

type MessageOrigin = map[string]interface{}

MessageOrigin This object describes the origin of a message. It can be one of MessageOriginUser MessageOriginHiddenUser MessageOriginChat MessageOriginChannel

type MessageReactionCountUpdated

type MessageReactionCountUpdated struct {
	// Chat This object represents a chat.
	Chat      Chat            `json:"chat"`
	Date      int             `json:"date"`
	MessageId int             `json:"message_id"`
	Reactions []ReactionCount `json:"reactions"`
}

MessageReactionCountUpdated This object represents reaction changes on a message with anonymous reactions.

type MessageReactionUpdated

type MessageReactionUpdated struct {
	// ActorChat This object represents a chat.
	ActorChat *Chat `json:"actor_chat,omitempty"`

	// Chat This object represents a chat.
	Chat        Chat           `json:"chat"`
	Date        int            `json:"date"`
	MessageId   int            `json:"message_id"`
	NewReaction []ReactionType `json:"new_reaction"`
	OldReaction []ReactionType `json:"old_reaction"`

	// User This object represents a Telegram user or bot.
	User *User `json:"user,omitempty"`
}

MessageReactionUpdated This object represents a change of a reaction on a message performed by a user.

type OkResponse

type OkResponse struct {
	Ok OkResponseOk `json:"ok"`
}

OkResponse defines model for OkResponse.

type OkResponseOk

type OkResponseOk bool

OkResponseOk defines model for OkResponse.Ok.

const (
	True OkResponseOk = true
)

Defines values for OkResponseOk.

type OrderInfo

type OrderInfo struct {
	Email       *string `json:"email,omitempty"`
	Name        *string `json:"name,omitempty"`
	PhoneNumber *string `json:"phone_number,omitempty"`

	// ShippingAddress This object represents a shipping address.
	ShippingAddress *ShippingAddress `json:"shipping_address,omitempty"`
}

OrderInfo This object represents information about an order.

type OwnedGift

type OwnedGift = map[string]interface{}

OwnedGift This object describes a gift received and owned by a user or a chat. Currently, it can be one of OwnedGiftRegular OwnedGiftUnique

type OwnedGifts

type OwnedGifts struct {
	Gifts      []OwnedGift `json:"gifts"`
	NextOffset *string     `json:"next_offset,omitempty"`
	TotalCount int         `json:"total_count"`
}

OwnedGifts Contains the list of gifts received and owned by a user or a chat.

type PaidMedia

type PaidMedia = map[string]interface{}

PaidMedia This object describes paid media. Currently, it can be one of PaidMediaPreview PaidMediaPhoto PaidMediaVideo

type PaidMediaInfo

type PaidMediaInfo struct {
	PaidMedia []PaidMedia `json:"paid_media"`
	StarCount int         `json:"star_count"`
}

PaidMediaInfo Describes the paid media added to a message.

type PaidMediaPurchased

type PaidMediaPurchased struct {
	// From This object represents a Telegram user or bot.
	From             User   `json:"from"`
	PaidMediaPayload string `json:"paid_media_payload"`
}

PaidMediaPurchased This object contains information about a paid media purchase.

type PaidMessagePriceChanged

type PaidMessagePriceChanged struct {
	PaidMessageStarCount int `json:"paid_message_star_count"`
}

PaidMessagePriceChanged Describes a service message about a change in the price of paid messages within a chat.

type PassportData

type PassportData struct {
	// Credentials Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
	Credentials EncryptedCredentials       `json:"credentials"`
	Data        []EncryptedPassportElement `json:"data"`
}

PassportData Describes Telegram Passport data shared with the bot by the user.

type PassportFile

type PassportFile struct {
	FileDate     int    `json:"file_date"`
	FileId       string `json:"file_id"`
	FileSize     int    `json:"file_size"`
	FileUniqueId string `json:"file_unique_id"`
}

PassportFile This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.

type PhotoSize

type PhotoSize struct {
	FileId       string `json:"file_id"`
	FileSize     *int   `json:"file_size,omitempty"`
	FileUniqueId string `json:"file_unique_id"`
	Height       int    `json:"height"`
	Width        int    `json:"width"`
}

PhotoSize This object represents one size of a photo or a file / sticker thumbnail.

type PinChatMessage200Ok

type PinChatMessage200Ok bool

type PinChatMessageJSONBody

type PinChatMessageJSONBody = map[string]interface{}

PinChatMessageJSONBody defines parameters for PinChatMessage.

type PinChatMessageJSONRequestBody

type PinChatMessageJSONRequestBody = PinChatMessageJSONBody

PinChatMessageJSONRequestBody defines body for PinChatMessage for application/json ContentType.

type PinChatMessageResponse

type PinChatMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     PinChatMessage200Ok `json:"ok"`
		Result bool                `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParsePinChatMessageResponse

func ParsePinChatMessageResponse(rsp *http.Response) (*PinChatMessageResponse, error)

ParsePinChatMessageResponse parses an HTTP response from a PinChatMessageWithResponse call

func (PinChatMessageResponse) Status

func (r PinChatMessageResponse) Status() string

Status returns HTTPResponse.Status

func (PinChatMessageResponse) StatusCode

func (r PinChatMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Poll

type Poll struct {
	AllowsMultipleAnswers bool             `json:"allows_multiple_answers"`
	CloseDate             *int             `json:"close_date,omitempty"`
	CorrectOptionId       *int             `json:"correct_option_id,omitempty"`
	Explanation           *string          `json:"explanation,omitempty"`
	ExplanationEntities   *[]MessageEntity `json:"explanation_entities,omitempty"`
	Id                    string           `json:"id"`
	IsAnonymous           bool             `json:"is_anonymous"`
	IsClosed              bool             `json:"is_closed"`
	OpenPeriod            *int             `json:"open_period,omitempty"`
	Options               []PollOption     `json:"options"`
	Question              string           `json:"question"`
	QuestionEntities      *[]MessageEntity `json:"question_entities,omitempty"`
	TotalVoterCount       int              `json:"total_voter_count"`
	Type                  string           `json:"type"`
}

Poll This object contains information about a poll.

type PollAnswer

type PollAnswer struct {
	OptionIds []int  `json:"option_ids"`
	PollId    string `json:"poll_id"`

	// User This object represents a Telegram user or bot.
	User *User `json:"user,omitempty"`

	// VoterChat This object represents a chat.
	VoterChat *Chat `json:"voter_chat,omitempty"`
}

PollAnswer This object represents an answer of a user in a non-anonymous poll.

type PollOption

type PollOption struct {
	Text         string           `json:"text"`
	TextEntities *[]MessageEntity `json:"text_entities,omitempty"`
	VoterCount   int              `json:"voter_count"`
}

PollOption This object contains information about one answer option in a poll.

type PostStory200Ok

type PostStory200Ok bool

type PostStoryJSONBody

type PostStoryJSONBody = map[string]interface{}

PostStoryJSONBody defines parameters for PostStory.

type PostStoryJSONRequestBody

type PostStoryJSONRequestBody = PostStoryJSONBody

PostStoryJSONRequestBody defines body for PostStory for application/json ContentType.

type PostStoryResponse

type PostStoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok PostStory200Ok `json:"ok"`

		// Result This object represents a story.
		Result Story `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParsePostStoryResponse

func ParsePostStoryResponse(rsp *http.Response) (*PostStoryResponse, error)

ParsePostStoryResponse parses an HTTP response from a PostStoryWithResponse call

func (PostStoryResponse) Status

func (r PostStoryResponse) Status() string

Status returns HTTPResponse.Status

func (PostStoryResponse) StatusCode

func (r PostStoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreCheckoutQuery

type PreCheckoutQuery struct {
	Currency string `json:"currency"`

	// From This object represents a Telegram user or bot.
	From           User   `json:"from"`
	Id             string `json:"id"`
	InvoicePayload string `json:"invoice_payload"`

	// OrderInfo This object represents information about an order.
	OrderInfo        *OrderInfo `json:"order_info,omitempty"`
	ShippingOptionId *string    `json:"shipping_option_id,omitempty"`
	TotalAmount      int        `json:"total_amount"`
}

PreCheckoutQuery This object contains information about an incoming pre-checkout query.

type PreparedInlineMessage

type PreparedInlineMessage struct {
	ExpirationDate int    `json:"expiration_date"`
	Id             string `json:"id"`
}

PreparedInlineMessage Describes an inline message to be sent by a user of a Mini App.

type PromoteChatMember200Ok

type PromoteChatMember200Ok bool

type PromoteChatMemberJSONBody

type PromoteChatMemberJSONBody = map[string]interface{}

PromoteChatMemberJSONBody defines parameters for PromoteChatMember.

type PromoteChatMemberJSONRequestBody

type PromoteChatMemberJSONRequestBody = PromoteChatMemberJSONBody

PromoteChatMemberJSONRequestBody defines body for PromoteChatMember for application/json ContentType.

type PromoteChatMemberResponse

type PromoteChatMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     PromoteChatMember200Ok `json:"ok"`
		Result bool                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParsePromoteChatMemberResponse

func ParsePromoteChatMemberResponse(rsp *http.Response) (*PromoteChatMemberResponse, error)

ParsePromoteChatMemberResponse parses an HTTP response from a PromoteChatMemberWithResponse call

func (PromoteChatMemberResponse) Status

func (r PromoteChatMemberResponse) Status() string

Status returns HTTPResponse.Status

func (PromoteChatMemberResponse) StatusCode

func (r PromoteChatMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProximityAlertTriggered

type ProximityAlertTriggered struct {
	Distance int `json:"distance"`

	// Traveler This object represents a Telegram user or bot.
	Traveler User `json:"traveler"`

	// Watcher This object represents a Telegram user or bot.
	Watcher User `json:"watcher"`
}

ProximityAlertTriggered This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

type ReactionCount

type ReactionCount struct {
	TotalCount int `json:"total_count"`

	// Type This object describes the type of a reaction. Currently, it can be one of
	// ReactionTypeEmoji
	// ReactionTypeCustomEmoji
	// ReactionTypePaid
	Type ReactionType `json:"type"`
}

ReactionCount Represents a reaction added to a message along with the number of times it was added.

type ReactionType

type ReactionType = map[string]interface{}

ReactionType This object describes the type of a reaction. Currently, it can be one of ReactionTypeEmoji ReactionTypeCustomEmoji ReactionTypePaid

type ReadBusinessMessage200Ok

type ReadBusinessMessage200Ok bool

type ReadBusinessMessageJSONBody

type ReadBusinessMessageJSONBody = map[string]interface{}

ReadBusinessMessageJSONBody defines parameters for ReadBusinessMessage.

type ReadBusinessMessageJSONRequestBody

type ReadBusinessMessageJSONRequestBody = ReadBusinessMessageJSONBody

ReadBusinessMessageJSONRequestBody defines body for ReadBusinessMessage for application/json ContentType.

type ReadBusinessMessageResponse

type ReadBusinessMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ReadBusinessMessage200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseReadBusinessMessageResponse

func ParseReadBusinessMessageResponse(rsp *http.Response) (*ReadBusinessMessageResponse, error)

ParseReadBusinessMessageResponse parses an HTTP response from a ReadBusinessMessageWithResponse call

func (ReadBusinessMessageResponse) Status

Status returns HTTPResponse.Status

func (ReadBusinessMessageResponse) StatusCode

func (r ReadBusinessMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RefundStarPayment200Ok

type RefundStarPayment200Ok bool

type RefundStarPaymentJSONBody

type RefundStarPaymentJSONBody = map[string]interface{}

RefundStarPaymentJSONBody defines parameters for RefundStarPayment.

type RefundStarPaymentJSONRequestBody

type RefundStarPaymentJSONRequestBody = RefundStarPaymentJSONBody

RefundStarPaymentJSONRequestBody defines body for RefundStarPayment for application/json ContentType.

type RefundStarPaymentResponse

type RefundStarPaymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     RefundStarPayment200Ok `json:"ok"`
		Result bool                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseRefundStarPaymentResponse

func ParseRefundStarPaymentResponse(rsp *http.Response) (*RefundStarPaymentResponse, error)

ParseRefundStarPaymentResponse parses an HTTP response from a RefundStarPaymentWithResponse call

func (RefundStarPaymentResponse) Status

func (r RefundStarPaymentResponse) Status() string

Status returns HTTPResponse.Status

func (RefundStarPaymentResponse) StatusCode

func (r RefundStarPaymentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RefundedPayment

type RefundedPayment struct {
	Currency                string  `json:"currency"`
	InvoicePayload          string  `json:"invoice_payload"`
	ProviderPaymentChargeId *string `json:"provider_payment_charge_id,omitempty"`
	TelegramPaymentChargeId string  `json:"telegram_payment_charge_id"`
	TotalAmount             int     `json:"total_amount"`
}

RefundedPayment This object contains basic information about a refunded payment.

type RemoveBusinessAccountProfilePhoto200Ok

type RemoveBusinessAccountProfilePhoto200Ok bool

type RemoveBusinessAccountProfilePhotoJSONBody

type RemoveBusinessAccountProfilePhotoJSONBody = map[string]interface{}

RemoveBusinessAccountProfilePhotoJSONBody defines parameters for RemoveBusinessAccountProfilePhoto.

type RemoveBusinessAccountProfilePhotoJSONRequestBody

type RemoveBusinessAccountProfilePhotoJSONRequestBody = RemoveBusinessAccountProfilePhotoJSONBody

RemoveBusinessAccountProfilePhotoJSONRequestBody defines body for RemoveBusinessAccountProfilePhoto for application/json ContentType.

type RemoveBusinessAccountProfilePhotoResponse

type RemoveBusinessAccountProfilePhotoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     RemoveBusinessAccountProfilePhoto200Ok `json:"ok"`
		Result bool                                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseRemoveBusinessAccountProfilePhotoResponse

func ParseRemoveBusinessAccountProfilePhotoResponse(rsp *http.Response) (*RemoveBusinessAccountProfilePhotoResponse, error)

ParseRemoveBusinessAccountProfilePhotoResponse parses an HTTP response from a RemoveBusinessAccountProfilePhotoWithResponse call

func (RemoveBusinessAccountProfilePhotoResponse) Status

Status returns HTTPResponse.Status

func (RemoveBusinessAccountProfilePhotoResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveChatVerification200Ok

type RemoveChatVerification200Ok bool

type RemoveChatVerificationJSONBody

type RemoveChatVerificationJSONBody = map[string]interface{}

RemoveChatVerificationJSONBody defines parameters for RemoveChatVerification.

type RemoveChatVerificationJSONRequestBody

type RemoveChatVerificationJSONRequestBody = RemoveChatVerificationJSONBody

RemoveChatVerificationJSONRequestBody defines body for RemoveChatVerification for application/json ContentType.

type RemoveChatVerificationResponse

type RemoveChatVerificationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     RemoveChatVerification200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseRemoveChatVerificationResponse

func ParseRemoveChatVerificationResponse(rsp *http.Response) (*RemoveChatVerificationResponse, error)

ParseRemoveChatVerificationResponse parses an HTTP response from a RemoveChatVerificationWithResponse call

func (RemoveChatVerificationResponse) Status

Status returns HTTPResponse.Status

func (RemoveChatVerificationResponse) StatusCode

func (r RemoveChatVerificationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveUserVerification200Ok

type RemoveUserVerification200Ok bool

type RemoveUserVerificationJSONBody

type RemoveUserVerificationJSONBody = map[string]interface{}

RemoveUserVerificationJSONBody defines parameters for RemoveUserVerification.

type RemoveUserVerificationJSONRequestBody

type RemoveUserVerificationJSONRequestBody = RemoveUserVerificationJSONBody

RemoveUserVerificationJSONRequestBody defines body for RemoveUserVerification for application/json ContentType.

type RemoveUserVerificationResponse

type RemoveUserVerificationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     RemoveUserVerification200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseRemoveUserVerificationResponse

func ParseRemoveUserVerificationResponse(rsp *http.Response) (*RemoveUserVerificationResponse, error)

ParseRemoveUserVerificationResponse parses an HTTP response from a RemoveUserVerificationWithResponse call

func (RemoveUserVerificationResponse) Status

Status returns HTTPResponse.Status

func (RemoveUserVerificationResponse) StatusCode

func (r RemoveUserVerificationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReopenForumTopic200Ok

type ReopenForumTopic200Ok bool

type ReopenForumTopicJSONBody

type ReopenForumTopicJSONBody = map[string]interface{}

ReopenForumTopicJSONBody defines parameters for ReopenForumTopic.

type ReopenForumTopicJSONRequestBody

type ReopenForumTopicJSONRequestBody = ReopenForumTopicJSONBody

ReopenForumTopicJSONRequestBody defines body for ReopenForumTopic for application/json ContentType.

type ReopenForumTopicResponse

type ReopenForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ReopenForumTopic200Ok `json:"ok"`
		Result bool                  `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseReopenForumTopicResponse

func ParseReopenForumTopicResponse(rsp *http.Response) (*ReopenForumTopicResponse, error)

ParseReopenForumTopicResponse parses an HTTP response from a ReopenForumTopicWithResponse call

func (ReopenForumTopicResponse) Status

func (r ReopenForumTopicResponse) Status() string

Status returns HTTPResponse.Status

func (ReopenForumTopicResponse) StatusCode

func (r ReopenForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReopenGeneralForumTopic200Ok

type ReopenGeneralForumTopic200Ok bool

type ReopenGeneralForumTopicJSONBody

type ReopenGeneralForumTopicJSONBody = map[string]interface{}

ReopenGeneralForumTopicJSONBody defines parameters for ReopenGeneralForumTopic.

type ReopenGeneralForumTopicJSONRequestBody

type ReopenGeneralForumTopicJSONRequestBody = ReopenGeneralForumTopicJSONBody

ReopenGeneralForumTopicJSONRequestBody defines body for ReopenGeneralForumTopic for application/json ContentType.

type ReopenGeneralForumTopicResponse

type ReopenGeneralForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ReopenGeneralForumTopic200Ok `json:"ok"`
		Result bool                         `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseReopenGeneralForumTopicResponse

func ParseReopenGeneralForumTopicResponse(rsp *http.Response) (*ReopenGeneralForumTopicResponse, error)

ParseReopenGeneralForumTopicResponse parses an HTTP response from a ReopenGeneralForumTopicWithResponse call

func (ReopenGeneralForumTopicResponse) Status

Status returns HTTPResponse.Status

func (ReopenGeneralForumTopicResponse) StatusCode

func (r ReopenGeneralForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceStickerInSet200Ok

type ReplaceStickerInSet200Ok bool

type ReplaceStickerInSetJSONBody

type ReplaceStickerInSetJSONBody = map[string]interface{}

ReplaceStickerInSetJSONBody defines parameters for ReplaceStickerInSet.

type ReplaceStickerInSetJSONRequestBody

type ReplaceStickerInSetJSONRequestBody = ReplaceStickerInSetJSONBody

ReplaceStickerInSetJSONRequestBody defines body for ReplaceStickerInSet for application/json ContentType.

type ReplaceStickerInSetResponse

type ReplaceStickerInSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     ReplaceStickerInSet200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseReplaceStickerInSetResponse

func ParseReplaceStickerInSetResponse(rsp *http.Response) (*ReplaceStickerInSetResponse, error)

ParseReplaceStickerInSetResponse parses an HTTP response from a ReplaceStickerInSetWithResponse call

func (ReplaceStickerInSetResponse) Status

Status returns HTTPResponse.Status

func (ReplaceStickerInSetResponse) StatusCode

func (r ReplaceStickerInSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseParameters

type ResponseParameters struct {
	MigrateToChatId *int `json:"migrate_to_chat_id,omitempty"`
	RetryAfter      *int `json:"retry_after,omitempty"`
}

ResponseParameters Describes why a request was unsuccessful.

type RestrictChatMember200Ok

type RestrictChatMember200Ok bool

type RestrictChatMemberJSONBody

type RestrictChatMemberJSONBody = map[string]interface{}

RestrictChatMemberJSONBody defines parameters for RestrictChatMember.

type RestrictChatMemberJSONRequestBody

type RestrictChatMemberJSONRequestBody = RestrictChatMemberJSONBody

RestrictChatMemberJSONRequestBody defines body for RestrictChatMember for application/json ContentType.

type RestrictChatMemberResponse

type RestrictChatMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     RestrictChatMember200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseRestrictChatMemberResponse

func ParseRestrictChatMemberResponse(rsp *http.Response) (*RestrictChatMemberResponse, error)

ParseRestrictChatMemberResponse parses an HTTP response from a RestrictChatMemberWithResponse call

func (RestrictChatMemberResponse) Status

Status returns HTTPResponse.Status

func (RestrictChatMemberResponse) StatusCode

func (r RestrictChatMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeChatInviteLink200Ok

type RevokeChatInviteLink200Ok bool

type RevokeChatInviteLinkJSONBody

type RevokeChatInviteLinkJSONBody = map[string]interface{}

RevokeChatInviteLinkJSONBody defines parameters for RevokeChatInviteLink.

type RevokeChatInviteLinkJSONRequestBody

type RevokeChatInviteLinkJSONRequestBody = RevokeChatInviteLinkJSONBody

RevokeChatInviteLinkJSONRequestBody defines body for RevokeChatInviteLink for application/json ContentType.

type RevokeChatInviteLinkResponse

type RevokeChatInviteLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok RevokeChatInviteLink200Ok `json:"ok"`

		// Result Represents an invite link for a chat.
		Result ChatInviteLink `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseRevokeChatInviteLinkResponse

func ParseRevokeChatInviteLinkResponse(rsp *http.Response) (*RevokeChatInviteLinkResponse, error)

ParseRevokeChatInviteLinkResponse parses an HTTP response from a RevokeChatInviteLinkWithResponse call

func (RevokeChatInviteLinkResponse) Status

Status returns HTTPResponse.Status

func (RevokeChatInviteLinkResponse) StatusCode

func (r RevokeChatInviteLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SavePreparedInlineMessage200Ok

type SavePreparedInlineMessage200Ok bool

type SavePreparedInlineMessageJSONBody

type SavePreparedInlineMessageJSONBody = map[string]interface{}

SavePreparedInlineMessageJSONBody defines parameters for SavePreparedInlineMessage.

type SavePreparedInlineMessageJSONRequestBody

type SavePreparedInlineMessageJSONRequestBody = SavePreparedInlineMessageJSONBody

SavePreparedInlineMessageJSONRequestBody defines body for SavePreparedInlineMessage for application/json ContentType.

type SavePreparedInlineMessageResponse

type SavePreparedInlineMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SavePreparedInlineMessage200Ok `json:"ok"`

		// Result Describes an inline message to be sent by a user of a Mini App.
		Result PreparedInlineMessage `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSavePreparedInlineMessageResponse

func ParseSavePreparedInlineMessageResponse(rsp *http.Response) (*SavePreparedInlineMessageResponse, error)

ParseSavePreparedInlineMessageResponse parses an HTTP response from a SavePreparedInlineMessageWithResponse call

func (SavePreparedInlineMessageResponse) Status

Status returns HTTPResponse.Status

func (SavePreparedInlineMessageResponse) StatusCode

func (r SavePreparedInlineMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendAnimation200Ok

type SendAnimation200Ok bool

type SendAnimationJSONBody

type SendAnimationJSONBody = map[string]interface{}

SendAnimationJSONBody defines parameters for SendAnimation.

type SendAnimationJSONRequestBody

type SendAnimationJSONRequestBody = SendAnimationJSONBody

SendAnimationJSONRequestBody defines body for SendAnimation for application/json ContentType.

type SendAnimationResponse

type SendAnimationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendAnimation200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendAnimationResponse

func ParseSendAnimationResponse(rsp *http.Response) (*SendAnimationResponse, error)

ParseSendAnimationResponse parses an HTTP response from a SendAnimationWithResponse call

func (SendAnimationResponse) Status

func (r SendAnimationResponse) Status() string

Status returns HTTPResponse.Status

func (SendAnimationResponse) StatusCode

func (r SendAnimationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendAudio200Ok

type SendAudio200Ok bool

type SendAudioJSONBody

type SendAudioJSONBody = map[string]interface{}

SendAudioJSONBody defines parameters for SendAudio.

type SendAudioJSONRequestBody

type SendAudioJSONRequestBody = SendAudioJSONBody

SendAudioJSONRequestBody defines body for SendAudio for application/json ContentType.

type SendAudioResponse

type SendAudioResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendAudio200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendAudioResponse

func ParseSendAudioResponse(rsp *http.Response) (*SendAudioResponse, error)

ParseSendAudioResponse parses an HTTP response from a SendAudioWithResponse call

func (SendAudioResponse) Status

func (r SendAudioResponse) Status() string

Status returns HTTPResponse.Status

func (SendAudioResponse) StatusCode

func (r SendAudioResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendChatAction200Ok

type SendChatAction200Ok bool

type SendChatActionJSONBody

type SendChatActionJSONBody = map[string]interface{}

SendChatActionJSONBody defines parameters for SendChatAction.

type SendChatActionJSONRequestBody

type SendChatActionJSONRequestBody = SendChatActionJSONBody

SendChatActionJSONRequestBody defines body for SendChatAction for application/json ContentType.

type SendChatActionResponse

type SendChatActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SendChatAction200Ok `json:"ok"`
		Result bool                `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendChatActionResponse

func ParseSendChatActionResponse(rsp *http.Response) (*SendChatActionResponse, error)

ParseSendChatActionResponse parses an HTTP response from a SendChatActionWithResponse call

func (SendChatActionResponse) Status

func (r SendChatActionResponse) Status() string

Status returns HTTPResponse.Status

func (SendChatActionResponse) StatusCode

func (r SendChatActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendChecklist200Ok

type SendChecklist200Ok bool

type SendChecklistJSONBody

type SendChecklistJSONBody = map[string]interface{}

SendChecklistJSONBody defines parameters for SendChecklist.

type SendChecklistJSONRequestBody

type SendChecklistJSONRequestBody = SendChecklistJSONBody

SendChecklistJSONRequestBody defines body for SendChecklist for application/json ContentType.

type SendChecklistResponse

type SendChecklistResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendChecklist200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendChecklistResponse

func ParseSendChecklistResponse(rsp *http.Response) (*SendChecklistResponse, error)

ParseSendChecklistResponse parses an HTTP response from a SendChecklistWithResponse call

func (SendChecklistResponse) Status

func (r SendChecklistResponse) Status() string

Status returns HTTPResponse.Status

func (SendChecklistResponse) StatusCode

func (r SendChecklistResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendContact200Ok

type SendContact200Ok bool

type SendContactJSONBody

type SendContactJSONBody = map[string]interface{}

SendContactJSONBody defines parameters for SendContact.

type SendContactJSONRequestBody

type SendContactJSONRequestBody = SendContactJSONBody

SendContactJSONRequestBody defines body for SendContact for application/json ContentType.

type SendContactResponse

type SendContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendContact200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendContactResponse

func ParseSendContactResponse(rsp *http.Response) (*SendContactResponse, error)

ParseSendContactResponse parses an HTTP response from a SendContactWithResponse call

func (SendContactResponse) Status

func (r SendContactResponse) Status() string

Status returns HTTPResponse.Status

func (SendContactResponse) StatusCode

func (r SendContactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendDice200Ok

type SendDice200Ok bool

type SendDiceJSONBody

type SendDiceJSONBody = map[string]interface{}

SendDiceJSONBody defines parameters for SendDice.

type SendDiceJSONRequestBody

type SendDiceJSONRequestBody = SendDiceJSONBody

SendDiceJSONRequestBody defines body for SendDice for application/json ContentType.

type SendDiceResponse

type SendDiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendDice200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendDiceResponse

func ParseSendDiceResponse(rsp *http.Response) (*SendDiceResponse, error)

ParseSendDiceResponse parses an HTTP response from a SendDiceWithResponse call

func (SendDiceResponse) Status

func (r SendDiceResponse) Status() string

Status returns HTTPResponse.Status

func (SendDiceResponse) StatusCode

func (r SendDiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendDocument200Ok

type SendDocument200Ok bool

type SendDocumentJSONBody

type SendDocumentJSONBody = map[string]interface{}

SendDocumentJSONBody defines parameters for SendDocument.

type SendDocumentJSONRequestBody

type SendDocumentJSONRequestBody = SendDocumentJSONBody

SendDocumentJSONRequestBody defines body for SendDocument for application/json ContentType.

type SendDocumentResponse

type SendDocumentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendDocument200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendDocumentResponse

func ParseSendDocumentResponse(rsp *http.Response) (*SendDocumentResponse, error)

ParseSendDocumentResponse parses an HTTP response from a SendDocumentWithResponse call

func (SendDocumentResponse) Status

func (r SendDocumentResponse) Status() string

Status returns HTTPResponse.Status

func (SendDocumentResponse) StatusCode

func (r SendDocumentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendGame200Ok

type SendGame200Ok bool

type SendGameJSONBody

type SendGameJSONBody = map[string]interface{}

SendGameJSONBody defines parameters for SendGame.

type SendGameJSONRequestBody

type SendGameJSONRequestBody = SendGameJSONBody

SendGameJSONRequestBody defines body for SendGame for application/json ContentType.

type SendGameResponse

type SendGameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendGame200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendGameResponse

func ParseSendGameResponse(rsp *http.Response) (*SendGameResponse, error)

ParseSendGameResponse parses an HTTP response from a SendGameWithResponse call

func (SendGameResponse) Status

func (r SendGameResponse) Status() string

Status returns HTTPResponse.Status

func (SendGameResponse) StatusCode

func (r SendGameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendGift200Ok

type SendGift200Ok bool

type SendGiftJSONBody

type SendGiftJSONBody = map[string]interface{}

SendGiftJSONBody defines parameters for SendGift.

type SendGiftJSONRequestBody

type SendGiftJSONRequestBody = SendGiftJSONBody

SendGiftJSONRequestBody defines body for SendGift for application/json ContentType.

type SendGiftResponse

type SendGiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SendGift200Ok `json:"ok"`
		Result bool          `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendGiftResponse

func ParseSendGiftResponse(rsp *http.Response) (*SendGiftResponse, error)

ParseSendGiftResponse parses an HTTP response from a SendGiftWithResponse call

func (SendGiftResponse) Status

func (r SendGiftResponse) Status() string

Status returns HTTPResponse.Status

func (SendGiftResponse) StatusCode

func (r SendGiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendInvoice200Ok

type SendInvoice200Ok bool

type SendInvoiceJSONBody

type SendInvoiceJSONBody = map[string]interface{}

SendInvoiceJSONBody defines parameters for SendInvoice.

type SendInvoiceJSONRequestBody

type SendInvoiceJSONRequestBody = SendInvoiceJSONBody

SendInvoiceJSONRequestBody defines body for SendInvoice for application/json ContentType.

type SendInvoiceResponse

type SendInvoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendInvoice200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendInvoiceResponse

func ParseSendInvoiceResponse(rsp *http.Response) (*SendInvoiceResponse, error)

ParseSendInvoiceResponse parses an HTTP response from a SendInvoiceWithResponse call

func (SendInvoiceResponse) Status

func (r SendInvoiceResponse) Status() string

Status returns HTTPResponse.Status

func (SendInvoiceResponse) StatusCode

func (r SendInvoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendLocation200Ok

type SendLocation200Ok bool

type SendLocationJSONBody

type SendLocationJSONBody = map[string]interface{}

SendLocationJSONBody defines parameters for SendLocation.

type SendLocationJSONRequestBody

type SendLocationJSONRequestBody = SendLocationJSONBody

SendLocationJSONRequestBody defines body for SendLocation for application/json ContentType.

type SendLocationResponse

type SendLocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendLocation200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendLocationResponse

func ParseSendLocationResponse(rsp *http.Response) (*SendLocationResponse, error)

ParseSendLocationResponse parses an HTTP response from a SendLocationWithResponse call

func (SendLocationResponse) Status

func (r SendLocationResponse) Status() string

Status returns HTTPResponse.Status

func (SendLocationResponse) StatusCode

func (r SendLocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendMediaGroup200Ok

type SendMediaGroup200Ok bool

type SendMediaGroupJSONBody

type SendMediaGroupJSONBody = map[string]interface{}

SendMediaGroupJSONBody defines parameters for SendMediaGroup.

type SendMediaGroupJSONRequestBody

type SendMediaGroupJSONRequestBody = SendMediaGroupJSONBody

SendMediaGroupJSONRequestBody defines body for SendMediaGroup for application/json ContentType.

type SendMediaGroupResponse

type SendMediaGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SendMediaGroup200Ok `json:"ok"`
		Result []Message           `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendMediaGroupResponse

func ParseSendMediaGroupResponse(rsp *http.Response) (*SendMediaGroupResponse, error)

ParseSendMediaGroupResponse parses an HTTP response from a SendMediaGroupWithResponse call

func (SendMediaGroupResponse) Status

func (r SendMediaGroupResponse) Status() string

Status returns HTTPResponse.Status

func (SendMediaGroupResponse) StatusCode

func (r SendMediaGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendMessage200Ok

type SendMessage200Ok bool

type SendMessageJSONBody

type SendMessageJSONBody = map[string]interface{}

SendMessageJSONBody defines parameters for SendMessage.

type SendMessageJSONRequestBody

type SendMessageJSONRequestBody = SendMessageJSONBody

SendMessageJSONRequestBody defines body for SendMessage for application/json ContentType.

type SendMessageResponse

type SendMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendMessage200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendMessageResponse

func ParseSendMessageResponse(rsp *http.Response) (*SendMessageResponse, error)

ParseSendMessageResponse parses an HTTP response from a SendMessageWithResponse call

func (SendMessageResponse) Status

func (r SendMessageResponse) Status() string

Status returns HTTPResponse.Status

func (SendMessageResponse) StatusCode

func (r SendMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendPaidMedia200Ok

type SendPaidMedia200Ok bool

type SendPaidMediaJSONBody

type SendPaidMediaJSONBody = map[string]interface{}

SendPaidMediaJSONBody defines parameters for SendPaidMedia.

type SendPaidMediaJSONRequestBody

type SendPaidMediaJSONRequestBody = SendPaidMediaJSONBody

SendPaidMediaJSONRequestBody defines body for SendPaidMedia for application/json ContentType.

type SendPaidMediaResponse

type SendPaidMediaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendPaidMedia200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendPaidMediaResponse

func ParseSendPaidMediaResponse(rsp *http.Response) (*SendPaidMediaResponse, error)

ParseSendPaidMediaResponse parses an HTTP response from a SendPaidMediaWithResponse call

func (SendPaidMediaResponse) Status

func (r SendPaidMediaResponse) Status() string

Status returns HTTPResponse.Status

func (SendPaidMediaResponse) StatusCode

func (r SendPaidMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendPhoto200Ok

type SendPhoto200Ok bool

type SendPhotoJSONBody

type SendPhotoJSONBody = map[string]interface{}

SendPhotoJSONBody defines parameters for SendPhoto.

type SendPhotoJSONRequestBody

type SendPhotoJSONRequestBody = SendPhotoJSONBody

SendPhotoJSONRequestBody defines body for SendPhoto for application/json ContentType.

type SendPhotoResponse

type SendPhotoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendPhoto200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendPhotoResponse

func ParseSendPhotoResponse(rsp *http.Response) (*SendPhotoResponse, error)

ParseSendPhotoResponse parses an HTTP response from a SendPhotoWithResponse call

func (SendPhotoResponse) Status

func (r SendPhotoResponse) Status() string

Status returns HTTPResponse.Status

func (SendPhotoResponse) StatusCode

func (r SendPhotoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendPoll200Ok

type SendPoll200Ok bool

type SendPollJSONBody

type SendPollJSONBody = map[string]interface{}

SendPollJSONBody defines parameters for SendPoll.

type SendPollJSONRequestBody

type SendPollJSONRequestBody = SendPollJSONBody

SendPollJSONRequestBody defines body for SendPoll for application/json ContentType.

type SendPollResponse

type SendPollResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendPoll200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendPollResponse

func ParseSendPollResponse(rsp *http.Response) (*SendPollResponse, error)

ParseSendPollResponse parses an HTTP response from a SendPollWithResponse call

func (SendPollResponse) Status

func (r SendPollResponse) Status() string

Status returns HTTPResponse.Status

func (SendPollResponse) StatusCode

func (r SendPollResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendSticker200Ok

type SendSticker200Ok bool

type SendStickerJSONBody

type SendStickerJSONBody = map[string]interface{}

SendStickerJSONBody defines parameters for SendSticker.

type SendStickerJSONRequestBody

type SendStickerJSONRequestBody = SendStickerJSONBody

SendStickerJSONRequestBody defines body for SendSticker for application/json ContentType.

type SendStickerResponse

type SendStickerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendSticker200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendStickerResponse

func ParseSendStickerResponse(rsp *http.Response) (*SendStickerResponse, error)

ParseSendStickerResponse parses an HTTP response from a SendStickerWithResponse call

func (SendStickerResponse) Status

func (r SendStickerResponse) Status() string

Status returns HTTPResponse.Status

func (SendStickerResponse) StatusCode

func (r SendStickerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendVenue200Ok

type SendVenue200Ok bool

type SendVenueJSONBody

type SendVenueJSONBody = map[string]interface{}

SendVenueJSONBody defines parameters for SendVenue.

type SendVenueJSONRequestBody

type SendVenueJSONRequestBody = SendVenueJSONBody

SendVenueJSONRequestBody defines body for SendVenue for application/json ContentType.

type SendVenueResponse

type SendVenueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendVenue200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendVenueResponse

func ParseSendVenueResponse(rsp *http.Response) (*SendVenueResponse, error)

ParseSendVenueResponse parses an HTTP response from a SendVenueWithResponse call

func (SendVenueResponse) Status

func (r SendVenueResponse) Status() string

Status returns HTTPResponse.Status

func (SendVenueResponse) StatusCode

func (r SendVenueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendVideo200Ok

type SendVideo200Ok bool

type SendVideoJSONBody

type SendVideoJSONBody = map[string]interface{}

SendVideoJSONBody defines parameters for SendVideo.

type SendVideoJSONRequestBody

type SendVideoJSONRequestBody = SendVideoJSONBody

SendVideoJSONRequestBody defines body for SendVideo for application/json ContentType.

type SendVideoNote200Ok

type SendVideoNote200Ok bool

type SendVideoNoteJSONBody

type SendVideoNoteJSONBody = map[string]interface{}

SendVideoNoteJSONBody defines parameters for SendVideoNote.

type SendVideoNoteJSONRequestBody

type SendVideoNoteJSONRequestBody = SendVideoNoteJSONBody

SendVideoNoteJSONRequestBody defines body for SendVideoNote for application/json ContentType.

type SendVideoNoteResponse

type SendVideoNoteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendVideoNote200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendVideoNoteResponse

func ParseSendVideoNoteResponse(rsp *http.Response) (*SendVideoNoteResponse, error)

ParseSendVideoNoteResponse parses an HTTP response from a SendVideoNoteWithResponse call

func (SendVideoNoteResponse) Status

func (r SendVideoNoteResponse) Status() string

Status returns HTTPResponse.Status

func (SendVideoNoteResponse) StatusCode

func (r SendVideoNoteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendVideoResponse

type SendVideoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendVideo200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendVideoResponse

func ParseSendVideoResponse(rsp *http.Response) (*SendVideoResponse, error)

ParseSendVideoResponse parses an HTTP response from a SendVideoWithResponse call

func (SendVideoResponse) Status

func (r SendVideoResponse) Status() string

Status returns HTTPResponse.Status

func (SendVideoResponse) StatusCode

func (r SendVideoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendVoice200Ok

type SendVoice200Ok bool

type SendVoiceJSONBody

type SendVoiceJSONBody = map[string]interface{}

SendVoiceJSONBody defines parameters for SendVoice.

type SendVoiceJSONRequestBody

type SendVoiceJSONRequestBody = SendVoiceJSONBody

SendVoiceJSONRequestBody defines body for SendVoice for application/json ContentType.

type SendVoiceResponse

type SendVoiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok SendVoice200Ok `json:"ok"`

		// Result This object represents a message.
		Result Message `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSendVoiceResponse

func ParseSendVoiceResponse(rsp *http.Response) (*SendVoiceResponse, error)

ParseSendVoiceResponse parses an HTTP response from a SendVoiceWithResponse call

func (SendVoiceResponse) Status

func (r SendVoiceResponse) Status() string

Status returns HTTPResponse.Status

func (SendVoiceResponse) StatusCode

func (r SendVoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SentWebAppMessage

type SentWebAppMessage struct {
	InlineMessageId *string `json:"inline_message_id,omitempty"`
}

SentWebAppMessage Describes an inline message sent by a Web App on behalf of a user.

type ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariable

type ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariable string

ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotTokenBotTokenVariable is the `botToken` variable for ServerUrlTelegramBotAPIEndpointSubstituteBotTokenWithYourBotToken

type SetBusinessAccountBio200Ok

type SetBusinessAccountBio200Ok bool

type SetBusinessAccountBioJSONBody

type SetBusinessAccountBioJSONBody = map[string]interface{}

SetBusinessAccountBioJSONBody defines parameters for SetBusinessAccountBio.

type SetBusinessAccountBioJSONRequestBody

type SetBusinessAccountBioJSONRequestBody = SetBusinessAccountBioJSONBody

SetBusinessAccountBioJSONRequestBody defines body for SetBusinessAccountBio for application/json ContentType.

type SetBusinessAccountBioResponse

type SetBusinessAccountBioResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetBusinessAccountBio200Ok `json:"ok"`
		Result bool                       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetBusinessAccountBioResponse

func ParseSetBusinessAccountBioResponse(rsp *http.Response) (*SetBusinessAccountBioResponse, error)

ParseSetBusinessAccountBioResponse parses an HTTP response from a SetBusinessAccountBioWithResponse call

func (SetBusinessAccountBioResponse) Status

Status returns HTTPResponse.Status

func (SetBusinessAccountBioResponse) StatusCode

func (r SetBusinessAccountBioResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetBusinessAccountGiftSettings200Ok

type SetBusinessAccountGiftSettings200Ok bool

type SetBusinessAccountGiftSettingsJSONBody

type SetBusinessAccountGiftSettingsJSONBody = map[string]interface{}

SetBusinessAccountGiftSettingsJSONBody defines parameters for SetBusinessAccountGiftSettings.

type SetBusinessAccountGiftSettingsJSONRequestBody

type SetBusinessAccountGiftSettingsJSONRequestBody = SetBusinessAccountGiftSettingsJSONBody

SetBusinessAccountGiftSettingsJSONRequestBody defines body for SetBusinessAccountGiftSettings for application/json ContentType.

type SetBusinessAccountGiftSettingsResponse

type SetBusinessAccountGiftSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetBusinessAccountGiftSettings200Ok `json:"ok"`
		Result bool                                `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetBusinessAccountGiftSettingsResponse

func ParseSetBusinessAccountGiftSettingsResponse(rsp *http.Response) (*SetBusinessAccountGiftSettingsResponse, error)

ParseSetBusinessAccountGiftSettingsResponse parses an HTTP response from a SetBusinessAccountGiftSettingsWithResponse call

func (SetBusinessAccountGiftSettingsResponse) Status

Status returns HTTPResponse.Status

func (SetBusinessAccountGiftSettingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetBusinessAccountName200Ok

type SetBusinessAccountName200Ok bool

type SetBusinessAccountNameJSONBody

type SetBusinessAccountNameJSONBody = map[string]interface{}

SetBusinessAccountNameJSONBody defines parameters for SetBusinessAccountName.

type SetBusinessAccountNameJSONRequestBody

type SetBusinessAccountNameJSONRequestBody = SetBusinessAccountNameJSONBody

SetBusinessAccountNameJSONRequestBody defines body for SetBusinessAccountName for application/json ContentType.

type SetBusinessAccountNameResponse

type SetBusinessAccountNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetBusinessAccountName200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetBusinessAccountNameResponse

func ParseSetBusinessAccountNameResponse(rsp *http.Response) (*SetBusinessAccountNameResponse, error)

ParseSetBusinessAccountNameResponse parses an HTTP response from a SetBusinessAccountNameWithResponse call

func (SetBusinessAccountNameResponse) Status

Status returns HTTPResponse.Status

func (SetBusinessAccountNameResponse) StatusCode

func (r SetBusinessAccountNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetBusinessAccountProfilePhoto200Ok

type SetBusinessAccountProfilePhoto200Ok bool

type SetBusinessAccountProfilePhotoJSONBody

type SetBusinessAccountProfilePhotoJSONBody = map[string]interface{}

SetBusinessAccountProfilePhotoJSONBody defines parameters for SetBusinessAccountProfilePhoto.

type SetBusinessAccountProfilePhotoJSONRequestBody

type SetBusinessAccountProfilePhotoJSONRequestBody = SetBusinessAccountProfilePhotoJSONBody

SetBusinessAccountProfilePhotoJSONRequestBody defines body for SetBusinessAccountProfilePhoto for application/json ContentType.

type SetBusinessAccountProfilePhotoResponse

type SetBusinessAccountProfilePhotoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetBusinessAccountProfilePhoto200Ok `json:"ok"`
		Result bool                                `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetBusinessAccountProfilePhotoResponse

func ParseSetBusinessAccountProfilePhotoResponse(rsp *http.Response) (*SetBusinessAccountProfilePhotoResponse, error)

ParseSetBusinessAccountProfilePhotoResponse parses an HTTP response from a SetBusinessAccountProfilePhotoWithResponse call

func (SetBusinessAccountProfilePhotoResponse) Status

Status returns HTTPResponse.Status

func (SetBusinessAccountProfilePhotoResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetBusinessAccountUsername200Ok

type SetBusinessAccountUsername200Ok bool

type SetBusinessAccountUsernameJSONBody

type SetBusinessAccountUsernameJSONBody = map[string]interface{}

SetBusinessAccountUsernameJSONBody defines parameters for SetBusinessAccountUsername.

type SetBusinessAccountUsernameJSONRequestBody

type SetBusinessAccountUsernameJSONRequestBody = SetBusinessAccountUsernameJSONBody

SetBusinessAccountUsernameJSONRequestBody defines body for SetBusinessAccountUsername for application/json ContentType.

type SetBusinessAccountUsernameResponse

type SetBusinessAccountUsernameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetBusinessAccountUsername200Ok `json:"ok"`
		Result bool                            `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetBusinessAccountUsernameResponse

func ParseSetBusinessAccountUsernameResponse(rsp *http.Response) (*SetBusinessAccountUsernameResponse, error)

ParseSetBusinessAccountUsernameResponse parses an HTTP response from a SetBusinessAccountUsernameWithResponse call

func (SetBusinessAccountUsernameResponse) Status

Status returns HTTPResponse.Status

func (SetBusinessAccountUsernameResponse) StatusCode

func (r SetBusinessAccountUsernameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChatAdministratorCustomTitle200Ok

type SetChatAdministratorCustomTitle200Ok bool

type SetChatAdministratorCustomTitleJSONBody

type SetChatAdministratorCustomTitleJSONBody = map[string]interface{}

SetChatAdministratorCustomTitleJSONBody defines parameters for SetChatAdministratorCustomTitle.

type SetChatAdministratorCustomTitleJSONRequestBody

type SetChatAdministratorCustomTitleJSONRequestBody = SetChatAdministratorCustomTitleJSONBody

SetChatAdministratorCustomTitleJSONRequestBody defines body for SetChatAdministratorCustomTitle for application/json ContentType.

type SetChatAdministratorCustomTitleResponse

type SetChatAdministratorCustomTitleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatAdministratorCustomTitle200Ok `json:"ok"`
		Result bool                                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatAdministratorCustomTitleResponse

func ParseSetChatAdministratorCustomTitleResponse(rsp *http.Response) (*SetChatAdministratorCustomTitleResponse, error)

ParseSetChatAdministratorCustomTitleResponse parses an HTTP response from a SetChatAdministratorCustomTitleWithResponse call

func (SetChatAdministratorCustomTitleResponse) Status

Status returns HTTPResponse.Status

func (SetChatAdministratorCustomTitleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetChatDescription200Ok

type SetChatDescription200Ok bool

type SetChatDescriptionJSONBody

type SetChatDescriptionJSONBody = map[string]interface{}

SetChatDescriptionJSONBody defines parameters for SetChatDescription.

type SetChatDescriptionJSONRequestBody

type SetChatDescriptionJSONRequestBody = SetChatDescriptionJSONBody

SetChatDescriptionJSONRequestBody defines body for SetChatDescription for application/json ContentType.

type SetChatDescriptionResponse

type SetChatDescriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatDescription200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatDescriptionResponse

func ParseSetChatDescriptionResponse(rsp *http.Response) (*SetChatDescriptionResponse, error)

ParseSetChatDescriptionResponse parses an HTTP response from a SetChatDescriptionWithResponse call

func (SetChatDescriptionResponse) Status

Status returns HTTPResponse.Status

func (SetChatDescriptionResponse) StatusCode

func (r SetChatDescriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChatMenuButton200Ok

type SetChatMenuButton200Ok bool

type SetChatMenuButtonJSONBody

type SetChatMenuButtonJSONBody = map[string]interface{}

SetChatMenuButtonJSONBody defines parameters for SetChatMenuButton.

type SetChatMenuButtonJSONRequestBody

type SetChatMenuButtonJSONRequestBody = SetChatMenuButtonJSONBody

SetChatMenuButtonJSONRequestBody defines body for SetChatMenuButton for application/json ContentType.

type SetChatMenuButtonResponse

type SetChatMenuButtonResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatMenuButton200Ok `json:"ok"`
		Result bool                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatMenuButtonResponse

func ParseSetChatMenuButtonResponse(rsp *http.Response) (*SetChatMenuButtonResponse, error)

ParseSetChatMenuButtonResponse parses an HTTP response from a SetChatMenuButtonWithResponse call

func (SetChatMenuButtonResponse) Status

func (r SetChatMenuButtonResponse) Status() string

Status returns HTTPResponse.Status

func (SetChatMenuButtonResponse) StatusCode

func (r SetChatMenuButtonResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChatPermissions200Ok

type SetChatPermissions200Ok bool

type SetChatPermissionsJSONBody

type SetChatPermissionsJSONBody = map[string]interface{}

SetChatPermissionsJSONBody defines parameters for SetChatPermissions.

type SetChatPermissionsJSONRequestBody

type SetChatPermissionsJSONRequestBody = SetChatPermissionsJSONBody

SetChatPermissionsJSONRequestBody defines body for SetChatPermissions for application/json ContentType.

type SetChatPermissionsResponse

type SetChatPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatPermissions200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatPermissionsResponse

func ParseSetChatPermissionsResponse(rsp *http.Response) (*SetChatPermissionsResponse, error)

ParseSetChatPermissionsResponse parses an HTTP response from a SetChatPermissionsWithResponse call

func (SetChatPermissionsResponse) Status

Status returns HTTPResponse.Status

func (SetChatPermissionsResponse) StatusCode

func (r SetChatPermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChatPhoto200Ok

type SetChatPhoto200Ok bool

type SetChatPhotoJSONBody

type SetChatPhotoJSONBody = map[string]interface{}

SetChatPhotoJSONBody defines parameters for SetChatPhoto.

type SetChatPhotoJSONRequestBody

type SetChatPhotoJSONRequestBody = SetChatPhotoJSONBody

SetChatPhotoJSONRequestBody defines body for SetChatPhoto for application/json ContentType.

type SetChatPhotoResponse

type SetChatPhotoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatPhoto200Ok `json:"ok"`
		Result bool              `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatPhotoResponse

func ParseSetChatPhotoResponse(rsp *http.Response) (*SetChatPhotoResponse, error)

ParseSetChatPhotoResponse parses an HTTP response from a SetChatPhotoWithResponse call

func (SetChatPhotoResponse) Status

func (r SetChatPhotoResponse) Status() string

Status returns HTTPResponse.Status

func (SetChatPhotoResponse) StatusCode

func (r SetChatPhotoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChatStickerSet200Ok

type SetChatStickerSet200Ok bool

type SetChatStickerSetJSONBody

type SetChatStickerSetJSONBody = map[string]interface{}

SetChatStickerSetJSONBody defines parameters for SetChatStickerSet.

type SetChatStickerSetJSONRequestBody

type SetChatStickerSetJSONRequestBody = SetChatStickerSetJSONBody

SetChatStickerSetJSONRequestBody defines body for SetChatStickerSet for application/json ContentType.

type SetChatStickerSetResponse

type SetChatStickerSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatStickerSet200Ok `json:"ok"`
		Result bool                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatStickerSetResponse

func ParseSetChatStickerSetResponse(rsp *http.Response) (*SetChatStickerSetResponse, error)

ParseSetChatStickerSetResponse parses an HTTP response from a SetChatStickerSetWithResponse call

func (SetChatStickerSetResponse) Status

func (r SetChatStickerSetResponse) Status() string

Status returns HTTPResponse.Status

func (SetChatStickerSetResponse) StatusCode

func (r SetChatStickerSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChatTitle200Ok

type SetChatTitle200Ok bool

type SetChatTitleJSONBody

type SetChatTitleJSONBody = map[string]interface{}

SetChatTitleJSONBody defines parameters for SetChatTitle.

type SetChatTitleJSONRequestBody

type SetChatTitleJSONRequestBody = SetChatTitleJSONBody

SetChatTitleJSONRequestBody defines body for SetChatTitle for application/json ContentType.

type SetChatTitleResponse

type SetChatTitleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetChatTitle200Ok `json:"ok"`
		Result bool              `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetChatTitleResponse

func ParseSetChatTitleResponse(rsp *http.Response) (*SetChatTitleResponse, error)

ParseSetChatTitleResponse parses an HTTP response from a SetChatTitleWithResponse call

func (SetChatTitleResponse) Status

func (r SetChatTitleResponse) Status() string

Status returns HTTPResponse.Status

func (SetChatTitleResponse) StatusCode

func (r SetChatTitleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetCustomEmojiStickerSetThumbnail200Ok

type SetCustomEmojiStickerSetThumbnail200Ok bool

type SetCustomEmojiStickerSetThumbnailJSONBody

type SetCustomEmojiStickerSetThumbnailJSONBody = map[string]interface{}

SetCustomEmojiStickerSetThumbnailJSONBody defines parameters for SetCustomEmojiStickerSetThumbnail.

type SetCustomEmojiStickerSetThumbnailJSONRequestBody

type SetCustomEmojiStickerSetThumbnailJSONRequestBody = SetCustomEmojiStickerSetThumbnailJSONBody

SetCustomEmojiStickerSetThumbnailJSONRequestBody defines body for SetCustomEmojiStickerSetThumbnail for application/json ContentType.

type SetCustomEmojiStickerSetThumbnailResponse

type SetCustomEmojiStickerSetThumbnailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetCustomEmojiStickerSetThumbnail200Ok `json:"ok"`
		Result bool                                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetCustomEmojiStickerSetThumbnailResponse

func ParseSetCustomEmojiStickerSetThumbnailResponse(rsp *http.Response) (*SetCustomEmojiStickerSetThumbnailResponse, error)

ParseSetCustomEmojiStickerSetThumbnailResponse parses an HTTP response from a SetCustomEmojiStickerSetThumbnailWithResponse call

func (SetCustomEmojiStickerSetThumbnailResponse) Status

Status returns HTTPResponse.Status

func (SetCustomEmojiStickerSetThumbnailResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetGameScore200Ok

type SetGameScore200Ok bool

type SetGameScore200Result1

type SetGameScore200Result1 = bool

type SetGameScoreJSONBody

type SetGameScoreJSONBody = map[string]interface{}

SetGameScoreJSONBody defines parameters for SetGameScore.

type SetGameScoreJSONRequestBody

type SetGameScoreJSONRequestBody = SetGameScoreJSONBody

SetGameScoreJSONRequestBody defines body for SetGameScore for application/json ContentType.

type SetGameScoreResponse

type SetGameScoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetGameScore200Ok       `json:"ok"`
		Result SetGameScore_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetGameScoreResponse

func ParseSetGameScoreResponse(rsp *http.Response) (*SetGameScoreResponse, error)

ParseSetGameScoreResponse parses an HTTP response from a SetGameScoreWithResponse call

func (SetGameScoreResponse) Status

func (r SetGameScoreResponse) Status() string

Status returns HTTPResponse.Status

func (SetGameScoreResponse) StatusCode

func (r SetGameScoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetGameScore_200_Result

type SetGameScore_200_Result struct {
	// contains filtered or unexported fields
}

type SetMessageReaction200Ok

type SetMessageReaction200Ok bool

type SetMessageReactionJSONBody

type SetMessageReactionJSONBody = map[string]interface{}

SetMessageReactionJSONBody defines parameters for SetMessageReaction.

type SetMessageReactionJSONRequestBody

type SetMessageReactionJSONRequestBody = SetMessageReactionJSONBody

SetMessageReactionJSONRequestBody defines body for SetMessageReaction for application/json ContentType.

type SetMessageReactionResponse

type SetMessageReactionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetMessageReaction200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetMessageReactionResponse

func ParseSetMessageReactionResponse(rsp *http.Response) (*SetMessageReactionResponse, error)

ParseSetMessageReactionResponse parses an HTTP response from a SetMessageReactionWithResponse call

func (SetMessageReactionResponse) Status

Status returns HTTPResponse.Status

func (SetMessageReactionResponse) StatusCode

func (r SetMessageReactionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetMyCommands200Ok

type SetMyCommands200Ok bool

type SetMyCommandsJSONBody

type SetMyCommandsJSONBody = map[string]interface{}

SetMyCommandsJSONBody defines parameters for SetMyCommands.

type SetMyCommandsJSONRequestBody

type SetMyCommandsJSONRequestBody = SetMyCommandsJSONBody

SetMyCommandsJSONRequestBody defines body for SetMyCommands for application/json ContentType.

type SetMyCommandsResponse

type SetMyCommandsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetMyCommands200Ok `json:"ok"`
		Result bool               `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetMyCommandsResponse

func ParseSetMyCommandsResponse(rsp *http.Response) (*SetMyCommandsResponse, error)

ParseSetMyCommandsResponse parses an HTTP response from a SetMyCommandsWithResponse call

func (SetMyCommandsResponse) Status

func (r SetMyCommandsResponse) Status() string

Status returns HTTPResponse.Status

func (SetMyCommandsResponse) StatusCode

func (r SetMyCommandsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetMyDefaultAdministratorRights200Ok

type SetMyDefaultAdministratorRights200Ok bool

type SetMyDefaultAdministratorRightsJSONBody

type SetMyDefaultAdministratorRightsJSONBody = map[string]interface{}

SetMyDefaultAdministratorRightsJSONBody defines parameters for SetMyDefaultAdministratorRights.

type SetMyDefaultAdministratorRightsJSONRequestBody

type SetMyDefaultAdministratorRightsJSONRequestBody = SetMyDefaultAdministratorRightsJSONBody

SetMyDefaultAdministratorRightsJSONRequestBody defines body for SetMyDefaultAdministratorRights for application/json ContentType.

type SetMyDefaultAdministratorRightsResponse

type SetMyDefaultAdministratorRightsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetMyDefaultAdministratorRights200Ok `json:"ok"`
		Result bool                                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetMyDefaultAdministratorRightsResponse

func ParseSetMyDefaultAdministratorRightsResponse(rsp *http.Response) (*SetMyDefaultAdministratorRightsResponse, error)

ParseSetMyDefaultAdministratorRightsResponse parses an HTTP response from a SetMyDefaultAdministratorRightsWithResponse call

func (SetMyDefaultAdministratorRightsResponse) Status

Status returns HTTPResponse.Status

func (SetMyDefaultAdministratorRightsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetMyDescription200Ok

type SetMyDescription200Ok bool

type SetMyDescriptionJSONBody

type SetMyDescriptionJSONBody = map[string]interface{}

SetMyDescriptionJSONBody defines parameters for SetMyDescription.

type SetMyDescriptionJSONRequestBody

type SetMyDescriptionJSONRequestBody = SetMyDescriptionJSONBody

SetMyDescriptionJSONRequestBody defines body for SetMyDescription for application/json ContentType.

type SetMyDescriptionResponse

type SetMyDescriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetMyDescription200Ok `json:"ok"`
		Result bool                  `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetMyDescriptionResponse

func ParseSetMyDescriptionResponse(rsp *http.Response) (*SetMyDescriptionResponse, error)

ParseSetMyDescriptionResponse parses an HTTP response from a SetMyDescriptionWithResponse call

func (SetMyDescriptionResponse) Status

func (r SetMyDescriptionResponse) Status() string

Status returns HTTPResponse.Status

func (SetMyDescriptionResponse) StatusCode

func (r SetMyDescriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetMyName200Ok

type SetMyName200Ok bool

type SetMyNameJSONBody

type SetMyNameJSONBody = map[string]interface{}

SetMyNameJSONBody defines parameters for SetMyName.

type SetMyNameJSONRequestBody

type SetMyNameJSONRequestBody = SetMyNameJSONBody

SetMyNameJSONRequestBody defines body for SetMyName for application/json ContentType.

type SetMyNameResponse

type SetMyNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetMyName200Ok `json:"ok"`
		Result bool           `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetMyNameResponse

func ParseSetMyNameResponse(rsp *http.Response) (*SetMyNameResponse, error)

ParseSetMyNameResponse parses an HTTP response from a SetMyNameWithResponse call

func (SetMyNameResponse) Status

func (r SetMyNameResponse) Status() string

Status returns HTTPResponse.Status

func (SetMyNameResponse) StatusCode

func (r SetMyNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetMyShortDescription200Ok

type SetMyShortDescription200Ok bool

type SetMyShortDescriptionJSONBody

type SetMyShortDescriptionJSONBody = map[string]interface{}

SetMyShortDescriptionJSONBody defines parameters for SetMyShortDescription.

type SetMyShortDescriptionJSONRequestBody

type SetMyShortDescriptionJSONRequestBody = SetMyShortDescriptionJSONBody

SetMyShortDescriptionJSONRequestBody defines body for SetMyShortDescription for application/json ContentType.

type SetMyShortDescriptionResponse

type SetMyShortDescriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetMyShortDescription200Ok `json:"ok"`
		Result bool                       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetMyShortDescriptionResponse

func ParseSetMyShortDescriptionResponse(rsp *http.Response) (*SetMyShortDescriptionResponse, error)

ParseSetMyShortDescriptionResponse parses an HTTP response from a SetMyShortDescriptionWithResponse call

func (SetMyShortDescriptionResponse) Status

Status returns HTTPResponse.Status

func (SetMyShortDescriptionResponse) StatusCode

func (r SetMyShortDescriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPassportDataErrors200Ok

type SetPassportDataErrors200Ok bool

type SetPassportDataErrorsJSONBody

type SetPassportDataErrorsJSONBody = map[string]interface{}

SetPassportDataErrorsJSONBody defines parameters for SetPassportDataErrors.

type SetPassportDataErrorsJSONRequestBody

type SetPassportDataErrorsJSONRequestBody = SetPassportDataErrorsJSONBody

SetPassportDataErrorsJSONRequestBody defines body for SetPassportDataErrors for application/json ContentType.

type SetPassportDataErrorsResponse

type SetPassportDataErrorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetPassportDataErrors200Ok `json:"ok"`
		Result bool                       `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetPassportDataErrorsResponse

func ParseSetPassportDataErrorsResponse(rsp *http.Response) (*SetPassportDataErrorsResponse, error)

ParseSetPassportDataErrorsResponse parses an HTTP response from a SetPassportDataErrorsWithResponse call

func (SetPassportDataErrorsResponse) Status

Status returns HTTPResponse.Status

func (SetPassportDataErrorsResponse) StatusCode

func (r SetPassportDataErrorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetStickerEmojiList200Ok

type SetStickerEmojiList200Ok bool

type SetStickerEmojiListJSONBody

type SetStickerEmojiListJSONBody = map[string]interface{}

SetStickerEmojiListJSONBody defines parameters for SetStickerEmojiList.

type SetStickerEmojiListJSONRequestBody

type SetStickerEmojiListJSONRequestBody = SetStickerEmojiListJSONBody

SetStickerEmojiListJSONRequestBody defines body for SetStickerEmojiList for application/json ContentType.

type SetStickerEmojiListResponse

type SetStickerEmojiListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetStickerEmojiList200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetStickerEmojiListResponse

func ParseSetStickerEmojiListResponse(rsp *http.Response) (*SetStickerEmojiListResponse, error)

ParseSetStickerEmojiListResponse parses an HTTP response from a SetStickerEmojiListWithResponse call

func (SetStickerEmojiListResponse) Status

Status returns HTTPResponse.Status

func (SetStickerEmojiListResponse) StatusCode

func (r SetStickerEmojiListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetStickerKeywords200Ok

type SetStickerKeywords200Ok bool

type SetStickerKeywordsJSONBody

type SetStickerKeywordsJSONBody = map[string]interface{}

SetStickerKeywordsJSONBody defines parameters for SetStickerKeywords.

type SetStickerKeywordsJSONRequestBody

type SetStickerKeywordsJSONRequestBody = SetStickerKeywordsJSONBody

SetStickerKeywordsJSONRequestBody defines body for SetStickerKeywords for application/json ContentType.

type SetStickerKeywordsResponse

type SetStickerKeywordsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetStickerKeywords200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetStickerKeywordsResponse

func ParseSetStickerKeywordsResponse(rsp *http.Response) (*SetStickerKeywordsResponse, error)

ParseSetStickerKeywordsResponse parses an HTTP response from a SetStickerKeywordsWithResponse call

func (SetStickerKeywordsResponse) Status

Status returns HTTPResponse.Status

func (SetStickerKeywordsResponse) StatusCode

func (r SetStickerKeywordsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetStickerMaskPosition200Ok

type SetStickerMaskPosition200Ok bool

type SetStickerMaskPositionJSONBody

type SetStickerMaskPositionJSONBody = map[string]interface{}

SetStickerMaskPositionJSONBody defines parameters for SetStickerMaskPosition.

type SetStickerMaskPositionJSONRequestBody

type SetStickerMaskPositionJSONRequestBody = SetStickerMaskPositionJSONBody

SetStickerMaskPositionJSONRequestBody defines body for SetStickerMaskPosition for application/json ContentType.

type SetStickerMaskPositionResponse

type SetStickerMaskPositionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetStickerMaskPosition200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetStickerMaskPositionResponse

func ParseSetStickerMaskPositionResponse(rsp *http.Response) (*SetStickerMaskPositionResponse, error)

ParseSetStickerMaskPositionResponse parses an HTTP response from a SetStickerMaskPositionWithResponse call

func (SetStickerMaskPositionResponse) Status

Status returns HTTPResponse.Status

func (SetStickerMaskPositionResponse) StatusCode

func (r SetStickerMaskPositionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetStickerPositionInSet200Ok

type SetStickerPositionInSet200Ok bool

type SetStickerPositionInSetJSONBody

type SetStickerPositionInSetJSONBody = map[string]interface{}

SetStickerPositionInSetJSONBody defines parameters for SetStickerPositionInSet.

type SetStickerPositionInSetJSONRequestBody

type SetStickerPositionInSetJSONRequestBody = SetStickerPositionInSetJSONBody

SetStickerPositionInSetJSONRequestBody defines body for SetStickerPositionInSet for application/json ContentType.

type SetStickerPositionInSetResponse

type SetStickerPositionInSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetStickerPositionInSet200Ok `json:"ok"`
		Result bool                         `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetStickerPositionInSetResponse

func ParseSetStickerPositionInSetResponse(rsp *http.Response) (*SetStickerPositionInSetResponse, error)

ParseSetStickerPositionInSetResponse parses an HTTP response from a SetStickerPositionInSetWithResponse call

func (SetStickerPositionInSetResponse) Status

Status returns HTTPResponse.Status

func (SetStickerPositionInSetResponse) StatusCode

func (r SetStickerPositionInSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetStickerSetThumbnail200Ok

type SetStickerSetThumbnail200Ok bool

type SetStickerSetThumbnailJSONBody

type SetStickerSetThumbnailJSONBody = map[string]interface{}

SetStickerSetThumbnailJSONBody defines parameters for SetStickerSetThumbnail.

type SetStickerSetThumbnailJSONRequestBody

type SetStickerSetThumbnailJSONRequestBody = SetStickerSetThumbnailJSONBody

SetStickerSetThumbnailJSONRequestBody defines body for SetStickerSetThumbnail for application/json ContentType.

type SetStickerSetThumbnailResponse

type SetStickerSetThumbnailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetStickerSetThumbnail200Ok `json:"ok"`
		Result bool                        `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetStickerSetThumbnailResponse

func ParseSetStickerSetThumbnailResponse(rsp *http.Response) (*SetStickerSetThumbnailResponse, error)

ParseSetStickerSetThumbnailResponse parses an HTTP response from a SetStickerSetThumbnailWithResponse call

func (SetStickerSetThumbnailResponse) Status

Status returns HTTPResponse.Status

func (SetStickerSetThumbnailResponse) StatusCode

func (r SetStickerSetThumbnailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetStickerSetTitle200Ok

type SetStickerSetTitle200Ok bool

type SetStickerSetTitleJSONBody

type SetStickerSetTitleJSONBody = map[string]interface{}

SetStickerSetTitleJSONBody defines parameters for SetStickerSetTitle.

type SetStickerSetTitleJSONRequestBody

type SetStickerSetTitleJSONRequestBody = SetStickerSetTitleJSONBody

SetStickerSetTitleJSONRequestBody defines body for SetStickerSetTitle for application/json ContentType.

type SetStickerSetTitleResponse

type SetStickerSetTitleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetStickerSetTitle200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetStickerSetTitleResponse

func ParseSetStickerSetTitleResponse(rsp *http.Response) (*SetStickerSetTitleResponse, error)

ParseSetStickerSetTitleResponse parses an HTTP response from a SetStickerSetTitleWithResponse call

func (SetStickerSetTitleResponse) Status

Status returns HTTPResponse.Status

func (SetStickerSetTitleResponse) StatusCode

func (r SetStickerSetTitleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetUserEmojiStatus200Ok

type SetUserEmojiStatus200Ok bool

type SetUserEmojiStatusJSONBody

type SetUserEmojiStatusJSONBody = map[string]interface{}

SetUserEmojiStatusJSONBody defines parameters for SetUserEmojiStatus.

type SetUserEmojiStatusJSONRequestBody

type SetUserEmojiStatusJSONRequestBody = SetUserEmojiStatusJSONBody

SetUserEmojiStatusJSONRequestBody defines body for SetUserEmojiStatus for application/json ContentType.

type SetUserEmojiStatusResponse

type SetUserEmojiStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetUserEmojiStatus200Ok `json:"ok"`
		Result bool                    `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetUserEmojiStatusResponse

func ParseSetUserEmojiStatusResponse(rsp *http.Response) (*SetUserEmojiStatusResponse, error)

ParseSetUserEmojiStatusResponse parses an HTTP response from a SetUserEmojiStatusWithResponse call

func (SetUserEmojiStatusResponse) Status

Status returns HTTPResponse.Status

func (SetUserEmojiStatusResponse) StatusCode

func (r SetUserEmojiStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetWebhook200Ok

type SetWebhook200Ok bool

type SetWebhookJSONBody

type SetWebhookJSONBody = map[string]interface{}

SetWebhookJSONBody defines parameters for SetWebhook.

type SetWebhookJSONRequestBody

type SetWebhookJSONRequestBody = SetWebhookJSONBody

SetWebhookJSONRequestBody defines body for SetWebhook for application/json ContentType.

type SetWebhookResponse

type SetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     SetWebhook200Ok `json:"ok"`
		Result bool            `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseSetWebhookResponse

func ParseSetWebhookResponse(rsp *http.Response) (*SetWebhookResponse, error)

ParseSetWebhookResponse parses an HTTP response from a SetWebhookWithResponse call

func (SetWebhookResponse) Status

func (r SetWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (SetWebhookResponse) StatusCode

func (r SetWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SharedUser

type SharedUser struct {
	FirstName *string      `json:"first_name,omitempty"`
	LastName  *string      `json:"last_name,omitempty"`
	Photo     *[]PhotoSize `json:"photo,omitempty"`
	UserId    int          `json:"user_id"`
	Username  *string      `json:"username,omitempty"`
}

SharedUser This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button.

type ShippingAddress

type ShippingAddress struct {
	City        string `json:"city"`
	CountryCode string `json:"country_code"`
	PostCode    string `json:"post_code"`
	State       string `json:"state"`
	StreetLine1 string `json:"street_line1"`
	StreetLine2 string `json:"street_line2"`
}

ShippingAddress This object represents a shipping address.

type ShippingQuery

type ShippingQuery struct {
	// From This object represents a Telegram user or bot.
	From           User   `json:"from"`
	Id             string `json:"id"`
	InvoicePayload string `json:"invoice_payload"`

	// ShippingAddress This object represents a shipping address.
	ShippingAddress ShippingAddress `json:"shipping_address"`
}

ShippingQuery This object contains information about an incoming shipping query.

type StarAmount

type StarAmount struct {
	Amount         int  `json:"amount"`
	NanostarAmount *int `json:"nanostar_amount,omitempty"`
}

StarAmount Describes an amount of Telegram Stars.

type StarTransaction

type StarTransaction struct {
	Amount         int    `json:"amount"`
	Date           int    `json:"date"`
	Id             string `json:"id"`
	NanostarAmount *int   `json:"nanostar_amount,omitempty"`

	// Receiver This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of
	// TransactionPartnerUser
	// TransactionPartnerChat
	// TransactionPartnerAffiliateProgram
	// TransactionPartnerFragment
	// TransactionPartnerTelegramAds
	// TransactionPartnerTelegramApi
	// TransactionPartnerOther
	Receiver *TransactionPartner `json:"receiver,omitempty"`

	// Source This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of
	// TransactionPartnerUser
	// TransactionPartnerChat
	// TransactionPartnerAffiliateProgram
	// TransactionPartnerFragment
	// TransactionPartnerTelegramAds
	// TransactionPartnerTelegramApi
	// TransactionPartnerOther
	Source *TransactionPartner `json:"source,omitempty"`
}

StarTransaction Describes a Telegram Star transaction. Note that if the buyer initiates a chargeback with the payment provider from whom they acquired Stars (e.g., Apple, Google) following this transaction, the refunded Stars will be deducted from the bot's balance. This is outside of Telegram's control.

type StarTransactions

type StarTransactions struct {
	Transactions []StarTransaction `json:"transactions"`
}

StarTransactions Contains a list of Telegram Star transactions.

type Sticker

type Sticker struct {
	CustomEmojiId *string `json:"custom_emoji_id,omitempty"`
	Emoji         *string `json:"emoji,omitempty"`
	FileId        string  `json:"file_id"`
	FileSize      *int    `json:"file_size,omitempty"`
	FileUniqueId  string  `json:"file_unique_id"`
	Height        int     `json:"height"`
	IsAnimated    bool    `json:"is_animated"`
	IsVideo       bool    `json:"is_video"`

	// MaskPosition This object describes the position on faces where a mask should be placed by default.
	MaskPosition    *MaskPosition `json:"mask_position,omitempty"`
	NeedsRepainting *bool         `json:"needs_repainting,omitempty"`

	// PremiumAnimation This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.
	PremiumAnimation *File   `json:"premium_animation,omitempty"`
	SetName          *string `json:"set_name,omitempty"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
	Type      string     `json:"type"`
	Width     int        `json:"width"`
}

Sticker This object represents a sticker.

type StickerSet

type StickerSet struct {
	Name        string    `json:"name"`
	StickerType string    `json:"sticker_type"`
	Stickers    []Sticker `json:"stickers"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
	Title     string     `json:"title"`
}

StickerSet This object represents a sticker set.

type StopMessageLiveLocation200Ok

type StopMessageLiveLocation200Ok bool

type StopMessageLiveLocation200Result1

type StopMessageLiveLocation200Result1 = bool

type StopMessageLiveLocationJSONBody

type StopMessageLiveLocationJSONBody = map[string]interface{}

StopMessageLiveLocationJSONBody defines parameters for StopMessageLiveLocation.

type StopMessageLiveLocationJSONRequestBody

type StopMessageLiveLocationJSONRequestBody = StopMessageLiveLocationJSONBody

StopMessageLiveLocationJSONRequestBody defines body for StopMessageLiveLocation for application/json ContentType.

type StopMessageLiveLocationResponse

type StopMessageLiveLocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     StopMessageLiveLocation200Ok       `json:"ok"`
		Result StopMessageLiveLocation_200_Result `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseStopMessageLiveLocationResponse

func ParseStopMessageLiveLocationResponse(rsp *http.Response) (*StopMessageLiveLocationResponse, error)

ParseStopMessageLiveLocationResponse parses an HTTP response from a StopMessageLiveLocationWithResponse call

func (StopMessageLiveLocationResponse) Status

Status returns HTTPResponse.Status

func (StopMessageLiveLocationResponse) StatusCode

func (r StopMessageLiveLocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StopMessageLiveLocation_200_Result

type StopMessageLiveLocation_200_Result struct {
	// contains filtered or unexported fields
}

type StopPoll200Ok

type StopPoll200Ok bool

type StopPollJSONBody

type StopPollJSONBody = map[string]interface{}

StopPollJSONBody defines parameters for StopPoll.

type StopPollJSONRequestBody

type StopPollJSONRequestBody = StopPollJSONBody

StopPollJSONRequestBody defines body for StopPoll for application/json ContentType.

type StopPollResponse

type StopPollResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok StopPoll200Ok `json:"ok"`

		// Result This object contains information about a poll.
		Result Poll `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseStopPollResponse

func ParseStopPollResponse(rsp *http.Response) (*StopPollResponse, error)

ParseStopPollResponse parses an HTTP response from a StopPollWithResponse call

func (StopPollResponse) Status

func (r StopPollResponse) Status() string

Status returns HTTPResponse.Status

func (StopPollResponse) StatusCode

func (r StopPollResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Story

type Story struct {
	// Chat This object represents a chat.
	Chat Chat `json:"chat"`
	Id   int  `json:"id"`
}

Story This object represents a story.

type SuccessfulPayment

type SuccessfulPayment struct {
	Currency         string `json:"currency"`
	InvoicePayload   string `json:"invoice_payload"`
	IsFirstRecurring *bool  `json:"is_first_recurring,omitempty"`
	IsRecurring      *bool  `json:"is_recurring,omitempty"`

	// OrderInfo This object represents information about an order.
	OrderInfo                  *OrderInfo `json:"order_info,omitempty"`
	ProviderPaymentChargeId    string     `json:"provider_payment_charge_id"`
	ShippingOptionId           *string    `json:"shipping_option_id,omitempty"`
	SubscriptionExpirationDate *int       `json:"subscription_expiration_date,omitempty"`
	TelegramPaymentChargeId    string     `json:"telegram_payment_charge_id"`
	TotalAmount                int        `json:"total_amount"`
}

SuccessfulPayment This object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control.

type SuggestedPostApprovalFailed

type SuggestedPostApprovalFailed struct {
	// Price Describes the price of a suggested post.
	Price SuggestedPostPrice `json:"price"`

	// SuggestedPostMessage This object represents a message.
	SuggestedPostMessage *Message `json:"suggested_post_message,omitempty"`
}

SuggestedPostApprovalFailed Describes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval.

type SuggestedPostApproved

type SuggestedPostApproved struct {
	// Price Describes the price of a suggested post.
	Price    *SuggestedPostPrice `json:"price,omitempty"`
	SendDate int                 `json:"send_date"`

	// SuggestedPostMessage This object represents a message.
	SuggestedPostMessage *Message `json:"suggested_post_message,omitempty"`
}

SuggestedPostApproved Describes a service message about the approval of a suggested post.

type SuggestedPostDeclined

type SuggestedPostDeclined struct {
	Comment *string `json:"comment,omitempty"`

	// SuggestedPostMessage This object represents a message.
	SuggestedPostMessage *Message `json:"suggested_post_message,omitempty"`
}

SuggestedPostDeclined Describes a service message about the rejection of a suggested post.

type SuggestedPostInfo

type SuggestedPostInfo struct {
	// Price Describes the price of a suggested post.
	Price    *SuggestedPostPrice `json:"price,omitempty"`
	SendDate *int                `json:"send_date,omitempty"`
	State    string              `json:"state"`
}

SuggestedPostInfo Contains information about a suggested post.

type SuggestedPostPaid

type SuggestedPostPaid struct {
	Amount   *int   `json:"amount,omitempty"`
	Currency string `json:"currency"`

	// StarAmount Describes an amount of Telegram Stars.
	StarAmount *StarAmount `json:"star_amount,omitempty"`

	// SuggestedPostMessage This object represents a message.
	SuggestedPostMessage *Message `json:"suggested_post_message,omitempty"`
}

SuggestedPostPaid Describes a service message about a successful payment for a suggested post.

type SuggestedPostPrice

type SuggestedPostPrice struct {
	Amount   int    `json:"amount"`
	Currency string `json:"currency"`
}

SuggestedPostPrice Describes the price of a suggested post.

type SuggestedPostRefunded

type SuggestedPostRefunded struct {
	Reason string `json:"reason"`

	// SuggestedPostMessage This object represents a message.
	SuggestedPostMessage *Message `json:"suggested_post_message,omitempty"`
}

SuggestedPostRefunded Describes a service message about a payment refund for a suggested post.

type SwitchInlineQueryChosenChat

type SwitchInlineQueryChosenChat struct {
	AllowBotChats     *bool   `json:"allow_bot_chats,omitempty"`
	AllowChannelChats *bool   `json:"allow_channel_chats,omitempty"`
	AllowGroupChats   *bool   `json:"allow_group_chats,omitempty"`
	AllowUserChats    *bool   `json:"allow_user_chats,omitempty"`
	Query             *string `json:"query,omitempty"`
}

SwitchInlineQueryChosenChat This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.

type TextQuote

type TextQuote struct {
	Entities *[]MessageEntity `json:"entities,omitempty"`
	IsManual *bool            `json:"is_manual,omitempty"`
	Position int              `json:"position"`
	Text     string           `json:"text"`
}

TextQuote This object contains information about the quoted part of a message that is replied to by the given message.

type TransactionPartner

type TransactionPartner = map[string]interface{}

TransactionPartner This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of TransactionPartnerUser TransactionPartnerChat TransactionPartnerAffiliateProgram TransactionPartnerFragment TransactionPartnerTelegramAds TransactionPartnerTelegramApi TransactionPartnerOther

type TransferBusinessAccountStars200Ok

type TransferBusinessAccountStars200Ok bool

type TransferBusinessAccountStarsJSONBody

type TransferBusinessAccountStarsJSONBody = map[string]interface{}

TransferBusinessAccountStarsJSONBody defines parameters for TransferBusinessAccountStars.

type TransferBusinessAccountStarsJSONRequestBody

type TransferBusinessAccountStarsJSONRequestBody = TransferBusinessAccountStarsJSONBody

TransferBusinessAccountStarsJSONRequestBody defines body for TransferBusinessAccountStars for application/json ContentType.

type TransferBusinessAccountStarsResponse

type TransferBusinessAccountStarsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     TransferBusinessAccountStars200Ok `json:"ok"`
		Result bool                              `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseTransferBusinessAccountStarsResponse

func ParseTransferBusinessAccountStarsResponse(rsp *http.Response) (*TransferBusinessAccountStarsResponse, error)

ParseTransferBusinessAccountStarsResponse parses an HTTP response from a TransferBusinessAccountStarsWithResponse call

func (TransferBusinessAccountStarsResponse) Status

Status returns HTTPResponse.Status

func (TransferBusinessAccountStarsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TransferGift200Ok

type TransferGift200Ok bool

type TransferGiftJSONBody

type TransferGiftJSONBody = map[string]interface{}

TransferGiftJSONBody defines parameters for TransferGift.

type TransferGiftJSONRequestBody

type TransferGiftJSONRequestBody = TransferGiftJSONBody

TransferGiftJSONRequestBody defines body for TransferGift for application/json ContentType.

type TransferGiftResponse

type TransferGiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     TransferGift200Ok `json:"ok"`
		Result bool              `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseTransferGiftResponse

func ParseTransferGiftResponse(rsp *http.Response) (*TransferGiftResponse, error)

ParseTransferGiftResponse parses an HTTP response from a TransferGiftWithResponse call

func (TransferGiftResponse) Status

func (r TransferGiftResponse) Status() string

Status returns HTTPResponse.Status

func (TransferGiftResponse) StatusCode

func (r TransferGiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnbanChatMember200Ok

type UnbanChatMember200Ok bool

type UnbanChatMemberJSONBody

type UnbanChatMemberJSONBody = map[string]interface{}

UnbanChatMemberJSONBody defines parameters for UnbanChatMember.

type UnbanChatMemberJSONRequestBody

type UnbanChatMemberJSONRequestBody = UnbanChatMemberJSONBody

UnbanChatMemberJSONRequestBody defines body for UnbanChatMember for application/json ContentType.

type UnbanChatMemberResponse

type UnbanChatMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnbanChatMember200Ok `json:"ok"`
		Result bool                 `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnbanChatMemberResponse

func ParseUnbanChatMemberResponse(rsp *http.Response) (*UnbanChatMemberResponse, error)

ParseUnbanChatMemberResponse parses an HTTP response from a UnbanChatMemberWithResponse call

func (UnbanChatMemberResponse) Status

func (r UnbanChatMemberResponse) Status() string

Status returns HTTPResponse.Status

func (UnbanChatMemberResponse) StatusCode

func (r UnbanChatMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnbanChatSenderChat200Ok

type UnbanChatSenderChat200Ok bool

type UnbanChatSenderChatJSONBody

type UnbanChatSenderChatJSONBody = map[string]interface{}

UnbanChatSenderChatJSONBody defines parameters for UnbanChatSenderChat.

type UnbanChatSenderChatJSONRequestBody

type UnbanChatSenderChatJSONRequestBody = UnbanChatSenderChatJSONBody

UnbanChatSenderChatJSONRequestBody defines body for UnbanChatSenderChat for application/json ContentType.

type UnbanChatSenderChatResponse

type UnbanChatSenderChatResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnbanChatSenderChat200Ok `json:"ok"`
		Result bool                     `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnbanChatSenderChatResponse

func ParseUnbanChatSenderChatResponse(rsp *http.Response) (*UnbanChatSenderChatResponse, error)

ParseUnbanChatSenderChatResponse parses an HTTP response from a UnbanChatSenderChatWithResponse call

func (UnbanChatSenderChatResponse) Status

Status returns HTTPResponse.Status

func (UnbanChatSenderChatResponse) StatusCode

func (r UnbanChatSenderChatResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnhideGeneralForumTopic200Ok

type UnhideGeneralForumTopic200Ok bool

type UnhideGeneralForumTopicJSONBody

type UnhideGeneralForumTopicJSONBody = map[string]interface{}

UnhideGeneralForumTopicJSONBody defines parameters for UnhideGeneralForumTopic.

type UnhideGeneralForumTopicJSONRequestBody

type UnhideGeneralForumTopicJSONRequestBody = UnhideGeneralForumTopicJSONBody

UnhideGeneralForumTopicJSONRequestBody defines body for UnhideGeneralForumTopic for application/json ContentType.

type UnhideGeneralForumTopicResponse

type UnhideGeneralForumTopicResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnhideGeneralForumTopic200Ok `json:"ok"`
		Result bool                         `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnhideGeneralForumTopicResponse

func ParseUnhideGeneralForumTopicResponse(rsp *http.Response) (*UnhideGeneralForumTopicResponse, error)

ParseUnhideGeneralForumTopicResponse parses an HTTP response from a UnhideGeneralForumTopicWithResponse call

func (UnhideGeneralForumTopicResponse) Status

Status returns HTTPResponse.Status

func (UnhideGeneralForumTopicResponse) StatusCode

func (r UnhideGeneralForumTopicResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UniqueGift

type UniqueGift struct {
	// Backdrop This object describes the backdrop of a unique gift.
	Backdrop UniqueGiftBackdrop `json:"backdrop"`
	BaseName string             `json:"base_name"`

	// Model This object describes the model of a unique gift.
	Model  UniqueGiftModel `json:"model"`
	Name   string          `json:"name"`
	Number int             `json:"number"`

	// PublisherChat This object represents a chat.
	PublisherChat *Chat `json:"publisher_chat,omitempty"`

	// Symbol This object describes the symbol shown on the pattern of a unique gift.
	Symbol UniqueGiftSymbol `json:"symbol"`
}

UniqueGift This object describes a unique gift that was upgraded from a regular gift.

type UniqueGiftBackdrop

type UniqueGiftBackdrop struct {
	// Colors This object describes the colors of the backdrop of a unique gift.
	Colors         UniqueGiftBackdropColors `json:"colors"`
	Name           string                   `json:"name"`
	RarityPerMille int                      `json:"rarity_per_mille"`
}

UniqueGiftBackdrop This object describes the backdrop of a unique gift.

type UniqueGiftBackdropColors

type UniqueGiftBackdropColors struct {
	CenterColor int `json:"center_color"`
	EdgeColor   int `json:"edge_color"`
	SymbolColor int `json:"symbol_color"`
	TextColor   int `json:"text_color"`
}

UniqueGiftBackdropColors This object describes the colors of the backdrop of a unique gift.

type UniqueGiftInfo

type UniqueGiftInfo struct {
	// Gift This object describes a unique gift that was upgraded from a regular gift.
	Gift                UniqueGift `json:"gift"`
	LastResaleStarCount *int       `json:"last_resale_star_count,omitempty"`
	NextTransferDate    *int       `json:"next_transfer_date,omitempty"`
	Origin              string     `json:"origin"`
	OwnedGiftId         *string    `json:"owned_gift_id,omitempty"`
	TransferStarCount   *int       `json:"transfer_star_count,omitempty"`
}

UniqueGiftInfo Describes a service message about a unique gift that was sent or received.

type UniqueGiftModel

type UniqueGiftModel struct {
	Name           string `json:"name"`
	RarityPerMille int    `json:"rarity_per_mille"`

	// Sticker This object represents a sticker.
	Sticker Sticker `json:"sticker"`
}

UniqueGiftModel This object describes the model of a unique gift.

type UniqueGiftSymbol

type UniqueGiftSymbol struct {
	Name           string `json:"name"`
	RarityPerMille int    `json:"rarity_per_mille"`

	// Sticker This object represents a sticker.
	Sticker Sticker `json:"sticker"`
}

UniqueGiftSymbol This object describes the symbol shown on the pattern of a unique gift.

type UnpinAllChatMessages200Ok

type UnpinAllChatMessages200Ok bool

type UnpinAllChatMessagesJSONBody

type UnpinAllChatMessagesJSONBody = map[string]interface{}

UnpinAllChatMessagesJSONBody defines parameters for UnpinAllChatMessages.

type UnpinAllChatMessagesJSONRequestBody

type UnpinAllChatMessagesJSONRequestBody = UnpinAllChatMessagesJSONBody

UnpinAllChatMessagesJSONRequestBody defines body for UnpinAllChatMessages for application/json ContentType.

type UnpinAllChatMessagesResponse

type UnpinAllChatMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnpinAllChatMessages200Ok `json:"ok"`
		Result bool                      `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnpinAllChatMessagesResponse

func ParseUnpinAllChatMessagesResponse(rsp *http.Response) (*UnpinAllChatMessagesResponse, error)

ParseUnpinAllChatMessagesResponse parses an HTTP response from a UnpinAllChatMessagesWithResponse call

func (UnpinAllChatMessagesResponse) Status

Status returns HTTPResponse.Status

func (UnpinAllChatMessagesResponse) StatusCode

func (r UnpinAllChatMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnpinAllForumTopicMessages200Ok

type UnpinAllForumTopicMessages200Ok bool

type UnpinAllForumTopicMessagesJSONBody

type UnpinAllForumTopicMessagesJSONBody = map[string]interface{}

UnpinAllForumTopicMessagesJSONBody defines parameters for UnpinAllForumTopicMessages.

type UnpinAllForumTopicMessagesJSONRequestBody

type UnpinAllForumTopicMessagesJSONRequestBody = UnpinAllForumTopicMessagesJSONBody

UnpinAllForumTopicMessagesJSONRequestBody defines body for UnpinAllForumTopicMessages for application/json ContentType.

type UnpinAllForumTopicMessagesResponse

type UnpinAllForumTopicMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnpinAllForumTopicMessages200Ok `json:"ok"`
		Result bool                            `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnpinAllForumTopicMessagesResponse

func ParseUnpinAllForumTopicMessagesResponse(rsp *http.Response) (*UnpinAllForumTopicMessagesResponse, error)

ParseUnpinAllForumTopicMessagesResponse parses an HTTP response from a UnpinAllForumTopicMessagesWithResponse call

func (UnpinAllForumTopicMessagesResponse) Status

Status returns HTTPResponse.Status

func (UnpinAllForumTopicMessagesResponse) StatusCode

func (r UnpinAllForumTopicMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnpinAllGeneralForumTopicMessages200Ok

type UnpinAllGeneralForumTopicMessages200Ok bool

type UnpinAllGeneralForumTopicMessagesJSONBody

type UnpinAllGeneralForumTopicMessagesJSONBody = map[string]interface{}

UnpinAllGeneralForumTopicMessagesJSONBody defines parameters for UnpinAllGeneralForumTopicMessages.

type UnpinAllGeneralForumTopicMessagesJSONRequestBody

type UnpinAllGeneralForumTopicMessagesJSONRequestBody = UnpinAllGeneralForumTopicMessagesJSONBody

UnpinAllGeneralForumTopicMessagesJSONRequestBody defines body for UnpinAllGeneralForumTopicMessages for application/json ContentType.

type UnpinAllGeneralForumTopicMessagesResponse

type UnpinAllGeneralForumTopicMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnpinAllGeneralForumTopicMessages200Ok `json:"ok"`
		Result bool                                   `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnpinAllGeneralForumTopicMessagesResponse

func ParseUnpinAllGeneralForumTopicMessagesResponse(rsp *http.Response) (*UnpinAllGeneralForumTopicMessagesResponse, error)

ParseUnpinAllGeneralForumTopicMessagesResponse parses an HTTP response from a UnpinAllGeneralForumTopicMessagesWithResponse call

func (UnpinAllGeneralForumTopicMessagesResponse) Status

Status returns HTTPResponse.Status

func (UnpinAllGeneralForumTopicMessagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UnpinChatMessage200Ok

type UnpinChatMessage200Ok bool

type UnpinChatMessageJSONBody

type UnpinChatMessageJSONBody = map[string]interface{}

UnpinChatMessageJSONBody defines parameters for UnpinChatMessage.

type UnpinChatMessageJSONRequestBody

type UnpinChatMessageJSONRequestBody = UnpinChatMessageJSONBody

UnpinChatMessageJSONRequestBody defines body for UnpinChatMessage for application/json ContentType.

type UnpinChatMessageResponse

type UnpinChatMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UnpinChatMessage200Ok `json:"ok"`
		Result bool                  `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUnpinChatMessageResponse

func ParseUnpinChatMessageResponse(rsp *http.Response) (*UnpinChatMessageResponse, error)

ParseUnpinChatMessageResponse parses an HTTP response from a UnpinChatMessageWithResponse call

func (UnpinChatMessageResponse) Status

func (r UnpinChatMessageResponse) Status() string

Status returns HTTPResponse.Status

func (UnpinChatMessageResponse) StatusCode

func (r UnpinChatMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Update

type Update struct {
	// BusinessConnection Describes the connection of the bot with a business account.
	BusinessConnection *BusinessConnection `json:"business_connection,omitempty"`

	// BusinessMessage This object represents a message.
	BusinessMessage *Message `json:"business_message,omitempty"`

	// CallbackQuery This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.
	CallbackQuery *CallbackQuery `json:"callback_query,omitempty"`

	// ChannelPost This object represents a message.
	ChannelPost *Message `json:"channel_post,omitempty"`

	// ChatBoost This object represents a boost added to a chat or changed.
	ChatBoost *ChatBoostUpdated `json:"chat_boost,omitempty"`

	// ChatJoinRequest Represents a join request sent to a chat.
	ChatJoinRequest *ChatJoinRequest `json:"chat_join_request,omitempty"`

	// ChatMember This object represents changes in the status of a chat member.
	ChatMember *ChatMemberUpdated `json:"chat_member,omitempty"`

	// ChosenInlineResult Represents a result of an inline query that was chosen by the user and sent to their chat partner.
	ChosenInlineResult *ChosenInlineResult `json:"chosen_inline_result,omitempty"`

	// DeletedBusinessMessages This object is received when messages are deleted from a connected business account.
	DeletedBusinessMessages *BusinessMessagesDeleted `json:"deleted_business_messages,omitempty"`

	// EditedBusinessMessage This object represents a message.
	EditedBusinessMessage *Message `json:"edited_business_message,omitempty"`

	// EditedChannelPost This object represents a message.
	EditedChannelPost *Message `json:"edited_channel_post,omitempty"`

	// EditedMessage This object represents a message.
	EditedMessage *Message `json:"edited_message,omitempty"`

	// InlineQuery This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
	InlineQuery *InlineQuery `json:"inline_query,omitempty"`

	// Message This object represents a message.
	Message *Message `json:"message,omitempty"`

	// MessageReaction This object represents a change of a reaction on a message performed by a user.
	MessageReaction *MessageReactionUpdated `json:"message_reaction,omitempty"`

	// MessageReactionCount This object represents reaction changes on a message with anonymous reactions.
	MessageReactionCount *MessageReactionCountUpdated `json:"message_reaction_count,omitempty"`

	// MyChatMember This object represents changes in the status of a chat member.
	MyChatMember *ChatMemberUpdated `json:"my_chat_member,omitempty"`

	// Poll This object contains information about a poll.
	Poll *Poll `json:"poll,omitempty"`

	// PollAnswer This object represents an answer of a user in a non-anonymous poll.
	PollAnswer *PollAnswer `json:"poll_answer,omitempty"`

	// PreCheckoutQuery This object contains information about an incoming pre-checkout query.
	PreCheckoutQuery *PreCheckoutQuery `json:"pre_checkout_query,omitempty"`

	// PurchasedPaidMedia This object contains information about a paid media purchase.
	PurchasedPaidMedia *PaidMediaPurchased `json:"purchased_paid_media,omitempty"`

	// RemovedChatBoost This object represents a boost removed from a chat.
	RemovedChatBoost *ChatBoostRemoved `json:"removed_chat_boost,omitempty"`

	// ShippingQuery This object contains information about an incoming shipping query.
	ShippingQuery *ShippingQuery `json:"shipping_query,omitempty"`
	UpdateId      int            `json:"update_id"`
}

Update This object represents an incoming update.At most one of the optional parameters can be present in any given update.

type UpgradeGift200Ok

type UpgradeGift200Ok bool

type UpgradeGiftJSONBody

type UpgradeGiftJSONBody = map[string]interface{}

UpgradeGiftJSONBody defines parameters for UpgradeGift.

type UpgradeGiftJSONRequestBody

type UpgradeGiftJSONRequestBody = UpgradeGiftJSONBody

UpgradeGiftJSONRequestBody defines body for UpgradeGift for application/json ContentType.

type UpgradeGiftResponse

type UpgradeGiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     UpgradeGift200Ok `json:"ok"`
		Result bool             `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUpgradeGiftResponse

func ParseUpgradeGiftResponse(rsp *http.Response) (*UpgradeGiftResponse, error)

ParseUpgradeGiftResponse parses an HTTP response from a UpgradeGiftWithResponse call

func (UpgradeGiftResponse) Status

func (r UpgradeGiftResponse) Status() string

Status returns HTTPResponse.Status

func (UpgradeGiftResponse) StatusCode

func (r UpgradeGiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadStickerFile200Ok

type UploadStickerFile200Ok bool

type UploadStickerFileJSONBody

type UploadStickerFileJSONBody = map[string]interface{}

UploadStickerFileJSONBody defines parameters for UploadStickerFile.

type UploadStickerFileJSONRequestBody

type UploadStickerFileJSONRequestBody = UploadStickerFileJSONBody

UploadStickerFileJSONRequestBody defines body for UploadStickerFile for application/json ContentType.

type UploadStickerFileResponse

type UploadStickerFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok UploadStickerFile200Ok `json:"ok"`

		// Result This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.
		Result File `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseUploadStickerFileResponse

func ParseUploadStickerFileResponse(rsp *http.Response) (*UploadStickerFileResponse, error)

ParseUploadStickerFileResponse parses an HTTP response from a UploadStickerFileWithResponse call

func (UploadStickerFileResponse) Status

func (r UploadStickerFileResponse) Status() string

Status returns HTTPResponse.Status

func (UploadStickerFileResponse) StatusCode

func (r UploadStickerFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	AddedToAttachmentMenu   *bool   `json:"added_to_attachment_menu,omitempty"`
	CanConnectToBusiness    *bool   `json:"can_connect_to_business,omitempty"`
	CanJoinGroups           *bool   `json:"can_join_groups,omitempty"`
	CanReadAllGroupMessages *bool   `json:"can_read_all_group_messages,omitempty"`
	FirstName               string  `json:"first_name"`
	HasMainWebApp           *bool   `json:"has_main_web_app,omitempty"`
	Id                      int     `json:"id"`
	IsBot                   bool    `json:"is_bot"`
	IsPremium               *bool   `json:"is_premium,omitempty"`
	LanguageCode            *string `json:"language_code,omitempty"`
	LastName                *string `json:"last_name,omitempty"`
	SupportsInlineQueries   *bool   `json:"supports_inline_queries,omitempty"`
	Username                *string `json:"username,omitempty"`
}

User This object represents a Telegram user or bot.

type UserChatBoosts

type UserChatBoosts struct {
	Boosts []ChatBoost `json:"boosts"`
}

UserChatBoosts This object represents a list of boosts added to a chat by a user.

type UserProfilePhotos

type UserProfilePhotos struct {
	Photos     [][]PhotoSize `json:"photos"`
	TotalCount int           `json:"total_count"`
}

UserProfilePhotos This object represent a user's profile pictures.

type UsersShared

type UsersShared struct {
	RequestId int          `json:"request_id"`
	Users     []SharedUser `json:"users"`
}

UsersShared This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.

type Venue

type Venue struct {
	Address         string  `json:"address"`
	FoursquareId    *string `json:"foursquare_id,omitempty"`
	FoursquareType  *string `json:"foursquare_type,omitempty"`
	GooglePlaceId   *string `json:"google_place_id,omitempty"`
	GooglePlaceType *string `json:"google_place_type,omitempty"`

	// Location This object represents a point on the map.
	Location Location `json:"location"`
	Title    string   `json:"title"`
}

Venue This object represents a venue.

type VerifyChat200Ok

type VerifyChat200Ok bool

type VerifyChatJSONBody

type VerifyChatJSONBody = map[string]interface{}

VerifyChatJSONBody defines parameters for VerifyChat.

type VerifyChatJSONRequestBody

type VerifyChatJSONRequestBody = VerifyChatJSONBody

VerifyChatJSONRequestBody defines body for VerifyChat for application/json ContentType.

type VerifyChatResponse

type VerifyChatResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     VerifyChat200Ok `json:"ok"`
		Result bool            `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseVerifyChatResponse

func ParseVerifyChatResponse(rsp *http.Response) (*VerifyChatResponse, error)

ParseVerifyChatResponse parses an HTTP response from a VerifyChatWithResponse call

func (VerifyChatResponse) Status

func (r VerifyChatResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyChatResponse) StatusCode

func (r VerifyChatResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyUser200Ok

type VerifyUser200Ok bool

type VerifyUserJSONBody

type VerifyUserJSONBody = map[string]interface{}

VerifyUserJSONBody defines parameters for VerifyUser.

type VerifyUserJSONRequestBody

type VerifyUserJSONRequestBody = VerifyUserJSONBody

VerifyUserJSONRequestBody defines body for VerifyUser for application/json ContentType.

type VerifyUserResponse

type VerifyUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Ok     VerifyUser200Ok `json:"ok"`
		Result bool            `json:"result"`
	}
	JSON400 *ErrorResponse
	JSON401 *ErrorResponse
}

func ParseVerifyUserResponse

func ParseVerifyUserResponse(rsp *http.Response) (*VerifyUserResponse, error)

ParseVerifyUserResponse parses an HTTP response from a VerifyUserWithResponse call

func (VerifyUserResponse) Status

func (r VerifyUserResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyUserResponse) StatusCode

func (r VerifyUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Video

type Video struct {
	Cover          *[]PhotoSize `json:"cover,omitempty"`
	Duration       int          `json:"duration"`
	FileId         string       `json:"file_id"`
	FileName       *string      `json:"file_name,omitempty"`
	FileSize       *int         `json:"file_size,omitempty"`
	FileUniqueId   string       `json:"file_unique_id"`
	Height         int          `json:"height"`
	MimeType       *string      `json:"mime_type,omitempty"`
	StartTimestamp *int         `json:"start_timestamp,omitempty"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
	Width     int        `json:"width"`
}

Video This object represents a video file.

type VideoChatEnded

type VideoChatEnded struct {
	Duration int `json:"duration"`
}

VideoChatEnded This object represents a service message about a video chat ended in the chat.

type VideoChatParticipantsInvited

type VideoChatParticipantsInvited struct {
	Users []User `json:"users"`
}

VideoChatParticipantsInvited This object represents a service message about new members invited to a video chat.

type VideoChatScheduled

type VideoChatScheduled struct {
	StartDate int `json:"start_date"`
}

VideoChatScheduled This object represents a service message about a video chat scheduled in the chat.

type VideoChatStarted

type VideoChatStarted = map[string]interface{}

VideoChatStarted This object represents a service message about a video chat started in the chat. Currently holds no information.

type VideoNote

type VideoNote struct {
	Duration     int    `json:"duration"`
	FileId       string `json:"file_id"`
	FileSize     *int   `json:"file_size,omitempty"`
	FileUniqueId string `json:"file_unique_id"`
	Length       int    `json:"length"`

	// Thumbnail This object represents one size of a photo or a file / sticker thumbnail.
	Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
}

VideoNote This object represents a video message (available in Telegram apps as of v.4.0).

type Voice

type Voice struct {
	Duration     int     `json:"duration"`
	FileId       string  `json:"file_id"`
	FileSize     *int    `json:"file_size,omitempty"`
	FileUniqueId string  `json:"file_unique_id"`
	MimeType     *string `json:"mime_type,omitempty"`
}

Voice This object represents a voice note.

type WebAppData

type WebAppData struct {
	ButtonText string `json:"button_text"`
	Data       string `json:"data"`
}

WebAppData Describes data sent from a Web App to the bot.

type WebAppInfo

type WebAppInfo struct {
	Url string `json:"url"`
}

WebAppInfo Describes a Web App.

type WebhookInfo

type WebhookInfo struct {
	AllowedUpdates               *[]string `json:"allowed_updates,omitempty"`
	HasCustomCertificate         bool      `json:"has_custom_certificate"`
	IpAddress                    *string   `json:"ip_address,omitempty"`
	LastErrorDate                *int      `json:"last_error_date,omitempty"`
	LastErrorMessage             *string   `json:"last_error_message,omitempty"`
	LastSynchronizationErrorDate *int      `json:"last_synchronization_error_date,omitempty"`
	MaxConnections               *int      `json:"max_connections,omitempty"`
	PendingUpdateCount           int       `json:"pending_update_count"`
	Url                          string    `json:"url"`
}

WebhookInfo Describes the current status of a webhook.

type WriteAccessAllowed

type WriteAccessAllowed struct {
	FromAttachmentMenu *bool   `json:"from_attachment_menu,omitempty"`
	FromRequest        *bool   `json:"from_request,omitempty"`
	WebAppName         *string `json:"web_app_name,omitempty"`
}

WriteAccessAllowed This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL