feat: sync built-in sticker bot
This commit is contained in:
parent
7096625e13
commit
6867d201ed
60 changed files with 7063 additions and 144 deletions
|
|
@ -91,6 +91,11 @@ func (r *Router) registerMessages(d *tg.ServerDispatcher) {
|
|||
d.OnMessagesGetAvailableReactions(r.onMessagesGetAvailableReactions)
|
||||
d.OnMessagesGetAvailableEffects(r.onMessagesGetAvailableEffects)
|
||||
d.OnMessagesGetStickers(r.onMessagesGetStickers)
|
||||
d.OnMessagesInstallStickerSet(r.onMessagesInstallStickerSet)
|
||||
d.OnMessagesUninstallStickerSet(r.onMessagesUninstallStickerSet)
|
||||
d.OnMessagesReorderStickerSets(r.onMessagesReorderStickerSets)
|
||||
d.OnMessagesToggleStickerSets(r.onMessagesToggleStickerSets)
|
||||
d.OnMessagesGetMyStickers(r.onMessagesGetMyStickers)
|
||||
d.OnMessagesGetArchivedStickers(func(ctx context.Context, req *tg.MessagesGetArchivedStickersRequest) (*tg.MessagesArchivedStickers, error) {
|
||||
return &tg.MessagesArchivedStickers{
|
||||
Count: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue