Commit Graph

422 Commits

Author SHA1 Message Date
levlam
f8853fb938 Skip new entities for some bots. 2023-05-01 13:44:41 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
e0bee7757b Improve get_message_user_ids and get_message_channel_ids. 2023-04-12 01:33:48 +03:00
levlam
00ed2f85b8 Support dark_theme_brightness for chat backgrounds. 2023-04-10 18:45:26 +03:00
levlam
13d0536db1 Add chat.background. 2023-04-10 17:23:21 +03:00
levlam
64b2cb4e12 Add class BackgroundInfo. 2023-04-10 16:32:59 +03:00
levlam
0823c902bd Add td_api::messageChatSetBackground. 2023-04-10 14:12:35 +03:00
levlam
2e5bab9c48 Add messageGiftedPremium.gifter_user_id. 2023-04-03 21:20:41 +03:00
levlam
c62bbfb583 Remove expected error logging. 2023-04-03 18:00:44 +03:00
levlam
910c5ee09c Add cryptocurrency price to messageGiftedPremium. 2023-03-21 14:54:36 +03:00
levlam
a45d2de881 Update layer to 158. 2023-03-21 14:11:43 +03:00
levlam
b427a7b9f6 Add send_emoji to get_input_media. 2023-02-27 02:12:21 +03:00
levlam
b4a86fb299 Add MessageWebViewWriteAccessAllowed. 2023-02-22 12:24:43 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
47724bd4d8 Improve log message spelling. 2023-02-26 13:08:03 +03:00
levlam
5a39bb4952 Use error code returned by get_input_file_id. 2023-02-09 18:31:02 +03:00
levlam
ed32026958 Increase MessageUnsupported version. 2023-01-30 21:47:54 +03:00
levlam
0feb0f15ce Improve names of methods and message contents related to sharing user/chat with a bot. 2023-01-23 18:19:35 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
4922b0c776 Add messageUserChosen. 2023-01-11 20:03:43 +03:00
levlam
06a432a373 Add td_api::messageChatChosen. 2023-01-10 16:20:30 +03:00
levlam
ad8ecec67c Support separate chat permissions for different media types. 2023-01-06 14:16:34 +03:00
levlam
050a11ece7 Update layer to 152. 2023-01-06 12:42:16 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
e4c8eb376e Fix spoiler in on_upload_message_media_success. 2022-12-30 02:39:31 +03:00
levlam
86f0de23f5 Improve message-TTL-related log messages. 2022-12-28 21:59:41 +03:00
levlam
90b6403e86 Improve message_auto_delete_time field and class names. 2022-12-28 21:46:16 +03:00
levlam
a77c7d566c Avoid duplicate 't' and 'i' photo sizes. 2022-12-28 20:39:24 +03:00
levlam
36fc74ea7c Rename message.ttl to self_destruct_timer. 2022-12-28 17:09:39 +03:00
levlam
1ff40ce132 Rename message TTL to auto-delete timer when appropriate. 2022-12-28 17:02:41 +03:00
levlam
c05a6d9631 Improve class name. 2022-12-26 23:33:01 +03:00
levlam
eff7675749 Support spoilers for messageAnimation. 2022-12-26 14:20:48 +03:00
levlam
b0446523eb Support sending of media with spoiler. 2022-12-23 18:27:38 +03:00
levlam
3f55703211 Register suggested profile photos. 2022-12-23 13:19:56 +03:00
levlam
f40a6ff477 Add StickerTypeFullInfo. 2022-12-21 23:25:31 +03:00
levlam
14dd89e804 Disable sending of media with spoilers for now. 2022-12-21 19:14:32 +03:00
levlam
b8f4df741b Remove PhotoWithSpoiler and VideoWithSpoiler file types. 2022-12-21 17:37:16 +03:00
levlam
94e678dbc8 Add has_spoiler flag to messagePhoto and messageVideo. 2022-12-20 18:06:21 +03:00
levlam
d611b21f17 Increase MessageUnsupported version to load photo and video with spoiler. 2022-12-20 13:05:28 +03:00
levlam
02db4f2fac Support sending of photos and videos with spoiler animation. 2022-12-15 22:41:55 +03:00
levlam
cc52263026 Add td_api::messageBotWriteAccessAllowed 2022-12-14 21:13:48 +03:00
levlam
ebeb524f70 Add messageSuggestProfilePhoto. 2022-12-09 14:13:37 +03:00
levlam
8e7d5f5594 Update layer to 151. 2022-12-08 20:58:37 +03:00
levlam
f1eedfaa47 Simplify some usages of optional TL fields. 2022-12-18 22:15:57 +03:00
levlam
b10ad9ffc4 Increase MessageUnsupported version. 2022-12-10 23:13:59 +03:00
levlam
20ba802e48 Add messageForumTopicIsHiddenToggled. 2022-11-30 15:39:29 +03:00
levlam
62e721fa6f Add messageChatSetTtl.from_user_id. 2022-11-29 14:02:05 +03:00
levlam
0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +03:00
levlam
3143d0ead7 Add search text for topic service messages. 2022-11-17 13:22:24 +03:00
levlam
d8c36c8062 Improve handling of too long messages and captions. 2022-11-03 16:46:50 +03:00