Commit graph

1926 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
0d3694559b
Merge pull request #281 from teloxide/v0.3.1_release
bring v0.3.1 to dev
2020-10-01 18:21:00 +06:00
Waffle Lapkin
814adabdb6
Merge branch 'dev' into v0.3.1_release 2020-09-26 19:01:16 +03:00
Temirkhan Myrzamadi
b097e1d8f1
Merge pull request #279 from teloxide/highlight-dialogues-readme
Highlight dialogues management (README.md)
2020-09-26 21:55:30 +06:00
Temirkhan Myrzamadi
eb79c7099d
Update README.md 2020-09-26 21:50:22 +06:00
Temirkhan Myrzamadi
e894ae868e
Update README.md
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2020-09-26 21:42:36 +06:00
Temirkhan Myrzamadi
4a1ba8d9b4
Update README.md 2020-09-26 21:30:08 +06:00
Temirkhan Myrzamadi
1c6b97ae39
Update README.md 2020-09-26 21:29:32 +06:00
Temirkhan Myrzamadi
4db66eaa83
Highlight dialogues management (README.md) 2020-09-26 21:27:13 +06:00
Temirkhan Myrzamadi
0f8c3b5c4d
Merge pull request #274 from teloxide/add-bots-authors-to-readme
Add authors of bots to README.md
2020-09-13 17:58:34 +06:00
Temirkhan Myrzamadi
b212616257
Add authors of bots to README.md 2020-09-12 21:23:50 +06:00
Temirkhan Myrzamadi
a2ddf413cf
Merge pull request #273 from teloxide/Hirrolot-patch-1
Add tg-vimhelpbot to README.md
2020-09-06 02:12:54 +06:00
Temirkhan Myrzamadi
4fabc083b8
Add tg-vimhelpbot to README.md 2020-09-06 00:48:26 +06:00
Temirkhan Myrzamadi
bbdff7d988
Merge pull request #272 from robinhundt/dev
Added failing test case for command with single non-String arg
2020-09-05 19:30:04 +06:00
Robin Hundt
abb7b9335e Removed whitespace 2020-09-02 16:12:59 +02:00
Robin Hundt
e4449e49f3 Added failing test case for command with single non-String arg 2020-08-28 23:33:16 +02:00
Waffle
4fa2d30411 fmt 2020-08-25 18:21:34 +03:00
Waffle
04f8ed5df7 v0.3.1 release 2020-08-25 17:45:16 +03:00
Temirkhan Myrzamadi
f571f377b4
Merge pull request #269 from teloxide/bot_builder_method
add `Bot::builder` method
2020-08-23 00:04:49 +06:00
Temirkhan Myrzamadi
7f822303b6
Merge pull request #267 from teloxide/bot_new_deprecation_messages
add deprecation note to Bot constructors
2020-08-21 18:28:08 +06:00
Waffle
2cdb200ccf update CHANGELOG.md with Bot::builder method 2020-08-21 14:35:14 +03:00
Waffle Lapkin
de9ce863d5
Apply suggestions from code review
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
2020-08-21 14:31:59 +03:00
Waffle Lapkin
ac4f7f88e7
Update src/bot/mod.rs
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
2020-08-21 14:31:25 +03:00
Waffle
4c2681ca27 add Bot::builder method 2020-08-21 14:29:25 +03:00
Temirkhan Myrzamadi
24f09761e8
Merge pull request #268 from teloxide/cognito_bot
Add cognito_bot to README.md
2020-08-21 16:58:13 +06:00
Temirkhan Myrzamadi
fc4324b91f
Remove useless spaces from README.md 2020-08-21 16:24:09 +06:00
Temirkhan Myrzamadi
b11629a340
Merge pull request #266 from teloxide/dev_model
make 'dev' default branch in docs
2020-08-18 22:47:56 +06:00
Temirkhan Myrzamadi
060dd5f6b4
Add cognito_bot to README.md 2020-08-18 09:23:18 +06:00
Waffle
7cbbf43966 run CI for pull requests against dev 2020-08-17 18:30:19 +03:00
Waffle
7527179f3f add deprecation note to Bot constructors 2020-08-17 18:21:41 +03:00
Waffle
d88f92d26c make 'dev' default branch in docs 2020-08-17 18:10:03 +03:00
Temirkhan Myrzamadi
bf3c2c31d4
Merge pull request #264 from teloxide/docs
Numerous docs-related fixes
2020-08-13 21:34:49 +06:00
Waffle
94bc8504a5 oops, i've accidentally removed redis setup from ci 2020-08-13 00:07:16 +03:00
Waffle Lapkin
a368de15b1
Merge branch 'master' into docs 2020-08-12 23:59:26 +03:00
Waffle
981ba237c9 redis test fix & beta/nightly ci
This commit fixes redis storage test, those were not ran before.
Also, introduces beta&nightly tests to CI
2020-08-12 23:53:58 +03:00
Waffle
3157305105 add automatic test of code blocks from readme 2020-08-12 23:21:13 +03:00
Dmytro Polunin
e542c05f31
Merge pull request #263 from teloxide/readme_local_links
Use local ./ paths instead of github links in README
2020-08-12 22:50:36 +03:00
Waffle
f765278c68 add docs|master badge and netlify config 2020-08-12 22:49:58 +03:00
Waffle
00e39e8d35 enable all features for docs.rs doc build 2020-08-12 22:48:36 +03:00
Waffle Lapkin
7a3ce7f05c
Remove confusing use of respond from README 2020-08-12 22:44:56 +03:00
Waffle Lapkin
f521f08470
Use local ./ paths instead of github links in README 2020-08-12 22:31:35 +03:00
Waffle Lapkin
52aba85ed3
Merge pull request #257 from teloxide/fix_inline_methods_by_split
Fix inline methods by split
2020-08-12 17:21:05 +03:00
Waffle
b81bfd3b2a fix fmt 2020-08-10 18:39:30 +03:00
Waffle
b06d3e7b7e add edit-methods and TargetMessage refactoring changes to CHANGELOG.md 2020-08-10 18:36:43 +03:00
Waffle
02400b18ab remove TargetMessage as ChatOrInlineMessage reexport as it couldn't be deprecated
Also rename `TargetMessage::{Chat => Common}` variant.
(anyway `ChatOrInlineMessage`/`TargetMessage` refactoring is not backward compatible)
2020-08-10 18:27:53 +03:00
Waffle
851e4c6bc6 refactor ChatOrInlineMessage
- Rename `ChatOrInlineMessage` => `TargetMessage`
- Change type of `TargetMessage::inline_message_id` `i32` => `String`
- Remove `#[non_exhaustive]` annotation as this enum is unlikely to be changed in future
- Implement `From<String>`
- Use `From<String>` impl in `get_game_high_scores` and `set_game_score` methods
- Leave a deprecated pub use as `ChatOrInlineMessage` for a bit of backward compat
2020-08-10 18:05:49 +03:00
Waffle
503f406edd Fix edit_* and stop_inline_message_live_location methods
Previously they have been broken because of the wrong type of
`ChatOrInlineMessage::Inline::inline_message_id` (`i32` instead
of `String`), and wrong return type in case of inline editing
messages (`Message` instead of `True`).

This commit splits the methods into inline and non-inline
versions, fixing the issue.
2020-08-10 18:05:18 +03:00
Dmytro Polunin
59b572e402
Merge pull request #258 from PatriotRossii/i255-unarc-bot-parsemode
Un Arc<_> Bot::parse_mode
2020-08-10 17:32:20 +03:00
Eoan Ermine
b1ac80e244 Fix code formatting, remove unused import 2020-08-07 12:02:30 +05:00
PatriotRossii
517afc0cfe
Remove unnecessary derefs 2020-08-07 06:08:22 +05:00
PatriotRossii
817f492223
Un Arc<_> Bot::parse_mode 2020-08-07 05:55:06 +05:00