tlg

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuncName

func GetFuncName(fn_struct interface{}) (string, error)

Types

type AddStickerToSet

type AddStickerToSet struct {
	UserId  int64        `json:"user_id,omitempty"`
	Name    string       `json:"name,omitempty"`
	Sticker InputSticker `json:"sticker,omitempty"`
}

type Animation

type Animation struct {
	FileId       string    `json:"file_id,omitempty"`
	FileUniqueId string    `json:"file_unique_id,omitempty"`
	Width        int64     `json:"width,omitempty"`
	Height       int64     `json:"height,omitempty"`
	Duration     int64     `json:"duration,omitempty"`
	Thumbnail    PhotoSize `json:"thumbnail,omitempty"`
	FileName     string    `json:"file_name,omitempty"`
	MimeType     string    `json:"mime_type,omitempty"`
	FileSize     int64     `json:"file_size,omitempty"`
}

type AnswerCallbackQuery

type AnswerCallbackQuery struct {
	CallbackQueryId string `json:"callback_query_id,omitempty"`
	Text            string `json:"text,omitempty"`
	ShowAlert       bool   `json:"show_alert,omitempty"`
	Url             string `json:"url,omitempty"`
	CacheTime       int64  `json:"cache_time,omitempty"`
}

type AnswerInlineQuery

type AnswerInlineQuery struct {
	InlineQueryId string                   `json:"inline_query_id,omitempty"`
	Results       []interface{}            `json:"results,omitempty"`
	CacheTime     int64                    `json:"cache_time,omitempty"`
	IsPersonal    bool                     `json:"is_personal,omitempty"`
	NextOffset    string                   `json:"next_offset,omitempty"`
	Button        InlineQueryResultsButton `json:"button,omitempty"`
}

type AnswerPreCheckoutQuery

type AnswerPreCheckoutQuery struct {
	PreCheckoutQueryId string `json:"pre_checkout_query_id,omitempty"`
	Ok                 bool   `json:"ok,omitempty"`
	ErrorMessage       string `json:"error_message,omitempty"`
}

type AnswerShippingQuery

type AnswerShippingQuery struct {
	ShippingQueryId string           `json:"shipping_query_id,omitempty"`
	Ok              bool             `json:"ok,omitempty"`
	ShippingOptions []ShippingOption `json:"shipping_options,omitempty"`
	ErrorMessage    string           `json:"error_message,omitempty"`
}

type AnswerWebAppQuery

type AnswerWebAppQuery struct {
	WebAppQueryId string      `json:"web_app_query_id,omitempty"`
	Result        interface{} `json:"result,omitempty"`
}

type ApproveChatJoinRequest

type ApproveChatJoinRequest struct {
	ChatId int64 `json:"chat_id,omitempty"`
	UserId int64 `json:"user_id,omitempty"`
}

type Audio

type Audio struct {
	FileId       string    `json:"file_id,omitempty"`
	FileUniqueId string    `json:"file_unique_id,omitempty"`
	Duration     int64     `json:"duration,omitempty"`
	Performer    string    `json:"performer,omitempty"`
	Title        string    `json:"title,omitempty"`
	FileName     string    `json:"file_name,omitempty"`
	MimeType     string    `json:"mime_type,omitempty"`
	FileSize     int64     `json:"file_size,omitempty"`
	Thumbnail    PhotoSize `json:"thumbnail,omitempty"`
}

type BanChatMember

type BanChatMember struct {
	ChatId         int64 `json:"chat_id,omitempty"`
	UserId         int64 `json:"user_id,omitempty"`
	UntilDate      int64 `json:"until_date,omitempty"`
	RevokeMessages bool  `json:"revoke_messages,omitempty"`
}

type BanChatSenderChat

type BanChatSenderChat struct {
	ChatId       int64 `json:"chat_id,omitempty"`
	SenderChatId int64 `json:"sender_chat_id,omitempty"`
}

type BotCommand

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

type BotCommandScope

type BotCommandScope interface{}

type BotCommandScopeAllChatAdministrators

type BotCommandScopeAllChatAdministrators struct {
	Type string `json:"type,omitempty"`
}

type BotCommandScopeAllGroupChats

type BotCommandScopeAllGroupChats struct {
	Type string `json:"type,omitempty"`
}

type BotCommandScopeAllPrivateChats

type BotCommandScopeAllPrivateChats struct {
	Type string `json:"type,omitempty"`
}

type BotCommandScopeChat

type BotCommandScopeChat struct {
	Type   string `json:"type,omitempty"`
	ChatId int64  `json:"chat_id,omitempty"`
}

type BotCommandScopeChatAdministrators

type BotCommandScopeChatAdministrators struct {
	Type   string `json:"type,omitempty"`
	ChatId int64  `json:"chat_id,omitempty"`
}

type BotCommandScopeChatMember

type BotCommandScopeChatMember struct {
	Type   string `json:"type,omitempty"`
	ChatId int64  `json:"chat_id,omitempty"`
	UserId int64  `json:"user_id,omitempty"`
}

type BotCommandScopeDefault

type BotCommandScopeDefault struct {
	Type string `json:"type,omitempty"`
}

type BotDescription

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

type BotName

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

type BotShortDescription

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

type CallbackGame

type CallbackGame string

type CallbackQuery

type CallbackQuery struct {
	Id              string  `json:"id,omitempty"`
	From            User    `json:"from,omitempty"`
	Message         Message `json:"message,omitempty"`
	InlineMessageId string  `json:"inline_message_id,omitempty"`
	ChatInstance    string  `json:"chat_instance,omitempty"`
	Data            string  `json:"data,omitempty"`
	GameShortName   string  `json:"game_short_name,omitempty"`
}

type Chat

type Chat struct {
	Id                                 int64     `json:"id,omitempty"`
	Type                               string    `json:"type,omitempty"`
	Title                              string    `json:"title,omitempty"`
	Username                           string    `json:"username,omitempty"`
	FirstName                          string    `json:"first_name,omitempty"`
	LastName                           string    `json:"last_name,omitempty"`
	IsForum                            bool      `json:"is_forum,omitempty"`
	Photo                              ChatPhoto `json:"photo,omitempty"`
	ActiveUsernames                    []string  `json:"active_usernames,omitempty"`
	EmojiStatusCustomEmojiId           string    `json:"emoji_status_custom_emoji_id,omitempty"`
	EmojiStatusExpirationDate          int64     `json:"emoji_status_expiration_date,omitempty"`
	Bio                                string    `json:"bio,omitempty"`
	HasPrivateForwards                 bool      `json:"has_private_forwards,omitempty"`
	HasRestrictedVoiceAndVideoMessages bool      `json:"has_restricted_voice_and_video_messages,omitempty"`
	JoinToSendMessages                 bool      `json:"join_to_send_messages,omitempty"`
	JoinByRequest                      bool      `json:"join_by_request,omitempty"`
	Description                        string    `json:"description,omitempty"`
	InviteLink                         string    `json:"invite_link,omitempty"`

	Permissions                  ChatPermissions `json:"permissions,omitempty"`
	SlowModeDelay                int64           `json:"slow_mode_delay,omitempty"`
	MessageAutoDeleteTime        int64           `json:"message_auto_delete_time,omitempty"`
	HasAggressiveAntiSpamEnabled bool            `json:"has_aggressive_anti_spam_enabled,omitempty"`
	HasHiddenMembers             bool            `json:"has_hidden_members,omitempty"`
	HasProtectedContent          bool            `json:"has_protected_content,omitempty"`
	StickerSetName               string          `json:"sticker_set_name,omitempty"`
	CanSetStickerSet             bool            `json:"can_set_sticker_set,omitempty"`
	LinkedChatId                 int64           `json:"linked_chat_id,omitempty"`
	Location                     ChatLocation    `json:"location,omitempty"`
}

type ChatAdministratorRights

type ChatAdministratorRights struct {
	IsAnonymous         bool `json:"is_anonymous,omitempty"`
	CanManageChat       bool `json:"can_manage_chat,omitempty"`
	CanDeleteMessages   bool `json:"can_delete_messages,omitempty"`
	CanManageVideoChats bool `json:"can_manage_video_chats,omitempty"`
	CanRestrictMembers  bool `json:"can_restrict_members,omitempty"`
	CanPromoteMembers   bool `json:"can_promote_members,omitempty"`
	CanChangeInfo       bool `json:"can_change_info,omitempty"`
	CanInviteUsers      bool `json:"can_invite_users,omitempty"`
	CanPostMessages     bool `json:"can_post_messages,omitempty"`
	CanEditMessages     bool `json:"can_edit_messages,omitempty"`
	CanPinMessages      bool `json:"can_pin_messages,omitempty"`
	CanPostStories      bool `json:"can_post_stories,omitempty"`
	CanEditStories      bool `json:"can_edit_stories,omitempty"`
	CanDeleteStories    bool `json:"can_delete_stories,omitempty"`
	CanManageTopics     bool `json:"can_manage_topics,omitempty"`
}
type ChatInviteLink struct {
	InviteLink              string `json:"invite_link,omitempty"`
	Creator                 User   `json:"creator,omitempty"`
	CreatesJoinRequest      bool   `json:"creates_join_request,omitempty"`
	IsPrimary               bool   `json:"is_primary,omitempty"`
	IsRevoked               bool   `json:"is_revoked,omitempty"`
	Name                    string `json:"name,omitempty"`
	ExpireDate              int64  `json:"expire_date,omitempty"`
	MemberLimit             int64  `json:"member_limit,omitempty"`
	PendingJoinRequestCount int64  `json:"pending_join_request_count,omitempty"`
}

type ChatJoinRequest

type ChatJoinRequest struct {
	Chat       Chat           `json:"chat,omitempty"`
	From       User           `json:"from,omitempty"`
	UserChatId int64          `json:"user_chat_id,omitempty"`
	Date       int64          `json:"date,omitempty"`
	Bio        string         `json:"bio,omitempty"`
	InviteLink ChatInviteLink `json:"invite_link,omitempty"`
}

type ChatLocation

type ChatLocation struct {
	Location Location `json:"location,omitempty"`
	Address  string   `json:"address,omitempty"`
}

type ChatMember

type ChatMember interface{}

type ChatMemberAdministrator

