vx_req_session_send_message
Learn about messaging in Vivox Core.
Read time 1 minuteLast updated 20 hours ago
Module: Group Voice and Text Communications Send a message to all participants in the session. More...
#include <VxcRequests.h>Public Attributes
Name | |
|---|---|
| vx_req_base_t | base The common properties for all requests. |
| VX_HANDLE | session_handle The handle returned from a successful [vx_req_sessiongroup_add_session] request. |
| char * | message_header The HTTP content type of the message. |
| char * | message_body The contents of the message. |
| char * | language The language. |
| char * | application_stanza_namespace A custom application stanza namespace. |
| char * | application_stanza_body A custom application stanza body. |
Detailed Description
Send a message to all participants in the session. See: vx_resp_session_send_messagestruct vx_req_session_send_message;
Public Attributes Documentation
variable base
The common properties for all requests.vx_req_base_t base;
variable session_handle
The handle returned from a successful [vx_req_sessiongroup_add_session] request.VX_HANDLE session_handle;
variable message_header
The HTTP content type of the message. Note: This field will be validated, so it must use a valid format. See the IETF documentation on RFC 2046. If an empty string is passed in, this field defaults to "text/plain".char * message_header;
variable message_body
The contents of the message. Note: The message body cannot exceed the length specified by the server in its pre-login configuration. The default maximum message length is 320 bytes (320 characters in UTF-8 encoding).char * message_body;
variable language
The language. Note: V5 only. This is ignored by V4. The default setting is NULL, which implies "en".char * language;
variable application_stanza_namespace
A custom application stanza namespace. Note: V5 only. This is ignored by V4. This is optional. The default setting is NULL.char * application_stanza_namespace;
variable application_stanza_body
A custom application stanza body. Note: V5 only. This is ignored by V4. This is optional. The default setting is NULL.char * application_stanza_body;