mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-07-01 04:01:24 +08:00
feat: parse message link via userbot, close #70
This commit is contained in:
@@ -69,6 +69,10 @@ func Login(ctx context.Context) (*gotgproto.Client, error) {
|
||||
return nil, r.err
|
||||
}
|
||||
UC = r.client
|
||||
// disp := UC.Dispatcher
|
||||
// disp.AddHandler(handlers.NewAnyUpdate(func(ctx *ext.Context, u *ext.Update) error {
|
||||
// return dispatcher.EndGroups
|
||||
// }))
|
||||
return UC, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user