Commit Graph

405 Commits

Author SHA1 Message Date
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
levlam
eb559e3671 Add separate messageForumTopicIsClosedToggled. 2022-10-27 19:40:37 +03:00
levlam
f79e67cab8 Apply edited data from service message about forum topics. 2022-10-27 19:03:58 +03:00
levlam
956d816721 Increase MESSAGE_UNSUPPORTED version. 2022-10-24 17:38:42 +03:00
levlam
0d05683771 Support waveform for video notes. 2022-10-20 23:23:40 +03:00
levlam
14b80ecd6f Support speech recognition for video notes. 2022-10-20 21:31:00 +03:00
levlam
02ed5e4f1e Register video note messages. 2022-10-19 18:30:25 +03:00
levlam
c941f488a0 Proxy speech recognition methods through MessagesManager. 2022-10-19 17:56:18 +03:00
levlam
5e0103c442 Add messageForumTopicEdited. 2022-10-18 22:16:03 +03:00
levlam
d68836f482 Add messageForumTopicCreated. 2022-10-18 16:08:53 +03:00
levlam
4067ba66d3 Improve backward compatibility. 2022-10-17 15:44:30 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
7115f19332 Suppress expected warnings. 2022-10-06 18:31:01 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
6917d9c36f Improve secret chat schema constructor naming. 2022-09-28 12:17:04 +03:00
levlam
75a021e836 Really avoid force_reuse even for message photos. 2022-09-27 20:17:30 +03:00
levlam
bb69175aab Add InputInvoice::is_equal_but_different. 2022-09-24 22:55:03 +03:00
levlam
b10983acfa Add InputInvoice::need_reget. 2022-09-24 22:45:29 +03:00