Waffle
c272817b9b
Some fixes in doc comments
...
- Replace 'Html' with 'HTML' in many places
- Add missing links (`[name]: crate::path::to::name`)
- Fix docs for `ParseMode` (use `<pre></pre>`, ```, `<` and `>` instead of `````, ```, `<` and `>`)
2019-10-06 11:52:57 +03:00
nextel
5ad46718d3
add sendVoice action
2019-10-05 15:12:29 +03:00
nextel
bc6664ef30
add serde tags for sendVideoNote action
2019-10-05 14:44:02 +03:00
nextel
31ab32bdd7
add SendVideoNote Action
2019-10-05 13:39:41 +03:00
nextel
589bea7280
add PromoteChatMemberAction
2019-10-03 20:07:52 +03:00
P0lunin
e75d40425b
add method
2019-10-01 17:42:10 +03:00
Temirkhan Myrzamadi
142d65186f
Fix the compilation errors
2019-10-01 16:16:02 +06:00
Temirkhan Myrzamadi
9a2c571b57
Merge pull request #36 from async-telegram-bot/unbox_send_future
...
Unbox send future
2019-10-01 13:31:29 +06:00
Temirkhan Myrzamadi
816d2bad2f
Merge branch 'dev' into unbox_send_future
2019-10-01 13:31:19 +06:00
Temirkhan Myrzamadi
26551b7380
Format the code and refactor network/
2019-10-01 13:15:03 +06:00
Mishko torop'izhko
580af29321
Merge pull request #37 from async-telegram-bot/feature/unbanChatMember
...
add unban chat member implementation
2019-09-30 18:17:36 +03:00
Mishko torop'izhko
c1abd14bf5
Merge pull request #38 from async-telegram-bot/addActionTemplates
...
add action templates to mod.rs
2019-09-30 18:17:19 +03:00
nextel
9d62eb9a11
add action templates to mod.rs
2019-09-30 17:48:15 +03:00
nextel
b4e79bd95a
add unban chat member implementation
2019-09-30 17:11:43 +03:00
Waffle
cc14e23202
Fix build after merging dev
...
(oops I used old dev to create that branch :|)
2019-09-28 15:59:13 +03:00
Waffle Lapkin
8b1a032b55
Merge branch 'dev' into unbox_send_future
2019-09-28 15:45:54 +03:00
Waffle
2d1e9cd334
Make send functions public
...
oops
2019-09-28 15:42:34 +03:00
Waffle
5f9f148bb6
Simplify lifetimes in requests
...
(`impl<'a> ...<'a>` -> `impl ...<'_>`)
2019-09-28 15:36:03 +03:00
Waffle
37b84fd14c
Run cargo fmt
2019-09-28 15:30:40 +03:00
Waffle
4db1ed86dc
Add unboxed version of Request::send
to all telegram requests
2019-09-28 15:28:39 +03:00
Waffle
30e6d19e17
Remove RequestFuture
alias
2019-09-28 14:48:16 +03:00
Waffle
9ec1d10dd0
Rename Request::send
-> Request::send_boxed
and use async_trait
instead of explicit pin-boxing
2019-09-28 14:39:04 +03:00
Waffle Lapkin
2b83d869fb
Merge pull request #35 from Mr-Andersen/dev
...
Added `True` unit type in crate::types
2019-09-25 20:48:35 +03:00
Mr-Andersen
dc0c7bbb77
type ReturnType = bool;
-> ... = True
2019-09-25 20:38:14 +03:00
Mr-Andersen
7493a448a6
_ -> false
2019-09-25 20:14:52 +03:00
Mr-Andersen
fc4dc06360
impl {Termination,Default,Hash,{Partial,}Ord} for True
2019-09-25 20:14:08 +03:00
Mr-Andersen
dbc07a1a0c
"other" -> "false
"
2019-09-25 19:49:37 +03:00
Mr-Andersen
ce8420354e
Fixed test name
2019-09-25 17:56:52 +03:00
Mr-Andersen
fea357e6f0
Merge branch 'dev' of github.com:async-telegram-bot/async-telegram-bot into dev
2019-09-25 17:51:51 +03:00
Mr-Andersen
20925e82fb
Added True unit type
2019-09-25 17:51:32 +03:00
Andrew Andersen
bc5b43d68b
Merge pull request #31 from Mr-Andersen/dev
...
+request/PinChatMessage, +type/EncryptedPassportElement
2019-09-24 20:05:01 +03:00
Mr-Andersen
e813953b00
Deleted test
2019-09-24 19:56:57 +03:00
Mr-Andersen
695ea93e06
bool -> Option<bool>
2019-09-24 19:32:57 +03:00
Mishko torop'izhko
0f6873c0c6
Merge pull request #33 from async-telegram-bot/feature/kickChatMemder
...
add kickChatMember action
2019-09-22 18:36:09 +03:00
Mishko torop'izhko
f8754cfc9d
Merge pull request #34 from async-telegram-bot/feature/RestrictChatMember
...
add action RestrictChatMember
2019-09-22 18:35:59 +03:00
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 use
d 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