Class GetUserProfilePhotosMethod.

see
package Default

 Methods

GetUserProfilePhotosMethod constructor.

create(integer $userId, array|null $data = null) : \TgBotApi\BotApiBase\Method\GetUserProfilePhotosMethod
Static

Parameters

$userId

integer

$data

arraynull

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

Returns

\TgBotApi\BotApiBase\Method\GetUserProfilePhotosMethod

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.

$limit : integer | null

Default

 

Optional. Sequential number of the first photo to be returned. By default, all photos are returned.

$offset : integer | null

Default

 

Unique identifier of the target user.

$userId : integer

Default