Commit graph

915 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
0ac679c443 Remove the frunk dependency 2020-07-01 18:52:53 +06:00
Temirkhan Myrzamadi
9cab81b8bf Fix the docs 2020-06-26 18:33:40 +06:00
Temirkhan Myrzamadi
eabc77caab Remove wrap_dialogue! 2020-06-26 18:18:31 +06:00
Temirkhan Myrzamadi
d2f4194d80 Add <E> type parameter to TransitionIn 2020-05-26 17:20:57 +06:00
Temirkhan Myrzamadi
92248aaeb3 Fix the docs 2020-05-26 17:18:22 +06:00
Temirkhan Myrzamadi
a6144d7a26 Add UpdateWithCx::answer_str 2020-05-26 16:08:54 +06:00
Temirkhan Myrzamadi
7fc58421b0 Add dialogue::{TransitionIn, TransitionOut} 2020-05-26 15:35:28 +06:00
Temirkhan Myrzamadi
f95826e9f8 Add DialogueWithCx::unpack 2020-05-26 15:05:22 +06:00
Temirkhan Myrzamadi
f3fb72d527 DispatcherHandlerCx -> UpdateWithCx, DialogueDispatcherHandler -> DialogueWithCx 2020-05-26 15:01:57 +06:00
Temirkhan Myrzamadi
18f323b82e Fix the docs 2020-05-24 22:37:22 +06:00
Temirkhan Myrzamadi
3ffb2c70fb Document the newest macros 2020-05-24 22:28:08 +06:00
Temirkhan Myrzamadi
a33bd7205c Separate modules of examples/dialogue_bot 2020-05-24 18:55:13 +06:00
Temirkhan Myrzamadi
572d41fbf8 Extract FavouriteMusic into favourite_music.rs (examples/dialogue_bot) 2020-05-24 18:39:41 +06:00
Temirkhan Myrzamadi
c9393aa5d6 Prettify examples/dialogues_bot a little bit 2020-05-24 17:36:20 +06:00
Temirkhan Myrzamadi
01dc7a0d42 Improve wrap_dialogue! 2020-05-24 17:15:46 +06:00
Temirkhan Myrzamadi
6ff1800f12 Add auxiliary dialogues macros 2020-05-24 17:08:40 +06:00
Temirkhan Myrzamadi
963218bba0 Use a coproduct as a dialogue FSM 2020-05-24 14:19:46 +06:00
Temirkhan Myrzamadi
b0940df9bd Avoid repetition in DialogueDispatcherHandlerCx 2020-05-24 01:02:17 +06:00
Temirkhan Myrzamadi
565a98919d Replace all 'mime_type: String' with MimeWrapper 2020-05-23 12:06:12 +06:00
Temirkhan Myrzamadi
cc37f9ff3c NonPrivate* -> Public*
ChatKind::NonPrivate -> ChatKind::Public
ChatNonPrivate -> ChatPublic
NonPrivateChatKind -> PublicChatKind
NonPrivateChatChannel -> PublicChatChannel
NonPrivateChatGroup -> PublicChatGroup
NonPrivateChatSupergroup -> PublicChatSupergroup
2020-05-08 21:12:11 +06:00
Temirkhan Myrzamadi
181f9a6d8e Fix Clippy 2020-05-08 13:08:04 +06:00
Temirkhan Myrzamadi
65e210fff1 Split big enumerations' variants into new types 2020-05-08 12:57:50 +06:00
Temirkhan Myrzamadi
46338c464f Refactor error logging if Update is failed to parse 2020-03-31 21:41:00 +06:00
Temirkhan Myrzamadi
b18cb84df0 Remove pub(crate) from SetWebhook 2020-03-31 02:33:25 +06:00
Temirkhan Myrzamadi
e226689bf5 Refer to the README webhooks FAQ in the docs 2020-03-31 01:18:17 +06:00
Temirkhan Myrzamadi
51129f5d0f Provide a webhook example instead of a library function 2020-03-31 00:57:19 +06:00
Temirkhan Myrzamadi
8ea460e04f Fix Clippy 2020-03-30 20:27:01 +06:00
Temirkhan Myrzamadi
548ea06ad0 Create the 'webhooks' feature 2020-03-30 20:19:20 +06:00
Temirkhan Myrzamadi
2152e11422 Refine update_listeners::webhook 2020-03-30 20:10:39 +06:00
Temirkhan Myrzamadi
f6647d5196 Add TLS 2020-03-30 18:58:57 +06:00
Temirkhan Myrzamadi
6e486f0d78 Implement webhooks 2020-03-30 18:41:20 +06:00
Temirkhan Myrzamadi
a4d6673a91 Remove a useless generic in answer_sticker
Fixed https://github.com/teloxide/teloxide/issues/196.
2020-03-27 18:52:05 +06:00
Temirkhan Myrzamadi
c90af42db6
Merge branch 'dev' into upload_from_memory 2020-03-26 13:23:21 +06:00
jairinhohw
e8def77a1a Fix clippy warning 2020-03-25 04:47:56 -03:00
jairinhohw
178b4ee70d Try to minimize cloning 2020-03-25 04:26:17 -03:00
jairinhohw
cb68f1f7aa Setting InputFile::Memory file name 2020-03-24 17:45:19 -03:00
jairinhohw
9bfec9546f Add InputFile::Memory 2020-03-24 17:30:01 -03:00
Temirkhan Myrzamadi
c5ef0a6c54 Fix enable_logging_with_filter 2020-03-17 00:18:45 +06:00
Temirkhan Myrzamadi
1d601a99c2 Remove unnecessary async/.await (src/dispatching/dispatcher.rs) 2020-03-16 20:20:04 +06:00
Temirkhan Myrzamadi
3c55a6b0d3
Merge pull request #192 from rsmidt/respect-hyphens-in-module-names
feat(logging): respect package names with hyphens
2020-03-16 17:38:51 +06:00
Ruben Smidt
ad46146a2d
fix: apply proper formatting 2020-03-15 19:58:22 +01:00
Ruben Smidt
43df97b3a2
feat(logging): respect module names with hyphens 2020-03-15 19:30:14 +01:00
Maximilian Siling
f9b3a4836e Various style fixes
* Removed type bounds from struct declaration
* Simplified <S as Storage<D>>::Error to S::Error
* Simplified complex type to BoxFuture
2020-03-10 23:28:38 +03:00
Maximilian Siling
b97cc367fe fixup! Refactor Storage so operations can fail 2020-03-09 20:27:31 +03:00
Maximilian Siling
ecb09659b3 Refactor Storage so operations can fail 2020-03-09 20:19:27 +03:00
Temirkhan Myrzamadi
566137f001
Merge pull request #189 from teloxide/fix-todo-in-inline-keyboard-button
Add InlineKeyboardButtonKind::{LoginUrl, CallbackGame, Pay}
2020-03-09 16:15:48 +06:00
Temirkhan Myrzamadi
f1353b00ae Add InlineKeyboardButtonKind::{LoginUrl, CallbackGame, Pay} 2020-03-09 14:15:50 +06:00
Temirkhan Myrzamadi
fcf582eb83
Merge branch 'dev' into from-env-proxy 2020-03-09 13:19:16 +06:00
Mr-Andersen
2f4dfd8f0c Merge branch 'dev' of github.com:teloxide/teloxide into from-env-proxy
Потому что сразу надо было пр мерджить
2020-03-06 12:16:36 +03:00
Temirkhan Myrzamadi
234a0e4607 Remove the high-level overview from lib.rs 2020-03-06 15:05:44 +06:00