telegram.InlineQueryResult¶
-
class
telegram.
InlineQueryResult
(type: str, id: str, **kwargs)¶ Bases:
telegram.base.TelegramObject
Baseclass for the InlineQueryResult* classes.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
id
is equal.-
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.
-