Commit graph

541 commits

Author SHA1 Message Date
P0lunin
720a34932f divided TextFilter into MessageTextFilter and MessageCaptionFilter 2019-10-23 18:36:37 +03:00
P0lunin
03b0e41fa0 added test caption 2019-10-23 12:59:58 +03:00
P0lunin
ec11b9ed3a add MessageTextFilter 2019-10-23 12:56:44 +03:00
Temirkhan Myrzamadi
37ab5e049a Fmt 2019-10-22 17:02:43 +06:00
P0lunin
65320feaf0 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
5e40bbf173
Merge pull request #71 from telebofr/rename_dispatching
Refactor crate::dispatching
2019-10-20 17:24:48 +00:00
Temirkhan Myrzamadi
c611fce15b Fix 2019-10-20 23:21:47 +06:00
Temirkhan Myrzamadi
ecf2aec396 Fix all the errors 2019-10-20 23:06:12 +06:00
Temirkhan Myrzamadi
7268c39c88 Create dispatching.dispatchers 2019-10-20 22:53:33 +06:00
Temirkhan Myrzamadi
2bd8734482 Rename 'dispatcher' to 'dispatching' 2019-10-20 22:52:48 +06:00
Temirkhan Myrzamadi
e9f68c67e9 Rename dispatcher.simple to dispatcher.filter 2019-10-20 22:50:59 +06:00
Temirkhan Myrzamadi
089ff82b2d Rename Dispatcher to FilterDispatcher
Related to https://github.com/telebofr/telebofr/issues/59.
2019-10-20 22:48:05 +06:00
Temirkhan Myrzamadi
e1b3ba2227 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
P0lunin
f2cd6278fb changed where necessary String to InputFile 2019-10-17 18:44:34 +03:00
Temirkhan Myrzamadi
cf244605ef
Merge pull request #66 from telebofr/requests_gymmasssorla
Add more requests
2019-10-17 15:41:52 +00:00
Temirkhan Myrzamadi
e8b402ea21
Merge branch 'dev' into requests_gymmasssorla 2019-10-17 15:41:34 +00:00
P0lunin
36976e098d changed where necessary String to InputFile 2019-10-17 18:36:03 +03:00
Temirkhan Myrzamadi
12d944aeb7 Add GetChatMembersCount 2019-10-17 21:13:50 +06:00
Temirkhan Myrzamadi
b3572072ad Add GetChatMember 2019-10-17 21:09:46 +06:00
P0lunin
21952b149a add method setChatDescription 2019-10-17 18:01:39 +03:00
Temirkhan Myrzamadi
82db9b18b2 Add SetChatStickerSet 2019-10-17 20:56:58 +06:00