Bitrix API

ChatAvatar

Table of Contents

Methods

__construct()  : mixed
get()  : string
saveAvatarByString()  : int|null
update()  : Result

Methods

get()

public get([bool $addBlankPicture = false ][, bool $withDomain = false ]) : string
Parameters
$addBlankPicture : bool = false
$withDomain : bool = false
Return values
string

saveAvatarByString()

public static saveAvatarByString(string $avatarBase64) : int|null
Parameters
$avatarBase64 : string
Return values
int|null

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
Return values
Result

        
On this page

Search results