mirror of
https://github.com/cadmium-im/cadmium-docs-legacy.git
synced 2024-11-08 11:41:03 +00:00
[Chats] Add message reply prop
This commit is contained in:
parent
8e028e1171
commit
aea7e57a95
@ -266,6 +266,7 @@ None.
|
||||
```typescript
|
||||
interface SendMessagePayload {
|
||||
type: string; // the type of message
|
||||
reply?: string; // message id on which this message is replying
|
||||
content: Content // the payload of message (depends on type)
|
||||
}
|
||||
```
|
||||
@ -319,7 +320,8 @@ interface ReceiveMessagePayload {
|
||||
messageID: string; // the id of received message
|
||||
originServerTimestamp: number; // unix timestamp of received message on the origin server
|
||||
type: string; // the type of message
|
||||
content: Content // the payload of message (depends on type)
|
||||
reply?: string; // message id on which this message is replying
|
||||
content: Content; // the payload of message (depends on type)
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user