Bitrix API

RecentItem implements RestConvertible

Table of Contents

Interfaces

RestConvertible

Methods

getChatId()  : int
getDialogId()  : string
getMessageId()  : int
getRestEntityName()  : string
Returns the name of the entity that will be used in the rest response
getSessionId()  : int
setChatId()  : RecentItem
setDialogId()  : RecentItem
setMessageId()  : RecentItem
setSessionId()  : RecentItem
toRestFormat()  : array<string|int, mixed>|null
Returns an array in JSON like format to return the entity as a rest response.

Methods

getChatId()

public getChatId() : int
Return values
int

getDialogId()

public getDialogId() : string
Return values
string

getMessageId()

public getMessageId() : int
Return values
int

getRestEntityName()

Returns the name of the entity that will be used in the rest response

public static getRestEntityName() : string
Return values
string

getSessionId()

public getSessionId() : int
Return values
int

toRestFormat()

Returns an array in JSON like format to return the entity as a rest response.

public toRestFormat([array<string|int, mixed> $option = [] ]) : array<string|int, mixed>|null
Parameters
$option : array<string|int, mixed> = []
Return values
array<string|int, mixed>|null

        
On this page

Search results