[Chats] Add message reply prop

This commit is contained in:
ChronosX88 2020-09-05 23:04:24 +04:00
parent 8e028e1171
commit aea7e57a95
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -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)
}
```