Commit graph

174 commits

Author SHA1 Message Date
Maybe Waffle
67e297db3a bump msrv i don't care gimme the precise drop sem 2024-01-11 21:04:01 +01:00
Сырцев Вадим Игоревич
2ba8bb8d34 Fix code according to clippy 2024-01-10 13:59:05 +03:00
Сырцев Вадим Игоревич
2d515312d2 Update changelogs 2024-01-05 18:28:32 +03:00
Сырцев Вадим Игоревич
f3ade10d00 Add FIXME rewrite reminder for "define_message_ext" 2024-01-05 18:24:05 +03:00
Сырцев Вадим Игоревич
f2e8e86509 update CHANGELOG.md 2024-01-03 14:37:11 +03:00
Сырцев Вадим Игоревич
910abe2b4c Replace filter_* fns returning Option<&True> by fns returning bool 2024-01-03 13:23:57 +03:00
Сырцев Вадим Игоревич
882e37a4a7 Update CHANGELOG.md 2023-12-16 14:46:29 +03:00
Сырцев Вадим Игоревич
4b734893b2 Update CHANGELOG.md 2023-12-16 14:37:27 +03:00
Сырцев Вадим Игоревич
605db18b0a Add missing Message::filter_ functions 2023-12-16 14:03:30 +03:00
Tima Kinsart
d7a468c881
Merge pull request #961 from teloxide/parsemodder
Support more methods in `DefaultParseMode`
2023-12-08 21:32:08 +00:00
Zagzuz
f7fd84ac32 add #[must_use] to bot adaptors 2023-12-08 14:31:35 +06:00
Waffle Maybe
cbee55056b
Merge pull request #973 from Desiders/fix-set-chat-title-title-length
Change setChatTitle title length
2023-11-25 19:43:20 +00:00
Desiders
bacd84110e Change setChatTitle title length 2023-11-25 19:21:21 +03:00
Desiders
6075b150f9 Change poll question length 2023-11-25 19:14:30 +03:00
Maybe Waffle
d26bd0629b Update changelog 2023-11-05 23:50:54 +01:00
Maybe Waffle
0017480467 Replace a couple for loops with .for_each
I will not be explaining why (maybe unless you ask me)
2023-11-05 23:39:36 +01:00
Maybe Waffle
f4dd70604c Add proper support for send_media_group and edit_message_media{,_inline} in DefaultParseMode 2023-11-05 23:37:23 +01:00
Maybe Waffle
88eb35ad95 Add proper support for answer_inline_query and answer_web_app_query in DefaultParseMode 2023-11-05 23:19:59 +01:00
Maybe Waffle
746302f851 Support CopyMessage by DefaultParseMode 2023-11-05 22:58:15 +01:00
Maybe Waffle
6fc6664be9 Re-implement DefaultParseMode adaptor, to apply parse mode at send 2023-11-05 22:49:55 +01:00
mikhailantoshkin
63636a5787 Fix typos in documentation 2023-10-08 11:05:17 +09:00
Maybe Waffle
81b4c248a1 Silence clippy 2023-10-04 22:19:46 +04:00
Maybe Waffle
fbd5bf66cd bump msrv 2023-10-04 22:19:46 +04:00
Maybe Waffle
e5503e6525 format cargo tomls 2023-10-04 19:42:18 +04:00
Maybe Waffle
cec2a018ff Use futures::future::select instead of tokio::select!
Pros: less macros, fixes the missing feature issue.
Cons: a bit more code because `fututres` is an annoying crate
      which does not use `either::Either` and provides its
      own `Either` which does not have `map_either`, or
      basically anything for that matter.
2023-10-04 19:37:18 +04:00
Maybe Waffle
729484af4c satisfy clippy 2023-09-27 13:17:11 +04:00
Maybe Waffle
557a7c0df7 re-fmt 2023-09-27 13:17:11 +04:00
Maybe Waffle
04df142191 Update nightly rust used for development and CI 2023-09-27 13:16:53 +04:00
Waffle Maybe
c7feb38995
Merge pull request #860 from teloxide/release-chores
Simplify release process by using `cargo-release`
2023-09-24 00:57:42 +00:00
Waffle Maybe
88c0ad60a9
Merge pull request #917 from TheAwiteb/message_to_copy_not_found_error
Add `MessageToCopyNotFound` to `teloxide::errors::ApiError`
2023-09-22 17:39:10 +00:00
TheAwiteb
904157494d
Update CHANGELOG.md 2023-09-20 13:23:24 +03:00
TheAwiteb
038ac1f8f2
Fix the type of photo_size,photo_width and photo_height in the send_invoice method
This will fix https://github.com/teloxide/teloxide/issues/935 issue
2023-09-20 13:17:45 +03:00
TheAwiteb
82dbee4bbb
Fix deprecation error
Use `DateTime::from_naive_utc_and_offset` instead of `DateTime::from_utc`
2023-09-07 21:43:55 +03:00
TheAwiteb
aca9f9583d
Bump chrono to v0.4.30 2023-09-07 21:42:29 +03:00
Tima Kinsart
c963078973
Merge pull request #905 from teloxide/assorted_user_chat_id_additions
Assorted user/chat id additions
2023-09-06 03:02:26 +00:00
Tima Kinsart
6531b0a19f
Merge pull request #906 from teloxide/tree_in_mentioned_users
Make `mentioned_users` somewhat less terrible
2023-09-06 03:01:14 +00:00
TheAwiteb
f76db0544f
Add MessageToCopyNotFound to teloxide::errors::ApiError. Fix https://github.com/teloxide/teloxide/issues/916 2023-08-25 16:14:49 +03:00
Maybe Waffle
86a145e805 Make mentioned_users somewhat less terrible 2023-07-29 14:42:31 +04:00
Maybe Waffle
ae0451f7d7 Add UserId::{MIN, MAX} constants 2023-07-29 14:17:33 +04:00
Maybe Waffle
4ccf24c7ab Allow comparing UserIds and ChatIds 2023-07-29 14:17:11 +04:00
Maybe Waffle
529b38afee Add a way to go ChatId -> UserId 2023-07-29 14:16:32 +04:00
Waffle Maybe
556b14eb04
Merge pull request #864 from Olegt0rr/fix-telegram-serialization
Telegram struct serializing similar to original (skip empty/defaults)
2023-07-29 09:37:06 +00:00
Oleg A
0859ce9a1f
chore: removed redundant "Vec::new" 2023-07-26 17:48:42 +03:00
Maybe Waffle
13424c3fdc Add UpdateId 2023-06-15 15:40:50 +04:00
Maybe Waffle
848fc14c0b Reorder items in update.rs 2023-06-15 14:56:39 +04:00
Maybe Waffle
9c2330897a Use MessageId for reply_to_message_id for some methods that were forgotten 2023-06-05 18:11:23 +04:00
Maybe Waffle
84683d3a35 Remove outdated FIXME 2023-06-05 18:11:23 +04:00
Maybe Waffle
15c742d90b Use more precise types in inline query results 2023-06-05 18:11:23 +04:00
Maybe Waffle
efd801bf2d Use u32 for voter counts in polls and u8 for option ids 2023-06-05 18:11:23 +04:00
Maybe Waffle
ad10c93923 Use MessageId for forwards 2023-06-05 18:11:23 +04:00