Commit graph

2851 commits

Author SHA1 Message Date
Hirrolot
bd78a3bf70 Collapse and show the endpoints in the docs
If we remove empty lines between these endpoints, we'll make the code shorter. Additionally, since we do no longer need `AutoSend`, the code is also a bit less convoluted.


Former-commit-id: 94e6f0bd4d
2022-09-29 09:42:50 +06:00
Hirrolot
05501015ee Stop using AutoSend in the examples and docs
Former-commit-id: 00efbe163a
2022-09-29 09:37:20 +06:00
Waffle Maybe
2e3d678987 Merge pull request #709 from teloxide/stop_refactor
Refactor `stop_token` module

Former-commit-id: 8272d4139a
2022-09-25 05:24:06 +04:00
Waffle Maybe
3a97c08c0e Merge pull request #715 from teloxide/heroku_no_token_in_url
Remove `{token}` from webhook url in heroku example

Former-commit-id: 0bde3f4b38
2022-09-25 05:01:28 +04:00
Maybe Waffle
f2c50b7dba Remove {token} from webhook url in heroku example
Former-commit-id: 78a96381dc
2022-09-25 01:06:11 +04:00
Hirrolot
1af8b0f904 Merge pull request #713 from teloxide/improve_buttons_example2
Properly handle callback queries in `examples/buttons.rs`

Former-commit-id: be9c20ef32
2022-09-25 01:54:54 +06:00
Maybe Waffle
f10bb5c3e0 Properly handle callback queries in examples/buttons.rs
Former-commit-id: 376ffc85f9
2022-09-12 16:50:59 +04:00
Waffle Maybe
a76b5d8a01 Merge pull request #710 from teloxide/updnght
Update nightly version in CI

Former-commit-id: ececfaf62b
2022-09-11 22:56:42 +04:00
Maybe Waffle
49179dd274 Update nightly version in CI
Former-commit-id: 721908c08e
2022-09-09 21:59:11 +04:00
Maybe Waffle
1fad4ab3b3 Improve StopFlag's implementation
Former-commit-id: 0807eb57e1
2022-09-09 21:45:59 +04:00
Maybe Waffle
5c40bfa78c Replace StopToken trait with a single type
Former-commit-id: 9527f82608
2022-09-09 21:30:08 +04:00
Waffle Maybe
7a3257a5f4 Merge pull request #708 from teloxide/fix_buttons_example
Fix command parsing in `examples/button.rs`

Former-commit-id: 550982b7fe
2022-09-08 18:44:39 +04:00
Maybe Waffle
ead0464ddc Fix command parsing in examples/button.rs
Former-commit-id: f39180543e
2022-09-08 18:36:08 +04:00
Waffle Maybe
0ebb460247 Merge pull request #704 from teloxide/update_macros
update `teloxide-macros`

Former-commit-id: 748ff1da11
2022-09-06 07:52:06 +04:00
Hirrolot
1dcc257bb0 Merge branch 'dev' into update_macros
Former-commit-id: bd15d4beac
2022-09-06 09:48:30 +06:00
Waffle Maybe
811b69a233 Merge pull request #705 from teloxide/update_listener_type_err
Turn `UpdateListener`'s generic error into an associated type

Former-commit-id: 014075573d
2022-09-06 07:25:35 +04:00
Maybe Waffle
e9e0175771 Correct a comment
Former-commit-id: 11fe8baebf
2022-09-05 18:56:24 +04: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
Maybe Waffle
4c4797d85e update teloxide-macros
Former-commit-id: 44e134c47e
2022-08-28 15:19:38 +04:00
Waffle Maybe
c6bfe682df Merge pull request #701 from teloxide/avoid-short-list-punctuation
Avoid ending punctuation in short list items

Former-commit-id: 6d668ec06b
2022-08-25 11:58:50 +04:00
Hirrolot
0808ec34be Avoid ending punctuation in short list items
Former-commit-id: d0add19b29
2022-08-20 16:16:08 +06:00
Hirrolot
fe10cbce67 Merge pull request #690 from teloxide/repls-dispatching-doc
Explain the difference between REPLs and dispatching

Former-commit-id: fde52b3988
2022-07-25 18:24:36 +06:00
Waffle Maybe
2df4dfd61b Merge pull request #693 from teloxide/nicer_filter_ext_docs
Make filter ext docs a little bit nicer

Former-commit-id: acd3f4f9a2
2022-07-25 11:08:20 +04:00
Maybe Waffle
8a92959229 Make filter ext docs a little bit nicer
Former-commit-id: 62cbda51d2
2022-07-24 19:46:48 +04:00
Hirrolot
09ca45a67c Merge pull request #691 from teloxide/hide-huge-doc
Hide the definitions of endpoints in the doc

