Class SetChatTitleMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, string $title) : \TgBotApi\BotApiBase\Method\SetChatTitleMethod
Static

Parameters

$chatId

integerstring

$title

string

Returns

\TgBotApi\BotApiBase\Method\SetChatTitleMethod

 Properties

 

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

$chatId : integer | string

Default

 

New chat title, 1-255 characters.

$title : string

Default