Diego Roig
84a18d2b5d
fix reqwest dependency features
2021-03-26 16:47:03 -05:00
Hirrolot
e80470c8a5
Merge pull request #69 from teloxide/insta022
...
(For instant release) Fix typo: `ReplyMarkup::{keyboad => keyboard}`
2021-03-22 14:34:57 +06:00
Waffle
59cb2939f8
Fix broken link in changelog
2021-03-22 11:05:00 +03:00
Waffle
46b6c124eb
Bump version (0.2.1 => 0.2.2)
2021-03-22 10:53:19 +03:00
Waffle
b5003d8b34
Fix typo: ReplyMarkup::{keyboad => keyboard}
...
This commit adds `ReplyMarkup::keyboard}` and deprecates `ReplyMarkup::keyboad`.
2021-03-22 10:48:56 +03:00
Waffle
907d8a23a9
doc(no_inline) prelude reexports
2021-03-22 10:46:39 +03:00
Hirrolot
fbba515800
Merge pull request #68 from teloxide/pub_unpub
...
Fix field privacy
2021-03-19 15:44:28 +06:00
Waffle
c2fb1d5c26
Fix API coverage version in README: "0.5.1" => "5.1"
2021-03-19 12:30:34 +03:00
Waffle
670979e5ca
Release 0.2.1
2021-03-19 12:28:05 +03:00
Waffle
f4507bd3d2
Fix: types fields privacy (make fields of some types public)
...
The typos were found with `grep`:
```text
; grep -r -P "^ \w{2,}: .+, *$" ./src/types/*
./src/types/dice.rs: emoji: DiceEmoji,
./src/types/dice.rs: value: i32,
./src/types/keyboard_button.rs: contact: Option<True>,
./src/types/keyboard_button.rs: location: Option<True>,
./src/types/keyboard_button.rs: poll: Option<KeyboardButtonPollType>,
./src/types/message.rs: message_auto_delete_timer_changed: MessageAutoDeleteTimerChanged,
./src/types/passport_element_error.rs: message: String,
./src/types/passport_element_error.rs: kind: PassportElementErrorKind,
./src/types/sticker_set.rs: thumb: Option<PhotoSize>,
```
`src/types/keyboard_button.rs` can be ignored since in just contains private
helper structure.
Fields made public:
- `Dice::{emoji, value}`
- `MessageMessageAutoDeleteTimerChanged::message_auto_delete_timer_changed`
- `PassportElementError::{message, kind}`
- `StickerSet::thumb`
2021-03-19 12:28:05 +03:00
Waffle Lapkin
627841f021
Merge pull request #67 from teloxide/changelog-remove
...
Add unnoticed change to changelog
2021-03-19 12:23:54 +03:00
Waffle
2cdadf774f
fix nightly-feature name
2021-03-18 14:32:03 +03:00
Waffle Lapkin
f3edcc2825
Add unnoticed change to changelog
2021-03-17 22:56:33 +03:00
Hirrolot
e53bb66f0a
Merge pull request #66 from teloxide/release0.2
...
prepare for 0.2 release
2021-03-16 18:58:30 +06:00
Waffle
fd841ecd95
prepare for 0.2 release
2021-03-16 15:48:36 +03:00
Waffle Lapkin
a7a329a53a
Merge pull request #65 from teloxide/refactor_reply_markup
...
refactor reply markup
2021-03-16 15:32:11 +03:00
Waffle
36557573aa
Refactor ReplyMarkup
...
This commit tries to make using ReplyMarkup less noisy. It
- Renames `ReplyMarkup::{InlineKeyboardMarkup => InlineKeyboard, ReplyKeyboardMarkup => Keyboard, ReplyKeyboardRemove => KeyboardRemove}`
- Adds `inline_kb`, `keyboad`, `kb_remove` and `force_reply` `ReplyMarkup`
consructors
- Renames `ReplyKeyboardMarkup` => `KeyboardMarkup`
- Renames `ReplyKeyboardRemove` => `KeyboardRemove`
- Removes useless generic param from `ReplyKeyboardMarkup::new` and
`InlineKeyboardMarkup::new`
- Changes parameters order in `ReplyKeyboardMarkup::append_to_row` and
`InlineKeyboardMarkup::append_to_row`
2021-03-16 15:14:32 +03:00
Waffle Lapkin
1d48a1158a
Merge pull request #64 from teloxide/madiacontact-contact-patch
...
Make MediaContact::contact public
2021-03-16 14:51:22 +03:00
Waffle Lapkin
510b0c9ac0
Make MediaContact::contact public
2021-03-16 14:16:40 +03:00
Waffle Lapkin
df30d92b6f
Merge pull request #63 from teloxide/apiup
...
Update API to version 5.1
2021-03-16 14:09:57 +03:00
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