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
Methods
deleteByChatId()
public
static deleteByChatId(int $chatId) : Result
Parameters
- $chatId : int
Return values
ResultdeleteByCollabId()
public
static deleteByCollabId(int $collabId) : Result
Parameters
- $collabId : int
Return values
ResultgetCollabIdByDialog()
public
static getCollabIdByDialog(string $dialogId) : int
Parameters
- $dialogId : string
Return values
intgetDialogIdByCollabId()
public
static getDialogIdByCollabId(int $collabId) : string
Parameters
- $collabId : int