Class EditMessageReplyMarkupMethod.
Methods
create()
create(integer|string $chatId, integer $messageId, array|null $data = null
) : \TgBotApi\BotApiBase\Method\EditMessageReplyMarkupMethod
Static
Parameters
$chatId
integer
string
$messageId
integer
$data
array
null
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Returns
\TgBotApi\BotApiBase\Method\EditMessageReplyMarkupMethod
createInline()
createInline(string $inlineMessageId, array|null $data = null
) : \TgBotApi\BotApiBase\Method\EditMessageReplyMarkupMethod
Static
Parameters
$inlineMessageId
string
$data
array
null
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Returns
\TgBotApi\BotApiBase\Method\EditMessageReplyMarkupMethod
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
Unique identifier for the target chat or username of the target channel (in the format @channelusername).
Optional. Required if chat_id and message_id are not specified. Identifier of the inline message.
$inlineMessageId : string | null
Optional. Required if inline_message_id is not specified. Identifier of the sent message.
$messageId : integer | null
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