optns https://w1.nandbox.net/chat-inline-search-answer
The following data structures represents custom keypad menus with reply options
Field | Type | Required | Description |
---|---|---|---|
method | String | Yes | "inlineSearchAnswer" |
to_user_id | String | Yes | The user id you want to sent to him |
results | Results | Yes | Array of media information |
next_offset | String | Yes | Pass 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_id | String | Yes | Chat id |
search_id | String | Yes | Unique id of this message |
Results
Field | Type | Required | Description |
---|---|---|---|
thumb_url | String | Optional | URL of Thumbnail of the media |
caption | String | Optional | Caption of the media |
description | String | Optional | Description of the media . |
title | String | Optional | Title of the media |
type | String | Yes | Type of media file like text, image , video , gif_image, gif_video etc. |
url | String | Yes | Download URL of media file |
width | Long | Optional | Width of thumbnail image |
height | Long | Optional | Height if thumbnail image |