Chat Inline Search Answer

Inline Search Answer

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
Language
Authorization
OAuth2