Class EditMessageTextMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, \TgBotApi\BotApiBase\Method\int $messageId, \TgBotApi\BotApiBase\Method\string $text, array $data = null
Static

Parameters

$chatId

integerstring

$messageId

$text

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

createInline()

createInline(\TgBotApi\BotApiBase\Method\string $inlineMessageId, \TgBotApi\BotApiBase\Method\string $text, array $data = null
Static

Parameters

$inlineMessageId

$text

$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

 

Required if inline_message_id is not specified.

$chatId : integer | string

Default

Unique identifier for the target chat or username of the target channel (in the format @channelusername).

 

Optional. Disables link previews for links in this message.

$disableWebPagePreview : boolean | null

Default

 

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

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

Default

 

Optional. Required if chat_id and message_id are not specified. Identifier of the inline message.

$inlineMessageId : string | null

Default

 

Optional. Required if inline_message_id is not specified. Identifier of the sent message.

$messageId : integer | null

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

 

Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null

Default

 

New text of the message.

$text : string

Default