- class telegram.InputTextMessageContent(message_text, parse_mode=None, disable_web_page_preview=None, entities=None, *, api_kwargs=None)¶
Represents the content of a text message to be sent as the result of an inline query.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
Sequence of special entities that appear in the caption, which can be specified instead of
Changed in version 20.0: Accepts any
collections.abc.Sequenceas input instead of just a list. The input is converted to a tuple.
Optional. Tuple of special entities that appear in the caption, which can be specified instead of
Changed in version 20.0:
This attribute is now an immutable tuple.
This attribute is now always a tuple, that may be empty.