Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

presence Message

Liam Jack edited this page Aug 24, 2015 · 3 revisions

Description

Used to inform a list of recipients of your "on-line" state, and also informs of "Here" capability.

Contents

  • type: presence
  • id
  • header:
    • auth:
      • mac
      • payload
    • conn_seq_num: No idea
    • conv_id: Conversation ID (Format: [RECIPIENT_USERNAME]~[YOUR_USERNAME]
    • from: Who the conversation message is from
    • to: Array of usernames who the conversation message is for
  • retried: true or false
  • here_auth:
    • expires: Timestamp
    • salt
    • scope_id
    • signature
    • user_id
  • presences: Key / Value set containing usernames and a boolean (This generally contains the to and from usernames as key and the value for each is always true)
  • receiving_video: true or false
  • supports_here: true or false
Clone this wiki locally