Class SendMessageMethod.
see | |
---|---|
package | Default |
create(integer|string $chatId, \TgBotApi\BotApiBase\Method\string $text, array $data = null
)
integer
string
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$allowSendingWithoutReply : boolean | null
$disableNotification : boolean | null
$disableWebPagePreview : boolean | null
$entities : array<mixed,\TgBotApi\BotApiBase\Type\MessageEntityType> | null
$parseMode : string | null
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null
$replyToMessageId : integer | null
$text : string