Skip to content

Commit 1ef27e7

Browse files
author
anezhou
committed
dto: 引用消息 (merge request !31)
Squash merge branch 'feature_20220223_anezhou_referencemsg_story_872022503' into 'master' dto: 引用消息 --story=872022503 TAPD: --story=872022503
1 parent eae0097 commit 1ef27e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dto/message.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ type Message struct {
3232
DirectMessage bool `json:"direct_message"`
3333
// 子频道 seq,用于消息间的排序,seq 在同一子频道中按从先到后的顺序递增,不同的子频道之前消息无法排序
3434
SeqInChannel string `json:"seq_in_channel"`
35+
// 引用的消息
36+
MessageReference *MessageReference `json:"message_reference,omitempty"`
3537
}
3638

3739
// Embed 结构

0 commit comments

Comments
 (0)