Class SetChatPhotoMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, \TgBotApi\BotApiBase\Type\InputFileType $photo) : \TgBotApi\BotApiBase\Method\SetChatPhotoMethod
Static

Parameters

$chatId

integerstring

$photo

\TgBotApi\BotApiBase\Type\InputFileType

Returns

\TgBotApi\BotApiBase\Method\SetChatPhotoMethod

 Properties

 

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

$chatId : integer | string

Default

 

New chat photo, uploaded using multipart/form-data.

$photo : \TgBotApi\BotApiBase\Type\InputFileType

Default