Module teloxide::adaptors[][src]

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_send

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

cache_me

CacheMe bot adaptor which caches GetMe requests.

throttle

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

Structs

AutoSend

Send requests automatically.

CacheMe

get_me cache.

DefaultParseMode

Default parse mode adaptor, see RequesterExt::parse_mode.

Throttle

Automatic request limits respecting mechanism.