Bitrix API

CallUser

Table of Contents

Constants

LAST_SEEN_THRESHOLD  = 75
STATE_BUSY  = 'busy'
STATE_CALLING  = 'calling'
STATE_DECLINED  = 'declined'
STATE_IDLE  = 'idle'
STATE_READY  = 'ready'
STATE_UNAVAILABLE  = 'unavailable'

Methods

create()  : static
delete()  : mixed
getFirstJoined()  : DateTime|null
getLastSeen()  : DateTime
getState()  : string
isActive()  : bool
Returns true if the user is an active participant of the call and false otherwise.
isSeenRecently()  : mixed
isUaMobile()  : mixed
save()  : mixed
setFields()  : mixed
toArray()  : mixed
update()  : mixed
updateLastSeen()  : mixed
Update user's last seen date.
updateState()  : mixed
wasRecorded()  : mixed
wasScreenShared()  : mixed

Constants

LAST_SEEN_THRESHOLD

public mixed LAST_SEEN_THRESHOLD = 75

STATE_BUSY

public mixed STATE_BUSY = 'busy'

STATE_CALLING

public mixed STATE_CALLING = 'calling'

STATE_DECLINED

public mixed STATE_DECLINED = 'declined'

STATE_IDLE

public mixed STATE_IDLE = 'idle'

STATE_READY

public mixed STATE_READY = 'ready'

STATE_UNAVAILABLE

public mixed STATE_UNAVAILABLE = 'unavailable'

Methods

create()

public static create(array<string|int, mixed> $fields) : static
Parameters
$fields : array<string|int, mixed>
Return values
static

delete()

public static delete(mixed $callId, mixed $userId) : mixed
Parameters
$callId : mixed
$userId : mixed

getState()

public getState() : string
Return values
string

isActive()

Returns true if the user is an active participant of the call and false otherwise.

public isActive() : bool
Return values
bool

isSeenRecently()

public isSeenRecently() : mixed

isUaMobile()

public isUaMobile() : mixed

setFields()

public setFields(array<string|int, mixed> $fields) : mixed
Parameters
$fields : array<string|int, mixed>

update()

public update(array<string|int, mixed> $fields) : mixed
Parameters
$fields : array<string|int, mixed>

updateLastSeen()

Update user's last seen date.

public updateLastSeen(DateTime $lastSeen) : mixed
Parameters
$lastSeen : DateTime

updateState()

public updateState(mixed $state) : mixed
Parameters
$state : mixed

wasRecorded()

public wasRecorded() : mixed

wasScreenShared()

public wasScreenShared() : mixed

        
On this page

Search results