Message
Send a message
Input Parameters:
Name | Type | Description | Required |
---|---|---|---|
message | String | message | True |
txid | String | txid | False |
inReplyTo | String | inReplyTo | False |
threadRootEventId | String | threadRootEventId | False |
threadLastEventId | String | threadLastEventId | False |
Receive a message
Send live location message
Name | Type | Description | Required |
---|---|---|---|
beaconInfoEventId | String | event id of the initial beacon info state event | true |
latitude | Double | latitude of the location | True |
longitude | Double | longitude of the location | True |
uncertainty | Double | Accuracy of the location in meters | False |
Set Notification State
Name | Description |
---|---|
ALL_MESSAGES_NOISY | All the messages will trigger a noisy notification. |
ALL_MESSAGES | All the messages will trigger a notification. |
MENTIONS_ONLY | Only the messages with user display name / user name will trigger notifications. |
MUTE | No notifications. |
Send media message
Name | Type | Description | Required |
---|---|---|---|
attachment | String | the media to send | true |
compressBeforeSending | String | set to true to compress images before sending them | True |
roomIds | String | set of roomIds to where the media will be sent. The current roomId will be add to this set if not present. | True |
rootThreadEventId | String | when this param is not null, the Media will be sent in this specific thread | True |
relatesTo | String | add a relation content to the media event | True |
additionalContent | String | additional content to put in the event content | True |
Output parameters
Cancelable
Last updated