Commit Graph

537 Commits

Author SHA1 Message Date
levlam
cfa7313aed Update version to 7.6. 2024-07-01 01:32:50 +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
ecfce9042b Update version to 7.5. 2024-06-18 01:01:31 +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
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
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
levlam
4639fbfb64 Update TDLib to 1.8.24. 2024-01-29 02:03:25 +03:00
levlam
4942b4346b Print log before dumping stack trace to avoid log overwriting by other threads. 2024-01-18 14:34:05 +03:00
levlam
fc1de34374 Allow to pass empty ReplyParameters. 2024-01-01 17:47:09 +03:00
levlam
ade0841d41 Update version to 7.0. 2023-12-28 00:42:15 +03:00
levlam
ee59941ca3 Add Message.users_shared field. 2023-12-22 23:32:52 +03:00
levlam
0fbcfa7eba Support request_users.max_quantity. 2023-12-22 23:26:43 +03:00
levlam
047a3e9922 Support channel emoji status. 2023-12-21 22:30:01 +03:00
levlam
0ec870fd77 Add setMessageReaction method. 2023-12-20 17:57:39 +03:00
levlam
56d2dc6392 Add "message_reaction_count" update. 2023-12-20 17:45:26 +03:00
levlam
82e48a0908 Add "message_reaction" updates. 2023-12-20 17:35:18 +03:00
levlam
1320b03bc5 Add Message.giveaway_winners. 2023-12-20 16:44:01 +03:00
levlam
1f512433ef Add "has_public_winners" and "prize_description" giveaway fields. 2023-12-20 16:19:06 +03:00
levlam
fd87df5fed Add fields chat.profile_accent_color_id and chat.profile_background_custom_emoji_id. 2023-12-20 16:09:15 +03:00
levlam
fa0bc023fb Update TDLib to 1.8.23. 2023-12-20 16:05:37 +03:00
levlam
f5f7bbb57f Add Chat.available_reactions. 2023-12-20 15:14:10 +03:00
levlam
57cad9c0a8 Add copyMessages method. 2023-12-12 14:48:35 +03:00