Commit Graph

543 Commits

Author SHA1 Message Date
levlam
127964a3f2 Add User.has_main_web_app. 2024-07-30 13:43:00 +03:00
levlam
16de9313b0 Support unpinChatMessage for business messages. 2024-07-30 13:10:46 +03:00
levlam
94aa9d390b Support pinChatMessage for business messages. 2024-07-30 13:05:42 +03:00
levlam
3a53074483 Update TDLib to 1.8.34. 2024-07-30 12:28:40 +03:00
levlam
e87d1ef00e Add Message.refunded_payment. 2024-07-07 00:16:25 +03:00
levlam
d4bb6785af Update TDLib to 1.8.33. 2024-07-07 00:12:40 +03:00
levlam
5e11cbe53e Add sendPaidMedia. 2024-06-30 14:16:49 +03:00
levlam
4fe3ba9c99 Add Message.paid_media and ExternalReplyInfo.paid_media. 2024-06-30 14:05:09 +03:00
levlam
3e1fee6d7a Add ChatFullInfo.can_send_paid_media for channels. 2024-06-30 13:33:06 +03:00
levlam
546777ab24 Add invoice_payload to "user" transaction partner. 2024-06-30 13:27:55 +03:00
levlam
76006f4a2e Add "telegram_ads" transaction partner. 2024-06-30 13:26:14 +03:00
levlam
f47e0a9fde Update TDLib to 1.8.32. 2024-06-30 12:43:03 +03:00
levlam
1873bf58f3 Simplify some calls to fail_query_with_error. 2024-06-26 00:46:00 +03:00
levlam
025884aeca Add getStarTransactions. 2024-06-15 00:57:27 +03:00
levlam
a879acc49d Add check_business_connection_chat_id. 2024-06-11 23:12:04 +03:00
levlam
bd31c2a9ce Support stopPoll for business messages. 2024-06-11 23:02:03 +03:00
levlam
86fb9bc8b8 Support editMessageReplyMarkup for business messages. 2024-06-11 22:53:41 +03:00
levlam
f75e2155c1 Support editMessageCaption for business messages. 2024-06-11 22:50:39 +03:00
levlam
6c01c85d27 Support editMessageMedia for business messages. 2024-06-11 22:44:26 +03:00
levlam
c8079841ed Support editMessageLiveLocation for business messages. 2024-06-11 22:41:59 +03:00
levlam
7ee51f8c6d Support editMessageText for business messages. 2024-06-11 22:27:25 +03:00
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
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
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
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
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
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
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