Class SetChatDescriptionMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, array|null $data = null) : \TgBotApi\BotApiBase\Method\SetChatDescriptionMethod
Static

Parameters

$chatId

integerstring

$data

arraynull

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

Default

 

Optional. New chat description, 0-255 characters.

$description : string | null

Default