Commit Graph

452 Commits

Author SHA1 Message Date
levlam
558305046c Use get_story_force if appropriate. 2023-07-10 16:50:01 +03:00
levlam
82b524de0a Create chats for received story identifiers. 2023-07-10 16:39:49 +03:00
levlam
4ae098c3a8 Add StoryFullId to dependencies. 2023-07-10 15:36:38 +03:00
levlam
aed9823659 Fix dup_story_content. 2023-07-05 15:40:08 +03:00
levlam
b04eeb4d87 Ignore parsed MessageContent of unknown type. 2023-07-03 15:46:31 +03:00
levlam
2bf47d0809 Minor fixes. 2023-07-01 16:22:01 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
3a3ae9eabf Explicitly pass Td to Location constructor and don't register locations for bots. 2023-06-28 19:01:00 +03:00
levlam
d3e0372b14 Use Chat as owner of stories in td_api. 2023-06-27 21:51:36 +03:00
levlam
8d7262836b Remove incorrect "ignored" comments in conversion from secret chat objects. 2023-06-23 16:28:48 +03:00
levlam
c34b4c3ef7 Add storyVideo.is_animation. 2023-06-23 16:06:02 +03:00
levlam
ebac96e7ec Add get_message_content_story_full_id. 2023-06-22 22:39:47 +03:00
levlam
59477f8f98 Improve field names. 2023-06-15 13:44:09 +03:00
levlam
29a1b7e3d6 Support media timestamps in replies to stories. 2023-06-13 18:20:26 +03:00
levlam
f182e105eb Register web page story sender users for UserFromMessage. 2023-06-13 17:14:19 +03:00
levlam
64badee6f2 Add get_message_content_min_user_ids and register story sender. 2023-06-13 13:46:12 +03:00
levlam
686f0eabe6 Add td_api::messageStory and td_api::inputMessageStory. 2023-06-12 19:23:58 +03:00
levlam
71faaae22f Support precise video duration. 2023-06-05 14:33:00 +03:00
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