Class SetChatDescriptionMethod.
Methods
create()
create(integer|string $chatId, array|null $data = null
) : \TgBotApi\BotApiBase\Method\SetChatDescriptionMethod
Static
Parameters
$chatId
integer
string
$data
array
null
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Returns
\TgBotApi\BotApiBase\Method\SetChatDescriptionMethod
fill()
fill(array $data, array $forbidden = array()
)
Inherited
Parameters
$data
array
$forbidden
array
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Properties
Unique identifier for the target chat or username of the target channel (in the format @channelusername).
$chatId : integer | string
Optional. New chat description, 0-255 characters.
$description : string | null