Commit Graph

732 Commits

Author SHA1 Message Date
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
37ccac3867 Add methods for managing an RTMP URL for a video chat. 2022-02-25 17:58:03 +03:00
levlam
83d26f3335 Add parameter only_preview to sendMessageAlbum. 2022-02-22 22:42:46 +03:00
levlam
8772984a69 Add td_api::getGroupCallStreams. 2022-02-22 17:42:58 +03:00
levlam
719bdb1e08 Allow to create RTMP video chats. 2022-02-22 16:37:11 +03:00
levlam
4e1f2cbf8b Add td_api::searchOutgoingDocumentMessages. 2022-02-22 15:58:16 +03:00
levlam
a92d1b2ae4 Add td_api::searchUserByPhoneNumber. 2022-02-18 18:13:10 +03:00
levlam
ad22bf1174 Add two new chat report reasons. 2022-02-18 16:12:39 +03:00
levlam
02c5fcd476 Don't add not downloaded files to recent downloads. 2022-03-03 21:11:34 +03:00
levlam
4c3755cdce tg_cli: add FileId. 2022-02-19 02:42:18 +03:00
levlam
b20a98036f File Downloads API draft. 2022-02-18 01:37:04 +03:00
levlam
a5ed61393c Improve logging. 2022-02-17 18:42:50 +03:00
levlam
15f27455c5 Move other big classes inside FlatHashMap to unique_ptr. 2022-02-11 19:27:32 +03:00
levlam
1b8844b300 tg_cli: improve sticker set list output. 2022-02-11 18:02:11 +03:00
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
5d58734568 tg_cli: simplify sending of photos with caption. 2022-02-06 01:42:43 +03:00
levlam
b1b945e239 Minor fixes. 2022-01-31 15:56:44 +03:00
levlam
3150b3d491 Add readAllChatReactions. 2022-01-30 12:37:24 +03:00
levlam
3739c5b92f Replace translateMessage with translateText. 2022-01-29 23:43:57 +03:00
levlam
fd8d15e2d2 Add td_api::searchMessagesFilterUnreadReaction. 2022-01-28 19:12:33 +03:00
levlam
6ebb83a194 Improve class names and documentation. 2022-01-27 01:52:21 +03:00
levlam
79f1890613 Use td_api::StickerType instead of td_api::StickerFormat. 2022-01-26 17:53:38 +03:00
levlam
ba5c326ba8 Support sending big reactions. 2022-01-26 16:41:41 +03:00
levlam
1901eafe8a Add td_api::getMessageAvailableReactions. 2022-01-26 15:25:03 +03:00
levlam
a972252a46 Support creation of WEBM sticker packs. 2022-01-25 16:56:10 +03:00
levlam
2e7205d391 tg_cli: improve get_delimiter. 2022-01-24 18:22:57 +03:00
levlam
6860a7855b tg_cli: autosplit. 2022-01-24 17:40:16 +03:00
levlam
ce19ad822b Add td_api::setMessageReaction. 2022-01-21 20:39:55 +03:00
levlam
ebb78d3c1b Add td_api::getMessageChosenReactions. 2022-01-21 16:46:16 +03:00
levlam
8339a5818e Add td_api::translateMessage. 2022-01-14 22:28:28 +03:00
levlam
b0ad4e5e62 Add td_api::setChatAvailableReactions. 2022-01-05 16:23:35 +03:00
levlam
ad431a612e tg_cli: maintain authorization state. 2022-01-02 12:19:14 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
330100d67c tg_cli: use struct UserId instead of as_user_id. 2021-12-31 14:56:57 +03:00
levlam
e8f039ff0a tg_cli: add struct MessageId. 2021-12-31 14:31:43 +03:00
levlam
f32c0417b4 tg_cli: use struct ChatId instead of as_chat_id. 2021-12-31 14:20:34 +03:00
levlam
d64e507724 tg_cli: use get_args instead of to_integer. 2021-12-31 10:25:40 +03:00
levlam
ed766a4d2f Add flag messageSendOptions.protect_content. 2021-12-28 18:19:19 +03:00
levlam
a81ab8abba Remove viewSponsoredMessage in favor of viewMessages. 2021-12-27 18:17:02 +03:00
levlam
23d537052e Use unique 53-bit identifiers for sponsored messages. 2021-12-27 16:49:11 +03:00
levlam
5f965a1ea4 Don't try to use "fr-FR" locale, because check for its existence is
broken with musl: https://www.openwall.com/lists/musl/2017/11/08/1.
2021-12-24 15:12:14 +03:00
levlam
a8b22881e0 Improve the name of suggestedActionViewChecksHint. 2021-12-23 20:00:41 +03:00
levlam
dd8b1169b1 Rename the method to endGroupCall. 2021-12-23 13:00:05 +03:00
levlam
4f2689d44a Rename expire_date to expiration_date. 2021-12-22 13:57:47 +03:00
levlam
ae1d1867f2 Remove multiple sponsored messages in a chat. 2021-12-21 14:19:48 +03:00
levlam
4e29d0e232 Rename message_ttl_setting to message_ttl. 2021-12-21 14:06:15 +03:00
levlam
81cebe39eb Improve naming of selected message sender in a chat. 2021-12-21 13:49:26 +03:00
levlam
7334b262fb Remove unneeded logging on instance closing. 2021-12-20 21:11:02 +03:00