Commit Graph

651 Commits

Author SHA1 Message Date
levlam
e2af6c8e02 Add callback query updates from business messages. 2024-06-11 22:07:13 +03:00
levlam
d982389d77 Update TDLib to 1.8.31. 2024-06-11 21:42:50 +03:00
levlam
2b0bb9207c Split "chat_member" and "chat_join_request" updates by a user. 2024-06-06 13:57:02 +03:00
levlam
221db0fa1f Improve getUpdates warnings. 2024-05-30 19:47:21 +03:00
levlam
a94b95eac5 Update copyright year. 2024-05-30 19:40:54 +03:00
levlam
831968def2 Update version to 7.4. 2024-05-28 00:11:50 +03:00
levlam
486539c514 Add refundStarPayment method. 2024-05-24 15:44:38 +03:00
levlam
325dc5d293 Support expandable_blockquote entities. 2024-05-21 12:39:13 +03:00
levlam
70b9d04b58 Make provider_token optional for invoices in Telegram Stars. 2024-05-20 15:05:46 +03:00
levlam
34a52855ee Allow to change show_caption_above_media when replacing caption of a copied message. 2024-05-20 14:54:53 +03:00
levlam
f32756cd0d Allow to edit show_caption_above_media. 2024-05-20 14:54:17 +03:00
levlam
5f3e2202b7 Allow to send messages with caption above media. 2024-05-20 14:48:41 +03:00
levlam
7d7b4049a4 Allow adding effects to sent messages. 2024-05-20 14:41:19 +03:00
levlam
7eee0eed84 Add message.show_caption_above_media. 2024-05-20 14:27:04 +03:00
levlam
278e1e254a Add Message.effect_id. 2024-05-20 14:20:55 +03:00
levlam
14ea0576cd Update TDLib to 1.8.30. 2024-05-20 14:13:18 +03:00
levlam
f95d406da6 Update version to 7.3. 2024-05-04 02:37:29 +03:00
levlam
681e67c055 Support sending polls with custom emoji. 2024-05-04 01:56:10 +03:00
levlam
1d3a1f2bf1 Support custom emoji entities in incoming polls. 2024-05-04 01:49:17 +03:00
levlam
ff01a73df3 Add live_period parameter to editMessageLiveLocation. 2024-05-04 01:12:16 +03:00
levlam
7febd857d6 Add ChatMemberUpdated.via_join_request. 2024-05-04 00:57:31 +03:00
levlam
9f4e8eb867 Add Chat.max_reaction_count. 2024-05-04 00:31:50 +03:00
levlam
a5a1c509eb Update TDLib to 1.8.29. 2024-05-04 00:21:18 +03:00
levlam
8ced3a1e60 Reget inaccessible users. 2024-05-02 17:10:28 +03:00
levlam
d2ec2fff00 Add Message.chat_background_set. 2024-05-01 20:22:31 +03:00
levlam
b56b61ba0e Update TDLib to 1.8.28. 2024-04-21 22:04:27 +03:00
levlam
6173126371 Update version to 7.2. 2024-03-31 19:26:26 +03:00
levlam
c69178b298 Add Chat.personal_chat. 2024-03-28 19:45:48 +03:00
levlam
5f6e1a262f Add User.can_connect_to_business. 2024-03-28 19:40:12 +03:00
levlam
f706d88055 Add Chat.birthdate. 2024-03-22 15:26:22 +03:00
levlam
f684e4c503 Add replaceStickerInSet. 2024-03-22 15:09:08 +03:00
levlam
e89489b1b2 Support requesting of additional fields by keyboard buttons. 2024-03-22 14:50:01 +03:00
levlam
e491a5a31d Add more fields to ChatShared. 2024-03-22 13:37:31 +03:00
levlam
d442d4b361 Add UsersShared.users. 2024-03-22 13:34:26 +03:00
levlam
e327bbe8fe Add Message.is_from_offline. 2024-03-22 13:03:48 +03:00
levlam
1adfc80566 Resolve business intro sticker set. 2024-03-19 16:31:34 +03:00
levlam
f852504301 Store td_api::businessInfo in UserInfo. 2024-03-19 16:07:43 +03:00
levlam
3d54e3c43b Add Chat.business_intro. 2024-03-19 16:03:04 +03:00
levlam
938847a51e Pass BusinessConnection pointer to check_business_connection callback. 2024-03-18 21:50:53 +03:00
levlam
5ca4a446f0 Add getBusinessConnection method. 2024-03-18 18:31:52 +03:00
levlam
15836d84f4 Add Message.sender_business_bot. 2024-03-18 17:50:16 +03:00
levlam
1a86bb56db Add chat.business_opening_hours field. 2024-03-18 17:04:42 +03:00
levlam
f1c1447185 Add chat.business_location field. 2024-03-18 14:26:39 +03:00
levlam
a872d60362 Add setStickerSetThumbnail.format parameter. 2024-03-18 14:17:05 +03:00
levlam
538fc78fa6 Add "deleted_business_messages" updates. 2024-03-18 13:58:44 +03:00
levlam
5bc5297746 Add Client::get_legacy_input_sticker. 2024-03-18 12:52:17 +03:00
levlam
c783b1c821 Add "business_message" and "edited_business_message" updates. 2024-03-18 12:36:19 +03:00
levlam
b9d4d57678 Support business messages in need_skip_update_message. 2024-03-18 11:54:29 +03:00
levlam
f6497b76c4 Support replies in business messages. 2024-03-18 11:21:43 +03:00
levlam
82134ecc94 Support sending media groups as business. 2024-03-15 15:56:40 +03:00
levlam
2ac6b4bcca Support sending messages to business connection. 2024-03-14 22:51:02 +03:00
levlam
f05754481f Support business_connection_id with sendChatAction. 2024-03-14 20:07:18 +03:00
levlam
a731cb0083 Add Client::init_message. 2024-03-14 16:09:23 +03:00
levlam
a3f62fcdf7 Add cache for business connections. 2024-03-14 15:44:44 +03:00
levlam
393b6c00fb Add "business_connection" updates. 2024-03-14 15:09:47 +03:00
levlam
de02ab0a00 Update TDLib to 1.8.27. 2024-03-14 14:47:41 +03:00
levlam
a19b05e4ff Fix warnings. 2024-03-11 22:28:39 +03:00
Andrea Cavalli
6f785fd26b Fix crash 2024-02-16 15:24:05 +01:00
levlam
74f7c3a0cd Update version to 7.1. 2024-02-16 03:36:41 +03:00
levlam
656152f1f1 Add Message.reply_to_story. 2024-02-15 11:20:57 +03:00
levlam
c7adc690e4 Add chat and id fields to the class Story. 2024-02-14 18:43:33 +03:00
levlam
36b97bd5a7 Add Chat.unrestrict_boost_count. 2024-02-14 18:16:48 +03:00
levlam
f9bd4980ee Add Message.sender_boost_count. 2024-02-14 17:53:10 +03:00
levlam
75a2aae6b3 Support service messages about added boosts. 2024-02-14 17:44:52 +03:00
levlam
5da588afbe Don't reopen instance by "close" request. 2024-02-14 17:05:51 +03:00
levlam
d8c8291886 Allow faster reopen for bots that were successfully authorized. 2024-02-14 16:59:22 +03:00
levlam
e7b81da50b Make story management rights non-optional. 2024-02-14 14:06:55 +03:00
levlam
f1b9eb8d4c Update TDLib to 1.8.25. 2024-02-14 14:04:56 +03:00
Andrea Cavalli
0bc23e3830 Add custom deleteMessages implementation 2024-02-11 12:55:43 +01:00
Andrea Cavalli
dd075ae89f Add custom deleteMessages implementation 2024-02-11 12:53:28 +01:00
Andrea Cavalli
faa723716f Fix compiler warnings 2024-02-11 12:26:52 +01:00
David Guillen Fandos
d2415a9191 Update and rebase to version 7.0
Fix a bunch of small issues here and there related to new API calls.
Custom DeleteMessages (bulk) has been deleted in favour of the upstream
implementation that allows deleting a list of messages (instead of a
range).

