feat(client): replyToThreadId field for Message
This commit is contained in:
parent
7f112f51a2
commit
7775ff4eaa
1 changed files with 8 additions and 0 deletions
|
@ -348,6 +348,14 @@ export class Message {
|
|||
return this.raw.replyTo?.replyToMsgId ?? null
|
||||
}
|
||||
|
||||
/**
|
||||
* For replies, ID of the thread (i.e. ID of the top message
|
||||
* in the thread)
|
||||
*/
|
||||
get replyToThreadId(): number | null {
|
||||
return this.raw.replyTo?.replyToTopId ?? null
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether this message contains mention of the current user
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue