Maybe Waffle
86cc3d782f
Add CommandDescription[s]
...
Add two new types - `CommandDescription` and `CommandDescriptions`, make
`BotCommands` return the latter.
2022-03-27 22:10:50 +04:00
Maybe Waffle
b3b8073a12
Rename BotCommand
-> BotCommands
(the trait)
...
This removes the ambiguity with `types::BotCommand` and also the new
name just makes more sense, since this trait is usually implemented for
enums that can be many different commands and not a single one.
Note: this requires changes in the `teloxide-macro` crate.
2022-03-27 22:10:50 +04:00
Maybe Waffle
dbc7633fdb
Deprecate enable_logging!
in favour of configuring logging yourself
2022-03-21 18:55:34 +04:00
Hirrolot
5a00e970e4
.chat_id()
=> .chat.id
2022-02-04 19:45:35 +06:00
Hirrolot
ec9f701cf7
Revert ".chat_id()
=> .chat_id
"
...
This reverts commit 26a28b1918
.
2022-02-04 19:44:04 +06:00
Hirrolot
26a28b1918
.chat_id()
=> .chat_id
2022-02-04 19:38:06 +06:00
Hirrolot
879560f34a
Fix the fixes
2022-02-04 19:09:32 +06:00
Hirrolot
242bfef885
Fix merge conflicts
2022-02-03 20:39:32 +06:00
Hirrolot
62934f29bd
Harmonise naming convention across the examples
2022-02-02 15:40:22 +06:00
Hirrolot
3b3f5f855f
Make all examples just *.rs
files
2022-02-02 03:54:00 +06:00