Commit graph

1006 commits

Author SHA1 Message Date
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
Temirkhan Myrzamadi
809aaef9b1 Winning the compiler... 2020-02-10 00:29:30 +06:00
Temirkhan Myrzamadi
fbd02c5a14 Trying to win the compiler 2020-02-08 22:59:57 +06:00
Temirkhan Myrzamadi
e6bf25b3bf Rework handlers (failing now) 2020-02-08 00:06:41 +06:00
Temirkhan Myrzamadi
ab8dae9213 Fix Clippy 2020-02-07 20:45:00 +06:00
Temirkhan Myrzamadi
99c7bf5955
Merge branch 'dev' into rework-dispatching 2020-02-07 20:31:52 +06:00
Temirkhan Myrzamadi
2785c892c0 Extend the middlewares API 2020-02-07 06:20:14 +06:00
Temirkhan Myrzamadi
cc9c2aeeaa
Merge pull request #149 from teloxide/impl_tgapi_4_6
Add support of Bot API 4.6
2020-02-07 06:04:04 +06:00
Temirkhan Myrzamadi
d4170725aa Fix the docs 2020-02-07 06:03:33 +06:00
p0lunin
375f09df18 added fields to Poll 2020-02-05 17:02:10 +02:00
p0lunin
4d8b2d0473 added field language for MessageEntity 2020-02-04 23:19:06 +02:00
p0lunin
a95bb5b2d9 added struct Me 2020-02-04 23:13:31 +02:00
p0lunin
95b190e573 added new type poll_answer 2020-02-04 23:06:36 +02:00
p0lunin
357e2640f4 added new type keyboard_button_poll_type.rs 2020-02-04 22:59:44 +02:00
p0lunin
fb3f0558c2 added new fields to sendPoll 2020-02-04 22:44:41 +02:00
p0lunin
b064b85d37 fixed test (but it still failed, help please) 2020-02-04 20:47:29 +02:00
p0lunin
6bb8241f27 fix merged 2020-02-04 20:21:41 +02:00
p0lunin
21328c152c Merge remote-tracking branch 'origin/rework-dispatching' into rework-dispatching
# Conflicts:
#	src/dispatching/dispatcher_handler_ctx.rs
2020-02-04 20:19:10 +02:00
p0lunin
327be5811c added functions into DispatcherHandlerCtx<Message> 2020-02-04 20:17:07 +02:00