Commit graph

4842 commits

Author SHA1 Message Date
Mishko torop'izhko
318495a19e
Merge pull request #32 from async-telegram-bot/feature/sendProfilePhotos
add get user profile photos action
2019-09-22 17:06:24 +03:00
nextel
a63fe51171 add skip serialization for opt value 2019-09-22 17:05:30 +03:00
nextel
7736ba3ca8 add serde derive for optional field 2019-09-22 17:03:12 +03:00
nextel
774c481faf fix build error 2019-09-21 20:41:31 +03:00
nextel
a777b3a805 add action template 2019-09-21 20:39:58 +03:00
nextel
62b26fe14f add kickChatMember action 2019-09-21 20:20:14 +03:00
nextel
57e3b21778 add pub modifcators for filds 2019-09-21 20:10:25 +03:00
nextel
3443942cf9 fix optional value 2019-09-21 20:09:35 +03:00
nextel
23f2b9494d add action template 2019-09-21 20:08:06 +03:00
nextel
c3f543786d add get user profile photos action 2019-09-21 20:03:57 +03:00
Mr-Andersen
b500296ed6 pub used requests/PinChatMessage in requests/mod 2019-09-21 12:18:42 +03:00
Mr-Andersen
b0aff65f71 request/PinChatMessage added TODO 2019-09-21 12:08:19 +03:00
Mr-Andersen
02d9796667 request/PinChatMessage pub fixes 2019-09-21 12:05:13 +03:00
Mr-Andersen
b7e0a1c7d1 In EncryptedMessageElementKind::translation: Vec<_> -> Option<Vec<_>> 2019-09-21 11:52:59 +03:00
Mr-Andersen
fc68705d71 +EncryptedPassportElement 2019-09-21 11:38:58 +03:00
Mr-Andersen
4d13609d33 Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev 2019-09-21 10:53:50 +03:00
Mr-Andersen
8211838fe9 +PinChatMessage 2019-09-21 10:48:34 +03:00
Temirkhan Myrzamadi
a447c26837
'mod errors' + 'pub use errors' (src/lib.rs) 2019-09-21 05:39:27 +06:00
Temirkhan Myrzamadi
e39ba98368
Merge pull request #30 from async-telegram-bot/fix_request_imports
Fix `request::` imports
2019-09-21 05:38:06 +06:00
Temirkhan Myrzamadi
74f816c616 Fix the tests 2019-09-21 05:34:26 +06:00
Temirkhan Myrzamadi
c3448de7dd Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev 2019-09-21 05:25:27 +06:00
Temirkhan Myrzamadi
ed1d3cd56e Fix a few tests 2019-09-21 05:25:15 +06:00
Waffle
e1908b7b84 Merge branch 'dev' into dispatcher 2019-09-21 02:10:01 +03:00
Waffle
5ea1673903 Fix request:: imports (&cargo fmt) 2019-09-21 02:07:05 +03:00
Temirkhan Myrzamadi
6b0e05cdf7 Format the code 2019-09-21 05:05:48 +06:00
Temirkhan Myrzamadi
788006f427 Fix the errors 2019-09-21 05:05:39 +06:00
Temirkhan Myrzamadi
7ba2737a13 Add the Telegram Passport API Types 2019-09-21 05:03:37 +06:00
Waffle Lapkin
14b866db4c
Merge pull request #29 from async-telegram-bot/get_updates
Add `GetUpdates` method
2019-09-21 01:59:12 +03:00
Waffle
d383c12019 Add GetUpdates method 2019-09-21 01:56:16 +03:00
Waffle
36f146580e Fix build after resolving conflicts 2019-09-21 01:22:31 +03:00
Waffle Lapkin
78988205e9
Merge branch 'dev' into dispatcher 2019-09-21 01:17:25 +03:00
Temirkhan Myrzamadi
e7edb29fc3
Merge pull request #28 from async-telegram-bot/reformatting
Reformatting
2019-09-21 04:14:50 +06:00
Waffle
ec4d23626a Fixes 2019-09-21 01:05:48 +03:00
Waffle
f95ea5ee31 cargo fmt 2019-09-21 00:57:17 +03:00
Waffle
f37552536e Split network into different files 2019-09-21 00:56:25 +03:00
Waffle
5284d5e884 Reformat imports 2019-09-21 00:44:29 +03:00
Waffle
cf3e0182c9 Fix name of the StickerSet 2019-09-21 00:40:25 +03:00
Waffle
1b52a8cdd3 Split bot into different files 2019-09-21 00:20:15 +03:00
Waffle
fb0daffbd5 Move RequestError to errors.rs 2019-09-21 00:06:35 +03:00
Waffle
af9cf93c76 Remove core module 2019-09-21 00:02:37 +03:00
Temirkhan Myrzamadi
bd9ba91de2
Merge pull request #27 from async-telegram-bot/file_download
File download & small fixes
2019-09-21 02:42:37 +06:00
Waffle Lapkin
d5adf4701b
Merge branch 'dev' into file_download 2019-09-20 23:36:49 +03:00
Waffle
f543cc371f Implement file downloading (and also add Bot::get_file) 2019-09-20 23:28:58 +03:00
Temirkhan Myrzamadi
2b23136e2f CommonMessage -> Common, PinnedMessage -> Pinned 2019-09-21 02:05:56 +06:00
Temirkhan Myrzamadi
84548b0727
Merge pull request #26 from Mr-Andersen/dev
+Message::text(&self); message_kind->kind; IncomingMessage->CommonMes…
2019-09-21 02:02:49 +06:00
nextel
f4b9e93447 cargo fmt for requests/* 2019-09-20 17:42:24 +03:00
Temirkhan Myrzamadi
cb5ea4a5b7 Simplify src/core/network/mod.rs 2019-09-20 06:24:08 +06:00
P0lunin
cc9d59cf49 Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev 2019-09-19 19:38:34 +03:00
P0lunin
7b638eb2c0 add tests 2019-09-19 19:38:07 +03:00
P0lunin
c395e24792 add enum ChatMemberStatus 2019-09-19 19:37:48 +03:00