ChatAvatar
Table of Contents
Methods
-
__construct()
: mixed
-
get()
: string
-
saveAvatarByString()
: int|null
-
update()
: Result
__construct()
public
__construct(Chat $chat) : mixed
Parameters
-
$chat
: Chat
-
get()
public
get([bool $addBlankPicture = false ][, bool $withDomain = false ]) : string
Parameters
-
$addBlankPicture
: bool
= false
-
-
$withDomain
: bool
= false
-
saveAvatarByString()
public
static saveAvatarByString(string $avatarBase64) : int|null
Parameters
-
$avatarBase64
: string
-
update()
public
update(int|string $avatar[, bool $withMessage = true ][, bool $skipRecent = false ][, bool $withoutSaveInChat = false ]) : Result
Parameters
-
$avatar
: int|string
-
-
$withMessage
: bool
= true
-
-
$skipRecent
: bool
= false
-
-
$withoutSaveInChat
: bool
= false
-