Class LeaveChatMethod.

see
package Default

 Methods

create()

create(integer|string $chatId) : \TgBotApi\BotApiBase\Method\LeaveChatMethod
Static

Parameters

$chatId

integerstring

Returns

\TgBotApi\BotApiBase\Method\LeaveChatMethod

 Properties

 

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

$chatId : integer | string

Default