telegram.inlinequeryresult module

This module contains the classes that represent Telegram InlineQueryResult

class telegram.inlinequeryresult.InlineQueryResult(type, id, **kwargs)

Bases: telegram.base.TelegramObject

This object represents a Telegram InlineQueryResult.

type

str – Type of the result.

id

str – Unique identifier for this result, 1-64 Bytes

Parameters:
  • type (str) – Type of the result.
  • id (str) – Unique identifier for this result, 1-64 Bytes
  • **kwargs (dict) – Arbitrary keyword arguments.
static de_json(data, bot)