Commit graph

903 commits

Author SHA1 Message Date
p0lunin
5f27eaf6d1 fixes in tests 2020-06-06 20:45:20 +03:00
p0lunin
50b2b73f26 small fixes 2020-06-06 20:30:41 +03:00
p0lunin
7d3a0ca7eb Merge remote-tracking branch 'origin/commands' into commands
# Conflicts:
#	src/utils/command.rs
2020-06-06 20:17:07 +03:00
p0lunin
1475b62e57 moved teloxide::utils::command::tests to tests/command.rs 2020-06-06 20:14:42 +03:00
Temirkhan Myrzamadi
594d3e7d19 #[command] only after #[derive] 2020-06-05 13:12:46 +06:00
Temirkhan Myrzamadi
ae43f1f7ee Improve the docs of utils::command 2020-06-05 13:10:29 +06:00
p0lunin
54276aa8ba added documentation, fixed doc-tests 2020-06-02 23:26:57 +03:00
p0lunin
b3123258aa added tests + renamed fields 2020-06-01 22:36:31 +03:00
p0lunin
2455caa1cf added tests for typed enums 2020-05-30 21:23:49 +03:00
p0lunin
d5f3864921 wip 2020-04-25 20:16:27 +03: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
Ruben Smidt
f3d0570ef4 fix(markdown): add missing char to escape 2020-02-27 21:25:18 +01:00
Temirkhan Myrzamadi
1676434d1a Prepare to v0.2.0 2020-02-25 15:19:44 +06:00
Temirkhan Myrzamadi
c489e2b6da Fix Duration::from_secs(1) 2020-02-25 04:24:25 +06:00
Temirkhan Myrzamadi
4db46093cd Fix polling_default 2020-02-25 04:18:27 +06:00
Temirkhan Myrzamadi
468b4ec821 Improve the 'Getting started' section 2020-02-25 03:35:15 +06:00
Mr-Andersen
7aea85a187 created client_from_env() in utils 2020-02-24 20:49:41 +03:00
Mr-Andersen
a326860d4b var_os() -> var() (back) 2020-02-24 20:43:45 +03:00
Mr-Andersen
ddefd9e8a6 Cow::to_string() -> &*Cow 2020-02-24 20:36:12 +03:00
Mr-Andersen
bdbc226777 Added $TELOXIDE_PROXY to Bot::from_env 2020-02-24 20:20:15 +03:00
Temirkhan Myrzamadi
a801953516 Fix the tests 2020-02-24 21:29:09 +06:00
Temirkhan Myrzamadi
d165de64d7 Remove LanguageCode
Because the official Telegram documentation doesn't specify a concrete version of IETF language tag.
2020-02-24 21:21:53 +06:00
p0lunin
7ffb067434 prettified json 2020-02-24 17:02:28 +02:00