Commit Graph

434 Commits

Author SHA1 Message Date
levlam
936c27577e Check that input content is non-empty inside corresponding functions. 2023-05-25 21:25:16 +03:00
levlam
b27b9caa89 Add FileType::VideoStory. 2023-05-25 14:19:54 +03:00
levlam
41da14fd17 Add and use get_story_content_duration. 2023-05-24 16:23:05 +03:00
levlam
f5208dd8bd Add video.preload_prefix_size. 2023-05-19 14:57:57 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00
levlam
38efb6d673 Support MessageSenders as poll voters. 2023-04-25 16:41:04 +03:00
levlam
dd7fe47db8 Add FileManager::copy_file_id. 2023-05-24 15:28:40 +03:00
levlam
fc82657626 Add create_photo function. 2023-05-22 15:35:25 +03:00
levlam
3d4b4ac014 Simplify inputMessageContent processing. 2023-05-21 23:28:34 +03:00
levlam
c70ef59cde Add get_input_thumbnail_photo_size. 2023-05-21 23:05:28 +03:00
levlam
c18818013a Add get_input_photo_size function. 2023-05-21 16:35:33 +03:00
levlam
1da3955271 Move Photo merging to merge_photos function. 2023-05-18 17:03:56 +03:00
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