This commit is contained in:
Waffle 2020-10-20 17:02:31 +03:00
parent 193dd69265
commit 41afdb554d

View file

@ -22,11 +22,11 @@ pub enum DownloadError {
pub enum RequestError {
/// Telegram API error
#[error("A Telegram's error #{status_code}: {kind:?}")]
ApiError {
ApiError {
/// Kind of api error
kind: ApiError,
kind: ApiError,
/// HTTP code returned by telegram, not very usefull in practice.
status_code: StatusCode ,
status_code: StatusCode,
},
/// The group has been migrated to a supergroup with the specified