Commit graph

207 commits

Author SHA1 Message Date
Akshett Rai Jindal
336ae4f646 Fix tests for 'full' features 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
5040813737 Bump TBA version 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
68b7aba836 Add method getBusinessConnection 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
7fe9278ce8 Add DeletedBusinessMessages variant to UpdateKind 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
0efb15aa6a Add EditedBusinessMessage variant to UpdateKind 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
9e57d3acff Add BusinessMessage variant to UpdateKind enum 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
2fe5daccff Add BusinessConnection variant to UpdateKind enum 2024-08-24 15:12:54 +05:30
LasterAlex
55c70579a6
Addition to format 2024-08-18 14:23:50 +03:00
LasterAlex
9d591ac3e6
Added mention command filter to dispatching_reatures example 2024-08-18 13:54:09 +03:00
LasterAlex
8d9ca4d719
Added tests 2024-08-18 13:24:39 +03:00
LasterAlex
94c4955c49
Added bot_mention_command filter 2024-08-17 22:45:27 +03:00
Andrey Brusnik
2ee1740228
Bump supported TBA version to 7.1 2024-08-17 21:21:28 +04:00
Andrey Brusnik
7e4d29cf15
Add reply_to_story field to MessageCommon
also add `reply_to_story` getter to `Message` struct and `filter_reply_to_story` filter to `MessageFilterExt`
2024-08-17 21:20:00 +04:00
Andrey Brusnik
109454ed84
Add ChatBoostAdded variant to MessageKind enum
also add `boost_added` getter to `Message` struct and `filter_boost_added` filter to `MessageFilterExt`
2024-08-17 20:43:16 +04:00
Сырцев Вадим Игоревич
dc691f780b
Fix #1135 2024-08-17 11:50:41 +03:00
LasterAlex
18920b546f
Small fixes 2024-08-16 22:02:04 +03:00
LasterAlex
da2ce2b116
Fmt fix 2024-08-16 14:21:39 +03:00
LasterAlex
1181092bd5
Fixed review 2024-08-16 14:18:02 +03:00
LasterAlex
a4e4558eb1
Another cargo fmt fix + Cargo.lock update for examples? 2024-08-15 23:32:19 +03:00
LasterAlex
ab87451b62
Cargo fmt fix 2024-08-15 23:26:58 +03:00
LasterAlex
87c8557e36
Added deep linking example 2024-08-15 23:26:58 +03:00
Hirrolot
f8acc4c57e
Just remove them 2024-08-16 00:44:48 +05:00
Hirrolot
13eae3a0bb
Release teloxide-macros v0.8.0, teloxide-core v0.10.0, teloxide v0.13.0 2024-08-16 00:31:40 +05:00
Andrey Brusnik
ccdeb3f2b0
Test that all possible updates are specified in Kind::full_set() 2024-08-15 17:08:39 +04:00
Сырцев Вадим Игоревич
ae88d56e0d
Add filter_forward_origin 2024-08-15 17:08:39 +04:00
Сырцев Вадим Игоревич
3029dcdee6
Tweak MaybeInaccessibleMessage 2024-08-15 17:08:05 +04:00
Andrey Brusnik
72b34d0ea3
Bump supported TBA version to 7.0 in crates docs 2024-08-15 17:08:04 +04:00
Сырцев Вадим Игоревич
b625e813cc
Fix issue #945 (PR 946 originally) 2024-08-15 17:06:00 +04:00
Andrey Brusnik
dbf138a5b3
Add ChatBoostUpdated and ChatBoostRemoved updates 2024-08-15 17:06:00 +04:00
Andrey Brusnik
50768a1af0
Add MessageReactionUpdated and MessageReactionCountUpdated structs 2024-08-15 17:06:00 +04:00
Andrey Brusnik
cfa67610f6
Add filter_giveaway, filter_giveaway_completed, filter_giveaway_created and filter_giveaway_winners
to MessageFilterExt
2024-08-15 17:05:59 +04:00
Сырцев Вадим Игоревич
7680d7e978
Add the ReplyParameters struct 2024-08-15 17:05:59 +04:00
Сырцев Вадим Игоревич
c8f7bd745c
Add MaybeInaccessibleMessage to the Message and CallbackQuery 2024-08-15 17:05:59 +04:00
Сырцев Вадим Игоревич
6c967231ef
Add MessageOrigin field to MessageCommon 2024-08-15 17:05:59 +04:00
Сырцев Вадим Игоревич
fcf3a14510
Add blockqoute message entity 2024-08-15 17:05:58 +04:00
Ilya Bizyaev
7880e473a1
Allow serving path configuration for the webhook
When running behind e.g. NGINX, Axum might receive requests on a path
that is different from the one in the public webhook URL, such as "/"
instead of "/bot". This commit adds a new optional field to Options to
make such a setup possible.
2024-07-31 21:17:59 +02:00
Сырцев Вадим Игоревич
dc125e3b65
Put incrementing error count to the Err branch of PollingStream::poll_next 2024-07-31 17:07:45 +03:00
Сырцев Вадим Игоревич
4f1a458fb7
Refactor backoff-related code 2024-07-31 17:07:44 +03:00
Сырцев Вадим Игоревич
3da5a1a4c5
Improve backoff and behaviour in case of RetryAfter errors 2024-07-31 17:07:44 +03:00
Waffle Maybe
6a299f6012
Allow dead_code in a test
rustc seems to have some changes with the `dead_code` lints which affect this.
2024-07-30 09:18:19 +02:00
Hirrolot
2126ee8b2f
Remove the ahash dependency 2024-07-21 19:05:44 +05:00
Hirrolot
79b5781714
Downgrade deadpool to v0.10.0 2024-07-21 08:33:26 +05:00
Hirrolot
1d2c273d25
Downgrade deadpool-runtime to v0.1.3 2024-07-21 08:30:01 +05:00
Tima Kinsart
cc945e8e39
Merge branch 'master' into deadpool-redis 2024-07-21 08:10:11 +05:00
Hirrolot
71448b7a0c
Apply review suggestions 2024-07-21 08:08:36 +05:00
Tima Kinsart
f86aac0ffb
Merge pull request #1104 from pfa230/master
Unpin aHash dependency
2024-07-21 02:29:42 +00:00
Fedir Panasenko
9ccf233ec8 Unpin ahash dependency 2024-07-20 22:13:09 -04:00
Andrey Brusnik
e6796d48eb
Add current supported TBA version to the teloxide docs 2024-07-20 21:20:43 +04:00
Ilya Bizyaev
7d5253a3f1
Improve error handling 2024-07-14 19:48:26 +02:00
Ilya Bizyaev
8ad1bd1928
Bump deps of webhook-axum
Otherwise some changes in axum's Router interface prevent teloxide's
webhook support from being used with up-to-date axum.
2024-07-14 18:56:01 +02:00