Closed KaKi87 closed 5 months ago
Since tdl v8.0.0, all events except update
, error
, close
are removed, and close
is documented.
(edit: reworded)
Then now to listen to messages ?
And how are errors now handled ?
Thanks
I meant "other [than update or error]", sorry, so update
, error
, and close
are now left. (The other ones were too advanced / deprecated.)
Okay, but then how to receive messages ?
Thanks
Using the update
handler (and filtering for updateNewMessage
) or the recently added client.iterUpdates
.
Hello,
The README mentions two events,
update
anderror
:https://github.com/Bannerets/tdl/blob/1e1401e3ad63514c262958de010797ededc58d8f/README.md?plain=1#L162-L175
Would it be possible to write an exhaustive list ?
Thanks