Expand description
Network-specific API.
Constants§
- TELEGRAM_
API_ URL - The default Telegram API URL.
Traits§
- Download
- A trait for downloading files from Telegram.
Functions§
- client_
from_ env - Constructs a network client from the
TELOXIDE_PROXY
environmental variable. - default_
reqwest_ settings - Returns a reqwest client builder with default settings.
- download_
file - Download a file from Telegram into
dst
. - download_
file_ stream - Download a file from Telegram as
Stream
.