Commit graph

49 commits

Author SHA1 Message Date
Andrey Brusnik
181b30304f
Add dedicated Rgb struct to replace [u8; 3] 2024-08-28 21:27:51 +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
2f8e62f401 Use BusinessConnectionId instead of String for business_connection_id fields and parameters 2024-08-24 15:15:19 +05:30
Akshett Rai Jindal
ccc2c68751 Update docs and changelogs 2024-08-24 15:15:18 +05:30
Akshett Rai Jindal
68b7aba836 Add method getBusinessConnection 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
941d1eb82a Add business_connection_id to add Send* methods except SendInvoice 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
78f909e621 Update documentation of sendSticker method 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
cf1b73b8b2 Add format parameter to SetStickerSetThumbnail 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
2655607320 Remove sticker_format parameter from CreateNewStickerSet 2024-08-24 15:12:54 +05:30
Akshett Rai Jindal
2265141030 Add replaceStickerInSet TBA method 2024-08-24 15:12:54 +05:30
jc
4b05e9dd69 Replace Currency enum with String, mention XTR special currency in docs 2024-08-24 13:01:51 +04:00
Andrey Brusnik
2ee1740228
Bump supported TBA version to 7.1 2024-08-17 21:21:28 +04:00
Andrey Brusnik
9d45244efb
Updated docs for can_post_stories, can_edit_stories and can_delete_stories admin privileges 2024-08-17 20:43:15 +04:00
Andrey Brusnik
467468c546
Add getUserChatBoosts TBA method 2024-08-15 17:06:00 +04:00
Andrey Brusnik
3d74587c93
Add LinkPreviewOptions struct
and `link_preview_options` field to `InputMessageContentText`, `Message`,  `sendMessage` and `editMessageText`
2024-08-15 17:06:00 +04:00
Andrey Brusnik
599d8fac8a
Remove disable_web_page_preview field from everywhere 2024-08-15 17:06:00 +04:00
Andrey Brusnik
409c3d5403
Add setMessageReaction TBA method 2024-08-15 17:06:00 +04:00
Сырцев Вадим Игоревич
7680d7e978
Add the ReplyParameters struct 2024-08-15 17:05:59 +04:00
Сырцев Вадим Игоревич
8f9b6d13ca
Fix #1058 2024-08-15 17:05:59 +04:00
Сырцев Вадим Игоревич
13dd93cc63
Add multiple message actions methods of TBA 7.0 2024-08-15 17:05:58 +04:00
Waffle Maybe
89ad80dcca
Merge pull request #1066 from strongtu/master
send_game needs chat_id by ChatId not u32
2024-07-21 14:36:30 +00:00
Andrey Brusnik
116c635804
Bump TBA version in schema 2024-07-18 16:00:17 +04:00
Andrey Brusnik
cef06d21de
Add can_post_stories, can_edit_stories and can_delete_stories parameters
to PromoteChatMember
2024-07-18 16:00:17 +04:00
sogetsu
a80a1215b2
Merge branch 'teloxide:master' into master 2024-07-16 11:10:28 +08:00
sogetsu
470e721b57
Merge branch 'teloxide:master' into master 2024-07-10 14:30:06 +08:00
Сырцев Вадим Игоревич
6b97f72d12 Add the TBA method unpinAllGeneralForumTopicMessages 2024-07-08 23:09:43 +03:00
Сырцев Вадим Игоревич
693b5c08e5 Add support for launching Web Apps from inline query results 2024-06-15 15:01:15 +03:00
Сырцев Вадим Игоревич
b7e2f25562 Add the TBA6.7 methods for bot's name manipulation 2024-06-15 12:51:17 +03:00
Сырцев Вадим Игоревич
c24fdf173e Fix docs for uploadStickerFile method 2024-06-06 18:00:18 +03:00
Сырцев Вадим Игоревич
eb1f098302 Fix a bit more typos 2024-06-06 17:23:06 +03:00
Сырцев Вадим Игоревич
89e22a6b6d Fix wrong declaration for the GetMy(Short)Description method 2024-06-06 17:07:22 +03:00
strongtu
703c65c0c2 let send_message use ChatId 2024-05-17 22:39:17 +08:00
strongtu
c6c0378077 send_game needs chat_id by i64 not u32 2024-05-17 20:47:10 +08:00
Сырцев Вадим Игоревич
a6ae13c72b Rename "thumb" to "thumbnail" in methods 2024-04-04 20:23:28 +03:00
Сырцев Вадим Игоревич
331a1e006a Add TBA 6.6 methods & types for stickers-related functionality 2024-04-04 19:29:33 +03:00
Сырцев Вадим Игоревич
6f7cdd9702 Add TBA 6.6 methods & types for bot's description manipulation 2024-04-04 12:44:20 +03:00
TheAwiteb
3e05086d47
Add the use_independent_chat_permissions field to RestrictChatMember and SetChatPermissions 2024-02-05 04:38:37 +03:00
Lymkwi
21bd325dea Document the behavior of captions for media groups
As discussed in #987, the current behavior of captions regarding media
groups is documented in neither teloxide nor the Telegram API[0]. Users
of the official telegram clients may expect to be able to set what
appears to them as a "global" caption on media groups, when such a thing
does not actually exist in the API, and is just the result of how
official clients render media groups with only one captioned
`InputMedia`.

This commit changes the schema which auto-generates payload types, as
well as introduces the changes induced to the documentation of
`SendMediaGroup`.

Fix #987.

Links:
[0]: https://core.telegram.org/bots/api#sendmediagroup

Signed-off-by: Lymkwi <lymkwi@vulpinecitrus.info>
2024-01-10 16:47:02 +01:00
Desiders
bacd84110e Change setChatTitle title length 2023-11-25 19:21:21 +03:00
TheAwiteb
038ac1f8f2
Fix the type of photo_size,photo_width and photo_height in the send_invoice method
This will fix https://github.com/teloxide/teloxide/issues/935 issue
2023-09-20 13:17:45 +03:00
Maybe Waffle
9c2330897a Use MessageId for reply_to_message_id for some methods that were forgotten 2023-06-05 18:11:23 +04:00
Maybe Waffle
4a041ac4e0 Use ThreadId in methods 2023-06-05 18:11:23 +04:00
Maybe Waffle
ace3eb7958 Fix return type of SetGameScoreInline 2023-05-24 00:41:47 +04:00
Maybe Waffle
33989c7f63 Fix arguments and return types of live location methods 2023-05-24 00:41:47 +04:00
Maybe Waffle
7c2cf65988 fix a link in schema 2023-01-14 20:20:32 +04:00
Maybe Waffle
f624b9a996 TBA 6.4 methods 2023-01-14 20:17:14 +04:00
Maybe Waffle
0dd44fe739 TBA 6.3: methods 2022-12-05 19:25:11 +04:00
Maybe Waffle
71dd29b1ac move teloxide-core to crates/ 2022-11-01 16:33:54 +04:00
Renamed from schema.ron (Browse further)