Documentation
¶
Index ¶
- Constants
- type Animation
- type Audio
- type BotCommand
- type BotCommandScope
- type BotCommandScopeAllChatAdministrators
- type BotCommandScopeAllGroupChats
- type BotCommandScopeAllPrivateChats
- type BotCommandScopeChat
- type BotCommandScopeChatAdministrators
- type BotCommandScopeChatMember
- type BotCommandScopeDefault
- type CallbackGame
- type CallbackQuery
- type Chat
- type ChatAdministratorRights
- type ChatInviteLink
- type ChatJoinRequest
- type ChatLocation
- type ChatMember
- type ChatMemberUpdated
- type ChatPermissions
- type ChatPhoto
- type ChosenInlineResult
- type Contact
- type Dice
- type Document
- type EncryptedCredentials
- type EncryptedPassportElement
- type File
- type ForceReply
- type Game
- type GameHighScore
- type InlineKeyboardButton
- type InlineKeyboardMarkup
- type InlineQuery
- type InlineQueryResult
- type InlineQueryResultArticle
- type InlineQueryResultAudio
- type InlineQueryResultCachedAudio
- type InlineQueryResultCachedDocument
- type InlineQueryResultCachedGif
- type InlineQueryResultCachedMpeg4Gif
- type InlineQueryResultCachedPhoto
- type InlineQueryResultCachedSticker
- type InlineQueryResultCachedVideo
- type InlineQueryResultCachedVoice
- type InlineQueryResultContact
- type InlineQueryResultDocument
- type InlineQueryResultGame
- type InlineQueryResultGif
- type InlineQueryResultLocation
- type InlineQueryResultMpeg4Gif
- type InlineQueryResultPhoto
- type InlineQueryResultVenue
- type InlineQueryResultVideo
- type InlineQueryResultVoice
- type InputContactMessageContent
- type InputFile
- type InputInvoiceMessageContent
- type InputLocationMessageContent
- type InputMedia
- type InputMediaAnimation
- type InputMediaAudio
- type InputMediaDocument
- type InputMediaPhoto
- type InputMediaVideo
- type InputMessageContent
- type InputTextMessageContent
- type InputURL
- type InputVenueMessageContent
- type Invoice
- type KeyboardButton
- type KeyboardButtonPollType
- type LabeledPrice
- type Location
- type LoginUrl
- type MaskPosition
- type MenuButton
- type MenuButtonCommands
- type MenuButtonDefault
- type MenuButtonWebApp
- type Message
- type MessageAutoDeleteTimerChanged
- type MessageEntity
- type MessageId
- type OrderInfo
- type PassportData
- type PassportElementError
- type PassportElementErrorDataField
- type PassportElementErrorFile
- type PassportElementErrorFiles
- type PassportElementErrorFrontSide
- type PassportElementErrorReverseSide
- type PassportElementErrorSelfie
- type PassportElementErrorTranslationFile
- type PassportElementErrorTranslationFiles
- type PassportElementErrorUnspecified
- type PassportFile
- type PhotoSize
- type Poll
- type PollAnswer
- type PollOption
- type PreCheckoutQuery
- type ProximityAlertTriggered
- type ReplyKeyboardMarkup
- type ReplyKeyboardRemove
- type ResponseParameters
- type SentWebAppMessage
- type ShippingAddress
- type ShippingOption
- type ShippingQuery
- type Sticker
- type StickerSet
- type SuccessfulPayment
- type Update
- type User
- type UserProfilePhotos
- type Venue
- type Video
- type VideoChatEnded
- type VideoChatParticipantsInvited
- type VideoChatScheduled
- type VideoChatStarted
- type VideoNote
- type Voice
- type WebAppData
- type WebAppInfo
- type WebhookInfo
Constants ¶
View Source
const ( TypeChatMemberOwner = iota TypeChatMemberAdministrator TypeChatMemberMember TypeChatMemberRestricted TypeChatMemberLeft TypeChatMemberBanned )
CHAT_MEMBER
View Source
const ( TypeArrayOfBotCommand = iota TypeArrayOfChatMember TypeArrayOfGameHighScore TypeArrayOfMessage TypeArrayOfUpdate TypeBoolean TypeChat TypeChatAdministratorRights TypeChatInviteLink TypeChatMember TypeFile TypeInteger TypeMenuButton TypeMessage TypeMessageId TypePoll TypeSentWebAppMessage TypeStickerSet TypeString TypeUser TypeUserProfilePhotos TypeWebhookInfo )
RETURN_TYPES
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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"`
Thumb *PhotoSize `json:"thumb,omitempty"`
Width int64 `json:"width"`
}
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"`
Thumb *PhotoSize `json:"thumb,omitempty"`
Title string `json:"title,omitempty"`
}
type BotCommand ¶
type BotCommandScope ¶
type BotCommandScope interface{}
type BotCommandScopeAllChatAdministrators ¶
type BotCommandScopeAllChatAdministrators struct {
Type string `json:"type"`
}
type BotCommandScopeAllGroupChats ¶
type BotCommandScopeAllGroupChats struct {
Type string `json:"type"`
}
type BotCommandScopeAllPrivateChats ¶
type BotCommandScopeAllPrivateChats struct {
Type string `json:"type"`
}
type BotCommandScopeChat ¶
type BotCommandScopeDefault ¶
type BotCommandScopeDefault struct {
Type string `json:"type"`
}
type CallbackGame ¶
type CallbackGame interface{}
type CallbackQuery ¶
type CallbackQuery struct {
ChatInstance string `json:"chat_instance"`
Data string `json:"data,omitempty"`
From User `json:"from"`
GameShortName string `json:"game_short_name,omitempty"`
Id string `json:"id"`
InlineMessageId string `json:"inline_message_id,omitempty"`
Message *Message `json:"message,omitempty"`
}
type Chat ¶
type Chat struct {
Bio string `json:"bio,omitempty"`
CanSetStickerSet bool `json:"can_set_sticker_set,omitempty"`
Description string `json:"description,omitempty"`
FirstName string `json:"first_name,omitempty"`
HasPrivateForwards bool `json:"has_private_forwards,omitempty"`
HasProtectedContent bool `json:"has_protected_content,omitempty"`
Id int64 `json:"id"`
InviteLink string `json:"invite_link,omitempty"`
LastName string `json:"last_name,omitempty"`
LinkedChatId int64 `json:"linked_chat_id,omitempty"`
Location *ChatLocation `json:"location,omitempty"`
MessageAutoDeleteTime int `json:"message_auto_delete_time,omitempty"`
Permissions *ChatPermissions `json:"permissions,omitempty"`
Photo *ChatPhoto `json:"photo,omitempty"`
PinnedMessage *Message `json:"pinned_message,omitempty"`
SlowModeDelay int `json:"slow_mode_delay,omitempty"`
StickerSetName string `json:"sticker_set_name,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
Username string `json:"username,omitempty"`
}
type ChatAdministratorRights ¶
type ChatAdministratorRights struct {
CanChangeInfo bool `json:"can_change_info"`
CanDeleteMessages bool `json:"can_delete_messages"`
CanEditMessages bool `json:"can_edit_messages,omitempty"`
CanInviteUsers bool `json:"can_invite_users"`
CanManageChat bool `json:"can_manage_chat"`
CanManageVideoChats bool `json:"can_manage_video_chats"`
CanPinMessages bool `json:"can_pin_messages,omitempty"`
CanPostMessages bool `json:"can_post_messages,omitempty"`
CanPromoteMembers bool `json:"can_promote_members"`
CanRestrictMembers bool `json:"can_restrict_members"`
IsAnonymous bool `json:"is_anonymous"`
}
type ChatInviteLink ¶
type ChatInviteLink struct {
CreatesJoinRequest bool `json:"creates_join_request"`
Creator User `json:"creator"`
ExpireDate int64 `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"`
}
type ChatJoinRequest ¶
type ChatJoinRequest struct {
Bio string `json:"bio,omitempty"`
Chat Chat `json:"chat"`
Date int64 `json:"date"`
From User `json:"from"`
InviteLink *ChatInviteLink `json:"invite_link,omitempty"`
}
type ChatLocation ¶
type ChatMember ¶
type ChatMember struct {
CanAddWebPagePreviews bool `json:"can_add_web_page_previews"`
CanBeEdited bool `json:"can_be_edited"`
CanChangeInfo bool `json:"can_change_info"`
CanDeleteMessages bool `json:"can_delete_messages"`
CanEditMessages bool `json:"can_edit_messages"`
CanInviteUsers bool `json:"can_invite_users"`
CanManageChat bool `json:"can_manage_chat"`
CanManageVideoChats bool `json:"can_manage_video_chats"`
CanPinMessages bool `json:"can_pin_messages"`
CanPostMessages bool `json:"can_post_messages"`
CanPromoteMembers bool `json:"can_promote_members"`
CanRestrictMembers bool `json:"can_restrict_members"`
CanSendMediaMessages bool `json:"can_send_media_messages"`
CanSendMessages bool `json:"can_send_messages"`
CanSendOtherMessages bool `json:"can_send_other_messages"`
CanSendPolls bool `json:"can_send_polls"`
CustomTitle string `json:"custom_title"`
IsAnonymous bool `json:"is_anonymous"`
IsMember bool `json:"is_member"`
Status string `json:"status"`
UntilDate int64 `json:"until_date"`
User User `json:"user"`
}
func (ChatMember) Kind ¶
func (x ChatMember) Kind() int
type ChatMemberUpdated ¶
type ChatMemberUpdated struct {
Chat Chat `json:"chat"`
Date int64 `json:"date"`
From User `json:"from"`
InviteLink *ChatInviteLink `json:"invite_link,omitempty"`
NewChatMember ChatMember `json:"new_chat_member"`
OldChatMember ChatMember `json:"old_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"`
CanPinMessages bool `json:"can_pin_messages,omitempty"`
CanSendMediaMessages bool `json:"can_send_media_messages,omitempty"`
CanSendMessages bool `json:"can_send_messages,omitempty"`
CanSendOtherMessages bool `json:"can_send_other_messages,omitempty"`
CanSendPolls bool `json:"can_send_polls,omitempty"`
}
type ChosenInlineResult ¶
type EncryptedCredentials ¶
type EncryptedPassportElement ¶
type EncryptedPassportElement struct {
Data string `json:"data,omitempty"`
Email string `json:"email,omitempty"`
Files []PassportFile `json:"files,omitempty"`
FrontSide *PassportFile `json:"front_side,omitempty"`
Hash string `json:"hash"`
PhoneNumber string `json:"phone_number,omitempty"`
ReverseSide *PassportFile `json:"reverse_side,omitempty"`
Selfie *PassportFile `json:"selfie,omitempty"`
Translation []PassportFile `json:"translation,omitempty"`
Type string `json:"type"`
}
type ForceReply ¶
type GameHighScore ¶
type InlineKeyboardButton ¶
type InlineKeyboardButton struct {
CallbackData string `json:"callback_data,omitempty"`
CallbackGame *CallbackGame `json:"callback_game,omitempty"`
LoginUrl *LoginUrl `json:"login_url,omitempty"`
Pay bool `json:"pay,omitempty"`
SwitchInlineQuery string `json:"switch_inline_query,omitempty"`
SwitchInlineQueryCurrentChat string `json:"switch_inline_query_current_chat,omitempty"`
Text string `json:"text"`
Url string `json:"url,omitempty"`
WebApp *WebAppInfo `json:"web_app,omitempty"`
}
type InlineKeyboardMarkup ¶
type InlineKeyboardMarkup struct {
InlineKeyboard [][]InlineKeyboardButton `json:"inline_keyboard"`
}
type InlineQuery ¶
type InlineQueryResult ¶
type InlineQueryResult interface{}
type InlineQueryResultArticle ¶
type InlineQueryResultArticle struct {
Description string `json:"description,omitempty"`
HideUrl bool `json:"hide_url,omitempty"`
Id string `json:"id"`
InputMessageContent InputMessageContent `json:"input_message_content"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbHeight int `json:"thumb_height,omitempty"`
ThumbUrl string `json:"thumb_url,omitempty"`
ThumbWidth int64 `json:"thumb_width,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
Url string `json:"url,omitempty"`
}
func (InlineQueryResultArticle) MarshalJSON ¶
func (entity InlineQueryResultArticle) MarshalJSON() ([]byte, error)
type InlineQueryResultAudio ¶
type InlineQueryResultAudio struct {
AudioDuration int `json:"audio_duration,omitempty"`
AudioUrl string `json:"audio_url"`
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
Performer string `json:"performer,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
}
func (InlineQueryResultAudio) MarshalJSON ¶
func (entity InlineQueryResultAudio) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedAudio ¶
type InlineQueryResultCachedAudio struct {
AudioFileId string `json:"audio_file_id"`
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultCachedAudio) MarshalJSON ¶
func (entity InlineQueryResultCachedAudio) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedDocument ¶
type InlineQueryResultCachedDocument struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Description string `json:"description,omitempty"`
DocumentFileId string `json:"document_file_id"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
}
func (InlineQueryResultCachedDocument) MarshalJSON ¶
func (entity InlineQueryResultCachedDocument) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedGif ¶
type InlineQueryResultCachedGif struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
GifFileId string `json:"gif_file_id"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultCachedGif) MarshalJSON ¶
func (entity InlineQueryResultCachedGif) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedMpeg4Gif ¶
type InlineQueryResultCachedMpeg4Gif struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
Mpeg4FileId string `json:"mpeg4_file_id"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultCachedMpeg4Gif) MarshalJSON ¶
func (entity InlineQueryResultCachedMpeg4Gif) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedPhoto ¶
type InlineQueryResultCachedPhoto struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Description string `json:"description,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
PhotoFileId string `json:"photo_file_id"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultCachedPhoto) MarshalJSON ¶
func (entity InlineQueryResultCachedPhoto) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedSticker ¶
type InlineQueryResultCachedSticker struct {
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
StickerFileId string `json:"sticker_file_id"`
Type string `json:"type"`
}
func (InlineQueryResultCachedSticker) MarshalJSON ¶
func (entity InlineQueryResultCachedSticker) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedVideo ¶
type InlineQueryResultCachedVideo struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Description string `json:"description,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
VideoFileId string `json:"video_file_id"`
}
func (InlineQueryResultCachedVideo) MarshalJSON ¶
func (entity InlineQueryResultCachedVideo) MarshalJSON() ([]byte, error)
type InlineQueryResultCachedVoice ¶
type InlineQueryResultCachedVoice struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
VoiceFileId string `json:"voice_file_id"`
}
func (InlineQueryResultCachedVoice) MarshalJSON ¶
func (entity InlineQueryResultCachedVoice) MarshalJSON() ([]byte, error)
type InlineQueryResultContact ¶
type InlineQueryResultContact struct {
FirstName string `json:"first_name"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
LastName string `json:"last_name,omitempty"`
PhoneNumber string `json:"phone_number"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbHeight int `json:"thumb_height,omitempty"`
ThumbUrl string `json:"thumb_url,omitempty"`
ThumbWidth int64 `json:"thumb_width,omitempty"`
Type string `json:"type"`
Vcard string `json:"vcard,omitempty"`
}
func (InlineQueryResultContact) MarshalJSON ¶
func (entity InlineQueryResultContact) MarshalJSON() ([]byte, error)
type InlineQueryResultDocument ¶
type InlineQueryResultDocument struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Description string `json:"description,omitempty"`
DocumentUrl string `json:"document_url"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
MimeType string `json:"mime_type"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbHeight int `json:"thumb_height,omitempty"`
ThumbUrl string `json:"thumb_url,omitempty"`
ThumbWidth int64 `json:"thumb_width,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
}
func (InlineQueryResultDocument) MarshalJSON ¶
func (entity InlineQueryResultDocument) MarshalJSON() ([]byte, error)
type InlineQueryResultGame ¶
type InlineQueryResultGame struct {
GameShortName string `json:"game_short_name"`
Id string `json:"id"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Type string `json:"type"`
}
type InlineQueryResultGif ¶
type InlineQueryResultGif struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
GifDuration int `json:"gif_duration,omitempty"`
GifHeight int `json:"gif_height,omitempty"`
GifUrl string `json:"gif_url"`
GifWidth int64 `json:"gif_width,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbMimeType string `json:"thumb_mime_type,omitempty"`
ThumbUrl string `json:"thumb_url"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultGif) MarshalJSON ¶
func (entity InlineQueryResultGif) MarshalJSON() ([]byte, error)
type InlineQueryResultLocation ¶
type InlineQueryResultLocation struct {
Heading int `json:"heading,omitempty"`
HorizontalAccuracy float64 `json:"horizontal_accuracy,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
Latitude float64 `json:"latitude"`
LivePeriod int `json:"live_period,omitempty"`
Longitude float64 `json:"longitude"`
ProximityAlertRadius int `json:"proximity_alert_radius,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbHeight int `json:"thumb_height,omitempty"`
ThumbUrl string `json:"thumb_url,omitempty"`
ThumbWidth int64 `json:"thumb_width,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
}
func (InlineQueryResultLocation) MarshalJSON ¶
func (entity InlineQueryResultLocation) MarshalJSON() ([]byte, error)
type InlineQueryResultMpeg4Gif ¶
type InlineQueryResultMpeg4Gif struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
Mpeg4Duration int `json:"mpeg4_duration,omitempty"`
Mpeg4Height int `json:"mpeg4_height,omitempty"`
Mpeg4Url string `json:"mpeg4_url"`
Mpeg4Width int64 `json:"mpeg4_width,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbMimeType string `json:"thumb_mime_type,omitempty"`
ThumbUrl string `json:"thumb_url"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultMpeg4Gif) MarshalJSON ¶
func (entity InlineQueryResultMpeg4Gif) MarshalJSON() ([]byte, error)
type InlineQueryResultPhoto ¶
type InlineQueryResultPhoto struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Description string `json:"description,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
PhotoHeight int `json:"photo_height,omitempty"`
PhotoUrl string `json:"photo_url"`
PhotoWidth int64 `json:"photo_width,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbUrl string `json:"thumb_url"`
Title string `json:"title,omitempty"`
Type string `json:"type"`
}
func (InlineQueryResultPhoto) MarshalJSON ¶
func (entity InlineQueryResultPhoto) MarshalJSON() ([]byte, error)
type InlineQueryResultVenue ¶
type InlineQueryResultVenue 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"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbHeight int `json:"thumb_height,omitempty"`
ThumbUrl string `json:"thumb_url,omitempty"`
ThumbWidth int64 `json:"thumb_width,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
}
func (InlineQueryResultVenue) MarshalJSON ¶
func (entity InlineQueryResultVenue) MarshalJSON() ([]byte, error)
type InlineQueryResultVideo ¶
type InlineQueryResultVideo struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Description string `json:"description,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
MimeType string `json:"mime_type"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ThumbUrl string `json:"thumb_url"`
Title string `json:"title"`
Type string `json:"type"`
VideoDuration int64 `json:"video_duration,omitempty"`
VideoHeight int64 `json:"video_height,omitempty"`
VideoUrl string `json:"video_url"`
VideoWidth int64 `json:"video_width,omitempty"`
}
func (InlineQueryResultVideo) MarshalJSON ¶
func (entity InlineQueryResultVideo) MarshalJSON() ([]byte, error)
type InlineQueryResultVoice ¶
type InlineQueryResultVoice struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Id string `json:"id"`
InputMessageContent *InputMessageContent `json:"input_message_content,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
Title string `json:"title"`
Type string `json:"type"`
VoiceDuration int `json:"voice_duration,omitempty"`
VoiceUrl string `json:"voice_url"`
}
func (InlineQueryResultVoice) MarshalJSON ¶
func (entity InlineQueryResultVoice) MarshalJSON() ([]byte, error)
type InputInvoiceMessageContent ¶
type InputInvoiceMessageContent struct {
Currency string `json:"currency"`
Description string `json:"description"`
IsFlexible bool `json:"is_flexible,omitempty"`
MaxTipAmount int `json:"max_tip_amount,omitempty"`
NeedEmail bool `json:"need_email,omitempty"`
NeedName bool `json:"need_name,omitempty"`
NeedPhoneNumber bool `json:"need_phone_number,omitempty"`
NeedShippingAddress bool `json:"need_shipping_address,omitempty"`
Payload string `json:"payload"`
PhotoHeight int `json:"photo_height,omitempty"`
PhotoSize int `json:"photo_size,omitempty"`
PhotoUrl string `json:"photo_url,omitempty"`
PhotoWidth int64 `json:"photo_width,omitempty"`
Prices []LabeledPrice `json:"prices"`
ProviderData string `json:"provider_data,omitempty"`
ProviderToken string `json:"provider_token"`
SendEmailToProvider bool `json:"send_email_to_provider,omitempty"`
SendPhoneNumberToProvider bool `json:"send_phone_number_to_provider,omitempty"`
SuggestedTipAmounts []int `json:"suggested_tip_amounts,omitempty"`
Title string `json:"title"`
}
type InputLocationMessageContent ¶
type InputLocationMessageContent struct {
Heading int `json:"heading,omitempty"`
HorizontalAccuracy float64 `json:"horizontal_accuracy,omitempty"`
Latitude float64 `json:"latitude"`
LivePeriod int `json:"live_period,omitempty"`
Longitude float64 `json:"longitude"`
ProximityAlertRadius int `json:"proximity_alert_radius,omitempty"`
}
type InputMedia ¶
type InputMediaAnimation ¶
type InputMediaAnimation struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Duration int `json:"duration,omitempty"`
Height int `json:"height,omitempty"`
Media rawTypes.InputFile `json:"media,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
Thumb rawTypes.InputFile `json:"thumb,omitempty"`
Width int64 `json:"width,omitempty"`
}
func (*InputMediaAnimation) Files ¶
func (entity *InputMediaAnimation) Files() map[string]rawTypes.InputFile
func (InputMediaAnimation) MarshalJSON ¶
func (entity InputMediaAnimation) MarshalJSON() ([]byte, error)
func (*InputMediaAnimation) SetAttachment ¶
func (entity *InputMediaAnimation) SetAttachment(attach string)
func (*InputMediaAnimation) SetAttachmentThumb ¶
func (entity *InputMediaAnimation) SetAttachmentThumb(attach string)
type InputMediaAudio ¶
type InputMediaAudio struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Duration int `json:"duration,omitempty"`
Media rawTypes.InputFile `json:"media,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
Performer string `json:"performer,omitempty"`
Thumb rawTypes.InputFile `json:"thumb,omitempty"`
Title string `json:"title,omitempty"`
}
func (*InputMediaAudio) Files ¶
func (entity *InputMediaAudio) Files() map[string]rawTypes.InputFile
func (InputMediaAudio) MarshalJSON ¶
func (entity InputMediaAudio) MarshalJSON() ([]byte, error)
func (*InputMediaAudio) SetAttachment ¶
func (entity *InputMediaAudio) SetAttachment(attach string)
func (*InputMediaAudio) SetAttachmentThumb ¶
func (entity *InputMediaAudio) SetAttachmentThumb(attach string)
type InputMediaDocument ¶
type InputMediaDocument struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
DisableContentTypeDetection bool `json:"disable_content_type_detection,omitempty"`
Media rawTypes.InputFile `json:"media,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
Thumb rawTypes.InputFile `json:"thumb,omitempty"`
}
func (*InputMediaDocument) Files ¶
func (entity *InputMediaDocument) Files() map[string]rawTypes.InputFile
func (InputMediaDocument) MarshalJSON ¶
func (entity InputMediaDocument) MarshalJSON() ([]byte, error)
func (*InputMediaDocument) SetAttachment ¶
func (entity *InputMediaDocument) SetAttachment(attach string)
func (*InputMediaDocument) SetAttachmentThumb ¶
func (entity *InputMediaDocument) SetAttachmentThumb(attach string)
type InputMediaPhoto ¶
type InputMediaPhoto struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Media rawTypes.InputFile `json:"media,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
}
func (*InputMediaPhoto) Files ¶
func (entity *InputMediaPhoto) Files() map[string]rawTypes.InputFile
func (InputMediaPhoto) MarshalJSON ¶
func (entity InputMediaPhoto) MarshalJSON() ([]byte, error)
func (*InputMediaPhoto) SetAttachment ¶
func (entity *InputMediaPhoto) SetAttachment(attach string)
func (*InputMediaPhoto) SetAttachmentThumb ¶
func (entity *InputMediaPhoto) SetAttachmentThumb(_ string)
type InputMediaVideo ¶
type InputMediaVideo struct {
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
Duration int `json:"duration,omitempty"`
Height int `json:"height,omitempty"`
Media rawTypes.InputFile `json:"media,omitempty"`
ParseMode string `json:"parse_mode,omitempty"`
SupportsStreaming bool `json:"supports_streaming,omitempty"`
Thumb rawTypes.InputFile `json:"thumb,omitempty"`
Width int64 `json:"width,omitempty"`
}
func (*InputMediaVideo) Files ¶
func (entity *InputMediaVideo) Files() map[string]rawTypes.InputFile
func (InputMediaVideo) MarshalJSON ¶
func (entity InputMediaVideo) MarshalJSON() ([]byte, error)
func (*InputMediaVideo) SetAttachment ¶
func (entity *InputMediaVideo) SetAttachment(attach string)
func (*InputMediaVideo) SetAttachmentThumb ¶
func (entity *InputMediaVideo) SetAttachmentThumb(attach string)
type InputMessageContent ¶
type InputMessageContent interface{}
type InputTextMessageContent ¶
type InputTextMessageContent struct {
DisableWebPagePreview bool `json:"disable_web_page_preview,omitempty"`
Entities []MessageEntity `json:"entities,omitempty"`
MessageText string `json:"message_text"`
ParseMode string `json:"parse_mode,omitempty"`
}
type InputVenueMessageContent ¶
type InputVenueMessageContent 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"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Title string `json:"title"`
}
type KeyboardButton ¶
type KeyboardButton struct {
RequestContact bool `json:"request_contact,omitempty"`
RequestLocation bool `json:"request_location,omitempty"`
RequestPoll *KeyboardButtonPollType `json:"request_poll,omitempty"`
Text string `json:"text"`
WebApp *WebAppInfo `json:"web_app,omitempty"`
}
type KeyboardButtonPollType ¶
type KeyboardButtonPollType struct {
Type string `json:"type,omitempty"`
}
type LabeledPrice ¶
type Location ¶
type Location struct {
Heading int `json:"heading,omitempty"`
HorizontalAccuracy float64 `json:"horizontal_accuracy,omitempty"`
Latitude float64 `json:"latitude"`
LivePeriod int `json:"live_period,omitempty"`
Longitude float64 `json:"longitude"`
ProximityAlertRadius int `json:"proximity_alert_radius,omitempty"`
}
type MaskPosition ¶
type MenuButton ¶
type MenuButton interface{}
type MenuButtonCommands ¶
type MenuButtonCommands struct {
Type string `json:"type"`
}
type MenuButtonDefault ¶
type MenuButtonDefault struct {
Type string `json:"type"`
}
type MenuButtonWebApp ¶
type MenuButtonWebApp struct {
Text string `json:"text"`
Type string `json:"type"`
WebApp WebAppInfo `json:"web_app"`
}
type Message ¶
type Message struct {
Animation *Animation `json:"animation,omitempty"`
Audio *Audio `json:"audio,omitempty"`
AuthorSignature string `json:"author_signature,omitempty"`
Caption string `json:"caption,omitempty"`
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
ChannelChatCreated bool `json:"channel_chat_created,omitempty"`
Chat Chat `json:"chat"`
ConnectedWebsite string `json:"connected_website,omitempty"`
Contact *Contact `json:"contact,omitempty"`
Date int64 `json:"date"`
DeleteChatPhoto bool `json:"delete_chat_photo,omitempty"`
Dice *Dice `json:"dice,omitempty"`
Document *Document `json:"document,omitempty"`
EditDate int64 `json:"edit_date,omitempty"`
Entities []MessageEntity `json:"entities,omitempty"`
ForwardDate int64 `json:"forward_date,omitempty"`
ForwardFrom *User `json:"forward_from,omitempty"`
ForwardFromChat *Chat `json:"forward_from_chat,omitempty"`
ForwardFromMessageId int64 `json:"forward_from_message_id,omitempty"`
ForwardSenderName string `json:"forward_sender_name,omitempty"`
ForwardSignature string `json:"forward_signature,omitempty"`
From *User `json:"from,omitempty"`
Game *Game `json:"game,omitempty"`
GroupChatCreated bool `json:"group_chat_created,omitempty"`
HasProtectedContent bool `json:"has_protected_content,omitempty"`
Invoice *Invoice `json:"invoice,omitempty"`
IsAutomaticForward bool `json:"is_automatic_forward,omitempty"`
LeftChatMember *User `json:"left_chat_member,omitempty"`
Location *Location `json:"location,omitempty"`
MediaGroupId string `json:"media_group_id,omitempty"`
MessageAutoDeleteTimerChanged *MessageAutoDeleteTimerChanged `json:"message_auto_delete_timer_changed,omitempty"`
MessageId int64 `json:"message_id"`
MigrateFromChatId int64 `json:"migrate_from_chat_id,omitempty"`
MigrateToChatId int64 `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"`
PassportData *PassportData `json:"passport_data,omitempty"`
Photo []PhotoSize `json:"photo,omitempty"`
PinnedMessage *Message `json:"pinned_message,omitempty"`
Poll *Poll `json:"poll,omitempty"`
ProximityAlertTriggered *ProximityAlertTriggered `json:"proximity_alert_triggered,omitempty"`
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
ReplyToMessage *Message `json:"reply_to_message,omitempty"`
SenderChat *Chat `json:"sender_chat,omitempty"`
Sticker *Sticker `json:"sticker,omitempty"`
SuccessfulPayment *SuccessfulPayment `json:"successful_payment,omitempty"`
SupergroupChatCreated bool `json:"supergroup_chat_created,omitempty"`
Text string `json:"text,omitempty"`
Venue *Venue `json:"venue,omitempty"`
ViaBot *User `json:"via_bot,omitempty"`
Video *Video `json:"video,omitempty"`
VideoChatEnded *VideoChatEnded `json:"video_chat_ended,omitempty"`
VideoChatParticipantsInvited *VideoChatParticipantsInvited `json:"video_chat_participants_invited,omitempty"`
VideoChatScheduled *VideoChatScheduled `json:"video_chat_scheduled,omitempty"`
VideoChatStarted *VideoChatStarted `json:"video_chat_started,omitempty"`
VideoNote *VideoNote `json:"video_note,omitempty"`
Voice *Voice `json:"voice,omitempty"`
WebAppData *WebAppData `json:"web_app_data,omitempty"`
}
type MessageAutoDeleteTimerChanged ¶
type MessageAutoDeleteTimerChanged struct {
MessageAutoDeleteTime int `json:"message_auto_delete_time"`
}
type MessageEntity ¶
type OrderInfo ¶
type OrderInfo struct {
Email string `json:"email,omitempty"`
Name string `json:"name,omitempty"`
PhoneNumber string `json:"phone_number,omitempty"`
ShippingAddress *ShippingAddress `json:"shipping_address,omitempty"`
}
type PassportData ¶
type PassportData struct {
Credentials EncryptedCredentials `json:"credentials"`
Data []EncryptedPassportElement `json:"data"`
}
type PassportElementError ¶
type PassportElementError interface{}
type PassportFile ¶
type Poll ¶
type Poll struct {
AllowsMultipleAnswers bool `json:"allows_multiple_answers"`
CloseDate int64 `json:"close_date,omitempty"`
CorrectOptionId int64 `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"`
TotalVoterCount int `json:"total_voter_count"`
Type string `json:"type"`
}
type PollAnswer ¶
type PollOption ¶
type PreCheckoutQuery ¶
type PreCheckoutQuery struct {
Currency string `json:"currency"`
From User `json:"from"`
Id string `json:"id"`
InvoicePayload string `json:"invoice_payload"`
OrderInfo *OrderInfo `json:"order_info,omitempty"`
ShippingOptionId string `json:"shipping_option_id,omitempty"`
TotalAmount int `json:"total_amount"`
}
type ProximityAlertTriggered ¶
type ReplyKeyboardMarkup ¶
type ReplyKeyboardMarkup struct {
InputFieldPlaceholder string `json:"input_field_placeholder,omitempty"`
Keyboard [][]KeyboardButton `json:"keyboard"`
OneTimeKeyboard bool `json:"one_time_keyboard,omitempty"`
ResizeKeyboard bool `json:"resize_keyboard,omitempty"`
Selective bool `json:"selective,omitempty"`
}
type ReplyKeyboardRemove ¶
type ResponseParameters ¶
type SentWebAppMessage ¶
type SentWebAppMessage struct {
InlineMessageId string `json:"inline_message_id,omitempty"`
}
type ShippingAddress ¶
type ShippingOption ¶
type ShippingOption struct {
Id string `json:"id"`
Prices []LabeledPrice `json:"prices"`
Title string `json:"title"`
}
type ShippingQuery ¶
type ShippingQuery struct {
From User `json:"from"`
Id string `json:"id"`
InvoicePayload string `json:"invoice_payload"`
ShippingAddress ShippingAddress `json:"shipping_address"`
}
type Sticker ¶
type Sticker struct {
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 *MaskPosition `json:"mask_position,omitempty"`
SetName string `json:"set_name,omitempty"`
Thumb *PhotoSize `json:"thumb,omitempty"`
Width int64 `json:"width"`
}
type StickerSet ¶
type SuccessfulPayment ¶
type SuccessfulPayment struct {
Currency string `json:"currency"`
InvoicePayload string `json:"invoice_payload"`
OrderInfo *OrderInfo `json:"order_info,omitempty"`
ProviderPaymentChargeId string `json:"provider_payment_charge_id"`
ShippingOptionId string `json:"shipping_option_id,omitempty"`
TelegramPaymentChargeId string `json:"telegram_payment_charge_id"`
TotalAmount int `json:"total_amount"`
}
type Update ¶
type Update struct {
CallbackQuery *CallbackQuery `json:"callback_query,omitempty"`
ChannelPost *Message `json:"channel_post,omitempty"`
ChatJoinRequest *ChatJoinRequest `json:"chat_join_request,omitempty"`
ChatMember *ChatMemberUpdated `json:"chat_member,omitempty"`
ChosenInlineResult *ChosenInlineResult `json:"chosen_inline_result,omitempty"`
EditedChannelPost *Message `json:"edited_channel_post,omitempty"`
EditedMessage *Message `json:"edited_message,omitempty"`
InlineQuery *InlineQuery `json:"inline_query,omitempty"`
Message *Message `json:"message,omitempty"`
MyChatMember *ChatMemberUpdated `json:"my_chat_member,omitempty"`
Poll *Poll `json:"poll,omitempty"`
PollAnswer *PollAnswer `json:"poll_answer,omitempty"`
PreCheckoutQuery *PreCheckoutQuery `json:"pre_checkout_query,omitempty"`
ShippingQuery *ShippingQuery `json:"shipping_query,omitempty"`
UpdateId int64 `json:"update_id"`
}
type User ¶
type User struct {
CanJoinGroups bool `json:"can_join_groups,omitempty"`
CanReadAllGroupMessages bool `json:"can_read_all_group_messages,omitempty"`
FirstName string `json:"first_name"`
Id int64 `json:"id"`
IsBot bool `json:"is_bot"`
LanguageCode string `json:"language_code,omitempty"`
LastName string `json:"last_name,omitempty"`
SupportsInlineQueries bool `json:"supports_inline_queries,omitempty"`
Username string `json:"username,omitempty"`
}
type UserProfilePhotos ¶
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 Location `json:"location"`
Title string `json:"title"`
}
type Video ¶
type Video 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"`
Thumb *PhotoSize `json:"thumb,omitempty"`
Width int64 `json:"width"`
}
type VideoChatEnded ¶
type VideoChatEnded struct {
Duration int `json:"duration"`
}
type VideoChatParticipantsInvited ¶
type VideoChatParticipantsInvited struct {
Users []User `json:"users"`
}
type VideoChatScheduled ¶
type VideoChatScheduled struct {
StartDate int64 `json:"start_date"`
}
type VideoChatStarted ¶
type VideoChatStarted interface{}
type WebAppData ¶
type WebAppInfo ¶
type WebAppInfo struct {
Url string `json:"url"`
}
type WebhookInfo ¶
type WebhookInfo struct {
AllowedUpdates []string `json:"allowed_updates,omitempty"`
HasCustomCertificate bool `json:"has_custom_certificate"`
IpAddress string `json:"ip_address,omitempty"`
LastErrorDate int64 `json:"last_error_date,omitempty"`
LastErrorMessage string `json:"last_error_message,omitempty"`
LastSynchronizationErrorDate int64 `json:"last_synchronization_error_date,omitempty"`
MaxConnections int `json:"max_connections,omitempty"`
PendingUpdateCount int64 `json:"pending_update_count"`
Url string `json:"url"`
}
Source Files
¶
- animation.go
- audio.go
- bot_command.go
- bot_command_scope.go
- bot_command_scope_all_chat_administrators.go
- bot_command_scope_all_group_chats.go
- bot_command_scope_all_private_chats.go
- bot_command_scope_chat.go
- bot_command_scope_chat_administrators.go
- bot_command_scope_chat_member.go
- bot_command_scope_default.go
- callback_game.go
- callback_query.go
- chat.go
- chat_administrator_rights.go
- chat_invite_link.go
- chat_join_request.go
- chat_location.go
- chat_member.go
- chat_member_updated.go
- chat_permissions.go
- chat_photo.go
- chosen_inline_result.go
- contact.go
- dice.go
- document.go
- encrypted_credentials.go
- encrypted_passport_element.go
- file.go
- force_reply.go
- game.go
- game_high_score.go
- inline_keyboard_button.go
- inline_keyboard_markup.go
- inline_query.go
- inline_query_result.go
- inline_query_result_article.go
- inline_query_result_audio.go
- inline_query_result_cached_audio.go
- inline_query_result_cached_document.go
- inline_query_result_cached_gif.go
- inline_query_result_cached_mpeg4_gif.go
- inline_query_result_cached_photo.go
- inline_query_result_cached_sticker.go
- inline_query_result_cached_video.go
- inline_query_result_cached_voice.go
- inline_query_result_contact.go
- inline_query_result_document.go
- inline_query_result_game.go
- inline_query_result_gif.go
- inline_query_result_location.go
- inline_query_result_mpeg4_gif.go
- inline_query_result_photo.go
- inline_query_result_venue.go
- inline_query_result_video.go
- inline_query_result_voice.go
- input_contact_message_content.go
- input_file.go
- input_invoice_message_content.go
- input_location_message_content.go
- input_media.go
- input_media_animation.go
- input_media_audio.go
- input_media_document.go
- input_media_photo.go
- input_media_video.go
- input_message_content.go
- input_text_message_content.go
- input_url.go
- input_venue_message_content.go
- invoice.go
- keyboard_button.go
- keyboard_button_poll_type.go
- kinds.go
- labeled_price.go
- location.go
- login_url.go
- mask_position.go
- menu_button.go
- menu_button_commands.go
- menu_button_default.go
- menu_button_web_app.go
- message.go
- message_auto_delete_timer_changed.go
- message_entity.go
- message_id.go
- order_info.go
- passport_data.go
- passport_element_error.go
- passport_element_error_data_field.go
- passport_element_error_file.go
- passport_element_error_files.go
- passport_element_error_front_side.go
- passport_element_error_reverse_side.go
- passport_element_error_selfie.go
- passport_element_error_translation_file.go
- passport_element_error_translation_files.go
- passport_element_error_unspecified.go
- passport_file.go
- photo_size.go
- poll.go
- poll_answer.go
- poll_option.go
- pre_checkout_query.go
- proximity_alert_triggered.go
- reply_keyboard_markup.go
- reply_keyboard_remove.go
- response_parameters.go
- sent_web_app_message.go
- shipping_address.go
- shipping_option.go
- shipping_query.go
- sticker.go
- sticker_set.go
- successful_payment.go
- update.go
- user.go
- user_profile_photos.go
- venue.go
- video.go
- video_chat_ended.go
- video_chat_participants_invited.go
- video_chat_scheduled.go
- video_chat_started.go
- video_note.go
- voice.go
- web_app_data.go
- web_app_info.go
- webhook_info.go
Click to show internal directories.
Click to hide internal directories.