InputTextMessageContent
class InputTextMessageContent implements InputMessageContentInterface
Represents the content of a text message to be sent as the result of an inline query.
Methods
No description
Text of the message to be sent, 1-4096 characters.
Optional. Mode for parsing entities in the message text. See formatting options for more details.
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode.
Optional. Disables link previews for links in the sent message.
Details
at line 16
__construct(string $message_text, string|null $parse_mode = null, MessageEntity[]|null $entities = null, bool|null $disable_web_page_preview = null)
No description
at line 27
string
getMessageText()
Text of the message to be sent, 1-4096 characters.
at line 35
string|null
getParseMode()
Optional. Mode for parsing entities in the message text. See formatting options for more details.
at line 45
array|null
getEntities()
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode.
at line 53
bool|null
getDisableWebPagePreview()
Optional. Disables link previews for links in the sent message.