Waffle
06fa3f42e8
Update changelog
2021-03-29 00:44:42 +03:00
Waffle
02cd4dc97f
Fix GetChatAdministrators
output type ChatMember
=> Vec<ChatMember>
2021-03-28 14:02:10 +03:00
Diego Roig
bebce82d22
document reqwest dependency fix
2021-03-26 17:14:10 -05:00
Waffle
59cb2939f8
Fix broken link in changelog
2021-03-22 11:05:00 +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
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
f3edcc2825
Add unnoticed change to changelog
2021-03-17 22:56:33 +03:00
Waffle
fd841ecd95
prepare for 0.2 release
2021-03-16 15:48:36 +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
aef88f97c3
Update to tba API version 5.1
2021-03-15 23:50:02 +03:00
Waffle
467477d38e
Update changelog & readme
2021-03-14 22:59:49 +03:00
Temirkhan Myrzamadi
f87b4e51e6
Merge branch 'master' into fault_tolerant_get_updates
2021-03-06 12:11:38 +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
Waffle
7e43c4d321
Add GetUpdatesFaultTolerant
2021-02-27 01:07:57 +03: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
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
Waffle
a61d81d829
Update changelog
2021-02-17 16:04:04 +03:00
Waffle
669d6c95be
Make some cleanup of throttle
2021-02-16 18:34:19 +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
Waffle
781371cb17
update changelog
2021-02-15 00:28:52 +03:00
Waffle
9d887e51bb
Rename StickerType
...
- Rename `StickerType` => `InputSticker`
- Rename `{CreateNewStickerSet,AddStickerToSet}::sticker_type}` => `sticker`
This just makes more sense.
2020-11-04 16:00:40 +03:00
Waffle
1eeac6d2da
update changelog
2020-10-21 19:45:03 +03:00
Waffle Lapkin
481b2ee564
Merge pull request #3 from teloxide/pub_fields_in_methods
...
make all methods fields public
2020-08-16 23:38:26 +03:00
Waffle
57867e7c67
update changelog
2020-08-16 21:31:55 +03:00
Waffle
4467a4de8e
update changelog
2020-08-16 21:30:33 +03:00
Waffle
d186a73eda
add GetUpdatesNonStrict
'telegram' method - fail proof version of GetUpdates
2020-08-16 20:02:12 +03:00
Waffle
f0709a16b3
add changes to CHANGELOG.md
...
(& a bit of fmt 🤦 )
2020-08-16 11:06:50 +03:00
Waffle
a70cb4e008
Move core code from teloxide
2020-08-12 19:39:40 +03:00