vx_evt_session_archive_message
Learn about messaging in Vivox Core.
Read time 2 minutesLast updated a day ago
Module: Group Voice and Text Communications Presented when a message is found in response to a [vx_req_session_archive_query] or [vx_req_session_chat_history_query] request. More...
#include <VxcEvents.h>Public Attributes
Name | |
|---|---|
| vx_evt_base_t | base The common properties for all events. |
| VX_HANDLE | sessiongroup_handle The handle used in vx_req_sessiongroup_addsession. |
| VX_HANDLE | session_handle The handle returned from a successful session add request. |
| char * | query_id The ID of the query in progress. |
| char * | time_stamp The time stamp of the message in the format specified in XEP-0082. |
| char * | participant_uri The URI of the sender of this message. |
| char * | displayname The displayname, if the participant_uri had a displayname. |
| char * | message_body The content of the message, UTF-8 encoded. |
| char * | message_id The server-assigned ID of the message used for paging through large result sets. |
| char * | encoded_uri_with_tag The encoded URI for the sending user with the tag. |
| int | is_current_user Indicates whether the message is from the current logged in user. |
| char * | language The language (default NULL, implies "en"). |
Detailed Description
Presented when a message is found in response to a [vx_req_session_archive_query] or [vx_req_session_chat_history_query] request. This event is triggered for every message that is found.struct vx_evt_session_archive_message;
Public Attributes Documentation
variable base
The common properties for all events.vx_evt_base_t base;
variable sessiongroup_handle
The handle used in vx_req_sessiongroup_addsession. See: vx_req_sessiongroup_addsessionVX_HANDLE sessiongroup_handle;
variable session_handle
The handle returned from a successful session add request. See: vx_req_sessiongroup_add_sessionVX_HANDLE session_handle;
variable query_id
The ID of the query in progress. This ID is returned for a successfully started query in a vx_resp_session_archive_query or vx_resp_session_chat_history_query response.char * query_id;
variable time_stamp
The time stamp of the message in the format specified in XEP-0082.char * time_stamp;
variable participant_uri
The URI of the sender of this message.char * participant_uri;
variable displayname
The displayname, if the participant_uri had a displayname.char * displayname;
variable message_body
The content of the message, UTF-8 encoded.char * message_body;
variable message_id
The server-assigned ID of the message used for paging through large result sets.char * message_id;
variable encoded_uri_with_tag
The encoded URI for the sending user with the tag. Note: These users can be joined to a channel from only one device at any given moment of time (no Multi-Join). This uniquely identifies users that might be logged in with the same account name from multiple devices (Multi-Login).char * encoded_uri_with_tag;
variable is_current_user
Indicates whether the message is from the current logged in user.int is_current_user;
variable language
The language (default NULL, implies "en").char * language;