Documentation might need a redo :)
2024-02-03 12:34:51 +01:00
levlam
1bf69f7abb Update version to 7.0. 2024-02-03 11:45:30 +01:00
levlam
a38d9260af Add Message.users_shared field. 2024-02-03 11:45:30 +01:00
levlam
baa0546c31 Support request_users.max_quantity. 2024-02-03 11:45:30 +01:00
David Guillen Fandos
d3300e9ba3 Rebase: Support channel emoji status. 2024-02-03 11:45:24 +01:00
levlam
f19e58645e Add setMessageReaction method. 2024-02-03 11:43:56 +01:00
levlam
50bb07bc46 Add "message_reaction_count" update. 2024-02-03 11:43:56 +01:00
levlam
668ea399eb Add "message_reaction" updates. 2024-02-03 11:43:56 +01:00
levlam
fa489a4979 Add Message.giveaway_winners. 2024-02-03 11:43:56 +01:00
levlam
9aedc15f76 Add "has_public_winners" and "prize_description" giveaway fields. 2024-02-03 11:43:56 +01:00
levlam
7575257ca6 Add fields chat.profile_accent_color_id and chat.profile_background_custom_emoji_id. 2024-02-03 11:43:55 +01:00
levlam
7d84c0a0d8 Update TDLib to 1.8.23. 2024-02-03 11:43:55 +01:00
levlam
92b7a6a556 Add Chat.available_reactions. 2024-02-03 11:43:55 +01:00
levlam
81b2c0e550 Add copyMessages method. 2024-02-03 11:43:55 +01:00
levlam
9c1ecb749b Add forwardMessages method. 2024-02-03 11:43:55 +01:00
levlam
ce1474d5ab Add deleteMessages method. 2024-02-03 11:43:55 +01:00
levlam
3161f9a00b Store identifier of inaccessible pinned message. 2024-02-03 11:43:55 +01:00
levlam
e6e6cbc72f Add Message.giveaway_completed. 2024-02-03 11:43:55 +01:00
levlam
253d3acddc Support quote position in reply parameters. 2024-02-03 11:43:55 +01:00
levlam
5dce30bc20 Add class TextQuote. 2024-02-03 11:43:55 +01:00
levlam
aa0f369132 Update TDLib to 1.8.22. 2024-02-03 11:43:55 +01:00
levlam
de0d0ad75d Support chat in ReplyParameters. 2024-02-03 11:43:55 +01:00
David Guillen Fandos
94bfd307f8 Rebase: Support quote in ReplyParameters. 2024-02-03 11:43:50 +01:00
levlam
19a7da41b2 Improve error message. 2024-02-03 11:42:10 +01:00
David Guillen Fandos
e117cfa33f Rebase: Add class ReplyParameters and fields "reply_parameters". 2024-02-03 11:42:02 +01:00
David Guillen Fandos
1084ebd5c8 Rebase: Add Client::check_reply_parameters. 2024-02-03 11:37:40 +01:00
David Guillen Fandos
49df33acd7 Rebase: Simplify JsonChat usage. 2024-02-03 11:28:37 +01:00
levlam
4b13a450ae Add Message.quote and Message.quote_entities. 2024-02-03 11:24:11 +01:00
levlam
ab0f7878bb Add Message.external_reply. 2024-02-03 11:24:11 +01:00