Commit graph

850 commits

Author SHA1 Message Date
Waffle
3489890230 fix CI 2021-03-16 14:06:22 +03:00
Waffle
084caa9c12 fix doc link 2021-03-16 13:53:52 +03:00
Waffle
c8939dff09 Turn on nightly clippy again
The fix of the bug finally got released
2021-03-15 23:50:09 +03:00
Waffle
aef88f97c3 Update to tba API version 5.1 2021-03-15 23:50:02 +03:00
Waffle Lapkin
2091b7ea25
Merge pull request #62 from teloxide/update_api
Update api (5.0)
2021-03-15 22:08:00 +03:00
Waffle
9abb6d6884 Small fixes 2021-03-14 23:18:07 +03:00
Waffle
467477d38e Update changelog & readme 2021-03-14 22:59:49 +03:00
Waffle
fa5ab5aa7c Update methods to tba 5.0 2021-03-14 22:55:25 +03:00
Waffle
20c67a18c5 Update types (tba API 5.0)
See more: https://core.telegram.org/bots/api#november-4-2020
2021-03-14 22:52:35 +03:00
Hirrolot
68913d7d48
Merge pull request #61 from teloxide/small-changes
Fix SemiparsedVec
2021-03-13 21:45:37 +06:00
Temirkhan Myrzamadi
e400fb16e7 Use serde_json::from_value in Update::try_parse 2021-03-13 21:38:05 +06:00
Temirkhan Myrzamadi
cd9a98163c Fix SemiparsedVec::from 2021-03-13 21:11:54 +06:00
Temirkhan Myrzamadi
32b446d26c Move log::error! on update parsing failure to Update::try_parse 2021-03-13 21:05:45 +06:00
Temirkhan Myrzamadi
61eed38c32 Fix SemiparsedVec 2021-03-13 17:46:16 +06:00
Temirkhan Myrzamadi
c9c1120962
Merge pull request #58 from teloxide/fault_tolerant_get_updates
fault tolerant get updates
2021-03-06 13:55:27 +03:00
Temirkhan Myrzamadi
f87b4e51e6
Merge branch 'master' into fault_tolerant_get_updates 2021-03-06 12:11:38 +03:00
Temirkhan Myrzamadi
870279cc02
Merge pull request #59 from teloxide/fix_set_webhook
Fix SetWebhook
2021-03-06 12:02:19 +03:00
Waffle
201a60b38a Temporary switch clippy CI to beta b/c of ICE 2021-03-06 10:58:54 +03:00
Waffle
b3d8d70a7c remove unused use 2021-03-06 10:58:18 +03:00
Waffle
7600a88312 Fix SetWebhook
Make `GetUpdates::allowed_updates` optional
2021-03-06 00:48:06 +03:00
Temirkhan Myrzamadi
b465da5f16 Derive Clone for AutoSend 2021-02-28 22:32:50 +06:00
Temirkhan Myrzamadi
c2aaa724f4 NonStrictVec -> SemiparsedVec 2021-02-27 18:52:11 +06:00
Temirkhan Myrzamadi
466dbe6f8d Fix a documentation typo 2021-02-27 18:38:02 +06:00
Waffle
7e43c4d321 Add GetUpdatesFaultTolerant 2021-02-27 01:07:57 +03:00
Temirkhan Myrzamadi
d9986b02dd
Merge pull request #57 from teloxide/typo_fix
Fix typos in payloads
2021-02-22 17:17:18 +03:00
Waffle Lapkin
9752436d8e
Merge pull request #55 from teloxide/centralise-readme
Centralise README.md
2021-02-22 11:41:18 +03:00
Temirkhan Myrzamadi
a00678b81c
Update README.md 2021-02-22 14:36:30 +06:00
Waffle
7025de58f5 Fix typos in payloads
- `get_updates`: `offset` `i64` -> `i32`
- `send_location`: make `live_period` optional
2021-02-22 11:30:13 +03:00
Temirkhan Myrzamadi
b1c1bd1b85
Merge pull request #56 from teloxide/send_contact_fix
send contact fix
2021-02-22 08:53:03 +03:00
Waffle
dcdba78285 Fix send_contact singnature
- `phone_number: f64` -> `phone_number: String`
- `first_name: f64` -> `first_name: String`
2021-02-22 08:47:50 +03:00
Temirkhan Myrzamadi
539d7758f5
Centralise README.md 2021-02-22 07:41:33 +06:00
Temirkhan Myrzamadi
885d0cee0b
Merge pull request #54 from teloxide/update_changelog1
Update changelog
2021-02-17 16:35:54 +03:00
Waffle
a61d81d829 Update changelog 2021-02-17 16:04:04 +03:00
Temirkhan Myrzamadi
e519849c6a
Merge pull request #53 from teloxide/remove_dbg
Remove dbg! print
2021-02-17 15:17:23 +03:00
Temirkhan Myrzamadi
c90e528113
Merge pull request #52 from teloxide/fix_slugs
fix slugs
2021-02-17 15:12:36 +03:00
Waffle
7c18750a8f Remove dbg! print 2021-02-17 14:23:13 +03:00
Waffle
6b9e278578 fix crates.io categories 2021-02-17 00:17:14 +03:00
Temirkhan Myrzamadi
fb6ae4a9df
Merge pull request #51 from teloxide/release
fill fields in Cargo.toml before releasing the lib
2021-02-17 00:12:56 +03:00
Waffle
2f78da091a fill fields in Cargo.toml before releasing the lib 2021-02-17 00:06:37 +03:00
Temirkhan Myrzamadi
1b51f2616c
Merge pull request #50 from teloxide/clean_throttle
Make some cleanup of throttle
2021-02-16 19:11:26 +03:00
Waffle
80329f8a1e Throttle: make comment up to date & add channel fn 2021-02-16 19:07:50 +03:00
Waffle
72306c39d9 Limit queue growth in throttle 2021-02-16 18:49:18 +03:00
Waffle
669d6c95be Make some cleanup of throttle 2021-02-16 18:34:19 +03:00
Temirkhan Myrzamadi
330a6f3400
Merge pull request #49 from teloxide/unbreaking_changes
Future proofing
2021-02-16 17:26:15 +03:00
Waffle
417b8eb1e1 Add #[non_exhaustive] on InputFile 2021-02-16 17:16:27 +03:00
Waffle
8abf3863e5 Future proof multipart requests 2021-02-16 17:16:20 +03:00
Temirkhan Myrzamadi
557002b43a
Merge pull request #46 from teloxide/refactor-throttle
Refactor requests throttling
2021-02-15 23:17:29 +03:00
Temirkhan Myrzamadi
0d25d357d9 Reformat throttle.rs 2021-02-16 02:09:06 +06:00
Temirkhan Myrzamadi
8deaac04fa Fix Clippy 2021-02-16 02:03:04 +06:00
Temirkhan Myrzamadi
65c98741db Apply suggestions from the review 2021-02-16 01:57:59 +06:00