mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Merge pull request #19 from teloxide/fix_telegram_response
Fix telegram response
This commit is contained in:
commit
2e88ba3002
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ pub(crate) enum TelegramResponse<R> {
|
|||
/// A dummy field. Used only for deserialization.
|
||||
#[allow(dead_code)]
|
||||
ok: True,
|
||||
|
||||
#[serde(rename = "result")]
|
||||
response: R,
|
||||
},
|
||||
Err {
|
||||
|
|
Loading…
Add table
Reference in a new issue