type ChatMemberAdministrator struct {
	Status              string `json:"status,omitempty"`
	User                User   `json:"user,omitempty"`
	CanBeEdited         bool   `json:"can_be_edited,omitempty"`
	IsAnonymous         bool   `json:"is_anonymous,omitempty"`
	CanManageChat       bool   `json:"can_manage_chat,omitempty"`
	CanDeleteMessages   bool   `json:"can_delete_messages,omitempty"`
	CanManageVideoChats bool   `json:"can_manage_video_chats,omitempty"`
	CanRestrictMembers  bool   `json:"can_restrict_members,omitempty"`
	CanPromoteMembers   bool   `json:"can_promote_members,omitempty"`
	CanChangeInfo       bool   `json:"can_change_info,omitempty"`
	CanInviteUsers      bool   `json:"can_invite_users,omitempty"`
	CanPostMessages     bool   `json:"can_post_messages,omitempty"`
	CanEditMessages     bool   `json:"can_edit_messages,omitempty"`
	CanPinMessages      bool   `json:"can_pin_messages,omitempty"`
	CanPostStories      bool   `json:"can_post_stories,omitempty"`
	CanEditStories      bool   `json:"can_edit_stories,omitempty"`
	CanDeleteStories    bool   `json:"can_delete_stories,omitempty"`
	CanManageTopics     bool   `json:"can_manage_topics,omitempty"`
	CustomTitle         string `json:"custom_title,omitempty"`
}

type ChatMemberBanned

type ChatMemberBanned struct {
	Status    string `json:"status,omitempty"`
	User      User   `json:"user,omitempty"`
	UntilDate int64  `json:"until_date,omitempty"`
}

type ChatMemberLeft

type ChatMemberLeft struct {
	Status string `json:"status,omitempty"`
	User   User   `json:"user,omitempty"`
}

type ChatMemberMember

type ChatMemberMember struct {
	Status string `json:"status,omitempty"`
	User   User   `json:"user,omitempty"`
}

type ChatMemberOwner

type ChatMemberOwner struct {
	Status      string `json:"status,omitempty"`
	User        User   `json:"user,omitempty"`
	IsAnonymous bool   `json:"is_anonymous,omitempty"`
	CustomTitle string `json:"custom_title,omitempty"`
}

type ChatMemberRestricted

type ChatMemberRestricted struct {
	Status                string `json:"status,omitempty"`
	User                  User   `json:"user,omitempty"`
	IsMember              bool   `json:"is_member,omitempty"`
	CanSendMessages       bool   `json:"can_send_messages,omitempty"`
	CanSendAudios         bool   `json:"can_send_audios,omitempty"`
	CanSendDocuments      bool   `json:"can_send_documents,omitempty"`
	CanSendPhotos         bool   `json:"can_send_photos,omitempty"`
	CanSendVideos         bool   `json:"can_send_videos,omitempty"`
	CanSendVideoNotes     bool   `json:"can_send_video_notes,omitempty"`
	CanSendVoiceNotes     bool   `json:"can_send_voice_notes,omitempty"`
	CanSendPolls          bool   `json:"can_send_polls,omitempty"`
	CanSendOtherMessages  bool   `json:"can_send_other_messages,omitempty"`
	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"`
	CanManageTopics       bool   `json:"can_manage_topics,omitempty"`
	UntilDate             int64  `json:"until_date,omitempty"`
}

type ChatMemberUpdated

type ChatMemberUpdated struct {
	Chat                    Chat           `json:"chat,omitempty"`
	From                    User           `json:"from,omitempty"`
	Date                    int64          `json:"date,omitempty"`
	OldChatMember           ChatMember     `json:"old_chat_member,omitempty"`
	NewChatMember           ChatMember     `json:"new_chat_member,omitempty"`
	InviteLink              ChatInviteLink `json:"invite_link,omitempty"`
	ViaChatFolderInviteLink bool           `json:"via_chat_folder_invite_link,omitempty"`
}

type ChatPermissions

type ChatPermissions struct {
	CanSendMessages       bool `json:"can_send_messages,omitempty"`
	CanSendAudios         bool `json:"can_send_audios,omitempty"`
	CanSendDocuments      bool `json:"can_send_documents,omitempty"`
	CanSendPhotos         bool `json:"can_send_photos,omitempty"`
	CanSendVideos         bool `json:"can_send_videos,omitempty"`
	CanSendVideoNotes     bool `json:"can_send_video_notes,omitempty"`
	CanSendVoiceNotes     bool `json:"can_send_voice_notes,omitempty"`
	CanSendPolls          bool `json:"can_send_polls,omitempty"`
	CanSendOtherMessages  bool `json:"can_send_other_messages,omitempty"`
	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"`
	CanManageTopics       bool `json:"can_manage_topics,omitempty"`
}

type ChatPhoto

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

type ChatShared

type ChatShared struct {
	RequestId int64 `json:"request_id,omitempty"`
	ChatId    int64 `json:"chat_id,omitempty"`
}

type ChosenInlineResult

type ChosenInlineResult struct {
	ResultId        string   `json:"result_id,omitempty"`
	From            User     `json:"from,omitempty"`
	Location        Location `json:"location,omitempty"`
	InlineMessageId string   `json:"inline_message_id,omitempty"`
	Query           string   `json:"query,omitempty"`
}

type CloseForumTopic

type CloseForumTopic struct {
	ChatId          int64 `json:"chat_id,omitempty"`
	MessageThreadId int64 `json:"message_thread_id,omitempty"`
}

type CloseGeneralForumTopic

type CloseGeneralForumTopic struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type Contact

type Contact struct {
	PhoneNumber string `json:"phone_number,omitempty"`
	FirstName   string `json:"first_name,omitempty"`
	LastName    string `json:"last_name,omitempty"`
	UserId      int64  `json:"user_id,omitempty"`
	Vcard       string `json:"vcard,omitempty"`
}

type CopyMessage

type CopyMessage struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	FromChatId               int64           `json:"from_chat_id,omitempty"`
	MessageId                int64           `json:"message_id,omitempty"`
	Caption                  string          `json:"caption,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	CaptionEntities          []MessageEntity `json:"caption_entities,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}
type CreateChatInviteLink struct {
	ChatId             int64  `json:"chat_id,omitempty"`
	Name               string `json:"name,omitempty"`
	ExpireDate         int64  `json:"expire_date,omitempty"`
	MemberLimit        int64  `json:"member_limit,omitempty"`
	CreatesJoinRequest bool   `json:"creates_join_request,omitempty"`
}

type CreateForumTopic

type CreateForumTopic struct {
	ChatId            int64  `json:"chat_id,omitempty"`
	Name              string `json:"name,omitempty"`
	IconColor         int64  `json:"icon_color,omitempty"`
	IconCustomEmojiId string `json:"icon_custom_emoji_id,omitempty"`
}
type CreateInvoiceLink struct {
	Title                     string         `json:"title,omitempty"`
	Description               string         `json:"description,omitempty"`
	Payload                   string         `json:"payload,omitempty"`
	ProviderToken             string         `json:"provider_token,omitempty"`
	Currency                  string         `json:"currency,omitempty"`
	Prices                    []LabeledPrice `json:"prices,omitempty"`
	MaxTipAmount              int64          `json:"max_tip_amount,omitempty"`
	SuggestedTipAmounts       []int64        `json:"suggested_tip_amounts,omitempty"`
	ProviderData              string         `json:"provider_data,omitempty"`
	PhotoUrl                  string         `json:"photo_url,omitempty"`
	PhotoSize                 int64          `json:"photo_size,omitempty"`
	PhotoWidth                int64          `json:"photo_width,omitempty"`
	PhotoHeight               int64          `json:"photo_height,omitempty"`
	NeedName                  bool           `json:"need_name,omitempty"`
	NeedPhoneNumber           bool           `json:"need_phone_number,omitempty"`
	NeedEmail                 bool           `json:"need_email,omitempty"`
	NeedShippingAddress       bool           `json:"need_shipping_address,omitempty"`
	SendPhoneNumberToProvider bool           `json:"send_phone_number_to_provider,omitempty"`
	SendEmailToProvider       bool           `json:"send_email_to_provider,omitempty"`
	IsFlexible                bool           `json:"is_flexible,omitempty"`
}

type CreateNewStickerSet

type CreateNewStickerSet struct {
	UserId          int64          `json:"user_id,omitempty"`
	Name            string         `json:"name,omitempty"`
	Title           string         `json:"title,omitempty"`
	Stickers        []InputSticker `json:"stickers,omitempty"`
	StickerFormat   string         `json:"sticker_format,omitempty"`
	StickerType     string         `json:"sticker_type,omitempty"`
	NeedsRepainting bool           `json:"needs_repainting,omitempty"`
}

type DeclineChatJoinRequest

type DeclineChatJoinRequest struct {
	ChatId int64 `json:"chat_id,omitempty"`
	UserId int64 `json:"user_id,omitempty"`
}

type DeleteChatPhoto

type DeleteChatPhoto struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type DeleteChatStickerSet

type DeleteChatStickerSet struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type DeleteForumTopic

type DeleteForumTopic struct {
	ChatId          int64 `json:"chat_id,omitempty"`
	MessageThreadId int64 `json:"message_thread_id,omitempty"`
}

type DeleteMessage

type DeleteMessage struct {
	ChatId    int64 `json:"chat_id,omitempty"`
	MessageId int64 `json:"message_id,omitempty"`
}

type DeleteMyCommands

type DeleteMyCommands struct {
	Scope        interface{} `json:"scope,omitempty"`
	LanguageCode string      `json:"language_code,omitempty"`
}

type DeleteStickerFromSet

type DeleteStickerFromSet struct {
	Sticker string `json:"sticker,omitempty"`
}

type DeleteStickerSet

type DeleteStickerSet struct {
	Name string `json:"name,omitempty"`
}

type Dice

type Dice struct {
	Emoji string `json:"emoji,omitempty"`
	Value int64  `json:"value,omitempty"`
}

type Document

type Document struct {
	FileId       string    `json:"file_id,omitempty"`
	FileUniqueId string    `json:"file_unique_id,omitempty"`
	Thumbnail    PhotoSize `json:"thumbnail,omitempty"`
	FileName     string    `json:"file_name,omitempty"`
	MimeType     string    `json:"mime_type,omitempty"`
	FileSize     int64     `json:"file_size,omitempty"`
}
type EditChatInviteLink struct {
	ChatId             int64  `json:"chat_id,omitempty"`
	InviteLink         string `json:"invite_link,omitempty"`
	Name               string `json:"name,omitempty"`
	ExpireDate         int64  `json:"expire_date,omitempty"`
	MemberLimit        int64  `json:"member_limit,omitempty"`
	CreatesJoinRequest bool   `json:"creates_join_request,omitempty"`
}

type EditForumTopic

type EditForumTopic struct {
	ChatId            int64  `json:"chat_id,omitempty"`
	MessageThreadId   int64  `json:"message_thread_id,omitempty"`
	Name              string `json:"name,omitempty"`
	IconCustomEmojiId string `json:"icon_custom_emoji_id,omitempty"`
}

type EditGeneralForumTopic

type EditGeneralForumTopic struct {
	ChatId int64  `json:"chat_id,omitempty"`
	Name   string `json:"name,omitempty"`
}

type EditMessageCaption

type EditMessageCaption struct {
	ChatId          int64           `json:"chat_id,omitempty"`
	MessageId       int64           `json:"message_id,omitempty"`
	InlineMessageId string          `json:"inline_message_id,omitempty"`
	Caption         string          `json:"caption,omitempty"`
	ParseMode       string          `json:"parse_mode,omitempty"`
	CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
	ReplyMarkup     interface{}     `json:"reply_markup,omitempty"`
}

type EditMessageLiveLocation

type EditMessageLiveLocation struct {
	ChatId               int64       `json:"chat_id,omitempty"`
	MessageId            int64       `json:"message_id,omitempty"`
	InlineMessageId      string      `json:"inline_message_id,omitempty"`
	Latitude             float32     `json:"latitude,omitempty"`
	Longitude            float32     `json:"longitude,omitempty"`
	HorizontalAccuracy   float32     `json:"horizontal_accuracy,omitempty"`
	Heading              int64       `json:"heading,omitempty"`
	ProximityAlertRadius int64       `json:"proximity_alert_radius,omitempty"`
	ReplyMarkup          interface{} `json:"reply_markup,omitempty"`
}

type EditMessageMedia

type EditMessageMedia struct {
	ChatId          int64       `json:"chat_id,omitempty"`
	MessageId       int64       `json:"message_id,omitempty"`
	InlineMessageId string      `json:"inline_message_id,omitempty"`
	Media           interface{} `json:"media,omitempty"`
	ReplyMarkup     interface{} `json:"reply_markup,omitempty"`
}

type EditMessageReplyMarkup

type EditMessageReplyMarkup struct {
	ChatId          int64       `json:"chat_id,omitempty"`
	MessageId       int64       `json:"message_id,omitempty"`
	InlineMessageId string      `json:"inline_message_id,omitempty"`
	ReplyMarkup     interface{} `json:"reply_markup,omitempty"`
}

type EditMessageText

type EditMessageText struct {
	ChatId                int64           `json:"chat_id,omitempty"`
	MessageId             int64           `json:"message_id,omitempty"`
	InlineMessageId       string          `json:"inline_message_id,omitempty"`
	Text                  string          `json:"text,omitempty"`
	ParseMode             string          `json:"parse_mode,omitempty"`
	Entities              []MessageEntity `json:"entities,omitempty"`
	DisableWebPagePreview bool            `json:"disable_web_page_preview,omitempty"`
	ReplyMarkup           interface{}     `json:"reply_markup,omitempty"`
}

type EncryptedCredentials

type EncryptedCredentials struct {
	Data   string `json:"data,omitempty"`
	Hash   string `json:"hash,omitempty"`
	Secret string `json:"secret,omitempty"`
}

type EncryptedPassportElement

type EncryptedPassportElement struct {
	Type        string         `json:"type,omitempty"`
	Data        string         `json:"data,omitempty"`
	PhoneNumber string         `json:"phone_number,omitempty"`
	Email       string         `json:"email,omitempty"`
	Files       []PassportFile `json:"files,omitempty"`
	FrontSide   PassportFile   `json:"front_side,omitempty"`
	ReverseSide PassportFile   `json:"reverse_side,omitempty"`
	Selfie      PassportFile   `json:"selfie,omitempty"`
	Translation []PassportFile `json:"translation,omitempty"`
	Hash        string         `json:"hash,omitempty"`
}
type ExportChatInviteLink struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type File

type File struct {
	FileId       string `json:"file_id,omitempty"`
	FileUniqueId string `json:"file_unique_id,omitempty"`
	FileSize     int64  `json:"file_size,omitempty"`
	FilePath     string `json:"file_path,omitempty"`
}

type ForceReply

type ForceReply struct {
	ForceReply            bool   `json:"force_reply,omitempty"`
	InputFieldPlaceholder string `json:"input_field_placeholder,omitempty"`
	Selective             bool   `json:"selective,omitempty"`
}

type ForumTopic

type ForumTopic struct {
	MessageThreadId   int64  `json:"message_thread_id,omitempty"`
	Name              string `json:"name,omitempty"`
	IconColor         int64  `json:"icon_color,omitempty"`
	IconCustomEmojiId string `json:"icon_custom_emoji_id,omitempty"`
}

type ForumTopicClosed

type ForumTopicClosed interface{}

type ForumTopicCreated

type ForumTopicCreated struct {
	Name              string `json:"name,omitempty"`
	IconColor         int64  `json:"icon_color,omitempty"`
	IconCustomEmojiId string `json:"icon_custom_emoji_id,omitempty"`
}

type ForumTopicEdited

type ForumTopicEdited struct {
	Name              string
	IconCustomEmojiId string
}

type ForumTopicReopened

type ForumTopicReopened interface{}

type ForwardMessage

type ForwardMessage struct {
	ChatId              int64 `json:"chat_id,omitempty"`
	MessageThreadId     int64 `json:"message_thread_id,omitempty"`
	FromChatId          int64 `json:"from_chat_id,omitempty"`
	DisableNotification bool  `json:"disable_notification,omitempty"`
	ProtectContent      bool  `json:"protect_content,omitempty"`
	MessageId           int64 `json:"message_id,omitempty"`
}

type Game

type Game struct {
	Title        string          `json:"title,omitempty"`
	Description  string          `json:"description,omitempty"`
	Photo        []PhotoSize     `json:"photo,omitempty"`
	Text         string          `json:"text,omitempty"`
	TextEntities []MessageEntity `json:"text_entities,omitempty"`
	Animation    Animation       `json:"animation,omitempty"`
}

type GameHighScore

type GameHighScore struct {
	Position int64 `json:"position,omitempty"`
	User     User  `json:"user,omitempty"`
	Score    int64 `json:"score,omitempty"`
}

type GeneralForumTopicHidden

type GeneralForumTopicHidden interface{}

type GeneralForumTopicUnhidden

type GeneralForumTopicUnhidden interface{}

type GetChat

type GetChat struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type GetChatAdministrators

type GetChatAdministrators struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type GetChatMember

type GetChatMember struct {
	ChatId int64 `json:"chat_id,omitempty"`
	UserId int64 `json:"user_id,omitempty"`
}

type GetChatMemberCount

type GetChatMemberCount struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type GetChatMenuButton

type GetChatMenuButton struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type GetCustomEmojiStickers

type GetCustomEmojiStickers struct {
	CustomEmojiIds []string `json:"custom_emoji_ids,omitempty"`
}

type GetFile

type GetFile struct {
	FileId string `json:"file_id,omitempty"`
}

type GetGameHighScores

type GetGameHighScores struct {
	UserId          int64  `json:"user_id,omitempty"`
	ChatId          int64  `json:"chat_id,omitempty"`
	MessageId       int64  `json:"message_id,omitempty"`
	InlineMessageId string `json:"inline_message_id,omitempty"`
}

type GetMyCommands

type GetMyCommands struct {
	Scope        interface{} `json:"scope,omitempty"`
	LanguageCode string      `json:"language_code,omitempty"`
}

type GetMyDefaultAdministratorRights

type GetMyDefaultAdministratorRights struct {
	ForChannels bool `json:"for_channels,omitempty"`
}

type GetMyDescription

type GetMyDescription struct {
	LanguageCode string `json:"language_code,omitempty"`
}

type GetMyName

type GetMyName struct {
	LanguageCode string `json:"language_code,omitempty"`
}

type GetMyShortDescription

type GetMyShortDescription struct {
	LanguageCode string `json:"language_code,omitempty"`
}

type GetStickerSet

type GetStickerSet struct {
	Name string `json:"name,omitempty"`
}

type GetUpdates

type GetUpdates struct {
	Offset         int64    `json:"offset,omitempty"`
	Limit          int64    `json:"limit,omitempty"`
	Timeout        int64    `json:"timeout,omitempty"`
	AllowedUpdates []string `json:"allowed_updates,omitempty"`
}

type GetUserProfilePhotos

type GetUserProfilePhotos struct {
	UserId int64 `json:"user_id,omitempty"`
	Offset int64 `json:"offset,omitempty"`
	Limit  int64 `json:"limit,omitempty"`
}

type HideGeneralForumTopic

type HideGeneralForumTopic struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type InlineKeyboardButton

type InlineKeyboardButton struct {
	Text                         string                      `json:"text,omitempty"`
	Url                          string                      `json:"url,omitempty"`
	CallbackData                 string                      `json:"callback_data,omitempty"`
	WebApp                       WebAppInfo                  `json:"web_app,omitempty"`
	LoginUrl                     LoginUrl                    `json:"login_url,omitempty"`
	SwitchInlineQuery            string                      `json:"switch_inline_query,omitempty"`
	SwitchInlineQueryCurrentChat string                      `json:"switch_inline_query_current_chat,omitempty"`
	SwitchInlineQueryChosenChat  SwitchInlineQueryChosenChat `json:"switch_inline_query_chosen_chat,omitempty"`
	CallbackGame                 CallbackGame                `json:"callback_game,omitempty"`
	Pay                          bool                        `json:"pay,omitempty"`
}

type InlineKeyboardMarkup

type InlineKeyboardMarkup struct {
	InlineKeyboard [][]InlineKeyboardButton `json:"inline_keyboard,omitempty"`
}

type InlineQuery

type InlineQuery struct {
	Id       string   `json:"id,omitempty"`
	From     User     `json:"from,omitempty"`
	Query    string   `json:"query,omitempty"`
	Offset   string   `json:"offset,omitempty"`
	ChatType string   `json:"chat_type,omitempty"`
	Location Location `json:"location,omitempty"`
}

type InlineQueryResult

type InlineQueryResult interface{}

type InlineQueryResultArticle

type InlineQueryResultArticle struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	Title               string               `json:"title,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	Url                 string               `json:"url,omitempty"`
	HideUrl             bool                 `json:"hide_url,omitempty"`
	Description         string               `json:"description,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	ThumbnailWidth      int64                `json:"thumbnail_width,omitempty"`
	ThumbnailHeight     int64                `json:"thumbnail_height,omitempty"`
}

type InlineQueryResultAudio

type InlineQueryResultAudio struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	AudioUrl            string               `json:"audio_url,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	Performer           string               `json:"performer,omitempty"`
	AudioDuration       int64                `json:"audio_duration,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedAudio

type InlineQueryResultCachedAudio struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	AudioFileId         string               `json:"audio_file_id,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedDocument

type InlineQueryResultCachedDocument struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	Title               string               `json:"title,omitempty"`
	DocumentFileId      string               `json:"document_file_id,omitempty"`
	Description         string               `json:"description,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedGif

type InlineQueryResultCachedGif struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	GifFileId           string               `json:"gif_file_id,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedMpeg4Gif

type InlineQueryResultCachedMpeg4Gif struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	Mpeg4FileId         string               `json:"mpeg4_file_id,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedPhoto

type InlineQueryResultCachedPhoto struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	PhotoFileId         string               `json:"photo_file_id,omitempty"`
	Title               string               `json:"title,omitempty"`
	Description         string               `json:"description,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedSticker

type InlineQueryResultCachedSticker struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	StickerFileId       string               `json:"sticker_file_id,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedVideo

type InlineQueryResultCachedVideo struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	VideoFileId         string               `json:"video_file_id,omitempty"`
	Title               string               `json:"title,omitempty"`
	Description         string               `json:"description,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultCachedVoice

type InlineQueryResultCachedVoice struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	VoiceFileId         string               `json:"voice_file_id,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultContact

type InlineQueryResultContact struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	PhoneNumber         string               `json:"phone_number,omitempty"`
	FirstName           string               `json:"first_name,omitempty"`
	LastName            string               `json:"last_name,omitempty"`
	Vcard               string               `json:"vcard,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	ThumbnailWidth      int64                `json:"thumbnail_width,omitempty"`
	ThumbnailHeight     int64                `json:"thumbnail_height,omitempty"`
}

type InlineQueryResultDocument

type InlineQueryResultDocument struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	DocumentUrl         string               `json:"document_url,omitempty"`
	MimeType            string               `json:"mime_type,omitempty"`
	Description         string               `json:"description,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	ThumbnailWidth      int64                `json:"thumbnail_width,omitempty"`
	ThumbnailHeight     int64                `json:"thumbnail_height,omitempty"`
}

type InlineQueryResultGame

type InlineQueryResultGame struct {
	Type          string               `json:"type,omitempty"`
	Id            string               `json:"id,omitempty"`
	GameShortName string               `json:"game_short_name,omitempty"`
	ReplyMarkup   InlineKeyboardMarkup `json:"reply_markup,omitempty"`
}

type InlineQueryResultGif

type InlineQueryResultGif struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	GifUrl              string               `json:"gif_url,omitempty"`
	GifWidth            int64                `json:"gif_width,omitempty"`
	GifHeight           int64                `json:"gif_height,omitempty"`
	GifDuration         int64                `json:"gif_duration,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	ThumbnailMimeType   string               `json:"thumbnail_mime_type,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultLocation

type InlineQueryResultLocation struct {
	Type                 string               `json:"type,omitempty"`
	Id                   string               `json:"id,omitempty"`
	Latitude             float32              `json:"latitude,omitempty"`
	Longitude            float32              `json:"longitude,omitempty"`
	Title                string               `json:"title,omitempty"`
	HorizontalAccuracy   float32              `json:"horizontal_accuracy,omitempty"`
	LivePeriod           int64                `json:"live_period,omitempty"`
	Heading              int64                `json:"heading,omitempty"`
	ProximityAlertRadius int64                `json:"proximity_alert_radius,omitempty"`
	ReplyMarkup          InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent  InputMessageContent  `json:"input_message_content,omitempty"`
	ThumbnailUrl         string               `json:"thumbnail_url,omitempty"`
	ThumbnailWidth       int64                `json:"thumbnail_width,omitempty"`
	ThumbnailHeight      int64                `json:"thumbnail_height,omitempty"`
}

type InlineQueryResultMpeg4Gif

type InlineQueryResultMpeg4Gif struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	Mpeg4Url            string               `json:"mpeg4_url,omitempty"`
	Mpeg4Width          int64                `json:"mpeg4_width,omitempty"`
	Mpeg4Height         int64                `json:"mpeg4_height,omitempty"`
	Mpeg4Duration       int64                `json:"mpeg4_duration,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	ThumbnailMimeType   string               `json:"thumbnail_mime_type,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultPhoto

type InlineQueryResultPhoto struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	PhotoUrl            string               `json:"photo_url,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	PhotoWidth          int64                `json:"photo_width,omitempty"`
	PhotoHeight         int64                `json:"photo_height,omitempty"`
	Title               string               `json:"title,omitempty"`
	Description         string               `json:"description,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultVenue

type InlineQueryResultVenue struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	Latitude            float32              `json:"latitude,omitempty"`
	Longitude           float32              `json:"longitude,omitempty"`
	Title               string               `json:"title,omitempty"`
	Address             string               `json:"address,omitempty"`
	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"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	ThumbnailWidth      int64                `json:"thumbnail_width,omitempty"`
	ThumbnailHeight     int64                `json:"thumbnail_height,omitempty"`
}

type InlineQueryResultVideo

type InlineQueryResultVideo struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	VideoUrl            string               `json:"video_url,omitempty"`
	MimeType            string               `json:"mime_type,omitempty"`
	ThumbnailUrl        string               `json:"thumbnail_url,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	VideoWidth          int64                `json:"video_width,omitempty"`
	VideoHeight         int64                `json:"video_height,omitempty"`
	VideoDuration       int64                `json:"video_duration,omitempty"`
	Description         string               `json:"description,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultVoice

type InlineQueryResultVoice struct {
	Type                string               `json:"type,omitempty"`
	Id                  string               `json:"id,omitempty"`
	VoiceUrl            string               `json:"voice_url,omitempty"`
	Title               string               `json:"title,omitempty"`
	Caption             string               `json:"caption,omitempty"`
	ParseMode           string               `json:"parse_mode,omitempty"`
	CaptionEntities     []MessageEntity      `json:"caption_entities,omitempty"`
	VoiceDuration       int64                `json:"voice_duration,omitempty"`
	ReplyMarkup         InlineKeyboardMarkup `json:"reply_markup,omitempty"`
	InputMessageContent InputMessageContent  `json:"input_message_content,omitempty"`
}

type InlineQueryResultsButton

type InlineQueryResultsButton struct {
	Text           string     `json:"text,omitempty"`
	WebApp         WebAppInfo `json:"web_app,omitempty"`
	StartParameter string     `json:"start_parameter,omitempty"`
}

type InputContactMessageContent

type InputContactMessageContent struct {
	PhoneNumber string `json:"phone_number,omitempty"`
	FirstName   string `json:"first_name,omitempty"`
	LastName    string `json:"last_name,omitempty"`
	Vcard       string `json:"vcard,omitempty"`
}

type InputFile

type InputFile string

type InputInvoiceMessageContent

type InputInvoiceMessageContent struct {
	Title                     string         `json:"title,omitempty"`
	Description               string         `json:"description,omitempty"`
	Payload                   string         `json:"payload,omitempty"`
	ProviderToken             string         `json:"provider_token,omitempty"`
	Currency                  string         `json:"currency,omitempty"`
	Prices                    []LabeledPrice `json:"prices,omitempty"`
	MaxTipAmount              int64          `json:"max_tip_amount,omitempty"`
	SuggestedTipAmounts       []int64        `json:"suggested_tip_amounts,omitempty"`
	ProviderData              string         `json:"provider_data,omitempty"`
	PhotoUrl                  string         `json:"photo_url,omitempty"`
	PhotoSize                 int64          `json:"photo_size,omitempty"`
	PhotoWidth                int64          `json:"photo_width,omitempty"`
	PhotoHeight               int64          `json:"photo_height,omitempty"`
	NeedName                  bool           `json:"need_name,omitempty"`
	NeedPhoneNumber           bool           `json:"need_phone_number,omitempty"`
	NeedEmail                 bool           `json:"need_email,omitempty"`
	NeedShippingAddress       bool           `json:"need_shipping_address,omitempty"`
	SendPhoneNumberToProvider bool           `json:"send_phone_number_to_provider,omitempty"`
	SendEmailToProvider       bool           `json:"send_email_to_provider,omitempty"`
	IsFlexible                bool           `json:"is_flexible,omitempty"`
}

type InputLocationMessageContent

type InputLocationMessageContent struct {
	Latitude             float32 `json:"latitude,omitempty"`
	Longitude            float32 `json:"longitude,omitempty"`
	HorizontalAccuracy   float32 `json:"horizontal_accuracy,omitempty"`
	LivePeriod           int64   `json:"live_period,omitempty"`
	Heading              int64   `json:"heading,omitempty"`
	ProximityAlertRadius int64   `json:"proximity_alert_radius,omitempty"`
}

type InputMedia

type InputMedia interface{}

type InputMediaAnimation

type InputMediaAnimation struct {
	Type            string          `json:"type,omitempty"`
	Media           string          `json:"media,omitempty"`
	Thumbnail       InputFile       `json:"thumbnail,omitempty"`
	Caption         string          `json:"caption,omitempty"`
	ParseMode       string          `json:"parse_mode,omitempty"`
	CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
	Width           int64           `json:"width,omitempty"`
	Height          int64           `json:"height,omitempty"`
	Duration        int64           `json:"duration,omitempty"`
	HasSpoiler      bool            `json:"has_spoiler,omitempty"`
}

type InputMediaAudio

type InputMediaAudio struct {
	Type            string          `json:"type,omitempty"`
	Media           string          `json:"media,omitempty"`
	Thumbnail       InputFile       `json:"thumbnail,omitempty"`
	Caption         string          `json:"caption,omitempty"`
	ParseMode       string          `json:"parse_mode,omitempty"`
	CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
	Duration        int64           `json:"duration,omitempty"`
	Performer       string          `json:"performer,omitempty"`
	Title           string          `json:"title,omitempty"`
}

type InputMediaDocument

type InputMediaDocument struct {
	Type                        string          `json:"type,omitempty"`
	Media                       string          `json:"media,omitempty"`
	Thumbnail                   InputFile       `json:"thumbnail,omitempty"`
	Caption                     string          `json:"caption,omitempty"`
	ParseMode                   string          `json:"parse_mode,omitempty"`
	CaptionEntities             []MessageEntity `json:"caption_entities,omitempty"`
	DisableContentTypeDetection bool            `json:"disable_content_type_detection,omitempty"`
}

type InputMediaPhoto

type InputMediaPhoto struct {
	Type            string          `json:"type,omitempty"`
	Media           string          `json:"media,omitempty"`
	Caption         string          `json:"caption,omitempty"`
	ParseMode       string          `json:"parse_mode,omitempty"`
	CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
	HasSpoiler      bool            `json:"has_spoiler,omitempty"`
}

type InputMediaVideo

type InputMediaVideo struct {
	Type              string          `json:"type,omitempty"`
	Media             string          `json:"media,omitempty"`
	Thumbnail         InputFile       `json:"thumbnail,omitempty"`
	Caption           string          `json:"caption,omitempty"`
	ParseMode         string          `json:"parse_mode,omitempty"`
	CaptionEntities   []MessageEntity `json:"caption_entities,omitempty"`
	Width             int64           `json:"width,omitempty"`
	Height            int64           `json:"height,omitempty"`
	Duration          int64           `json:"duration,omitempty"`
	SupportsStreaming bool            `json:"supports_streaming,omitempty"`
	HasSpoiler        bool            `json:"has_spoiler,omitempty"`
}

type InputMessageContent

type InputMessageContent interface{}

type InputSticker

type InputSticker struct {
	Sticker      InputFile    `json:"sticker,omitempty"`
	EmojiList    []string     `json:"emoji_list,omitempty"`
	MaskPosition MaskPosition `json:"mask_position,omitempty"`
	Keywords     []string     `json:"keywords,omitempty"`
}

type InputTextMessageContent

type InputTextMessageContent struct {
	MessageText           string          `json:"message_text,omitempty"`
	ParseMode             string          `json:"parse_mode,omitempty"`
	Entities              []MessageEntity `json:"entities,omitempty"`
	DisableWebPagePreview bool            `json:"disable_web_page_preview,omitempty"`
}

type InputVenueMessageContent

type InputVenueMessageContent struct {
	Latitude        float32 `json:"latitude,omitempty"`
	Longitude       float32 `json:"longitude,omitempty"`
	Title           string  `json:"title,omitempty"`
	Address         string  `json:"address,omitempty"`
	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"`
}

type Invoice

type Invoice struct {
	Title          string `json:"title,omitempty"`
	Description    string `json:"description,omitempty"`
	StartParameter string `json:"start_parameter,omitempty"`
	Currency       string `json:"currency,omitempty"`
	TotalAmount    int64  `json:"total_amount,omitempty"`
}

type KeyboardButton

type KeyboardButton struct {
	Text            string                    `json:"text,omitempty"`
	RequestUser     KeyboardButtonRequestUser `json:"request_user,omitempty"`
	RequestChat     KeyboardButtonRequestChat `json:"request_chat,omitempty"`
	RequestContact  bool                      `json:"request_contact,omitempty"`
	RequestLocation bool                      `json:"request_location,omitempty"`
	RequestPoll     KeyboardButtonPollType    `json:"request_poll,omitempty"`
	WebApp          WebAppInfo                `json:"web_app,omitempty"`
}

type KeyboardButtonPollType

type KeyboardButtonPollType struct {
	Type string `json:"type,omitempty"`
}

type KeyboardButtonRequestChat

type KeyboardButtonRequestChat struct {
	RequestId               int64                   `json:"request_id,omitempty"`
	ChatIsChannel           bool                    `json:"chat_is_channel,omitempty"`
	ChatIsForum             bool                    `json:"chat_is_forum,omitempty"`
	ChatHasUsername         bool                    `json:"chat_has_username,omitempty"`
	ChatIsCreated           bool                    `json:"chat_is_created,omitempty"`
	UserAdministratorRights ChatAdministratorRights `json:"user_administrator_rights,omitempty"`
	BotAdministratorRights  ChatAdministratorRights `json:"bot_administrator_rights,omitempty"`
	BotIsMember             bool                    `json:"bot_is_member,omitempty"`
}

type KeyboardButtonRequestUser

type KeyboardButtonRequestUser struct {
	RequestId     int64 `json:"request_id,omitempty"`
	UserIsBot     bool  `json:"user_is_bot,omitempty"`
	UserIsPremium bool  `json:"user_is_premium,omitempty"`
}

type LabeledPrice

type LabeledPrice struct {
	Label  string `json:"label,omitempty"`
	Amount int64  `json:"amount,omitempty"`
}

type LeaveChat

type LeaveChat struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type Location

type Location struct {
	Longitude            float32 `json:"longitude,omitempty"`
	Latitude             float32 `json:"latitude,omitempty"`
	HorizontalAccuracy   float32 `json:"horizontal_accuracy,omitempty"`
	LivePeriod           int64   `json:"live_period,omitempty"`
	Heading              int64   `json:"heading,omitempty"`
	ProximityAlertRadius int64   `json:"proximity_alert_radius,omitempty"`
}

type LoginUrl

type LoginUrl struct {
	Url                string `json:"url,omitempty"`
	ForwardText        string `json:"forward_text,omitempty"`
	BotUsername        string `json:"bot_username,omitempty"`
	RequestWriteAccess bool   `json:"request_write_access,omitempty"`
}

type MaskPosition

type MaskPosition struct {
	Point  string  `json:"point,omitempty"`
	XShift float32 `json:"x_shift,omitempty"`
	YShift float32 `json:"y_shift,omitempty"`
	Scale  float32 `json:"scale,omitempty"`
}
type MenuButton interface{}
type MenuButtonCommands struct {
	Type string `json:"type,omitempty"`
}
type MenuButtonDefault struct {
	Type string `json:"type,omitempty"`
}
type MenuButtonWebApp struct {
	Type   string     `json:"type,omitempty"`
	Text   string     `json:"text,omitempty"`
	WebApp WebAppInfo `json:"web_app,omitempty"`
}

type Message

type Message struct {
	MessageId                     int64                         `json:"message_id,omitempty"`
	MessageThreadId               int64                         `json:"message_thread_id,omitempty"`
	From                          User                          `json:"from,omitempty"`
	SenderChat                    Chat                          `json:"sender_chat,omitempty"`
	Date                          int64                         `json:"date,omitempty"`
	Chat                          Chat                          `json:"chat,omitempty"`
	ForwardFrom                   User                          `json:"forward_from,omitempty"`
	ForwardFromChat               Chat                          `json:"forward_from_chat,omitempty"`
	ForwardFromMessageId          int64                         `json:"forward_from_message_id,omitempty"`
	ForwardSignature              string                        `json:"forward_signature,omitempty"`
	ForwardSenderName             string                        `json:"forward_sender_name,omitempty"`
	ForwardDate                   int64                         `json:"forward_date,omitempty"`
	IsTopicMessage                bool                          `json:"is_topic_message,omitempty"`
	IsAutomaticForward            bool                          `json:"is_automatic_forward,omitempty"`
	ViaBot                        User                          `json:"via_bot,omitempty"`
	EditDate                      int64                         `json:"edit_date,omitempty"`
	HasProtectedContent           bool                          `json:"has_protected_content,omitempty"`
	MediaGroupId                  string                        `json:"media_group_id,omitempty"`
	AuthorSignature               string                        `json:"author_signature,omitempty"`
	Text                          string                        `json:"text,omitempty"`
	Entities                      []MessageEntity               `json:"entities,omitempty"`
	Animation                     Animation                     `json:"animation,omitempty"`
	Audio                         Audio                         `json:"audio,omitempty"`
	Document                      Document                      `json:"document,omitempty"`
	Photo                         []PhotoSize                   `json:"photo,omitempty"`
	Sticker                       Sticker                       `json:"sticker,omitempty"`
	Story                         Story                         `json:"story,omitempty"`
	Video                         Video                         `json:"video,omitempty"`
	VideoNote                     VideoNote                     `json:"video_note,omitempty"`
	Voice                         Voice                         `json:"voice,omitempty"`
	Caption                       string                        `json:"caption,omitempty"`
	CaptionEntities               []MessageEntity               `json:"caption_entities,omitempty"`
	HasMediaSpoiler               bool                          `json:"has_media_spoiler,omitempty"`
	Contact                       Contact                       `json:"contact,omitempty"`
	Dice                          Dice                          `json:"dice,omitempty"`
	Game                          Game                          `json:"game,omitempty"`
	Poll                          Poll                          `json:"poll,omitempty"`
	Venue                         Venue                         `json:"venue,omitempty"`
	Location                      Location                      `json:"location,omitempty"`
	NewChatMembers                []User                        `json:"new_chat_members,omitempty"`
	LeftChatMember                User                          `json:"left_chat_member,omitempty"`
	NewChatTitle                  string                        `json:"new_chat_title,omitempty"`
	NewChatPhoto                  []PhotoSize                   `json:"new_chat_photo,omitempty"`
	DeleteChatPhoto               bool                          `json:"delete_chat_photo,omitempty"`
	GroupChatCreated              bool                          `json:"group_chat_created,omitempty"`
	SupergroupChatCreated         bool                          `json:"supergroup_chat_created,omitempty"`
	ChannelChatCreated            bool                          `json:"channel_chat_created,omitempty"`
	MessageAutoDeleteTimerChanged MessageAutoDeleteTimerChanged `json:"message_auto_delete_timer_changed,omitempty"`
	MigrateToChatId               int64                         `json:"migrate_to_chat_id,omitempty"`
	MigrateFromChatId             int64                         `json:"migrate_from_chat_id,omitempty"`

	Invoice                      Invoice                      `json:"invoice,omitempty"`
	SuccessfulPayment            SuccessfulPayment            `json:"successful_payment,omitempty"`
	UserShared                   UserShared                   `json:"user_shared,omitempty"`
	ChatShared                   ChatShared                   `json:"chat_shared,omitempty"`
	ConnectedWebsite             string                       `json:"connected_website,omitempty"`
	WriteAccessAllowed           WriteAccessAllowed           `json:"write_access_allowed,omitempty"`
	PassportData                 PassportData                 `json:"passport_data,omitempty"`
	ProximityAlertTriggered      ProximityAlertTriggered      `json:"proximity_alert_triggered,omitempty"`
	ForumTopicCreated            ForumTopicCreated            `json:"forum_topic_created,omitempty"`
	ForumTopicEdited             ForumTopicEdited             `json:"forum_topic_edited,omitempty"`
	ForumTopicClosed             ForumTopicClosed             `json:"forum_topic_closed,omitempty"`
	ForumTopicReopened           ForumTopicReopened           `json:"forum_topic_reopened,omitempty"`
	VideoChatScheduled           VideoChatScheduled           `json:"video_chat_scheduled,omitempty"`
	VideoChatStarted             VideoChatStarted             `json:"video_chat_started,omitempty"`
	VideoChatEnded               VideoChatEnded               `json:"video_chat_ended,omitempty"`
	VideoChatParticipantsInvited VideoChatParticipantsInvited `json:"video_chat_participants_invited,omitempty"`
	WebAppData                   WebAppData                   `json:"web_app_data,omitempty"`
	ReplyMarkup                  InlineKeyboardMarkup         `json:"reply_markup,omitempty"`
}

type MessageAutoDeleteTimerChanged

type MessageAutoDeleteTimerChanged struct {
	MessageAutoDeleteTime int64 `json:"message_auto_delete_time,omitempty"`
}

type MessageEntity

type MessageEntity struct {
	Type          string `json:"type,omitempty"`
	Offset        int64  `json:"offset,omitempty"`
	Length        int64  `json:"length,omitempty"`
	Url           string `json:"url,omitempty"`
	User          User   `json:"user,omitempty"`
	Language      string `json:"language,omitempty"`
	CustomEmojiId string `json:"custom_emoji_id,omitempty"`
}

type MessageId

type MessageId struct {
	MessageId int64 `json:"message_id,omitempty"`
}

type OrderInfo

type OrderInfo struct {
	Name            string          `json:"name,omitempty"`
	PhoneNumber     string          `json:"phone_number,omitempty"`
	Email           string          `json:"email,omitempty"`
	ShippingAddress ShippingAddress `json:"shipping_address,omitempty"`
}

type PassportData

type PassportData struct {
	Data        []EncryptedPassportElement `json:"data,omitempty"`
	Credentials EncryptedCredentials       `json:"credentials,omitempty"`
}

type PassportElementError

type PassportElementError interface{}

type PassportElementErrorDataField

type PassportElementErrorDataField struct {
	Source    string `json:"source,omitempty"`
	Type      string `json:"type,omitempty"`
	FieldName string `json:"field_name,omitempty"`
	DataHash  string `json:"data_hash,omitempty"`
	Message   string `json:"message,omitempty"`
}

type PassportElementErrorFile

type PassportElementErrorFile struct {
	Source   string `json:"source,omitempty"`
	Type     string `json:"type,omitempty"`
	FileHash string `json:"file_hash,omitempty"`
	Message  string `json:"message,omitempty"`
}

type PassportElementErrorFiles

type PassportElementErrorFiles struct {
	Source     string   `json:"source,omitempty"`
	Type       string   `json:"type,omitempty"`
	FileHashes []string `json:"file_hashes,omitempty"`
	Message    string   `json:"message,omitempty"`
}

type PassportElementErrorFrontSide

type PassportElementErrorFrontSide struct {
	Source   string `json:"source,omitempty"`
	Type     string `json:"type,omitempty"`
	FileHash string `json:"file_hash,omitempty"`
	Message  string `json:"message,omitempty"`
}

type PassportElementErrorReverseSide

type PassportElementErrorReverseSide struct {
	Source   string `json:"source,omitempty"`
	Type     string `json:"type,omitempty"`
	FileHash string `json:"file_hash,omitempty"`
	Message  string `json:"message,omitempty"`
}

type PassportElementErrorSelfie

type PassportElementErrorSelfie struct {
	Source   string `json:"source,omitempty"`
	Type     string `json:"type,omitempty"`
	FileHash string `json:"file_hash,omitempty"`
	Message  string `json:"message,omitempty"`
}

type PassportElementErrorTranslationFile

type PassportElementErrorTranslationFile struct {
	Source   string `json:"source,omitempty"`
	Type     string `json:"type,omitempty"`
	FileHash string `json:"file_hash,omitempty"`
	Message  string `json:"message,omitempty"`
}

type PassportElementErrorTranslationFiles

type PassportElementErrorTranslationFiles struct {
	Source     string   `json:"source,omitempty"`
	Type       string   `json:"type,omitempty"`
	FileHashes []string `json:"file_hashes,omitempty"`
	Message    string   `json:"message,omitempty"`
}

type PassportElementErrorUnspecified

type PassportElementErrorUnspecified struct {
	Source      string `json:"source,omitempty"`
	Type        string `json:"type,omitempty"`
	ElementHash string `json:"element_hash,omitempty"`
	Message     string `json:"message,omitempty"`
}

type PassportFile

type PassportFile struct {
	FileId       string `json:"file_id,omitempty"`
	FileUniqueId string `json:"file_unique_id,omitempty"`
	FileSize     int64  `json:"file_size,omitempty"`
	FileDate     int64  `json:"file_date,omitempty"`
}

type PhotoSize

type PhotoSize struct {
	FileId       string `json:"file_id,omitempty"`
	FileUniqueId string `json:"file_unique_id,omitempty"`
	Width        int64  `json:"width,omitempty"`
	Height       int64  `json:"height,omitempty"`
	FileSize     int64  `json:"file_size,omitempty"`
}

type PinChatMessage

type PinChatMessage struct {
	ChatId              int64 `json:"chat_id,omitempty"`
	MessageId           int64 `json:"message_id,omitempty"`
	DisableNotification bool  `json:"disable_notification,omitempty"`
}

type Poll

type Poll struct {
	Id                    string          `json:"id,omitempty"`
	Question              string          `json:"question,omitempty"`
	Options               []PollOption    `json:"options,omitempty"`
	TotalVoterCount       int64           `json:"total_voter_count,omitempty"`
	IsClosed              bool            `json:"is_closed,omitempty"`
	IsAnonymous           bool            `json:"is_anonymous,omitempty"`
	Type                  string          `json:"type,omitempty"`
	AllowsMultipleAnswers bool            `json:"allows_multiple_answers,omitempty"`
	CorrectOptionId       int64           `json:"correct_option_id,omitempty"`
	Explanation           string          `json:"explanation,omitempty"`
	ExplanationEntities   []MessageEntity `json:"explanation_entities,omitempty"`
	OpenPeriod            int64           `json:"open_period,omitempty"`
	CloseDate             int64           `json:"close_date,omitempty"`
}

type PollAnswer

type PollAnswer struct {
	PollId    string  `json:"poll_id,omitempty"`
	VoterChat Chat    `json:"voter_chat,omitempty"`
	User      User    `json:"user,omitempty"`
	OptionIds []int64 `json:"option_ids,omitempty"`
}

type PollOption

type PollOption struct {
	Text       string `json:"text,omitempty"`
	VoterCount int64  `json:"voter_count,omitempty"`
}

type PreCheckoutQuery

type PreCheckoutQuery struct {
	Id               string    `json:"id,omitempty"`
	From             User      `json:"from,omitempty"`
	Currency         string    `json:"currency,omitempty"`
	TotalAmount      int64     `json:"total_amount,omitempty"`
	InvoicePayload   string    `json:"invoice_payload,omitempty"`
	ShippingOptionId string    `json:"shipping_option_id,omitempty"`
	OrderInfo        OrderInfo `json:"order_info,omitempty"`
}

type PromoteChatMember

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

type ProximityAlertTriggered

type ProximityAlertTriggered struct {
	Traveler User  `json:"traveler,omitempty"`
	Watcher  User  `json:"watcher,omitempty"`
	Distance int64 `json:"distance,omitempty"`
}

type ReopenForumTopic

type ReopenForumTopic struct {
	ChatId          int64 `json:"chat_id,omitempty"`
	MessageThreadId int64 `json:"message_thread_id,omitempty"`
}

type ReopenGeneralForumTopic

type ReopenGeneralForumTopic struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type ReplyKeyboardMarkup

type ReplyKeyboardMarkup struct {
	Keyboard              [][]KeyboardButton `json:"keyboard,omitempty"`
	IsPersistent          bool               `json:"is_persistent,omitempty"`
	ResizeKeyboard        bool               `json:"resize_keyboard,omitempty"`
	OneTimeKeyboard       bool               `json:"one_time_keyboard,omitempty"`
	InputFieldPlaceholder string             `json:"input_field_placeholder,omitempty"`
	Selective             bool               `json:"selective,omitempty"`
}

type ReplyKeyboardRemove

type ReplyKeyboardRemove struct {
	RemoveKeyboard bool `json:"remove_keyboard,omitempty"`
	Selective      bool `json:"selective,omitempty"`
}

type ResponseParameters

type ResponseParameters struct {
	MigrateToChatId int64 `json:"migrate_to_chat_id,omitempty"`
	RetryAfter      int64 `json:"retry_after,omitempty"`
}

type RestrictChatMember

type RestrictChatMember struct {
	ChatId                        int64           `json:"chat_id,omitempty"`
	UserId                        int64           `json:"user_id,omitempty"`
	Permissions                   ChatPermissions `json:"permissions,omitempty"`
	UseIndependentChatPermissions bool            `json:"use_independent_chat_permissions,omitempty"`
	UntilDate                     int64           `json:"until_date,omitempty"`
}
type RevokeChatInviteLink struct {
	ChatId     int64  `json:"chat_id,omitempty"`
	InviteLink string `json:"invite_link,omitempty"`
}

type SendAnimation

type SendAnimation struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Animation                InputFile       `json:"animation,omitempty"`
	Duration                 int64           `json:"duration,omitempty"`
	Width                    int64           `json:"width,omitempty"`
	Height                   int64           `json:"height,omitempty"`
	Thumbnail                InputFile       `json:"thumbnail,omitempty"`
	Caption                  string          `json:"caption,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	CaptionEntities          []MessageEntity `json:"caption_entities,omitempty"`
	HasSpoiler               bool            `json:"has_spoiler,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SendAudio

type SendAudio struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Audio                    InputFile       `json:"audio,omitempty"`
	Caption                  string          `json:"caption,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	CaptionEntities          []MessageEntity `json:"caption_entities,omitempty"`
	Duration                 int64           `json:"duration,omitempty"`
	Performer                string          `json:"performer,omitempty"`
	Title                    string          `json:"title,omitempty"`
	Thumbnail                InputFile       `json:"thumbnail,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SendChatAction

type SendChatAction struct {
	ChatId          int64  `json:"chat_id,omitempty"`
	MessageThreadId int64  `json:"message_thread_id,omitempty"`
	Action          string `json:"action,omitempty"`
}

type SendContact

type SendContact struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	PhoneNumber              string      `json:"phone_number,omitempty"`
	FirstName                string      `json:"first_name,omitempty"`
	LastName                 string      `json:"last_name,omitempty"`
	Vcard                    string      `json:"vcard,omitempty"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendDice

type SendDice struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	Emoji                    string      `json:"emoji,omitempty"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendDocument

type SendDocument struct {
	ChatId                      int64           `json:"chat_id,omitempty"`
	MessageThreadId             int64           `json:"message_thread_id,omitempty"`
	Document                    InputFile       `json:"document,omitempty"`
	Thumbnail                   InputFile       `json:"thumbnail,omitempty"`
	Caption                     string          `json:"caption,omitempty"`
	ParseMode                   string          `json:"parse_mode,omitempty"`
	CaptionEntities             []MessageEntity `json:"caption_entities,omitempty"`
	DisableContentTypeDetection bool            `json:"disable_content_type_detection,omitempty"`
	DisableNotification         bool            `json:"disable_notification,omitempty"`
	ProtectContent              bool            `json:"protect_content,omitempty"`
	ReplyToMessageId            int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply    bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup                 interface{}     `json:"reply_markup,omitempty"`
}

type SendGame

type SendGame struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	GameShortName            string      `json:"game_short_name,omitempty"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendInvoice

type SendInvoice struct {
	ChatId                    int64          `json:"chat_id,omitempty"`
	MessageThreadId           int64          `json:"message_thread_id,omitempty"`
	Title                     string         `json:"title,omitempty"`
	Description               string         `json:"description,omitempty"`
	Payload                   string         `json:"payload,omitempty"`
	ProviderToken             string         `json:"provider_token,omitempty"`
	Currency                  string         `json:"currency,omitempty"`
	Prices                    []LabeledPrice `json:"prices,omitempty"`
	MaxTipAmount              int64          `json:"max_tip_amount,omitempty"`
	SuggestedTipAmounts       []int64        `json:"suggested_tip_amounts,omitempty"`
	StartParameter            string         `json:"start_parameter,omitempty"`
	ProviderData              string         `json:"provider_data,omitempty"`
	PhotoUrl                  string         `json:"photo_url,omitempty"`
	PhotoSize                 int64          `json:"photo_size,omitempty"`
	PhotoWidth                int64          `json:"photo_width,omitempty"`
	PhotoHeight               int64          `json:"photo_height,omitempty"`
	NeedName                  bool           `json:"need_name,omitempty"`
	NeedPhoneNumber           bool           `json:"need_phone_number,omitempty"`
	NeedEmail                 bool           `json:"need_email,omitempty"`
	NeedShippingAddress       bool           `json:"need_shipping_address,omitempty"`
	SendPhoneNumberToProvider bool           `json:"send_phone_number_to_provider,omitempty"`
	SendEmailToProvider       bool           `json:"send_email_to_provider,omitempty"`
	IsFlexible                bool           `json:"is_flexible,omitempty"`
	DisableNotification       bool           `json:"disable_notification,omitempty"`
	ProtectContent            bool           `json:"protect_content,omitempty"`
	ReplyToMessageId          int64          `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply  bool           `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup               interface{}    `json:"reply_markup,omitempty"`
}

type SendLocation

type SendLocation struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	Latitude                 float32     `json:"latitude,omitempty"`
	Longitude                float32     `json:"longitude,omitempty"`
	HorizontalAccuracy       float32     `json:"horizontal_accuracy,omitempty"`
	LivePeriod               int64       `json:"live_period,omitempty"`
	Heading                  int64       `json:"heading,omitempty"`
	ProximityAlertRadius     int64       `json:"proximity_alert_radius,omitempty"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendMediaGroup

type SendMediaGroup struct {
	ChatId                   int64         `json:"chat_id,omitempty"`
	MessageThreadId          int64         `json:"message_thread_id,omitempty"`
	Media                    []interface{} `json:"media,omitempty"`
	DisableNotification      bool          `json:"disable_notification,omitempty"`
	ProtectContent           bool          `json:"protect_content,omitempty"`
	ReplyToMessageId         int64         `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool          `json:"allow_sending_without_reply,omitempty"`
}

type SendMessage

type SendMessage struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Text                     string          `json:"text,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	Entities                 []MessageEntity `json:"entities,omitempty"`
	DisableWebPagePreview    bool            `json:"disable_web_page_preview,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SendPhoto

type SendPhoto struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Photo                    InputFile       `json:"photo,omitempty"`
	Caption                  string          `json:"caption,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	CaptionEntities          []MessageEntity `json:"caption_entities,omitempty"`
	HasSpoiler               bool            `json:"has_spoiler,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SendPoll

type SendPoll struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Question                 string          `json:"question,omitempty"`
	Options                  []string        `json:"options,omitempty"`
	IsAnonymous              bool            `json:"is_anonymous,omitempty"`
	Type                     string          `json:"type,omitempty"`
	AllowsMultipleAnswers    bool            `json:"allows_multiple_answers,omitempty"`
	CorrectOptionId          int64           `json:"correct_option_id,omitempty"`
	Explanation              string          `json:"explanation,omitempty"`
	ExplanationParseMode     string          `json:"explanation_parse_mode,omitempty"`
	ExplanationEntities      []MessageEntity `json:"explanation_entities,omitempty"`
	OpenPeriod               int64           `json:"open_period,omitempty"`
	CloseDate                int64           `json:"close_date,omitempty"`
	IsClosed                 bool            `json:"is_closed,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SendSticker

type SendSticker struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	Sticker                  InputFile   `json:"sticker,omitempty"`
	Emoji                    string      `json:"emoji,omitempty"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendVenue

type SendVenue struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	Latitude                 float32     `json:"latitude,omitempty"`
	Longitude                float32     `json:"longitude,omitempty"`
	Title                    string      `json:"title,omitempty"`
	Address                  string      `json:"address,omitempty"`
	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"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendVideo

type SendVideo struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Video                    InputFile       `json:"video,omitempty"`
	Duration                 int64           `json:"duration,omitempty"`
	Width                    int64           `json:"width,omitempty"`
	Height                   int64           `json:"height,omitempty"`
	Thumbnail                InputFile       `json:"thumbnail,omitempty"`
	Caption                  string          `json:"caption,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	CaptionEntities          []MessageEntity `json:"caption_entities,omitempty"`
	HasSpoiler               bool            `json:"has_spoiler,omitempty"`
	SupportsStreaming        bool            `json:"supports_streaming,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SendVideoNote

type SendVideoNote struct {
	ChatId                   int64       `json:"chat_id,omitempty"`
	MessageThreadId          int64       `json:"message_thread_id,omitempty"`
	VideoNote                InputFile   `json:"video_note,omitempty"`
	Duration                 int64       `json:"duration,omitempty"`
	Length                   int64       `json:"length,omitempty"`
	Thumbnail                InputFile   `json:"thumbnail,omitempty"`
	DisableNotification      bool        `json:"disable_notification,omitempty"`
	ProtectContent           bool        `json:"protect_content,omitempty"`
	ReplyToMessageId         int64       `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool        `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{} `json:"reply_markup,omitempty"`
}

type SendVoice

type SendVoice struct {
	ChatId                   int64           `json:"chat_id,omitempty"`
	MessageThreadId          int64           `json:"message_thread_id,omitempty"`
	Voice                    InputFile       `json:"voice,omitempty"`
	Caption                  string          `json:"caption,omitempty"`
	ParseMode                string          `json:"parse_mode,omitempty"`
	CaptionEntities          []MessageEntity `json:"caption_entities,omitempty"`
	Duration                 int64           `json:"duration,omitempty"`
	DisableNotification      bool            `json:"disable_notification,omitempty"`
	ProtectContent           bool            `json:"protect_content,omitempty"`
	ReplyToMessageId         int64           `json:"reply_to_message_id,omitempty"`
	AllowSendingWithoutReply bool            `json:"allow_sending_without_reply,omitempty"`
	ReplyMarkup              interface{}     `json:"reply_markup,omitempty"`
}

type SentWebAppMessage

type SentWebAppMessage struct {
	InlineMessageId string `json:"inline_message_id,omitempty"`
}

type SetChatAdministratorCustomTitle

type SetChatAdministratorCustomTitle struct {
	ChatId      int64  `json:"chat_id,omitempty"`
	UserId      int64  `json:"user_id,omitempty"`
	CustomTitle string `json:"custom_title,omitempty"`
}

type SetChatDescription

type SetChatDescription struct {
	ChatId      int64  `json:"chat_id,omitempty"`
	Description string `json:"description,omitempty"`
}

type SetChatMenuButton

type SetChatMenuButton struct {
	ChatId     int64       `json:"chat_id,omitempty"`
	MenuButton interface{} `json:"menu_button,omitempty"`
}

type SetChatPermissions

type SetChatPermissions struct {
	ChatId                        int64           `json:"chat_id,omitempty"`
	Permissions                   ChatPermissions `json:"permissions,omitempty"`
	UseIndependentChatPermissions bool            `json:"use_independent_chat_permissions,omitempty"`
}

type SetChatPhoto

type SetChatPhoto struct {
	ChatId int64     `json:"chat_id,omitempty"`
	Photo  InputFile `json:"photo,omitempty"`
}

type SetChatStickerSet

type SetChatStickerSet struct {
	ChatId         int64  `json:"chat_id,omitempty"`
	StickerSetName string `json:"sticker_set_name,omitempty"`
}

type SetChatTitle

type SetChatTitle struct {
	ChatId int64  `json:"chat_id,omitempty"`
	Title  string `json:"title,omitempty"`
}

type SetCustomEmojiStickerSetThumbnail

type SetCustomEmojiStickerSetThumbnail struct {
	Name          string `json:"name,omitempty"`
	CustomEmojiId string `json:"custom_emoji_id,omitempty"`
}

type SetGameScore

type SetGameScore struct {
	UserId             int64  `json:"user_id,omitempty"`
	Score              int64  `json:"score,omitempty"`
	Force              bool   `json:"force,omitempty"`
	DisableEditMessage bool   `json:"disable_edit_message,omitempty"`
	ChatId             int64  `json:"chat_id,omitempty"`
	MessageId          int64  `json:"message_id,omitempty"`
	InlineMessageId    string `json:"inline_message_id,omitempty"`
}

type SetMyCommands

type SetMyCommands struct {
	Commands     []BotCommand `json:"commands,omitempty"`
	Scope        interface{}  `json:"scope,omitempty"`
	LanguageCode string       `json:"language_code,omitempty"`
}

type SetMyDefaultAdministratorRights

type SetMyDefaultAdministratorRights struct {
	Rights      ChatAdministratorRights `json:"rights,omitempty"`
	ForChannels bool                    `json:"for_channels,omitempty"`
}

type SetMyDescription

type SetMyDescription struct {
	Description  string `json:"description,omitempty"`
	LanguageCode string `json:"language_code,omitempty"`
}

type SetMyName

type SetMyName struct {
	Name         string `json:"name,omitempty"`
	LanguageCode string `json:"language_code,omitempty"`
}

type SetMyShortDescription

type SetMyShortDescription struct {
	ShortDescription string `json:"short_description,omitempty"`
	LanguageCode     string `json:"language_code,omitempty"`
}

type SetPassportDataErrors

type SetPassportDataErrors struct {
	UserId int64         `json:"user_id,omitempty"`
	Errors []interface{} `json:"errors,omitempty"`
}

type SetStickerEmojiList

type SetStickerEmojiList struct {
	Sticker   string   `json:"sticker,omitempty"`
	EmojiList []string `json:"emoji_list,omitempty"`
}

type SetStickerKeywords

type SetStickerKeywords struct {
	Sticker  string   `json:"sticker,omitempty"`
	Keywords []string `json:"keywords,omitempty"`
}

type SetStickerMaskPosition

type SetStickerMaskPosition struct {
	Sticker      string       `json:"sticker,omitempty"`
	MaskPosition MaskPosition `json:"mask_position,omitempty"`
}

type SetStickerPositionInSet

type SetStickerPositionInSet struct {
	Sticker  string `json:"sticker,omitempty"`
	Position int64  `json:"position,omitempty"`
}

type SetStickerSetThumbnail

type SetStickerSetThumbnail struct {
	Name      string    `json:"name,omitempty"`
	UserId    int64     `json:"user_id,omitempty"`
	Thumbnail InputFile `json:"thumbnail,omitempty"`
}

type SetStickerSetTitle

type SetStickerSetTitle struct {
	Name  string `json:"name,omitempty"`
	Title string `json:"title,omitempty"`
}

type ShippingAddress

type ShippingAddress struct {
	CountryCode string `json:"country_code,omitempty"`
	State       string `json:"state,omitempty"`
	City        string `json:"city,omitempty"`
	StreetLine1 string `json:"street_line1,omitempty"`
	StreetLine2 string `json:"street_line2,omitempty"`
	PostCode    string `json:"post_code,omitempty"`
}

type ShippingOption

type ShippingOption struct {
	Id     string         `json:"id,omitempty"`
	Title  string         `json:"title,omitempty"`
	Prices []LabeledPrice `json:"prices,omitempty"`
}

type ShippingQuery

type ShippingQuery struct {
	Id              string          `json:"id,omitempty"`
	From            User            `json:"from,omitempty"`
	InvoicePayload  string          `json:"invoice_payload,omitempty"`
	ShippingAddress ShippingAddress `json:"shipping_address,omitempty"`
}

type Sticker

type Sticker struct {
	FileId           string       `json:"file_id,omitempty"`
	FileUniqueId     string       `json:"file_unique_id,omitempty"`
	Type             string       `json:"type,omitempty"`
	Width            int64        `json:"width,omitempty"`
	Height           int64        `json:"height,omitempty"`
	IsAnimated       bool         `json:"is_animated,omitempty"`
	IsVideo          bool         `json:"is_video,omitempty"`
	Thumbnail        PhotoSize    `json:"thumbnail,omitempty"`
	Emoji            string       `json:"emoji,omitempty"`
	SetName          string       `json:"set_name,omitempty"`
	PremiumAnimation File         `json:"premium_animation,omitempty"`
	MaskPosition     MaskPosition `json:"mask_position,omitempty"`
	CustomEmojiId    string       `json:"custom_emoji_id,omitempty"`
	NeedsRepainting  bool         `json:"needs_repainting,omitempty"`
	FileSize         int64        `json:"file_size,omitempty"`
}

type StickerSet

type StickerSet struct {
	Name        string    `json:"name,omitempty"`
	Title       string    `json:"title,omitempty"`
	StickerType string    `json:"sticker_type,omitempty"`
	IsAnimated  bool      `json:"is_animated,omitempty"`
	IsVideo     bool      `json:"is_video,omitempty"`
	Stickers    []Sticker `json:"stickers,omitempty"`
	Thumbnail   PhotoSize `json:"thumbnail,omitempty"`
}

type StopMessageLiveLocation

type StopMessageLiveLocation struct {
	ChatId          int64       `json:"chat_id,omitempty"`
	MessageId       int64       `json:"message_id,omitempty"`
	InlineMessageId string      `json:"inline_message_id,omitempty"`
	ReplyMarkup     interface{} `json:"reply_markup,omitempty"`
}

type StopPoll

type StopPoll struct {
	ChatId      int64       `json:"chat_id,omitempty"`
	MessageId   int64       `json:"message_id,omitempty"`
	ReplyMarkup interface{} `json:"reply_markup,omitempty"`
}

type Story

type Story interface{}

type SuccessfulPayment

type SuccessfulPayment struct {
	Currency                string    `json:"currency,omitempty"`
	TotalAmount             int64     `json:"total_amount,omitempty"`
	InvoicePayload          string    `json:"invoice_payload,omitempty"`
	ShippingOptionId        string    `json:"shipping_option_id,omitempty"`
	OrderInfo               OrderInfo `json:"order_info,omitempty"`
	TelegramPaymentChargeId string    `json:"telegram_payment_charge_id,omitempty"`
	ProviderPaymentChargeId string    `json:"provider_payment_charge_id,omitempty"`
}

type SwitchInlineQueryChosenChat

type SwitchInlineQueryChosenChat struct {
	Query             string `json:"query,omitempty"`
	AllowUserChats    bool   `json:"allow_user_chats,omitempty"`
	AllowBotChats     bool   `json:"allow_bot_chats,omitempty"`
	AllowGroupChats   bool   `json:"allow_group_chats,omitempty"`
	AllowChannelChats bool   `json:"allow_channel_chats,omitempty"`
}

type TelegramUpdate

type TelegramUpdate struct {
	Ok     bool     `json:"ok"`
	Result []Update `json:"result,omitempty"`
}

type UnbanChatMember

type UnbanChatMember struct {
	ChatId       int64 `json:"chat_id,omitempty"`
	UserId       int64 `json:"user_id,omitempty"`
	OnlyIfBanned bool  `json:"only_if_banned,omitempty"`
}

type UnbanChatSenderChat

type UnbanChatSenderChat struct {
	ChatId       int64 `json:"chat_id,omitempty"`
	SenderChatId int64 `json:"sender_chat_id,omitempty"`
}

type UnhideGeneralForumTopic

type UnhideGeneralForumTopic struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type UnpinAllChatMessages

type UnpinAllChatMessages struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type UnpinAllForumTopicMessages

type UnpinAllForumTopicMessages struct {
	ChatId          int64 `json:"chat_id,omitempty"`
	MessageThreadId int64 `json:"message_thread_id,omitempty"`
}

type UnpinAllGeneralForumTopicMessages

type UnpinAllGeneralForumTopicMessages struct {
	ChatId int64 `json:"chat_id,omitempty"`
}

type UnpinChatMessage

type UnpinChatMessage struct {
	ChatId    int64 `json:"chat_id,omitempty"`
	MessageId int64 `json:"message_id,omitempty"`
}

type Update

type Update struct {
	UpdateId           int64              `json:"update_id,omitempty"`
	Message            Message            `json:"message,omitempty"`
	EditedMessage      Message            `json:"edited_message,omitempty"`
	ChannelPost        Message            `json:"channel_post,omitempty"`
	EditedChannelPost  Message            `json:"edited_channel_post,omitempty"`
	InlineQuery        InlineQuery        `json:"inline_query,omitempty"`
	ChosenInlineResult ChosenInlineResult `json:"chosen_inline_result,omitempty"`
	CallbackQuery      CallbackQuery      `json:"callback_query,omitempty"`
	ShippingQuery      ShippingQuery      `json:"shipping_query,omitempty"`
	PreCheckoutQuery   PreCheckoutQuery   `json:"pre_checkout_query,omitempty"`
	Poll               Poll               `json:"poll,omitempty"`
	PollAnswer         PollAnswer         `json:"poll_answer,omitempty"`
	MyChatMember       ChatMemberUpdated  `json:"my_chat_member,omitempty"`
	ChatMember         ChatMemberUpdated  `json:"chat_member,omitempty"`
	ChatJoinRequest    ChatJoinRequest    `json:"chat_join_request,omitempty"`
}

type UploadStickerFile

type UploadStickerFile struct {
	UserId        int64     `json:"user_id,omitempty"`
	Sticker       InputFile `json:"sticker,omitempty"`
	StickerFormat string    `json:"sticker_format,omitempty"`
}

type User

type User struct {
	Id                      int64  `json:"id,omitempty"`
	IsBot                   bool   `json:"is_bot,omitempty"`
	FirstName               string `json:"first_name,omitempty"`
	LastName                string `json:"last_name,omitempty"`
	Username                string `json:"username,omitempty"`
	LanguageCode            string `json:"language_code,omitempty"`
	IsPremium               bool   `json:"is_premium,omitempty"`
	AddedToAttachmentMenu   bool   `json:"added_to_attachment_menu,omitempty"`
	CanJoinGroups           bool   `json:"can_join_groups,omitempty"`
	CanReadAllGroupMessages bool   `json:"can_read_all_group_messages,omitempty"`
	SupportsInlineQueries   bool   `json:"supports_inline_queries,omitempty"`
}

type UserProfilePhotos

type UserProfilePhotos struct {
	TotalCount int64         `json:"total_count,omitempty"`
	Photos     [][]PhotoSize `json:"photos,omitempty"`
}

type UserShared

type UserShared struct {
	RequestId int64 `json:"request_id,omitempty"`
	UserId    int64 `json:"user_id,omitempty"`
}

type Venue

type Venue struct {
	Location        Location `json:"location,omitempty"`
	Title           string   `json:"title,omitempty"`
	Address         string   `json:"address,omitempty"`
	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"`
}

