Temirkhan Myrzamadi
a526a55c7b
Merge pull request #53 from async-telegram-bot/message_getters
...
Add getters for all `Message` fields
2019-10-14 15:59:02 +00:00
Temirkhan Myrzamadi
32b854279d
Use the 'value' name instead of 'chat_id'/etc
2019-10-14 21:46:08 +06:00
Waffle
b75a25cbd8
Add getters for all Message
fields
2019-10-14 00:19:18 +03:00
Temirkhan Myrzamadi
e450d42c27
Merge pull request #52 from async-telegram-bot/fix_clippy_warns
...
Fix some clippy warns
2019-10-13 17:14:00 +00:00
Waffle
c466402594
Allow matching on bool
for in src/types/unit_true.rs
2019-10-13 14:59:54 +03:00
Waffle
101630a3a1
Fix clippy "warning: you should consider deriving a Default
implementation for types::inline_keyboard_markup::InlineKeyboardMarkup
"
2019-10-13 14:44:21 +03:00
Waffle
77b24eaa3f
Remove fn main
from doctest (and also remove edition2018
cause I think it isn't useful)
...
Fix clippy "warning: needless `fn main` in doctest"
2019-10-13 14:39:53 +03:00
Waffle
d68ec00deb
Elide lifetimes where possible.
...
Fix clippy "warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration)"
2019-10-13 14:17:23 +03:00
Waffle
cbd98f6e03
Fix clippy warning: methods called
from_* usually take no self; consider choosing a less ambiguous name
...
(actually just allow that on the `from_chat_id` method cause it is setter for co-named field)
2019-10-13 14:03:56 +03:00
Waffle
53b9ab31c4
Fix clippy's warning: returning the result of a let binding from a block
2019-10-13 13:59:31 +03:00
Waffle
2b8ba6986c
remove apply
dep
2019-10-13 13:36:19 +03:00
Waffle
3999e6dbc8
Split request_multipart
into self (that always accept Form
) and request_simple
, simplify SendMediaGroup::send
2019-10-13 13:32:59 +03:00
Waffle
815c8cdb7d
Add InputFile::as{file,file_id,url}
methods
2019-10-13 13:13:24 +03:00
Temirkhan Myrzamadi
16eb18809b
Normalise src/requests
2019-10-13 14:17:55 +06:00
Temirkhan Myrzamadi
e087391534
Merge pull request #49 from Gymmasssorla/thiserror
...
Replace impl Error + derive Display with thiserror
2019-10-13 07:20:41 +00:00
Temirkhan Myrzamadi
9b0a059c8b
Replace impl Error + derive Display with thiserror
2019-10-13 13:05:22 +06:00
Nextel
e436490fdd
add send video action
2019-10-12 23:57:09 +03:00
Nextel
7a4442a059
cargo fmt to sent animation action
2019-10-12 22:31:27 +03:00
Nextel
7fc3fd29a8
add sendAnimation Action
2019-10-12 22:10:25 +03:00
Temirkhan Myrzamadi
e874f849a7
Prettify requests/mod.rs
2019-10-11 19:29:48 +06:00
Temirkhan Myrzamadi
7ddd8fce06
Format the code
2019-10-11 19:13:43 +06:00
Temirkhan Myrzamadi
e3873ca3b4
Merge pull request #44 from async-telegram-bot/feature_gate_unstable_stream
...
Add "unstable-stream" feature
2019-10-11 19:06:41 +06:00
Temirkhan Myrzamadi
b7020142fd
Merge pull request #45 from async-telegram-bot/remove_send_boxed_in_docs
...
Remove call to `.send_boxed()` in docs
2019-10-11 19:06:01 +06:00
Temirkhan Myrzamadi
7ec0a69fb8
Merge pull request #46 from async-telegram-bot/remove_reqwest_rasync_imports
...
Remove uses of deprecated `reqwest::r#async`
2019-10-11 19:05:23 +06:00
Temirkhan Myrzamadi
aebe764e44
Merge pull request #47 from async-telegram-bot/move_types_to_types
...
Move `ChatId` and `ChatAction` to `types::`
2019-10-11 19:03:55 +06:00
Temirkhan Myrzamadi
89308cfe9c
Merge pull request #48 from async-telegram-bot/remove_unimplemented_types
...
Remove 'not implemented types'
2019-10-11 19:03:08 +06:00
Waffle
c821832cf8
Remove 'not implemented types'
2019-10-11 15:58:38 +03:00
Waffle
2bd5919a53
Move ChatId
and ChatAction
to types::
2019-10-11 15:51:10 +03:00
Waffle
52a54e91c8
Remove uses of deprecated reqwest::r#async
2019-10-11 15:32:31 +03:00
Waffle
be3ed1d4d0
Replace call to .send_boxed()
with .send()
in Bot::download_file
docs
2019-10-11 15:06:52 +03:00
Waffle
9dc9dffddb
Add "unstable-stream" feature that unlocks public API that uses futures::stream::Stream
2019-10-11 15:01:58 +03:00
Temirkhan Myrzamadi
ca6b4a4628
Merge pull request #43 from async-telegram-bot/update_libs
...
Update libs
2019-10-10 17:31:32 +06:00
Temirkhan Myrzamadi
c515ae0fb2
Merge pull request #42 from async-telegram-bot/remove_termination
...
Remove impl std::process::Termination for True
2019-10-10 01:34:55 +06:00
Waffle
3cf4dfeeb9
Update libs
2019-10-09 22:31:50 +03:00
Waffle
5e66c8fa22
Remove impl std::process::Termination for True
2019-10-09 21:25:54 +03:00
Waffle
b5f98dd462
Add doc comment for updater trait
2019-10-09 21:17:45 +03:00
Temirkhan Myrzamadi
035d33561b
Update README.md
2019-10-08 22:22:23 +06:00
Temirkhan Myrzamadi
4da7c71752
Delete graph.png
2019-10-08 22:22:13 +06:00
nextel
e3d31ccf97
cargo fmt to add document action
2019-10-08 18:37:12 +03:00
nextel
34ba709b39
add todo to add Document action
2019-10-08 18:36:27 +03:00
nextel
f27a7cb12c
add addDocument action
2019-10-08 18:19:58 +03:00
Temirkhan Myrzamadi
cccbfa34e5
Merge pull request #39 from async-telegram-bot/some_doc_comments_fixes
...
Some fixes in doc comments
2019-10-07 15:49:11 +06:00
Temirkhan Myrzamadi
1812ab10bf
Merge pull request #40 from async-telegram-bot/add_methods_to_bot
...
Add some methods to `Bot`
2019-10-07 15:48:27 +06:00
Waffle
7fb3ceefbe
Add methods AnswerPreCheckoutQuery, AnswerShippingQuery, KickChatMember, PinChatMessage, PromoteChatMember, RestrictChatMember, SendChatAction, SendContact, SendPoll, SendVenue, SendVideoNote, SendVoice, UnbanChatMember, UnpinChatMessage to bot.
2019-10-06 13:29:29 +03:00
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
Waffle Lapkin
edeff3305a
Merge branch 'dev' into dispatcher
2019-10-06 11:23:52 +03:00
Waffle
ebbdfde26e
Merge branch 'dispatcher' of github.com:WaffleLapkin/async-telegram-bot into dispatcher
2019-10-06 11:23:01 +03:00
Waffle
553b1666a6
Fyx typo
2019-10-06 11:21:18 +03:00
Waffle
4c478b1f77
Rewrite simple dispatcher's test for a bit
2019-10-06 11:19:48 +03:00
Waffle
4c00f48339
Add doc comment for dispatcher::simple::Dispatcher
, fix doc comment for dispatcher
module
2019-10-06 11:19:02 +03:00