InlineQueryResult¶
- class telegram.InlineQueryResult(type, id, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectBaseclass for the InlineQueryResult* classes.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
idis equal.Note
All URLs passed in inline query results will be available to end users and therefore must be assumed to be public.
Examples
Use In
- Parameters:
- MAX_ID_LENGTH = 64[source]¶
telegram.constants.InlineQueryResultLimit.MAX_ID_LENGTHAdded in version 20.0.
- MIN_ID_LENGTH = 1[source]¶
telegram.constants.InlineQueryResultLimit.MIN_ID_LENGTHAdded in version 20.0.