Module teloxide::adaptors[][src]

Expand description

Wrappers altering functionality of a bot.

Bot adaptors are very similar to the Iterator adaptors: they are bots wrapping other bots to alter existing or add new functionality.

E.g. AutoSend allows awaiting requests directly, no need to use .send().

Modules

auto_sendauto_send

AutoSend bot adaptor which allows sending a request without calling send.

cache_mecache_me

CacheMe bot adaptor which caches GetMe requests.

erasederased

ErasedRequester bot adaptor which allows to erase type of Requester.

throttlethrottle

Throttle bot adaptor which allows automatically throttle when hitting API limits.

tracetrace_adaptor

Trace bot adaptor which traces requests.

Structs

Send requests automatically.

get_me cache.

Default parse mode adaptor, see RequesterExt::parse_mode.

Requester with erased type.

Automatic request limits respecting mechanism.

Trace requests and responses.