Televerse now supports adding timeout for API requests. Both Bot class and RawAPI class accepts a new field timeout of type Duration for achieving this.
Note that, the timeout duration will NOT affect the getUpdates requests.
Renamed the HttpClient class to private class.
Added RawAPI.closeClient method to close the Dio client.
Televerse now supports adding timeout for API requests. Both
Bot
class andRawAPI
class accepts a new fieldtimeout
of typeDuration
for achieving this.Note that, the timeout duration will NOT affect the
getUpdates
requests.Renamed the HttpClient class to private class.
Added
RawAPI.closeClient
method to close the Dio client.