type Video

type Video struct {
	FileId       string    `json:"file_id,omitempty"`
	FileUniqueId string    `json:"file_unique_id,omitempty"`
	Width        int64     `json:"width,omitempty"`
	Height       int64     `json:"height,omitempty"`
	Duration     int64     `json:"duration,omitempty"`
	Thumbnail    PhotoSize `json:"thumbnail,omitempty"`
	FileName     string    `json:"file_name,omitempty"`
	MimeType     string    `json:"mime_type,omitempty"`
	FileSize     int64     `json:"file_size,omitempty"`
}

type VideoChatEnded

type VideoChatEnded struct {
	Duration int64 `json:"duration,omitempty"`
}

type VideoChatParticipantsInvited

type VideoChatParticipantsInvited struct {
	Users []User `json:"users,omitempty"`
}

type VideoChatScheduled

type VideoChatScheduled struct {
	StartDate int64 `json:"start_date,omitempty"`
}

type VideoChatStarted

type VideoChatStarted interface{}

type VideoNote

type VideoNote struct {
	FileId       string    `json:"file_id,omitempty"`
	FileUniqueId string    `json:"file_unique_id,omitempty"`
	Length       int64     `json:"length,omitempty"`
	Duration     int64     `json:"duration,omitempty"`
	Thumbnail    PhotoSize `json:"thumbnail,omitempty"`
	FileSize     int64     `json:"file_size,omitempty"`
}

type Voice

type Voice struct {
	FileId       string `json:"file_id,omitempty"`
	FileUniqueId string `json:"file_unique_id,omitempty"`
	Duration     int64  `json:"duration,omitempty"`
	MimeType     string `json:"mime_type,omitempty"`
	FileSize     int64  `json:"file_size,omitempty"`
}

type WebAppData

type WebAppData struct {
	Data       string `json:"data,omitempty"`
	ButtonText string `json:"button_text,omitempty"`
}

type WebAppInfo

type WebAppInfo struct {
	Url string `json:"url,omitempty"`
}

type WebhookInfo

type WebhookInfo struct {
	Url                          string   `json:"url,omitempty"`
	HasCustomCertificate         bool     `json:"has_custom_certificate,omitempty"`
	PendingUpdateCount           int64    `json:"pending_update_count,omitempty"`
	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               int64    `json:"max_connections,omitempty"`
	AllowedUpdates               []string `json:"allowed_updates,omitempty"`
}

type WriteAccessAllowed

type WriteAccessAllowed struct {
	FromRequest        bool   `json:"from_request,omitempty"`
	WebAppName         string `json:"web_app_name,omitempty"`
	FromAttachmentMenu bool   `json:"from_attachment_menu,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL