# Functions
NewAudioShare shares an existing audio file.
NewAudioUpload creates a new audio uploader.
NewBotAPI creates a new BotAPI instance.
NewBotAPIWithClient creates a new BotAPI instance and allows you to pass a http.Client.
NewCallback creates a new callback message.
NewCallbackWithAlert creates a new callback message that alerts the user.
NewCallbackWithURL creates new callback command with URL.
NewChatAction sets a chat action.
NewChatMessageEdit returns BaseEdit.
NewContact allows you to send a shared contact.
NewDocumentShare shares an existing document.
NewDocumentUpload creates a new document uploader.
NewEditMessageCaption allows you to edit the caption of a message.
NewEditMessageReplyMarkup allows you to edit the inline keyboard markup.
NewEditMessageText allows you to edit the text of a message.
NewForward creates a new forward.
NewHideKeyboard hides the keyboard, with the option for being selective or hiding for everyone.
NewInlineKeyboardButtonData creates an inline keyboard button with text and data for a callback.
NewInlineKeyboardButtonSwitchInlineQuery creates an inline keyboard button with text which allows the user to switch to a chat or return to a chat.
NewInlineKeyboardButtonSwitchInlineQueryCurrentChat create new command.
NewInlineKeyboardButtonURL creates an inline keyboard button with text which goes to a URL.
NewInlineKeyboardMarkup creates a new inline keyboard.
NewInlineKeyboardRow creates an inline keyboard row with buttons.
NewInlineQueryResultArticle creates a new inline query article.
NewInlineQueryResultAudio creates a new inline query audio.
NewInlineQueryResultDocument creates a new inline query document.
NewInlineQueryResultGIF creates a new inline query GIF.
NewInlineQueryResultLocation creates a new inline query location.
NewInlineQueryResultMPEG4GIF creates a new inline query MPEG4 GIF.
NewInlineQueryResultPhoto creates a new inline query photo.
NewInlineQueryResultVideo creates a new inline query video.
NewInlineQueryResultVoice creates a new inline query voice.
NewKeyboardButton creates a regular keyboard button.
NewKeyboardButtonContact creates a keyboard button that requests user contact information upon click.
NewKeyboardButtonLocation creates a keyboard button that requests user location information upon click.
NewKeyboardButtonRow creates a row of keyboard buttons.
NewLocation shares your location.
NewMessage creates a new Message.
NewMessageToChannel creates a new Message that is sent to a channel by username.
NewPhotoShare shares an existing photo.
NewPhotoUpload creates a new photo uploader.
NewReplyKeyboard creates a new regular keyboard with sane defaults.
NewReplyKeyboardUsingStrings creates reply keyboard from strings arrays.
NewStickerShare shares an existing sticker.
NewStickerUpload creates a new sticker uploader.
NewUpdate gets updates since the last Offset.
NewUserProfilePhotos gets user profile photos.
NewVenue allows you to send a venue and its location.
NewVideoShare shares an existing video.
NewVideoUpload creates a new video uploader.
NewVoiceShare shares an existing voice.
NewVoiceUpload creates a new voice uploader.
NewWebhook creates a new webhook.
NewWebhookWithCert creates a new webhook with a certificate.
ReplyToResponse replies to response.
# Constants
APIEndpoint is the endpoint for all API methods, with formatting for Sprintf.
ChatFindLocation is chat action.
ChatRecordAudio is chat action.
ChatRecordVideo is chat action.
ChatTyping is chat action.
ChatUploadAudio is chat action.
ChatUploadDocument is chat action.
ChatUploadPhoto is chat action.
ChatUploadVideo is chat action.
ErrBadFileType happens when you pass an unknown type.
ErrBadURL indicates bad or empty URL.
FileEndpoint is the endpoint for downloading a file from Telegram.
ModeHTML indicates HTML mode.
ModeMarkdown indicates markdown mode.
# Variables
ErrNoChatID is error when chat_id is missing.
# Structs
AnswerCallbackQueryConfig contains information on making a CallbackQuery response.
APIResponse is a response from the Telegram API with the result stored raw.
Audio contains information about audio.
AudioConfig contains information about a SendAudio request.
BaseChat is base type for all chat config types.
BaseEdit is base type of all chat edits.
BaseFile is a base type for all file config types.
BotAPI allows you to interact with the Telegram Bot API.
CallbackGame is a placeholder, currently holds no information.
CallbackQuery is data sent when a keyboard button with callback data is clicked.
Chat contains information about the place a message was sent.
ChatActionConfig contains information about a SendChatAction request.
No description provided by the author
ChatMember holds information about chat member.
ChatMemberConfig contains information about a user in a chat for use with administrative functions such as kicking or unbanning a user.
ChosenInlineResult is an inline query result chosen by a User.
Contact contains information about a contact.
ContactConfig allows you to send a contact.
Document contains information about a document.
DocumentConfig contains information about a SendDocument request.
EditMessageCaptionConfig allows you to modify the caption of a message.
EditMessageReplyMarkupConfig allows you to modify the reply markup of a message.
EditMessageTextConfig allows you to modify the text in a message.
ErrAPIForbidden is for 'forbidden' API response.
ExportChatInviteLink is message command for exporting chat link.
File contains information about a file to download from Telegram.
FileBytes contains information about a set of bytes to upload as a File.
FileConfig has information about a file hosted on Telegram.
FileReader contains information about a reader to upload as a File.
ForceReply allows the Bot to have users directly reply to it without additional interaction.
ForwardConfig contains information about a ForwardMessage request.
GroupChat is a group chat.
InlineConfig contains information on making an InlineQuery response.
InlineKeyboardButton is a button within a custom keyboard for inline query responses.
InlineKeyboardMarkup is a custom keyboard presented for an inline bot.
InlineQuery is a Query from Telegram for an inline request.
InlineQueryResultArticle is an inline query response article.
InlineQueryResultAudio is an inline query response audio.
InlineQueryResultDocument is an inline query response document.
InlineQueryResultGIF is an inline query response GIF.
InlineQueryResultLocation is an inline query response location.
InlineQueryResultMPEG4GIF is an inline query response MPEG4 GIF.
InlineQueryResultPhoto is an inline query response photo.
InlineQueryResultVideo is an inline query response video.
InlineQueryResultVoice is an inline query response voice.
InputContactMessageContent contains a contact for displaying as an inline query result.
InputLocationMessageContent contains a location for displaying as an inline query result.
InputTextMessageContent contains text for displaying as an inline query result.
InputVenueMessageContent contains a venue for displaying as an inline query result.
KeyboardButton is a button within a custom keyboard.
KeyboardButtonPollType represents the type of poll to be created https://core.telegram.org/bots/api#keyboardbuttonpolltype.
KeyboardButtonRequestChat represents a request from the bot to send a chat https://core.telegram.org/bots/api#keyboardbuttonrequestchat.
KeyboardButtonRequestUsers represents a request from the bot to send users https://core.telegram.org/bots/api#keyboardbuttonrequestusers.
LeaveChatConfig is message command for leaving chat.
Location contains information about a place.
LocationConfig contains information about a SendLocation request.
LoginUrl represents a parameter of the inline keyboard button used to automatically authorize a user.
Message is returned by almost every request, and contains data about almost anything.
MessageConfig contains information about a SendMessage request.
MessageEntity contains information about data in a Message.
PhotoConfig contains information about a SendPhoto request.
PhotoSize contains information about photos.
ReplyKeyboardHide allows the Bot to hide a custom keyboard.
ReplyKeyboardMarkup allows the Bot to set a custom keyboard.
Sticker contains information about a sticker.
StickerConfig contains information about a SendSticker request.
SwitchInlineQueryChosenChat represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.
Update is an update response, from GetUpdates.
UpdateConfig contains information about a GetUpdates request.
User is a user on Telegram.
UserProfilePhotos contains a set of user profile photos.
UserProfilePhotosConfig contains information about a GetUserProfilePhotos request.
Venue contains information about a venue, including its Location.
VenueConfig contains information about a SendVenue request.
Video contains information about a video.
VideoConfig contains information about a SendVideo request.
Voice contains information about a voice.
VoiceConfig contains information about a SendVoice request.
WebappInfo represents a web app to be opened with the button https://core.telegram.org/bots/api#webappinfo.
WebhookConfig contains information about a SetWebhook request.
# Type aliases
DeleteMessage is a command to delete a message.