Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.28 KB

File metadata and controls

20 lines (12 loc) · 1.28 KB

DirectChannelStreamMessageSendRequest

Properties

Name Type Description Notes
fromUserId String Sender user ID. The sender should have an access token so push notifications can display sender information correctly.
toUserId String Recipient user ID. Only a single recipient is supported per stream message.
messageType String Message type. Fixed value `RC:StreamMsg` for stream messages.
content StreamMessageContent
isEchoToSender Integer Whether to sync the message to the sender's client while the sender is online. `1` enables sync and `0` disables it. [optional]
shouldPersist Integer Whether to store the message in recipient cloud history. `0` means do not store and `1` means store. [optional]
metadata Map<String, String> Custom message metadata entries. Keys are limited to 32 characters and values to 4096 characters. Up to 100 key-value pairs. [optional]
disableUpdateLastMsg Boolean Whether to keep this message from updating the channel's last-message preview. [optional]