On_abReceivedAfterLogin

TrueConf7/5/26About 2 min

On_abReceivedAfterLogin

Description

Notification after the address book has been loaded after logging in to the server.

EventHandler<string> On_abReceivedAfterLogin

Response example

{
    "event": "abReceivedAfterLogin",
    "abook": [
        {
            "peerId": "user777@some.server",
            "peerDn": "user 777",
            "status": 0,
            "extStatus": 0,
            "lastOnlineTime": 1690962961,
            "additionalStatus": "at lunch",
            "isEditable" : true
        },
        {
            "peerId": "user666@some.server",
            "peerDn": "user 666",
            "status": 1,
            "extStatus": 2,
            "lastOnlineTime": 0,
            "additionalStatus": "went to the store",
            "isEditable" : true
        }
    ],
    "method": "event"
}

Response Parameters

NameDescription
eventEvent type: "abReceivedAfterLogin"
methodMethod type: "event"
abookList of contacts
peerIdTrueConf ID unique user identifier
peerDnUser display name
statusUser status:
β€’ -1 β€” Invalid user
β€’ 0 β€” Offline user
β€’ 1 β€” Available user
β€’ 2 β€” Busy user
β€’ 5 β€” In a joinable group conference
extStatusExtended user status:
β€’ -1 β€” Invalid user
β€’ 0 β€” Offline user
β€’ 1 β€” Recently active but offline
β€’ 2 β€” Available user
β€’ 3 β€” Available on the phone
β€’ 4 β€” Available from the terminal
β€’ 5 β€” Available (Do Not Disturb)
β€’ 6 β€” Away
β€’ 7 β€” Busy user
β€’ 8 β€” Busy on the phone
β€’ 9 β€” Busy at the terminal
β€’ 10 β€” In a joinable group conference
lastOnlineTimeLast available time in Unix format (0 if currently available)
additionalStatusAdditional user status as text
isEditableContact edit flag:
β€’ true - Contact can be edited
β€’ false - Contact cannot be edited

See also

Last Updated: