You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type 'OtherClient' does not satisfy the constraint 'Client'.
Type 'OtherClient' is missing the following properties from type 'TelegramClient': _token, _onRequest, _axios, axios, and 47 more. ts(2344)
Describe the bug
I created my own client for "other" platform, but typings does not allow use different
Client
type because of union.Interfaces for my bot:
Expected behavior
I think that type of
Client
should be like this:The same patch should be added to
Event
andBody
.The text was updated successfully, but these errors were encountered: