Use this method to send answers to an inline query
Use this method to send answers to an inline query. On success, True is returned.
No more than 50 results per query are allowed.
Body
Required
-
Unique identifier for the answered query
results
array[object] Required Any of: InlineQueryResultCachedAudioarray[object] InlineQueryResultCachedDocumentarray[object] InlineQueryResultCachedGifarray[object] InlineQueryResultCachedMpeg4Gifarray[object] InlineQueryResultCachedPhotoarray[object] InlineQueryResultCachedStickerarray[object] InlineQueryResultCachedVideoarray[object] InlineQueryResultCachedVoicearray[object] InlineQueryResultArticlearray[object] InlineQueryResultAudioarray[object] InlineQueryResultContactarray[object] InlineQueryResultGamearray[object] InlineQueryResultDocumentarray[object] InlineQueryResultGifarray[object] InlineQueryResultLocationarray[object] InlineQueryResultMpeg4Gifarray[object] InlineQueryResultPhotoarray[object] InlineQueryResultVenuearray[object] InlineQueryResultVideoarray[object] InlineQueryResultVoicearray[object] Represents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.
Hide attributes Show attributes
-
Type of the result, must be audio
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier for the audio file
-
Optional. Caption, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the audio caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file.
Hide attributes Show attributes
-
Type of the result, must be document
-
Unique identifier for this result, 1-64 bytes
-
Title for the result
-
A valid file identifier for the file
-
Optional. Short description of the result
-
Optional. Caption of the document to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the document caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.
Hide attributes Show attributes
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
Type of the result, must be gif
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier for the GIF file
-
Optional. Title for the result
-
Optional. Caption of the GIF file to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
Hide attributes Show attributes
-
Type of the result, must be mpeg4_gif
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier for the MP4 file
-
Optional. Title for the result
-
Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
Hide attributes Show attributes
-
Type of the result, must be photo
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier of the photo
-
Optional. Title for the result
-
Optional. Short description of the result
-
Optional. Caption of the photo to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the photo caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker.
Hide attributes Show attributes
-
Type of the result, must be sticker
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier of the sticker
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
Hide attributes Show attributes
-
Type of the result, must be video
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier for the video file
-
Title for the result
-
Optional. Short description of the result
-
Optional. Caption of the video to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the video caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the voice message.
Hide attributes Show attributes
-
Type of the result, must be voice
-
Unique identifier for this result, 1-64 bytes
-
A valid file identifier for the voice message
-
Voice message title
-
Optional. Caption, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the voice message caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to an article or web page.
Hide attributes Show attributes
-
Type of the result, must be article
-
Unique identifier for this result, 1-64 Bytes
-
Title of the result
input_message_content
object Required Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
-
Optional. URL of the result
-
Optional. Pass True, if you don't want the URL to be shown in the message
-
Optional. Short description of the result
-
Optional. Url of the thumbnail for the result
-
Optional. Thumbnail width
-
Optional. Thumbnail height
Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.
Hide attributes Show attributes
-
Type of the result, must be audio
-
Unique identifier for this result, 1-64 bytes
-
A valid URL for the audio file
-
Title
-
Optional. Caption, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the audio caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Performer
-
Optional. Audio duration in seconds
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.
Hide attributes Show attributes
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
Type of the result, must be contact
-
Unique identifier for this result, 1-64 Bytes
-
Contact's phone number
-
Contact's first name
-
Optional. Contact's last name
-
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
-
Optional. Url of the thumbnail for the result
-
Optional. Thumbnail width
-
Optional. Thumbnail height
Represents a Game.
Hide attributes Show attributes
-
Type of the result, must be game
-
Unique identifier for this result, 1-64 bytes
-
Short name of the game
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method.
Hide attributes Show attributes
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
Type of the result, must be document
-
Unique identifier for this result, 1-64 bytes
-
Title for the result
-
Optional. Caption of the document to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the document caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
A valid URL for the file
-
Mime type of the content of the file, either “application/pdf” or “application/zip”
Values are
application/pdf
orapplication/zip
. -
Optional. Short description of the result
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
-
Optional. URL of the thumbnail (jpeg only) for the file
-
Optional. Thumbnail width
-
Optional. Thumbnail height
Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
Hide attributes Show attributes
-
Type of the result, must be gif
-
Unique identifier for this result, 1-64 bytes
-
A valid URL for the GIF file. File size must not exceed 1MB
-
Optional. Width of the GIF
-
Optional. Height of the GIF
-
Optional. Duration of the GIF
-
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result
-
Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”
Values are
image/jpeg
,image/gif
, orvideo/mp4
. Default value isimage/jpeg
. -
Optional. Title for the result
-
Optional. Caption of the GIF file to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.
Hide attributes Show attributes
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
Type of the result, must be location
-
Unique identifier for this result, 1-64 Bytes
-
Location latitude in degrees
-
Location longitude in degrees
-
Location title
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
-
Optional. Url of the thumbnail for the result
-
Optional. Thumbnail width
-
Optional. Thumbnail height
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
Hide attributes Show attributes
-
Type of the result, must be mpeg4_gif
-
Unique identifier for this result, 1-64 bytes
-
A valid URL for the MP4 file. File size must not exceed 1MB
-
Optional. Video width
-
Optional. Video height
-
Optional. Video duration
-
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result
-
Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”
Values are
image/jpeg
,image/gif
, orvideo/mp4
. Default value isimage/jpeg
. -
Optional. Title for the result
-
Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
Hide attributes Show attributes
-
Type of the result, must be photo
-
Unique identifier for this result, 1-64 bytes
-
A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB
-
URL of the thumbnail for the photo
-
Optional. Width of the photo
-
Optional. Height of the photo
-
Optional. Title for the result
-
Optional. Short description of the result
-
Optional. Caption of the photo to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the photo caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
Hide attributes Show attributes
-
Type of the result, must be venue
-
Unique identifier for this result, 1-64 Bytes
-
Latitude of the venue location in degrees
-
Longitude of the venue location in degrees
-
Title of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
Optional. Url of the thumbnail for the result
-
Optional. Thumbnail width
-
Optional. Thumbnail height
Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube), you must replace its content using input_message_content.
Hide attributes Show attributes
-
Type of the result, must be video
-
Unique identifier for this result, 1-64 bytes
-
A valid URL for the embedded video player or video file
-
Mime type of the content of video url, “text/html” or “video/mp4”
-
URL of the thumbnail (jpeg only) for the video
-
Title for the result
-
Optional. Caption of the video to be sent, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the video caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Video width
-
Optional. Video height
-
Optional. Video duration in seconds
-
Optional. Short description of the result
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the venue in degrees
-
Longitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message.
Hide attributes Show attributes
-
Type of the result, must be voice
-
Unique identifier for this result, 1-64 bytes
-
A valid URL for the voice recording
-
Recording title
-
Optional. Caption, 0-1024 characters after entities parsing
-
Optional. Mode for parsing entities in the voice message caption. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide caption_entities attributes Show caption_entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Recording duration in seconds
-
This object represents an inline keyboard that appears right next to the message it belongs to.
Hide reply_markup attribute Show reply_markup attribute object
-
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
input_message_content
object Any of: Represents the content of a text message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Text of the message to be sent, 1-4096 characters
-
Optional. Mode for parsing entities in the message text. See formatting options for more details.
-
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Hide entities attributes Show entities attributes array[object]
-
Type of the entity. Can be “mention” (
@username
), “hashtag” (#hashtag
), “cashtag” ($USD
), “bot_command” (/start@jobs_bot
), “url” (https://telegram.org
), “email” (do-not-reply@telegram.org
), “phone_number” (+1-212-555-0123
), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames)Values are
mention
,hashtag
,cashtag
,bot_command
,url
,email
,phone_number
,bold
,italic
,underline
,strikethrough
,code
,pre
,text_link
, ortext_mention
. -
Offset in UTF-16 code units to the start of the entity
-
Length of the entity in UTF-16 code units
-
Optional. For “text_link” only, url that will be opened after user taps on the text
-
This object represents a Telegram user or bot.
Hide user attributes Show user attributes object
-
Unique identifier for this user or bot
-
True, if this user is a bot
-
User's or bot's first name
-
Optional. User's or bot's last name
-
Optional. User's or bot's username
-
Optional. IETF language tag of the user's language
-
Optional. True, if the bot can be invited to groups. Returned only in getMe.
-
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
-
Optional. True, if the bot supports inline queries. Returned only in getMe.
-
-
Optional. For “pre” only, the programming language of the entity text
-
-
Optional. Disables link previews for links in the sent message
Represents the content of a location message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Latitude of the location in degrees
-
Longitude of the location in degrees
-
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
-
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
-
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
-
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Represents the content of a venue message to be sent as the result of an inline query.
Hide attributes Show attributes
-
Longitude of the venue in degrees
-
Latitude of the venue in degrees
-
Name of the venue
-
Address of the venue
-
Optional. Foursquare identifier of the venue, if known
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
-
Optional. Google Places identifier of the venue
-
Optional. Google Places type of the venue. (See supported types.)
-
-
-
The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.
Default value is
300
. -
Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query
-
Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes.
-
If passed, clients will display a button with specified text that switches the user to a private chat with the bot and sends the bot a start message with the parameter switch_pm_parameter
-
Deep-linking parameter for the /start message sent to the bot when user presses the switch button. 1-64 characters, only
A-Z
,a-z
,0-9
,_
and-
are allowed.Example: An inline bot that sends YouTube videos can ask the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it displays a 'Connect your YouTube account' button above the results, or even before showing any. The user presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that instructs the bot to return an oauth link. Once done, the bot can offer a switch_inline button so that the user can easily return to the chat where they wanted to use the bot's inline capabilities.
Responses
-
Hide response attributes Show response attributes object
-
Default value is
false
. -
Contains information about why a request was unsuccessful.
Hide parameters attributes Show parameters attributes object
-
Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.
-
Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated
-
-
-
curl \
-X POST https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/answerInlineQuery \
-H "Content-Type: application/json" \
-d '{"inline_query_id":"string","results":[{"type":"string","id":"string","audio_file_id":"string","caption":"string","parse_mode":"string","caption_entities":[{"type":"mention","offset":42,"length":42,"url":"string","user":{"id":42,"is_bot":true,"first_name":"string","last_name":"string","username":"string","language_code":"string","can_join_groups":true,"can_read_all_group_messages":true,"supports_inline_queries":true},"language":"string"}],"reply_markup":{"":[[{}]]},"input_message_content":{"message_text":"string","parse_mode":"string","entities":[{"type":"mention","offset":42,"length":42,"url":"string","user":{"id":42,"is_bot":true,"first_name":"string","last_name":"string","username":"string","language_code":"string","can_join_groups":true,"can_read_all_group_messages":true,"supports_inline_queries":true},"language":"string"}],"disable_web_page_preview":true}}],"cache_time":300,"is_personal":true,"next_offset":"string","switch_pm_text":"string","switch_pm_parameter":"string"}'
{
"inline_query_id": "string",
"results": [
{
"type": "string",
"id": "string",
"audio_file_id": "string",
"caption": "string",
"parse_mode": "string",
"caption_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"reply_markup": {
"": [
[
{}
]
]
},
"input_message_content": {
"message_text": "string",
"parse_mode": "string",
"entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"disable_web_page_preview": true
}
}
],
"cache_time": 300,
"is_personal": true,
"next_offset": "string",
"switch_pm_text": "string",
"switch_pm_parameter": "string"
}
{
"inline_query_id": "string",
"results": [
{
"type": "string",
"id": "string",
"audio_file_id": "string",
"caption": "string",
"parse_mode": "string",
"caption_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"reply_markup": {
"": [
[
{}
]
]
},
"input_message_content": {
"message_text": "string",
"parse_mode": "string",
"entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"disable_web_page_preview": true
}
}
],
"cache_time": 300,
"is_personal": true,
"next_offset": "string",
"switch_pm_text": "string",
"switch_pm_parameter": "string"
}
{
"ok": false,
"error_code": 42,
"description": "string",
"parameters": {
"migrate_to_chat_id": 42,
"retry_after": 42
}
}
{
"ok": false,
"error_code": 42,
"description": "string",
"parameters": {
"migrate_to_chat_id": 42,
"retry_after": 42
}
}
{
"ok": true,
"result": true
}
{
"ok": true,
"result": true
}