rpc: fix channel pinned search for Android

(cherry picked from commit 70978db98c3af3fe72100fa6646780c7a5a13daa)
This commit is contained in:
A 2026-06-08 22:56:36 +08:00
parent b4e47c894f
commit 3642e37cfe
8 changed files with 97 additions and 16 deletions

View file

@ -347,6 +347,7 @@ type ChannelMessage struct {
Reactions *ChannelMessageReactions
Action *ChannelMessageAction
Media *MessageMedia
Pinned bool
Mentioned bool
MediaUnread bool
Pts int
@ -1377,6 +1378,7 @@ type ChannelHistoryFilter struct {
ChannelID int64
Query string
SenderUserID int64
PinnedOnly bool
OffsetID int
OffsetDate int
AddOffset int