Waffle
00e39e8d35
enable all features for docs.rs
doc build
2020-08-12 22:48:36 +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
Temirkhan Myrzamadi
d7ad1f26ed
Update CHANGELOG.md
2020-08-02 13:16:53 +06:00
Temirkhan Myrzamadi
05e32336fa
Add requests::respond
2020-08-02 13:08:43 +06:00
Temirkhan Myrzamadi
3703f2dff6
Merge pull request #246 from DCjanus/master
...
remove unnecessary type bound
2020-08-02 11:13:14 +06:00
DCjanus
7b9f7e8690
fix example code
2020-08-02 12:11:09 +08:00
DCjanus
6f13d38812
remove unnecessary type bound
2020-08-02 02:43:30 +08:00
Temirkhan Myrzamadi
b3aa539c4d
Download the master branch of teloxide-macros
2020-08-01 17:52:50 +06:00
Temirkhan Myrzamadi
e26c8b6e94
Merge pull request #243 from teloxide/feature/arbitrary-transition-result-types
...
Unpair TransitionOut from concrete Error type resolves #242
2020-08-01 16:14:26 +06:00
Temirkhan Myrzamadi
8b14fb5122
Download teloxide-macros from git in the examples
2020-08-01 16:07:01 +06:00
Temirkhan Myrzamadi
71414b812f
Update examples/README.md
2020-08-01 15:16:28 +06:00
Temirkhan Myrzamadi
90a65c0f9e
Update examples/README.md
2020-08-01 15:15:45 +06:00
Kirill Mironov
245355ea3e
set default error type
2020-08-01 11:58:24 +03:00
Kirill Mironov
ffb5f29362
Allow for custom error types in TransitionOut
2020-08-01 00:18:52 +03:00
Kirill Mironov
08d0d7f2f4
Unpair TransitionOut from concrete Error type resolves #242
2020-07-31 21:10:29 +03:00
Temirkhan Myrzamadi
0417f061fc
Merge branch 'master' of https://github.com/teloxide/teloxide
2020-07-31 23:50:00 +06:00
Temirkhan Myrzamadi
f2618ad7ed
Fix wrong documentation about TELOXIDE_PROXY
2020-07-31 23:49:43 +06:00
Temirkhan Myrzamadi
2f4006f5ea
Update the API coverage badge to 0.4.9
2020-07-31 23:18:13 +06:00
Temirkhan Myrzamadi
5985f62bfe
v0.3.0 README.md
2020-07-31 22:04:39 +06:00
Temirkhan Myrzamadi
b98932437b
v0.3.0 CHANGELOG.md
2020-07-31 21:56:27 +06:00
Temirkhan Myrzamadi
b68d03ae83
v0.3.0 Cargo.toml
2020-07-31 21:54:52 +06:00
Temirkhan Myrzamadi
a0064b7bef
Update README.md
2020-07-31 21:52:41 +06:00
Temirkhan Myrzamadi
1e7919455b
Import lazy_static into examples/shared_state_bot
2020-07-31 21:49:22 +06:00
Temirkhan Myrzamadi
09d3db9f9b
Fix Cargo.toml files in the examples
2020-07-31 21:43:28 +06:00
Temirkhan Myrzamadi
6bb8482f3d
Respect TELOXIDE_PROXY in Bot::from_env & BotBuilder
2020-07-31 21:34:48 +06:00
Temirkhan Myrzamadi
d4a14df5c8
Reduce duplication in bot/api.rs
2020-07-31 21:15:21 +06:00
Temirkhan Myrzamadi
ba65a3371f
Update CHANGELOG.md
2020-07-31 20:22:39 +06:00
Temirkhan Myrzamadi
0ce9c7a5b0
Compile tests/redis.rs only if all the features are satisfied
2020-07-31 20:18:00 +06:00
Temirkhan Myrzamadi
62a116dbc0
Use only required tokio-util features
2020-07-31 19:58:41 +06:00
Temirkhan Myrzamadi
337b89112b
Use only required Tokio features
2020-07-31 19:42:11 +06:00
Temirkhan Myrzamadi
1c1b2005b4
Update CHANGELOG.md
2020-07-31 18:48:15 +06:00
Temirkhan Myrzamadi
e2d536bc91
Update examples/dialogue_bot
2020-07-31 18:47:20 +06:00
Temirkhan Myrzamadi
0445a803ca
Update README.md
2020-07-31 18:37:51 +06:00
Temirkhan Myrzamadi
13fb15f24e
Fix compilation
2020-07-31 18:33:43 +06:00
Temirkhan Myrzamadi
114267f14c
Push code
2020-07-31 17:40:02 +06:00
Temirkhan Myrzamadi
fda07ddd15
Fix one compilation error
2020-07-31 16:18:23 +06:00
Temirkhan Myrzamadi
3e01e0f65f
Remove Arc from dialogues_repl
2020-07-31 16:16:14 +06:00
Temirkhan Myrzamadi
9115622ee3
Fix a typo in README.md
2020-07-31 16:01:13 +06:00
Temirkhan Myrzamadi
559d3344a2
Attempt to develop dialogue_repl(with_listener)
2020-07-31 14:56:41 +06:00
Temirkhan Myrzamadi
62bf55c8e6
Don't export REPLs to teloxide::dispatching
2020-07-31 00:56:39 +06:00
Temirkhan Myrzamadi
7097dd4f34
'Insert here your bot's name' -> 'Your bot's name here'
2020-07-31 00:47:26 +06:00