Liking cljdoc? Tell your friends :D

telegrambot-lib.inline.core

Telegram Bot API Inline Mode - function implementations.

Most functions are multi-arity with the following options:

  • Send all parameters in a 'content' map.
  • Send only the required parameters as simple values.
  • Send the required paraemters as simple values and then 'optional' parameters in a map.
Telegram Bot API Inline Mode - function implementations.
- <https://core.telegram.org/bots/api#inline-mode>

Most functions are multi-arity with the following options:
- Send all parameters in a 'content' map.
- Send only the required parameters as simple values.
- Send the required paraemters as simple values and then 'optional' parameters in a map.
raw docstring

answer-inline-queryclj

(answer-inline-query this content)
(answer-inline-query this inline_query_id results)
(answer-inline-query this inline_query_id results & optional)

Use this method to send answers to an inline query. On success, True is returned. No more than 50 results per query are allowed.

Required

  • this ; a bot instance
  • inline_query_id ; id for the answered query
  • results ; json array of results for inline query

Optional

  • cache_time ; max time in seconds
  • is_personal ; true if query results are cached only for individuals
  • next_offset ; Pagination offset a client should use for more results
  • switch_pm_text ; display a button that allows clients to start a private chat with the bot
  • switch_pm_parameter ; 'deep-linking' param for /start sent to bot during switch
Use this method to send answers to an inline query.
On success, True is returned.
No more than 50 results per query are allowed.

Required
- this ; a bot instance
- inline_query_id ; id for the answered query
- results ; json array of results for inline query

Optional
- cache_time ; max time in seconds
- is_personal ; true if query results are cached only for individuals
- next_offset ; Pagination offset a client should use for more results
- switch_pm_text ; display a button that allows clients to start a private chat with the bot
- switch_pm_parameter ; 'deep-linking' param for /start sent to bot during switch
sourceraw docstring

behaviorclj

Map for extending the core TBot record with functions.

Map for extending the core TBot record with functions.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close