Commit Graph

503 Commits

Author SHA1 Message Date
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
levlam
b039c8e927 Add forwardMessages method. 2023-12-12 14:37:51 +03:00
levlam
1c25870679 Add deleteMessages method. 2023-12-11 20:55:10 +03:00
levlam
83a49569ab Store identifier of inaccessible pinned message. 2023-12-04 15:32:17 +03:00
levlam
6fdb4d2416 Add Message.giveaway_completed. 2023-12-04 15:23:59 +03:00
levlam
9620d43700 Support quote position in reply parameters. 2023-12-04 14:31:45 +03:00
levlam
2c5ff070b3 Add class TextQuote. 2023-12-04 14:18:57 +03:00
levlam
59436578ee Update TDLib to 1.8.22. 2023-12-04 13:42:00 +03:00
levlam
e66ffb1556 Support chat in ReplyParameters. 2023-11-15 16:18:00 +03:00
levlam
1333e3d2ea Support quote in ReplyParameters. 2023-11-14 19:34:38 +03:00
levlam
fcb1814a0c Improve error message. 2023-11-14 19:22:17 +03:00
levlam
9f5b2fa537 Add class ReplyParameters and fields "reply_parameters". 2023-11-14 18:55:55 +03:00
levlam
095511b4eb Add Client::check_reply_parameters. 2023-11-14 18:10:00 +03:00
levlam
76c108bf3c Simplify JsonChat usage. 2023-11-14 13:07:14 +03:00
levlam
096f066024 Add Message.quote and Message.quote_entities. 2023-11-14 13:00:27 +03:00
levlam
52171bd90c Add Message.external_reply. 2023-11-14 12:56:32 +03:00
levlam
c729e35ddb Add Message.forward_origin. 2023-11-13 23:17:15 +03:00
levlam
c44f2c6c3c Store td_api::MessageOrigin in MessageInfo. 2023-11-13 22:41:02 +03:00
levlam
00d351c85c Add message.link_preview_options. 2023-11-13 22:08:07 +03:00
levlam
c39cc1b0ca Allow to specify link preview options for sent text messages. 2023-11-13 21:19:35 +03:00
levlam
f1674d26de Add getUserChatBoosts. 2023-11-13 20:16:11 +03:00
levlam
cbb0166e7c Add "chat_boost" and "removed_chat_boost" updates. 2023-11-13 19:51:05 +03:00
levlam
4bb770f31a Add Chat.background_custom_emoji_id. 2023-11-13 19:15:19 +03:00
levlam
282e31f5fc Add Chat.accent_color_id. 2023-11-13 19:08:21 +03:00
levlam
704a4272dd Add Chat.has_visible_history. 2023-11-13 18:56:15 +03:00
levlam
b34c595eb0 Simplify update*FullInfo handling. 2023-11-13 18:53:04 +03:00
levlam
84f74d8ad6 Add Message.giveaway. 2023-11-13 18:38:57 +03:00
levlam
6a5393a925 Add Message.giveaway_created. 2023-11-13 18:22:04 +03:00
levlam
b81f8065d7 Support td_api::textEntityTypeBlockQuote. 2023-11-09 19:15:42 +03:00
levlam
13d68879d3 Add Client::get_same_chat_reply_to_message_id(const MessageInfo *message_info). 2023-11-09 18:24:50 +03:00
levlam
96d0d1c668 Update version to 6.9.2. 2023-11-09 02:32:21 +03:00
levlam
0566e21f93 Keep reply to the top thread message for external replies. 2023-11-05 22:08:06 +03:00
levlam
34ed6c3512 Store td_api::messageReplyToMessage in MessageInfo. 2023-11-05 21:54:58 +03:00
levlam
9447ce07ea Minor improvements. 2023-11-04 02:39:57 +03:00
levlam
f169ae654c Slowly recheck webhook IP addresses after loading them from database. 2023-11-01 23:01:08 +03:00