Commit graph

549 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
174203e77f A erroneous implementation of trait ErrorPolicy 2019-10-31 15:42:18 +06:00
Temirkhan Myrzamadi
9d2b188462 Fmt 2019-10-29 01:28:38 +06:00
P0lunin
f0526d06f1 moved filters from ..\dispatching\dispatchers\filter\ to ..\dispatching\ 2019-10-25 18:16:10 +03:00
P0lunin
5a447bb3c1 optimized tests 2019-10-25 18:09:56 +03:00
P0lunin
4b9632de5d added MessageTextCaptionFilter 2019-10-23 19:28:01 +03:00
P0lunin
c1856ff6ce added docs 2019-10-23 19:21:48 +03:00
P0lunin
b528c1c40d added generics into functions 2019-10-23 18:46:04 +03:00
P0lunin
ef8b3c14c2 added CommandFilter 2019-10-23 18:36:53 +03:00
P0lunin
c2f8aabefa divided TextFilter into MessageTextFilter and MessageCaptionFilter 2019-10-23 18:36:37 +03:00
P0lunin
e9be862a93 added test caption 2019-10-23 12:59:58 +03:00
P0lunin
a1caea0705 add MessageTextFilter 2019-10-23 12:56:44 +03:00
Temirkhan Myrzamadi
61d9dc5c0d Fmt 2019-10-22 17:02:43 +06:00
P0lunin
57d7cc0fe1 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	src/dispatching/dispatchers/filter/mod.rs
2019-10-21 13:32:38 +03:00
P0lunin
b2a88e51eb replaced macro call! to function handle() 2019-10-21 13:30:17 +03:00
Temirkhan Myrzamadi
5d783fc8f7 Merge pull request #71 from telebofr/rename_dispatching
Refactor crate::dispatching
2019-10-20 17:24:48 +00:00
Temirkhan Myrzamadi
f69eba55da Fix 2019-10-20 23:21:47 +06:00
Temirkhan Myrzamadi
0e2319ff44 Fix all the errors 2019-10-20 23:06:12 +06:00
Temirkhan Myrzamadi
0fc0db32fa Create dispatching.dispatchers 2019-10-20 22:53:33 +06:00
Temirkhan Myrzamadi
6542761932 Rename 'dispatcher' to 'dispatching' 2019-10-20 22:52:48 +06:00
Temirkhan Myrzamadi
d719bdea91 Rename dispatcher.simple to dispatcher.filter 2019-10-20 22:50:59 +06:00
Temirkhan Myrzamadi
4194e3d283 Rename Dispatcher to FilterDispatcher
Related to https://github.com/telebofr/telebofr/issues/59.
2019-10-20 22:48:05 +06:00
Temirkhan Myrzamadi
10f3ab71c1 Remove PartialOrd, Ord for True, False 2019-10-20 22:45:22 +06:00
Temirkhan Myrzamadi
480d1a6f57
Merge pull request #70 from telebofr/simple_dispatcher
attempt to replace macro to function
2019-10-20 16:40:39 +00:00
Temirkhan Myrzamadi
8bf578cf63
Merge pull request #69 from telebofr/false_type
false_type
2019-10-20 16:40:17 +00:00
Temirkhan Myrzamadi
1a87e72677 Fmt 2019-10-20 17:14:12 +06:00
RustemB
e80d4d5a62 some cahnges 2019-10-20 16:05:20 +05:00
RustemB
0a1d032e14 api.rs changed 2019-10-20 16:01:32 +05:00
RustemB
5916460ca1 +getChatAdministrators 2019-10-20 15:40:28 +05:00
RustemB
66147232e6 levaeChat 2019-10-20 12:30:07 +05:00
Temirkhan Myrzamadi
e0a278701d
Remove the unnecessary comment (bot/api.rs) 2019-10-20 01:33:45 +06:00
P0lunin
c85dc0fb68 added handle_message function 2019-10-19 21:11:36 +03:00
P0lunin
69096dc01d Revert "added handle_message function"
This reverts commit e7ef38c1
2019-10-19 21:06:36 +03:00
P0lunin
e7ef38c1b2 added handle_message function 2019-10-19 20:48:02 +03:00
P0lunin
281d01d1a2 tests were renamed 2019-10-19 20:08:09 +03:00
P0lunin
1e0f60bdef added True and False types 2019-10-19 20:02:27 +03:00
P0lunin
4a0e601063 added type False 2019-10-19 20:01:22 +03:00
P0lunin
4e2dfd6b06 Merge branch 'dev' of https://github.com/telebofr/telebofr into dev
# Conflicts:
#	src/bot/api.rs
#	src/requests/set_chat_title.rs
2019-10-19 18:50:10 +03:00
P0lunin
363259e416 added method setChatPermissions 2019-10-19 18:44:16 +03:00
P0lunin
6467f03978 added skip_serializing_if to Option<> fields 2019-10-19 18:43:52 +03:00
P0lunin
2cb5adeebe added method exportChatInviteLink 2019-10-19 18:17:07 +03:00
P0lunin
e760c281b8 added method setChatPhoto 2019-10-19 17:19:06 +03:00
P0lunin
85a81dbe52 fix wrong method_name 2019-10-19 17:00:45 +03:00
P0lunin
2a3d7cfbfb added method deleteChatPhoto 2019-10-19 17:00:14 +03:00
Temirkhan Myrzamadi
6f4bd19382 Import bot::Bot into lib.rs 2019-10-18 03:36:13 +06:00
Temirkhan Myrzamadi
715298c713 Merge branch 'dev' of https://github.com/telebofr/telebofr into dev 2019-10-18 03:20:38 +06:00
Temirkhan Myrzamadi
495e62e9aa Improve bot/mod.rs 2019-10-18 03:20:28 +06:00
P0lunin
351229a6c0 added method setChatTitle 2019-10-17 19:48:48 +03:00
Temirkhan Myrzamadi
ceaf36b101 Merge imports by default (rustfmt.toml) 2019-10-17 22:16:55 +06:00
Temirkhan Myrzamadi
852b89be88 Add the missing methods to Bot (bot/api.h) 2019-10-17 22:16:00 +06:00
Temirkhan Myrzamadi
8b4fbe4bb5
Merge pull request #67 from telebofr/issue_input_file
changed where necessary String to InputFile
2019-10-17 16:03:42 +00:00