YouKnow
c1873e0b18
renamed Render
to Renderer
2024-10-22 03:11:12 +03:30
hirrolot
0e7582225f
Use src/utils/render.rs
instead of mod.rs
2024-10-21 02:55:04 -04:00
hirrolot
e91db758c8
Adjust wording
2024-10-21 02:53:32 -04:00
YouKnow
fa08605c02
Merge branch 'master' into master
2024-10-20 02:29:04 +03:30
YouKnow
adb9830c93
Improve documentation and code comments
2024-10-20 02:26:18 +03:30
LasterAlex
4379f5a72f
Merge branch 'master' into fix-multipart-thread-id-serialization
2024-10-18 16:10:03 +03:00
LasterAlex
eee0a374e4
Fixed InlineQueryResultsButton serialization
2024-10-14 21:03:00 +03:00
LasterAlex
5434639cca
Fixed newtype serialization in multipart requests
2024-10-13 23:04:49 +03:00
Lewis Pearson
ebe89a637a
Update the teloxide-core
changelog
2024-10-05 18:15:42 -04:00
Ali
0f4ee3023a
fmt
2024-10-03 12:36:15 +03:30
Ali
dad067da44
removing useless Generic T on selective
, adding tests
2024-10-03 12:35:53 +03:30
LasterAlex
2e7cd55057
Deleted unnecessary tests
2024-09-23 11:41:07 +03:00
LasterAlex
6e484382a9
Added sugar to buttons.rs example
2024-09-23 02:46:09 +03:00
LasterAlex
3b618a7b5a
Added syntactic sugar to all methods with message_id and chat_id
2024-09-23 02:29:28 +03:00
LasterAlex
1f23983bfb
Changed Into to From
2024-09-23 01:36:07 +03:00
LasterAlex
af3305cae8
Updated code with suggestions
2024-09-23 01:30:28 +03:00
YouKnow
e96139634d
fixed clippy errors for rust nightly
2024-09-04 20:04:56 +03:30
YouKnow
4f5dcbf4c2
fixed the escape test
2024-09-04 05:18:27 +03:30
YouKnow
9b3d920819
added '\' to markdown escape characters
2024-09-04 05:04:37 +03:30
LasterAlex
2c21479aec
Changed ownership to ref
2024-09-04 03:19:12 +03:00
LasterAlex
b533a85a33
Cargo fmt
2024-09-03 14:21:57 +03:00
LasterAlex
c9a0fe452d
Added sugar to examples
2024-09-03 14:20:44 +03:00
LasterAlex
9f7d980a70
Removed multiple messages sugar functionality
2024-09-03 13:43:50 +03:00
LasterAlex
968fd5fbc3
Cargo fmt
2024-08-30 09:47:15 +03:00
LasterAlex
83b178c8ca
More types + some fixes
2024-08-30 09:37:00 +03:00
LasterAlex
2ea545a15c
Added link preview sugar
2024-08-30 09:37:00 +03:00
LasterAlex
c6eb43138d
Added simple json request sugar
2024-08-30 09:37:00 +03:00
LasterAlex
578b665541
Added bot message sugar
2024-08-30 09:37:00 +03:00
LasterAlex
83f5508495
Cargo fmt
2024-08-30 09:15:28 +03:00
LasterAlex
a52fe8eeb5
Fixed Vec<MessageId> serialization
2024-08-30 09:10:25 +03:00
Tima Kinsart
55141db2ac
Link PR #1157 in the changelog
2024-08-28 21:52:19 -04:00
Johannes Dertmann
3977b79b90
Add BotKickedFromChannel variant to ApiError
2024-08-29 00:24:22 +02:00
Andrey Brusnik
181b30304f
Add dedicated Rgb
struct to replace [u8; 3]
2024-08-28 21:27:51 +04:00
YouKnow
0c63375c03
perf(render): optimize tag and rendering functions with inline attributes
...
- Add #[inline] attribute to `as_html` and `as_markdown` methods in Render struct
- Add #[inline(always)] attribute to `start` and `end` methods in Tag struct
- Add #[inline] attribute to `new` methods in SimpleTag and ComplexTag structs
2024-08-27 05:53:37 +03:30
YouKnow
a77e9f58f0
feat(utils): add Render util for recreating formatted text
...
- Add new `render` module in `crates/teloxide/src/utils.rs`
- Update CHANGELOG.md to document the new Render utility
- Expose ESCAPE_CHARS in markdown.rs for reuse in render module
This new Render utility allows recreating rendered HTML or Markdown
formatted text from text/caption and MessageEntity. It enhances the
library's text formatting capabilities, as discussed in PR #1152 .
2024-08-27 02:29:38 +03:30
Andrey Brusnik
1ea69cf4dc
Fix clippy::manual_inspect lints
2024-08-24 18:46:05 +04:00
Andrey Brusnik
76e2726803
Add MSRV and deps bumps to the changelogs
2024-08-24 18:46:04 +04:00
Andrey Brusnik
cd98dba17e
Bump MSRV to 1.80
2024-08-24 18:16:56 +04:00
Andrey Brusnik
ae20cf1f6b
Explicitly depend on tokio 1.39 and enable io-util
feature for tokio in teloxide-core
2024-08-24 18:16:56 +04:00
Andrey Brusnik
5d93b81ea0
Bump deps to: sqlx-0.8.1, tower-0.5.0, reqwest-0.12.7, ron-0.8.1, heck-0.5.0
2024-08-24 18:16:56 +04:00
jc
178db8a027
Update CHANGELOG.md
2024-08-24 18:02:56 +04:00
goostman-ai
7711677580
Merge branch 'teloxide:master' into master
2024-08-24 15:42:29 +02:00
jc
b15ba1d31a
Fix RON schema, prettify doc comments
2024-08-24 16:29:28 +04:00
Akshett Rai Jindal
32de39602d
Fix unstructured docs
2024-08-24 16:03:10 +05:30
Akshett Rai Jindal
f4fc11a011
Change id
type in BusinessConnection
to BusinessConnectionId
2024-08-24 16:02:42 +05:30
Akshett Rai Jindal
e10af95add
Mark BusinessConnectionId
as serde(transparent)
2024-08-24 15:36:55 +05:30
Akshett Rai Jindal
17b3807d3f
Use serde(flatten) for BusinessConnectionId
2024-08-24 15:29:52 +05:30
Akshett Rai Jindal
951c8f1438
Derive Default for BusinessIntro
, BusinessLocation
and BusinessOpeningHours
2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
08d7d8f6b4
Move business_connection_id
from Message
to MessageCommon
2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
cef553eeae
Add serde default to can_connect_to_business
in Me
2024-08-24 15:15:19 +05:30