|
|
|
@ -586,6 +586,19 @@ type InlineQueryResultPhoto struct { |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedPhoto is an inline query response with cached photo.
|
|
|
|
|
type InlineQueryResultCachedPhoto struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
PhotoID string `json:"photo_file_id"` // required
|
|
|
|
|
Title string `json:"title"` |
|
|
|
|
Description string `json:"description"` |
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultGIF is an inline query response GIF.
|
|
|
|
|
type InlineQueryResultGIF struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
@ -601,6 +614,18 @@ type InlineQueryResultGIF struct { |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedGIF is an inline query response with cached gif.
|
|
|
|
|
type InlineQueryResultCachedGIF struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
GifID string `json:"gif_file_id"` // required
|
|
|
|
|
Title string `json:"title"` |
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultMPEG4GIF is an inline query response MPEG4 GIF.
|
|
|
|
|
type InlineQueryResultMPEG4GIF struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
@ -616,6 +641,19 @@ type InlineQueryResultMPEG4GIF struct { |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedMpeg4Gif is an inline query response with cached
|
|
|
|
|
// H.264/MPEG-4 AVC video without sound gif.
|
|
|
|
|
type InlineQueryResultCachedMpeg4Gif struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
MGifID string `json:"mpeg4_file_id"` // required
|
|
|
|
|
Title string `json:"title"` |
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultVideo is an inline query response video.
|
|
|
|
|
type InlineQueryResultVideo struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
@ -633,6 +671,19 @@ type InlineQueryResultVideo struct { |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedVideo is an inline query response with cached video.
|
|
|
|
|
type InlineQueryResultCachedVideo struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
VideoID string `json:"video_file_id"` // required
|
|
|
|
|
Title string `json:"title"` // required
|
|
|
|
|
Description string `json:"description"` |
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultAudio is an inline query response audio.
|
|
|
|
|
type InlineQueryResultAudio struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
@ -646,6 +697,17 @@ type InlineQueryResultAudio struct { |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedAudio is an inline query response with cached audio.
|
|
|
|
|
type InlineQueryResultCachedAudio struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
AudioID string `json:"audio_file_id"` // required
|
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultVoice is an inline query response voice.
|
|
|
|
|
type InlineQueryResultVoice struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
@ -658,6 +720,18 @@ type InlineQueryResultVoice struct { |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedVoice is an inline query response with cached voice.
|
|
|
|
|
type InlineQueryResultCachedVoice struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
VoiceID string `json:"voice_file_id"` // required
|
|
|
|
|
Title string `json:"title"` // required
|
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultDocument is an inline query response document.
|
|
|
|
|
type InlineQueryResultDocument struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
@ -674,6 +748,19 @@ type InlineQueryResultDocument struct { |
|
|
|
|
ThumbHeight int `json:"thumb_height"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultCachedDocument is an inline query response with cached document.
|
|
|
|
|
type InlineQueryResultCachedDocument struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|
ID string `json:"id"` // required
|
|
|
|
|
DocumentID string `json:"document_file_id"` // required
|
|
|
|
|
Title string `json:"title"` // required
|
|
|
|
|
Caption string `json:"caption"` |
|
|
|
|
Description string `json:"description"` |
|
|
|
|
ParseMode string `json:"parse_mode"` |
|
|
|
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` |
|
|
|
|
InputMessageContent interface{} `json:"input_message_content,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InlineQueryResultLocation is an inline query response location.
|
|
|
|
|
type InlineQueryResultLocation struct { |
|
|
|
|
Type string `json:"type"` // required
|
|
|
|
|