Temirkhan Myrzamadi
be7bec6fa9
Support UpdateKind::{MyChatMember, ChatMember}
2021-03-17 23:36:51 +06:00
Temirkhan Myrzamadi
62b979369f
Fix the doc tests
2021-03-15 20:21:50 +06:00
Temirkhan Myrzamadi
823f279a60
Fix the docs
2021-03-15 09:51:00 +06:00
Temirkhan Myrzamadi
34a2eee1fa
Apply review suggestions
2021-03-15 09:22:32 +06:00
Temirkhan Myrzamadi
36b314cdfc
Fix this fucking bullshit
2021-03-13 23:35:48 +06:00
Temirkhan Myrzamadi
b29ef34299
Fmt
2021-03-13 23:08:35 +06:00
Temirkhan Myrzamadi
5f96da0a5f
Fix the tests
2021-03-13 23:05:50 +06:00
Temirkhan Myrzamadi
1af0bfdcbc
Fix the examples
2021-03-13 22:13:24 +06:00
Temirkhan Myrzamadi
a6e0c48427
Fix the tests
2021-03-06 03:50:11 +06:00
Temirkhan Myrzamadi
6102a02ed4
Integrate teloxide-core
2021-03-06 03:18:03 +06:00
Temirkhan Myrzamadi
f33428be03
Update the dependencies
2021-02-22 08:14:33 +06:00
ivan770
704418ca9f
Remove unnecessary allocation if trace level is not enabled
2020-11-19 16:54:46 +00:00
ivan770
aebb974e50
Use only one log message to nofity about dialogue transition
2020-11-18 14:04:12 +02:00
ivan770
cd2970c0f5
fmt
2020-11-18 10:19:21 +02:00
ivan770
f6a4882d1d
State that log crate is being used for logging
2020-11-18 10:09:54 +02:00
ivan770
f86217b0f9
Trace previous state on update
2020-11-18 09:56:57 +02:00
ivan770
5830ba2b32
Minor changes
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2020-11-18 09:33:45 +02:00
ivan770
e9b7ad9161
Basic implementation of TraceStorage
2020-11-17 21:46:21 +02:00
Waffle Lapkin
89ae390dfe
Merge pull request #294 from teloxide/sqlite_storage
...
Sqlite storage v2
2020-11-04 12:01:21 +03:00
Lachezar Lechev
508f34148b
replace occurences of docsrs
and add FIXME
2020-10-26 12:12:06 +02:00
Lachezar Lechev
9ae81ac978
add doc(cfg) attributes
2020-10-25 17:55:04 +02:00
Sergey Levitin
32600ff8f6
Gardening + docs improvals
2020-10-25 11:50:47 +03:00
Sergey Levitin
633d5b0d64
Fix typo
2020-10-24 21:09:17 +03:00
Sergey Levitin
75c7899f2c
Actualize storages docs
2020-10-24 21:08:14 +03:00
Sergey Levitin
d5b86ac086
Get rid of an unnesessary TODO
2020-10-24 19:59:08 +03:00
Sergey Levitin
7ba0a5b5a4
Fix SQL syntax error
2020-10-23 22:26:27 +03:00
Sergey Levitin
844a198753
Cargo +nightly fmt, gardening
2020-10-22 23:19:39 +03:00
Sergey Levitin
f8a00e64d8
Update sqlite dialog after all serializations
2020-10-22 21:47:43 +03:00
Sergey Levitin
16b0b47ecf
Properly implement SqliteStorage methods
2020-10-22 21:30:34 +03:00
Sergey Levitin
fb996d943d
Fix typo
2020-10-19 02:34:48 +03:00
Sergey Levitin
e751624d6f
Implement sqlite storage methods #144
2020-10-19 02:18:21 +03:00
Sergey Levitin
900ae4f630
Merge branch 'dev' of github.com:teloxide/teloxide into sqlite
2020-10-19 00:15:21 +03:00
Jaslo Ziska
eed1bbb0fc
Conditionally add teloxide-macros crate and reexport macros
...
This commit adds the feature "macros" which conditionally adds the
teloxide-macros crate and reexports its macros.
All (doc) tests using these macros are also conditionally enabled now.
Also change examples accordingly.
This commit solves https://github.com/teloxide/teloxide/issues/283
2020-10-02 20:43:26 +02:00
Temirkhan Myrzamadi
b17728d760
Remove an unused import
2020-10-01 18:19:52 +06:00
Temirkhan Myrzamadi
e6ceee752f
Update CODE_STYLE.md
2020-10-01 17:58:26 +06:00
Temirkhan Myrzamadi
e33bbeb027
async { ... }.boxed() -> Box::pin(async { ... })
2020-10-01 17:56:48 +06:00
Temirkhan Myrzamadi
9cb44bef0d
Box::pin -> .boxed()
2020-09-27 06:53:43 +06: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
DCjanus
6f13d38812
remove unnecessary type bound
2020-08-02 02:43:30 +08: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
S-Y-rat
8413b6b2b7
Implemented connection tests
2020-07-31 21:37:35 +03:00
Kirill Mironov
08d0d7f2f4
Unpair TransitionOut from concrete Error type resolves #242
2020-07-31 21:10:29 +03:00
Temirkhan Myrzamadi
d4a14df5c8
Reduce duplication in bot/api.rs
2020-07-31 21:15:21 +06:00
S-Y-rat
c09eca1e39
Switch from rusqlite to sqlx with sqlite feature enabled
2020-07-31 15:59:26 +03:00
Temirkhan Myrzamadi
e2d536bc91
Update examples/dialogue_bot
2020-07-31 18:47:20 +06:00
Temirkhan Myrzamadi
13fb15f24e
Fix compilation
2020-07-31 18:33:43 +06:00
S-Y-rat
d0ab14d593
Make sqlite-storage visible
2020-07-31 15:20:27 +03: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