Bitrix API

Chat

Table of Contents

Constants

ALLOWED_RIGHTS  = ['NONE', 'MEMBER', 'OWNER', 'MANAGER']

Methods

deleteByChatId()  : Result
deleteByCollabId()  : Result
getCollabIdByDialog()  : int
getDialogIdByCollabId()  : string

Constants

ALLOWED_RIGHTS

public mixed ALLOWED_RIGHTS = ['NONE', 'MEMBER', 'OWNER', 'MANAGER']
Tags
see

V2\Chat::MANAGE_RIGHTS_NONE,

see

V2\Chat::MANAGE_RIGHTS_MEMBER,

see

V2\Chat::MANAGE_RIGHTS_OWNER,

see

V2\Chat::MANAGE_RIGHTS_MANAGERS,

Methods

deleteByChatId()

public static deleteByChatId(int $chatId) : Result
Parameters
$chatId : int
Return values
Result

deleteByCollabId()

public static deleteByCollabId(int $collabId) : Result
Parameters
$collabId : int
Return values
Result

getCollabIdByDialog()

public static getCollabIdByDialog(string $dialogId) : int
Parameters
$dialogId : string
Return values
int

getDialogIdByCollabId()

public static getDialogIdByCollabId(int $collabId) : string
Parameters
$collabId : int
Return values
string

        
On this page

Search results