Former-commit-id: c7af38ebe3
2022-07-24 21:23:06 +06:00
Maybe Waffle
ef46649b23 Improve link formatting
Former-commit-id: 1942b8f49b
2022-07-24 19:11:57 +04:00
Hirrolot
c6ea1dd894 Merge branch 'repls-dispatching-doc' of https://github.com/teloxide/teloxide into repls-dispatching-doc
Former-commit-id: 3f546fd637
2022-07-24 19:41:30 +06:00
Hirrolot
a654491d6f Simplify the doc sentence (code review)
Former-commit-id: 0f526ebe99
2022-07-24 19:40:35 +06:00
Hirrolot
40e311d3a0 Apply a tiny doc review suggestion
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
Former-commit-id: ab0292649f
2022-07-24 19:32:09 +06:00
Hirrolot
8ebb4826cb Expand a doc sentence according to code review
Former-commit-id: 8eaadf8f94
2022-07-24 19:30:41 +06:00
Hirrolot
cbfe068e68 Merge pull request #692 from teloxide/check-dialogue-doc
Make `dialogue` doc examples verifiable

Former-commit-id: 72a92ea6ea
2022-07-24 19:21:33 +06:00
Hirrolot
e7fb02e8fe Make dialogue doc examples verifiable
Former-commit-id: 793dbcfcdb
2022-07-24 19:14:22 +06:00
Hirrolot
b8b1cb0496 Hide the definitions of endpoints in the doc
Makes scrolling a bit easier.


Former-commit-id: 4e2265a217
2022-07-24 19:03:50 +06:00
Hirrolot
839d4705ae Fix formatting
Former-commit-id: a59fb0ddea
2022-07-24 19:01:36 +06:00
Hirrolot
7c1af1265b A doc fix for Dispatcher
Former-commit-id: 7b18d62296
2022-07-24 18:57:33 +06:00
Hirrolot
3038892e32 Lay out the difference between REPLs and dispatching
Former-commit-id: 3bdd6bdcb7
2022-07-24 18:56:53 +06:00
Hirrolot
2f306fe488 Merge pull request #689 from teloxide/simplify-repls-impl
Simplify the implementation of REPLs

Former-commit-id: 431cdd1abb
2022-07-24 15:58:56 +06:00
Hirrolot
07652a7565 Simplify the implementation of REPLs
Former-commit-id: e7ad0e4c80
2022-07-24 14:53:28 +06:00
Waffle Maybe
f8edb0495b Merge pull request #687 from teloxide/github-dependents
Update the 'Community bots' section with GitHub dependents

Former-commit-id: b80ae1d723
2022-07-22 18:07:35 +04:00
Hirrolot
5fac8bc513 Update the 'Community bots' section with GitHub dependents
Former-commit-id: 24d90fcdc8
2022-07-22 20:03:57 +06:00
Hirrolot
b9e38c8663 Merge pull request #685 from teloxide/v0.10.1
Release v0.10.1

Former-commit-id: d391be095c
2022-07-22 19:00:43 +06:00
Hirrolot
d515fc62eb Release v0.10.1
Former-commit-id: ab463df5eb
2022-07-22 18:55:58 +06:00
Waffle Maybe
d5a8c0589c Merge pull request #457 from teloxide/more_must_uses
Add more `#[must_use]` attributes for appropriate functions

Former-commit-id: a36f2b03d9
2022-07-22 15:56:01 +04:00
Waffle Maybe
bd97e3cea2 Merge pull request #681 from teloxide/fix-img-paths
fix img paths

Former-commit-id: 6f993ce6b2
2022-07-22 15:54:22 +04:00
Maybe Waffle
611a38990e fix typos
Former-commit-id: fd12e1eb06
2022-07-22 15:52:25 +04:00
Maybe Waffle
f12cac7a43 Add more #[must_use] attributes for appropriate functions
Former-commit-id: 52096d269f
2022-07-22 13:53:46 +04:00
Maybe Waffle
d97646b38b Fix image paths in readme
Former-commit-id: b0bfbcbc72
2022-07-22 13:47:10 +04:00
Waffle Maybe
fdf147c9f7 Merge pull request #679 from teloxide/fix-community-bots
Remove `ArtHome12/vzmuinebot` from outdated bots

Former-commit-id: 3ce3cf7a55
2022-07-21 18:18:34 +04:00
Hirrolot
e769deff85 Remove ArtHome12/vzmuinebot from outdated bots
I think it was added by mistake since it uses teloxide v0.9.2, which is a relatively new version.

Former-commit-id: ecf0c36356
2022-07-21 20:15:44 +06:00