InlineQueryResult¶
- class telegram.InlineQueryResult(type, id, *, api_kwargs=None)[source]¶
Bases:
telegram.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.Note
All URLs passed in inline query results will be available to end users and therefore must be assumed to be public.
Examples
- Parameters:
- MAX_ID_LENGTH = 64[source]¶
telegram.constants.InlineQueryResultLimit.MAX_ID_LENGTH
Added in version 20.0.
- MIN_ID_LENGTH = 1[source]¶
telegram.constants.InlineQueryResultLimit.MIN_ID_LENGTH
Added in version 20.0.