Commit graph

672 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
148944fc4a
Update README.md 2019-10-15 23:15:22 +06:00
Temirkhan Myrzamadi
6d8ef9e158
Update README.md 2019-10-15 23:11:05 +06:00
Temirkhan Myrzamadi
8d4731d6d6 Rename the project to 'telebofr'
It means 'Telegram Bot For Rust'
2019-10-15 21:31:58 +06:00
Temirkhan Myrzamadi
44f4bcbc64
Update README.md 2019-10-15 17:27:01 +06:00
Temirkhan Myrzamadi
2056d259f0
Update README.md 2019-10-15 17:23:54 +06:00
Temirkhan Myrzamadi
bc62df75d6
Update README.md 2019-10-15 17:14:15 +06:00
Temirkhan Myrzamadi
cc4fddf7b0
Add the 'An echo bot' section (README.md) 2019-10-15 16:50:24 +06:00
Temirkhan Myrzamadi
26f3c8be38 Improve the ICON.png quality 2019-10-15 16:16:56 +06:00
Temirkhan Myrzamadi
7d2d8f706d Add some documentation 2019-10-15 13:50:28 +06:00
Temirkhan Myrzamadi
76a10abc47 Rename Request::ReturnValue to Request::Output 2019-10-15 13:27:41 +06:00
Temirkhan Myrzamadi
a0212f8ae2 Resize ICON.jpg
Related to https://github.com/async-telegram-bot/async-telegram-bot/issues/57.
2019-10-15 12:40:22 +06:00
Temirkhan Myrzamadi
132c271e91
Add a link to 'Telegram bots' (README.md)
Related to https://github.com/async-telegram-bot/async-telegram-bot/issues/57.
2019-10-15 12:03:40 +06:00
Temirkhan Myrzamadi
08f69b8f08
Add a meaningful description (README.md)
Related to https://github.com/async-telegram-bot/async-telegram-bot/issues/57.
2019-10-15 12:01:51 +06:00
Temirkhan Myrzamadi
0316ec9a8b
Update README.md 2019-10-15 11:54:28 +06:00
Temirkhan Myrzamadi
66719aa2e6
Update README.md
Related to  https://github.com/async-telegram-bot/async-telegram-bot/issues/57.
2019-10-15 11:53:51 +06:00
Temirkhan Myrzamadi
23ad531c1e
Remove unnecessary hyperlinks (README.md)
Related to https://github.com/async-telegram-bot/async-telegram-bot/issues/57.
2019-10-15 11:51:07 +06:00
Temirkhan Myrzamadi
c1f2590e3c Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev 2019-10-15 11:49:38 +06:00
Temirkhan Myrzamadi
8cb61724ae Improve the ICON.jpg quality
Related to https://github.com/async-telegram-bot/async-telegram-bot/issues/57
2019-10-15 11:49:22 +06:00
Temirkhan Myrzamadi
4f17f23b69
Merge pull request #20 from WaffleLapkin/dispatcher
[WIP] Dispatcher impl
2019-10-15 05:38:26 +00:00
Temirkhan Myrzamadi
2276352782
Merge pull request #51 from async-telegram-bot/remove_apply
Remove apply (and accidentally rework `FormBuilder`)
2019-10-15 01:11:10 +00:00
Waffle Lapkin
f8f133edea
Merge branch 'dev' into dispatcher 2019-10-15 00:24:22 +03:00
Waffle
0b7512e42c Remove main (ooops) 2019-10-15 00:22:39 +03:00
Waffle Lapkin
045dedf164
Merge branch 'dev' into remove_apply 2019-10-15 00:20:29 +03:00
Waffle
ec0c717593 Change visibility modifier of FormBuilder, FormValue, IntoFormValue from pub to pub(crate) 2019-10-15 00:12:33 +03:00
Waffle
04281bd80a A bunch of changes to multipart requests
- remove `FormBuilder::add_if_some`
- `FormBuilder::add` now work properly with `Option` and `InputFile`
- `FormBuilder::add_file` now accept `PathBuf` instead of `&PathBuf` and is used only in `SendMediaGroup::send`
- `ToFormValue` renamed to `IntoFromValue`
- `IntoFormValue::into_form_value` now accepts self by value and return `Option<FormValue>` instead of `String` (that gives `FormBuilder::add` abilities to work properly with `Option` and `InputFile`)
- `requests::utils::file_to_part` now accepts `PathBuf` instead of `&PathBuf`
- add `impl From<InputFile> for Option<PathBuf>`
- add `impl From<InputMedia> for InputFile`
- clean `{SendAudio,SendMediaGroup,SendPhoto}::send` code
2019-10-15 00:10:12 +03:00
Temirkhan Myrzamadi
7b4a45f501
Update README.md 2019-10-14 23:32:06 +06:00
Temirkhan Myrzamadi
47b5f4d035
Update README.md 2019-10-14 23:18:11 +06:00
Temirkhan Myrzamadi
0310846495
Update README.md 2019-10-14 23:17:13 +06:00
Temirkhan Myrzamadi
ea81f9f8e6 Round the corners of ICON.jpg 2019-10-14 23:14:40 +06:00
Temirkhan Myrzamadi
8895ed9e18
Update README.md 2019-10-14 23:12:53 +06:00
Temirkhan Myrzamadi
1d1632246c
Update README.md 2019-10-14 23:11:38 +06:00
Temirkhan Myrzamadi
e4a1eb3214
Update README.md 2019-10-14 23:10:41 +06:00
Temirkhan Myrzamadi
fab440a06b
Update README.md 2019-10-14 23:07:58 +06:00
Temirkhan Myrzamadi
6174f1ba9a
Add some badges (README.md) 2019-10-14 23:04:55 +06:00
Temirkhan Myrzamadi
5eca305342
Fix README.md 2019-10-14 23:01:38 +06:00
Temirkhan Myrzamadi
c0a295a543
Fix README.md 2019-10-14 23:00:34 +06:00
Temirkhan Myrzamadi
627760c72e Add ICON.png 2019-10-14 23:00:04 +06:00
Temirkhan Myrzamadi
cf8211e1c6
Merge pull request #50 from Gymmasssorla/generics
Normalise src/requests
2019-10-14 16:03:22 +00:00
Temirkhan Myrzamadi
186a3f0f8d
Merge branch 'dev' into generics 2019-10-14 16:00:52 +00:00
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