Commit graph

256 commits

Author SHA1 Message Date
Сырцев Вадим Игоревич
0693113b82 Update CHANGELOG.md 2024-01-15 19:48:52 +03:00
Lymkwi
21bd325dea Document the behavior of captions for media groups
As discussed in #987, the current behavior of captions regarding media
groups is documented in neither teloxide nor the Telegram API[0]. Users
of the official telegram clients may expect to be able to set what
appears to them as a "global" caption on media groups, when such a thing
does not actually exist in the API, and is just the result of how
official clients render media groups with only one captioned
`InputMedia`.

This commit changes the schema which auto-generates payload types, as
well as introduces the changes induced to the documentation of
`SendMediaGroup`.

Fix #987.

Links:
[0]: https://core.telegram.org/bots/api#sendmediagroup

Signed-off-by: Lymkwi <lymkwi@vulpinecitrus.info>
2024-01-10 16:47:02 +01:00
Сырцев Вадим Игоревич
2d515312d2 Update changelogs 2024-01-05 18:28:32 +03:00
Tima Kinsart
f8322d083c
Update CHANGELOG.md 2023-10-31 00:12:40 +06:00
mikhailantoshkin
a6e53cf3b8 Update CHANGELOG.md 2023-10-08 11:12:45 +09:00
Maybe Waffle
fbd5bf66cd bump msrv 2023-10-04 22:19:46 +04:00
Maybe Waffle
035cdc6930 Update changelog 2023-09-25 21:54:44 +04:00
TheAwiteb
6c8bc11493
Update CHANGELOG.md. Add MessageToCopyNotFound error 2023-08-25 16:23:01 +03:00
fr0staman
1630830a7d Use UserId instead of u64 for user_id in user_mention 2023-07-09 21:23:11 +03:00
fr0staman
878ad80b63 Update CHANGELOG.md 2023-07-09 15:11:56 +03:00
Maybe Waffle
0fb3cdd6b4 Fix docs.rs build 2023-02-16 00:29:13 +04:00
Maybe Waffle
e54acb76ea Release teloxide v0.12.1 2023-02-15 23:48:50 +04:00
Maybe Waffle
119e305729 Add sqlite-storage-rustls feature 2023-02-13 11:59:06 +04:00
elpekenin
83acf7d948 Text according to review, hadnt seen it 2023-02-10 12:05:38 +01:00
elpekenin
7fc398d418 Log changes 2023-02-10 12:04:28 +01:00
Maybe Waffle
1974341dbd Update changelogs 2023-02-03 16:53:36 +04:00
Hirrolot
125917cfeb
Release teloxide v0.12.0 2023-01-18 01:25:47 +06:00
Hirrolot
8aa4082065 Update CHANGELOG.md 2022-12-15 20:02:30 +06:00
Maybe Waffle
6f1bb4b519 revert move of storage module 2022-12-14 19:47:21 +04:00
Maybe Waffle
b680c087c5 Update changelog 2022-12-12 18:30:27 +04:00
Sima Kinsart
bb6dd81f6a
Merge branch 'dev' into const-must-use 2022-12-09 19:17:55 +06:00
Hirrolot
cde45ab8ee Remove useless const 2022-12-09 19:16:41 +06:00
Maybe Waffle
3c4ea18125 Fix a typo in changelog 2022-11-28 22:10:26 +04:00
Lev Khoroshansky
d89dfa77c1 chore: Sync changelog 2022-11-28 15:43:54 +01:00
Maybe Waffle
8ad3bf506b Revert "Revert "Merge branch 'dev'""
This reverts commit 4e004739ca.
2022-11-28 16:51:16 +04:00
Hirrolot
02398e3464 Release teloxide v0.11.3 2022-11-28 16:09:57 +04:00
Tobias Bieniek
3184b294f2
prelude: Add missing feature gate for dispatching::repls import 2022-11-18 09:55:02 +01:00
Hirrolot
e4e741a8f9 Release teloxide v0.11.2 2022-11-18 02:22:49 +06:00
Tobias Bieniek
ec4876db8d
Add missing feature gate for dispatching::repls import 2022-11-17 10:10:56 +01:00
Hirrolot
762ab2f5e3 Make more functions #[must_use] 2022-11-17 14:54:40 +06:00
Hirrolot
7cd36d9c40 Make more functions const 2022-11-17 14:42:36 +06:00
Waffle Maybe
2ae03963c7
Merge pull request #761 from teloxide/unrock
Remove rocksdb storage
2022-11-16 17:42:12 +04:00
Maybe Waffle
7e28f8e763 Mention why rocksdb-storage was removed 2022-11-16 17:21:47 +04:00
Veetaha
d0b71c358e Move changelog entries into teloxide-core's changelog file 2022-11-14 23:20:50 +01:00
Veetaha
660c58c95c Update the changelog 2022-11-14 23:13:40 +01:00
Maybe Waffle
ba8c316a4a Remove rocksdb storage 2022-11-08 11:59:19 +04:00
Sima Kinsart
48946f3315 Fix the version header (CHANGELOG.md)
Former-commit-id: bce24fdf8d
2022-10-31 21:29:38 +06:00
Hirrolot
6d105d3b78 Release v0.11.1
Former-commit-id: b97c2c6063
2022-10-31 16:30:49 +06:00
Sima Kinsart
2fd41bda94 Merge branch 'dev' into rocksdb-storage
Former-commit-id: 24f8476da7
2022-10-30 11:57:10 +06:00
Sima Kinsart
49cd9a8548 Link the PR to CHANGELOG.md
Former-commit-id: 2b749ed15c
2022-10-30 11:55:54 +06:00
Hirrolot
5532a4cd87 Rename CommandRepl => CommandReplExt
Former-commit-id: e7c5317954
2022-10-29 14:41:26 +06:00
xamgore
6b8336a669 Extend dialogue storages with RocksDB
Former-commit-id: d75b465205
2022-10-25 17:01:02 +04:00
Hirrolot
e39a9d007a Deprecate BotCommands::ty too
Former-commit-id: d90a9ff2e4
2022-10-11 15:00:02 +06:00
Hirrolot
f54db300ed Implement the CommandRepl trait
Former-commit-id: 739772929b
2022-10-11 14:54:51 +06:00
Lev Khoroshansky
a57ff6056d fix: Plural verb and better wording
Former-commit-id: 643ef423e8
2022-10-09 19:49:42 +03:00
Lev Khoroshansky
a5419f3475 fix: Grammar & typos
Former-commit-id: b3fe220d99
2022-10-09 19:42:20 +03:00
Hirrolot
cedc7df410 Merge branch 'dev' into v0.11.0
Former-commit-id: cfc0776621
2022-10-07 17:23:52 +06:00
Hirrolot
d680bef0ba Release v0.11.0
Former-commit-id: 4e56dd29b1
2022-10-07 16:55:57 +06:00
Hirrolot
01f0818e94 Use consistent naming of our crates
Former-commit-id: 1ab5bdfc77
2022-10-07 16:34:42 +06:00
Maybe Waffle
71ad64594d Update changelog
Former-commit-id: 107d2c8b99
2022-10-05 10:11:47 +04:00
Hirrolot
b058de6de9 Merge branch 'dev' into concrete-error-type-repls
Former-commit-id: 333c88fcb7
2022-10-02 21:47:46 +06:00
Hirrolot
b0feab6e9a Use RequestError in REPLs
Former-commit-id: cde6827cee
2022-10-02 21:44:04 +06:00
Hirrolot
c2d4d4cfbf Refactor indentation in CHANGELOG.md
Former-commit-id: d95f0c717f
2022-10-02 21:14:35 +06:00
Hirrolot
567cd9ced5 More #[must_use] functions.
Former-commit-id: df58faab97
2022-10-02 10:15:20 +06:00
Maybe Waffle
ae430be051 Remove some previously deprecated items
Former-commit-id: 044e87a985
2022-10-02 00:34:29 +04:00
Maybe Waffle
5c40bfa78c Replace StopToken trait with a single type
Former-commit-id: 9527f82608
2022-09-09 21:30:08 +04:00
Hirrolot
1dcc257bb0 Merge branch 'dev' into update_macros
Former-commit-id: bd15d4beac
2022-09-06 09:48:30 +06:00
Maybe Waffle
f555c9739e Turn UpdateListener's generic error into an associated type
Former-commit-id: 8917e05bf8
2022-09-05 18:56:15 +04:00
Maybe Waffle
764fa1e9d8 Update changelog
Former-commit-id: 4cb9d93d59
2022-09-04 17:01:13 +04:00
Hirrolot
d515fc62eb Release v0.10.1
Former-commit-id: ab463df5eb
2022-07-22 18:55:58 +06:00
Hirrolot
f4d99b8766 Update CHANGELOG.md to v0.10.0
Former-commit-id: 02ec94a08b
2022-07-21 16:54:37 +06:00
Maybe Waffle
11231655c2 Move ctrlc handler enable function to DispatcherBuilder
This helps with consistency -- every setting is changed in builder.
Also `Self -> Self` function sometimes plays more nicely with borrowck.


