telegram.InlineQueryResult

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

Bases: telegram.base.TelegramObject

Baseclass for the InlineQueryResult* classes.

type

Type of the result.

Type:str
id

Unique identifier for this result, 1-64 Bytes.

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