telegram-inline-query
Query inline Telegram bots like @gif to obtain compact result lists, including query ID and cache time, for later delivery of a chosen result.
Instructions
Query an inline bot (like @gif, @bing) in a chat context and return the compact result list. Returns queryId, cacheTime, and results[{id,type,title?,description?,url?}]. The queryId is typically valid for ~60s and can be passed to telegram-inline-query-send to deliver a chosen result. Bot must be a real bot account
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | Inline bot username (e.g. @gif) or numeric user ID | |
| query | Yes | Query text the bot should resolve (may be empty string) | |
| chatId | Yes | Chat ID or username providing context for the inline query | |
| offset | No | Pagination offset returned by a previous call as nextOffset (empty string on first call) |