create_message
Function
Function Name | Description | Level |
create_message | send a private message to one or more users. | 3 |
Input Parameters:
Name | Type | Required? | Description | Level |
user_name | Array of byte[] | yes | To support sending message to multiple recipients, the app constructs an array and insert user_name for each recipient as an element inside the array. | 3 |
subject | byte[] | yes | | 3 |
text_body | byte[] | yes | | 3 |
action | Int | | 1 = REPLY to a message; 2 = FORWARD to a message. If this field is presented, the pm_id below also need to be provided. | 3 |
pm_id | String | | It is used in conjunction with "action" parameter to indicate which PM is being replied or forwarded to. | 3 |
Output Parameters:
Name | Type | Required? | Description | Level |
result | Boolean | yes | true: action success. False: action failed | 3 |
result_text | byte[] | | | 3 |
msg_id | String | yes | the new created message id | 4 |