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 UserId
s and ChatId
s
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
Maybe Waffle
70b9510e33
Change payment ammounts from i32
to u32
2023-06-05 18:11:23 +04:00
Maybe Waffle
1b7252382f
Fixup Dice
and DiceEmoji
2023-06-05 18:11:23 +04:00
Maybe Waffle
4a041ac4e0
Use ThreadId
in methods
2023-06-05 18:11:23 +04:00
Maybe Waffle
14b3955f67
Use ThreadId
in Message
and TopicForum
2023-06-05 18:11:23 +04:00
Maybe Waffle
693121a6f6
Add ThreadId
newtype
2023-06-05 18:11:23 +04:00
Maybe Waffle
c71ef5a5cc
Use GATs in Download
2023-05-30 13:16:46 +04:00
Maybe Waffle
4eb80e0640
Update pinned nightly
2023-05-29 18:28:54 +04:00
Maybe Waffle
e986c89a61
Fix deserialization of some unit structures
2023-05-24 01:10:58 +04:00
Waffle Maybe
b7c1cd9494
Merge pull request #879 from teloxide/empty_message
...
Fix deserialization of empty messages
2023-05-23 21:04:21 +00:00