Class InputTextMessageContentType.

see
package Default
inherited_from \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType

 Methods

create()

create(\TgBotApi\BotApiBase\Type\InputMessageContent\string $messageText, array $data = null
Static

Parameters

$messageText

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.

$captionEntities : array<mixed,\TgBotApi\BotApiBase\Type\MessageEntityType> | null

Default

 

Optional. Disables link previews for links in the sent message.

$disableWebPagePreview : boolean | null

Default

 

Text of the message to be sent, 1-4096 characters.

$messageText : string

Default

 

Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.

$parseMode : string | null

Default