Class GetChatMethod.

see
package Default

 Methods

create()

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

Parameters

$chatId

integerstring

Returns

\TgBotApi\BotApiBase\Method\GetChatMethod

 Properties

 

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

$chatId : integer | string

Default