Commit graph

514 commits

Author SHA1 Message Date
Maybe Waffle
353d26fa00 Implement From<_> for RequestError for more types 2022-08-04 18:16:42 +04:00
Maybe Waffle
79257fe91d bump version 2022-07-19 13:53:17 +04:00
Waffle Maybe
9395f17988
Merge pull request #237 from teloxide/file_meta_meta
Properly fix file size/path
2022-07-19 07:15:43 +04:00
Maybe Waffle
8b4ac2260b Add StickerKind 2022-07-18 18:55:05 +04:00
Maybe Waffle
9b0104dade Properly fix file size/path 2022-07-18 18:01:40 +04:00
Waffle Maybe
585ba1cd08
Merge pull request #236 from teloxide/fixme
remove a fixme
2022-07-11 17:21:18 +04:00
Maybe Waffle
34aff5f4c5 remove a fixme 2022-07-11 12:28:24 +04:00
Maybe Waffle
5ac8dff53a ugh 2022-06-29 19:49:16 +04:00
Waffle Maybe
f03f34ce3e
Merge pull request #234 from teloxide/ci-experiments
[experiment] refactor ci
2022-06-29 19:14:36 +04:00
Maybe Waffle
6945ff1133 fix tests 2022-06-29 18:06:19 +04:00
Maybe Waffle
16cbc07c9c Update changelog & supported API version 2022-06-29 18:06:16 +04:00
Maybe Waffle
6630fe0b69 [TBA-6.1] Method changes 2022-06-29 18:05:25 +04:00
Maybe Waffle
1a81ba5fef [TBA-6.1] Clarify in docs that login url must be https 2022-06-29 18:05:25 +04:00
Maybe Waffle
b1aab1a6e1 [TBA-6.1] Add weird user field
(seriously, does anyone know what is this about?)
2022-06-29 18:05:25 +04:00
Maybe Waffle
f14bc79dda Fix File fields optionability 2022-06-29 18:05:22 +04:00
Maybe Waffle
46ffd51ec9 [TBA-6.1] Support premium stuff 2022-06-29 18:04:28 +04:00
Maybe Waffle
44e4ead385 [TBA-6.1] Support new Chat fields 2022-06-29 18:04:28 +04:00
Maybe Waffle
108caf8051 Fix link 2022-06-29 00:51:58 +04:00
Maybe Waffle
9e2f5dc6cc Document InlineKeyboardButton constructors 2022-06-29 00:51:58 +04:00
Maybe Waffle
0a8434ed06 Deprecate useless InlineKeyboardButton::{text, kind} 2022-06-29 00:51:58 +04:00
Maybe Waffle
adacbe90c2 Make code in inline_keyboard_button.rs nicer 2022-06-29 00:51:58 +04:00
Maybe Waffle
71555ba43e Add more constructors to InlineKeyboardButton 2022-06-29 00:51:58 +04:00
Maybe Waffle
3a2c8a8ffe Make InlineKeyboardButtonKind::Pay.0 have type True 2022-06-29 00:51:58 +04:00
Maybe Waffle
3b94e9c05b check docs on CI 2022-06-28 20:27:47 +04:00
Maybe Waffle
c1c20005f6 Remove ChatPrivate::type_ 2022-06-26 20:45:33 +04:00
Waffle Maybe
f7cb57d928
Merge pull request #228 from teloxide/fix_unused_import
Fix unused import when throttle feature is not enabled
2022-06-21 16:32:09 +04:00
Crax
c3e2f81704 Apply clippy suggestions 2022-06-20 00:12:28 +02:00
Crax97
70f0438c7b Bugfix: use correct functions to parse caption entities in 'parse_caption_entities' 2022-06-19 23:11:27 +02:00
Crax97
1f495cff36 Add test for Message::parse_caption_entities in message.rs
message.rs: remove unused import in mod test
2022-06-19 23:11:26 +02:00
Maybe Waffle
d2068db38c Fix unused import when throttle feature is not enabled 2022-06-17 12:54:38 +04:00
Waffle Maybe
6f6e7a6678
Merge pull request #223 from teloxide/msg_url_impr
Improve url-to-message creation
2022-06-16 23:00:53 +04:00
Maybe Waffle
5053d419c3 Add functions to Message for creating urls 2022-06-16 22:55:11 +04:00
Maybe Waffle
3e6b39c48f Remove trailing / from Message::url 2022-06-16 22:53:03 +04:00
Maybe Waffle
ddaf78d891 Fix ChatPrivate serialization 2022-06-16 13:05:02 +04:00
Waffle Maybe
5e5b8e46a3
Merge pull request #217 from teloxide/message_entity_ref
Implement message entity parsing
2022-06-14 20:43:53 +04:00
Maybe Waffle
b85a5b3179 Fix clippy 2022-06-14 15:46:13 +04:00
Maybe Waffle
6df51a5e83 Document message entity related functions 2022-06-14 15:46:13 +04:00
Maybe Waffle
c7ea3f795a Fix Throttle docs 2022-06-14 15:46:13 +04:00
Maybe Waffle
312af99aa0 Add tests for MessageEntity parsing 2022-06-14 15:46:13 +04:00
Maybe Waffle
06c265cd11 Implement message entity parsing 2022-06-14 15:46:13 +04:00
Maybe Waffle
e788dc109f Improve documentation of file_size fields 2022-06-13 22:23:51 +04:00
Kezi
bcd24d2d53 Fix is_channel assert 2022-06-03 21:12:07 +02:00
Waffle Maybe
5de6529b60
Merge pull request #220 from teloxide/fix_file_deserialization
Fix deserialization of `File`
2022-06-02 21:03:00 +04:00
Maybe Waffle
b03d9d864b Correct deserialization of NotFound and UserDeactivated errors 2022-06-02 20:49:58 +04:00
Maybe Waffle
851722e46c Fix deserialization of File when file_path or file_size are missing 2022-06-02 20:47:25 +04:00
Waffle Maybe
21c5819a12
Merge pull request #218 from teloxide/doc_fix_a
Fix docs
2022-05-26 22:44:57 +04:00
Maybe Waffle
f732421b8c Add a fixme 2022-05-26 22:36:23 +04:00
Maybe Waffle
5c42e28bd1 Fix link in documentation 2022-05-26 22:36:23 +04:00
Maybe Waffle
8b281ae50b Add is_* methods to ChatMemberStatus 2022-05-24 12:20:03 +04:00
Maybe Waffle
ca37bfda9c Fix deserialization of ChatMemberStatus
We *don't* deserialize it ever, so it's not a big deal, but it's better
to stay consistent with the telegram representation.
2022-05-24 12:06:07 +04:00