Commit graph

1024 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
d63135016a Add examples/guess_a_number_bot 2020-02-14 01:54:43 +06:00
Temirkhan Myrzamadi
5f12170e5c Add a link to examples/admin_bot to teloxide::utils::command 2020-02-14 00:32:21 +06:00
Temirkhan Myrzamadi
5278041927 Rename commands_bot -> admin_bot 2020-02-14 00:29:26 +06:00
Temirkhan Myrzamadi
b6cd019682 Add TODO to examples/commands_bot 2020-02-14 00:26:06 +06:00
Temirkhan Myrzamadi
e3a032abff And again! 2020-02-14 00:23:42 +06:00
Temirkhan Myrzamadi
9f2aa741f7 SImplify examples/commands_bot for a little bit 2020-02-14 00:20:22 +06:00
Temirkhan Myrzamadi
fc36cf142a Fix a typo in examples/dialogue_bot 2020-02-14 00:17:31 +06:00
Temirkhan Myrzamadi
fa5b725681 Add a description to examples/multiple_handlers_bot 2020-02-14 00:15:10 +06:00
Temirkhan Myrzamadi
5d0db21fca Fix examples/commands_bot 2020-02-14 00:11:56 +06:00
Temirkhan Myrzamadi
653c2e3f66 Fix the docs 2020-02-13 23:45:16 +06:00
Temirkhan Myrzamadi
34d44e5195 Add a description to examples/dialogue_bot 2020-02-13 23:38:05 +06:00
Temirkhan Myrzamadi
42e2f3fb42 Refactor 2020-02-13 23:23:22 +06:00
p0lunin
c9f811a311 fixed example and added documentation 2020-02-13 17:42:24 +02:00
Temirkhan Myrzamadi
726a46b5ab Remove unnecessary dependencies 2020-02-13 20:21:23 +06:00
Temirkhan Myrzamadi
7a7254b8a1 Add BotBuilder 2020-02-13 20:12:24 +06:00
Temirkhan Myrzamadi
315e9ab80c Fix the examples in docs 2020-02-13 18:39:05 +06:00
Temirkhan Myrzamadi
690fdd06b4 Add Bot::{from_env, from_env_with_client} 2020-02-13 18:36:12 +06:00
Temirkhan Myrzamadi
ad0e241195 Add examples/README.md 2020-02-13 14:57:47 +06:00
Temirkhan Myrzamadi
7cf6aaff90 Add multiple_handlers_bot 2020-02-13 14:55:46 +06:00
p0lunin
56ae0e1e6c Merge remote-tracking branch 'origin/rework-dispatching' into rework-dispatching 2020-02-12 20:55:06 +02:00
p0lunin
a8ced80f78 changed type of field Message::from to Option<User> because message from channel no have sender + fmt 2020-02-12 20:54:54 +02:00
Temirkhan Myrzamadi
e9a62be453 Rename simple_dialogue -> dialogue_bot 2020-02-12 20:44:40 +06:00
p0lunin
6de0c24ed2 Merge remote-tracking branch 'origin/rework-dispatching' into rework-dispatching 2020-02-12 16:08:39 +02:00
p0lunin
4058126665 fixed example admin_bot 2020-02-12 16:08:15 +02:00
Temirkhan Myrzamadi
3aeb9c4295 Update examples/simple_dialogue 2020-02-12 16:56:58 +06:00
Temirkhan Myrzamadi
26d721d928 Add comments to examples/ping_pong_bot 2020-02-12 16:34:38 +06:00
Temirkhan Myrzamadi
8d71825511 Update the token 2020-02-12 15:56:14 +06:00
Temirkhan Myrzamadi
9cab5e45f3 Implement a type-safe finite automaton (examples/simple_dialogue) 2020-02-12 15:55:36 +06:00
Temirkhan Myrzamadi
dce662064f Fix update_listeners 2020-02-12 04:50:10 +06:00
p0lunin
ce48e211a2 Merge remote-tracking branch 'origin/rework-dispatching' into rework-dispatching 2020-02-11 21:46:56 +02:00
Temirkhan Myrzamadi
7433a2b072 Don't fail other updates if one is not parsed 2020-02-12 01:45:38 +06:00
p0lunin
47aab58230 remove flatten in Message.from 2020-02-11 21:37:55 +02:00
p0lunin
2a43678974 added example 2020-02-11 21:35:22 +02:00
p0lunin
98345b4d45 added Default to ChatPermissions 2020-02-11 21:35:06 +02:00
p0lunin
2242a8bad8 replace type Message.from from Sender to User 2020-02-11 21:34:32 +02:00
Temirkhan Myrzamadi
44471d3090 Merge branch 'rework-dispatching' of https://github.com/teloxide/teloxide into rework-dispatching 2020-02-11 22:56:59 +06:00
Temirkhan Myrzamadi
ca9af25f92 Use log::error in LoggingErrorHandler 2020-02-11 22:56:48 +06:00
Temirkhan Myrzamadi
374b2385bc
Merge pull request #151 from GoldsteinE/rework-dispatching
Fix parsing for posts in private channels
2020-02-11 22:44:27 +06:00
Maximilian Siling
423495d1c7 Fix parsing for posts in private channels 2020-02-11 19:37:56 +03:00
Temirkhan Myrzamadi
868f39c2e8 Add log::trace to Dispatcher 2020-02-11 20:30:41 +06:00
Temirkhan Myrzamadi
01645a2c5a Eventually fix the docs 2020-02-11 20:19:11 +06:00
Temirkhan Myrzamadi
47a70b8587 Fix the documentation 2020-02-11 19:55:24 +06:00
Temirkhan Myrzamadi
14561e437f Fix fmtcheck 2020-02-11 19:34:02 +06:00
Temirkhan Myrzamadi
4b0dea21f1 Hot fixes 2020-02-11 19:12:14 +06:00
Temirkhan Myrzamadi
d803d8197a Add TODO (examples/simple_dialogue) 2020-02-11 16:58:32 +06:00
Temirkhan Myrzamadi
0ae2d975df Add the state! macro 2020-02-11 04:04:57 +06:00
Temirkhan Myrzamadi
afb6677a1e Rename User -> UserInfo in examples/simple_dialogue 2020-02-11 03:51:50 +06:00
Temirkhan Myrzamadi
4a7c31fec7 Use Arc<Bot> instead of BotWrapper 2020-02-11 03:46:33 +06:00
Temirkhan Myrzamadi
9525414f8d Simplify examples/simple_dialogue 2020-02-11 03:13:09 +06:00
Temirkhan Myrzamadi
bde4d09e5d Add dialogue::{next, exit} 2020-02-11 02:54:08 +06:00