feat: sync built-in sticker bot
This commit is contained in:
parent
7096625e13
commit
6867d201ed
60 changed files with 7063 additions and 144 deletions
|
|
@ -517,17 +517,12 @@ func (r *Router) validateRequiredSavedHistoryParentPeer(ctx context.Context, use
|
|||
}
|
||||
|
||||
func messagesAllStickersEmpty(hash int64) tg.MessagesAllStickersClass {
|
||||
if hash != 0 {
|
||||
return &tg.MessagesAllStickersNotModified{}
|
||||
}
|
||||
return &tg.MessagesAllStickers{Sets: []tg.StickerSet{}}
|
||||
return &tg.MessagesAllStickers{Hash: 0, Sets: []tg.StickerSet{}}
|
||||
}
|
||||
|
||||
func messagesFeaturedStickersEmpty(hash int64) tg.MessagesFeaturedStickersClass {
|
||||
if hash != 0 {
|
||||
return &tg.MessagesFeaturedStickersNotModified{Count: 0}
|
||||
}
|
||||
return &tg.MessagesFeaturedStickers{
|
||||
Hash: 0,
|
||||
Count: 0,
|
||||
Sets: []tg.StickerSetCoveredClass{},
|
||||
Unread: []int64{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue