Commit graph

736 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
a3825d612d Provide &self instead of &&self (bot/api.h) 2019-10-17 13:33:26 +06:00
Temirkhan Myrzamadi
8cc5d18421
Merge pull request #64 from Gymmasssorla/context
Fix a typo
2019-10-17 07:26:45 +00:00
Temirkhan Myrzamadi
d0f8852533 Fix a typo 2019-10-17 13:25:53 +06:00
Temirkhan Myrzamadi
c5a780d298
Merge pull request #63 from Gymmasssorla/context
Replace RequestContext with Bot
2019-10-17 04:48:13 +00:00
Temirkhan Myrzamadi
2fe88cbfe3 Fix some Clippy's lints 2019-10-17 10:46:42 +06:00
Temirkhan Myrzamadi
eee360792a Fix the errors 2019-10-17 10:41:18 +06:00
Temirkhan Myrzamadi
9b8f180a8a Format the sources 2019-10-17 10:37:37 +06:00
Temirkhan Myrzamadi
4ce7ceb831 Replace 'RequestContext' with 'Bot' 2019-10-17 10:36:30 +06:00
Temirkhan Myrzamadi
5a399778c7
Update README.md
Related to https://github.com/telebofr/telebofr/issues/57.
2019-10-16 18:17:08 +06:00
Temirkhan Myrzamadi
456c3226d7
Merge pull request #62 from telebofr/dispatcher_trait
Add dispatcher trait
2019-10-16 12:00:30 +00:00
Waffle
175e7572b2 Add dispatcher trait 2019-10-16 14:47:09 +03:00
Temirkhan Myrzamadi
e4da5214e0
Update README.md 2019-10-16 11:56:08 +06:00
Temirkhan Myrzamadi
873065a99b
Update README.md
Related to https://github.com/telebofr/telebofr/issues/57.
2019-10-16 11:55:41 +06:00
Temirkhan Myrzamadi
87e04b491f Fix the errors 2019-10-15 23:21:02 +06:00
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