inlineSearchAnswer

The following data structures represents custom keypad menus with reply options

FieldTypeRequiredDescription
methodStringYes"inlineSearchAnswer"
to_user_idStringYesThe user id you want to sent to him
resultsResultsYesArray of media information
next_offsetStringYesPass the offset that a client should send in the next search 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
chat_idStringYesChat id
search_idStringYesUnique id of this message

Results

FieldTypeRequiredDescription
thumb_urlStringOptionalURL of Thumbnail of the media
captionStringOptionalCaption of the media
descriptionStringOptionalDescription of the media .
titleStringOptionalTitle of the media
typeStringYesType of media file like text, image , video , gif_image, gif_video etc.
urlStringYesDownload URL of media file
widthLongOptionalWidth of thumbnail image
heightLongOptionalHeight if thumbnail image
Body Params
string
required
Defaults to inlineSearchAnswer
results
array of objects
required
results*
string
required
Defaults to News
chat
object
required
string
required
Defaults to 90089668723575679
int32
required
Defaults to 1589
Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json