Former-commit-id: dd4af30727
2022-07-21 13:32:05 +04:00
Hirrolot
fb5b64bff9 Update teloxide-macros to v0.6.3
Former-commit-id: 3d9f4ef2b0
2022-07-19 22:02:44 +06:00
Hirrolot
6c7f17b070 Retain consistency in CHANGELOG.md
Former-commit-id: 82c7923dea
2022-07-19 19:43:02 +06:00
Maybe Waffle
a7eff7192b bump version
Former-commit-id: 6996c7ff87
2022-07-19 14:53:42 +04:00
Maybe Waffle
cce0710c8c Move polling_builder => Polling::builder
Former-commit-id: 79f6cf4ee9
2022-07-05 00:05:27 +04:00
Maybe Waffle
a07af45ec7 Update changelog
Former-commit-id: 4f2e723d56
2022-07-05 00:04:43 +04:00
Maybe Waffle
4be7e5a812 Update changelog
Former-commit-id: 88ddf7f7a2
2022-07-03 22:49:15 +04:00
Hirrolot
407efd17ee Update CHANGELOG.md
Former-commit-id: 3e35d40e84
2022-06-27 02:30:39 +06:00
Maybe Waffle
d5e8b67332 Update changelog
Former-commit-id: b45472973c
2022-06-27 00:02:27 +04:00
Hirrolot
d0c89036ff Release v0.9.2
Former-commit-id: 3757d837a0
2022-06-07 10:06:37 +06:00
Serge Barinov
eb351931b5 update CHANGELOG
Former-commit-id: ff85bf5e66
2022-06-05 09:50:12 +03:00
Hirrolot
2a43683cf5 Release v0.9.1
Former-commit-id: 1c02e38293
2022-05-27 00:27:57 +06:00
Hirrolot
e2159c7676 Update the changelog
Former-commit-id: 1fcf44d380
2022-05-26 23:53:01 +06:00
Hirrolot
dbd46dd9cd Release v0.9.0
Former-commit-id: fcea341bc8
2022-04-27 16:10:33 +06:00
Hirrolot
5a680b6001 Re-export dptree::case! instead of deprecation 2022-04-27 15:31:17 +06:00
Hirrolot
deb992c787 Deprecate teloxide::handler! in favour of dptree::case! 2022-04-27 15:16:34 +06:00
Waffle Maybe
6c5bb1932d
Merge branch 'dev' into master-copy 2022-04-26 18:01:38 +04:00
Hirrolot
3d26ac7f3a Release v0.8.2 2022-04-26 02:25:50 +06:00
Hirrolot
19595c1e03 Fix #[derive(DialogueState)] 2022-04-26 01:55:29 +06:00
Hirrolot
df0d13c42b Add teloxide::filter_command 2022-04-25 19:16:05 +06:00
Hirrolot
7fc1f6f180 Update teloxide-core to v0.6.0 2022-04-25 18:44:27 +06:00
Hirrolot
5c280036f9 Release v0.8.1 2022-04-24 01:34:53 +06:00
Hirrolot
a60e19a8c2 Implement dialogue::enter 2022-04-23 00:11:27 +06:00
Hirrolot
66b9a718d1 Implement GetChatId for Update 2022-04-22 23:42:39 +06:00
Hirrolot
4ee174126d Merge conflicts 2022-04-18 16:50:02 +06:00
Hirrolot
52ba62d3fc Release v0.8.0 2022-04-18 16:32:46 +06:00
Maybe Waffle
2aa59d760a Update teloxide-core 0.4.5 -> 0.5.0 2022-04-13 15:58:29 +04:00
Hirrolot
7e34d7ea47 Implement concurrent update handling 2022-04-13 02:45:02 +06:00
Hirrolot
5e21c4d881
Merge pull request #582 from teloxide/deprecate-dispatch-by
Deprecate `HandlerFactory` and `HandlerExt::dispatch_by`
2022-04-10 22:53:37 +06:00
Hirrolot
ffcdba0e1d Deprecate HandlerFactory and HandlerExt::dispatch_by 2022-04-08 00:18:13 +06:00
Hirrolot
f3b4769bc5 Mark Dialogue::{new, chat_id} as #[must_use] 2022-04-08 00:03:27 +06:00
Hirrolot
12dbeea0f2 Update CHANGELOG.md 2022-04-07 18:37:53 +06:00
Maybe Waffle
0bddb1d927 Update changelog 2022-04-05 16:37:22 +04:00
Maybe Waffle
99c8995bb3 Release 0.7.3 2022-04-03 16:19:17 +04:00
Hirrolot
9bb2a85aba Merge branch 'dev' into teloxide-handler 2022-04-02 21:32:59 +06:00
Hirrolot
a389ed4150 Update the changelog 2022-03-29 01:57:45 +06:00
Hirrolot
fa5d1f738b Remove support for the old dispatching 2022-03-29 01:55:09 +06:00
Maybe Waffle
a5aada3dc7 Update changelog 2022-03-27 22:11:15 +04:00
Maybe Waffle
ceb2415351 Require that UpdateListener::StopToken is Send 2022-03-27 13:29:17 +04:00