Commit Graph

5672 Commits

Author SHA1 Message Date
levlam
d765c58d86 tg_cli: improve variable name. 2021-02-19 13:13:39 +03:00
levlam
fd190bc9bd Process updateChatParticipant and updateBotStopped. 2021-02-19 02:16:50 +03:00
levlam
ad43c83bce Add DialogParticipant constructor from telegram_api::ChatParticipant. 2021-02-19 01:38:16 +03:00
levlam
b9b6b05bae Don't allow changing auto-delete in Saved Messages and 777000. 2021-02-18 22:14:10 +03:00
levlam
7eb751083c Add can_inite_users right check just in case. 2021-02-18 16:24:22 +03:00
levlam
998d022b2d Add td_api::chatEventVoiceChatParticipantVolumeLevelChanged. 2021-02-18 13:47:33 +03:00
levlam
9b62afbea2 Add td_api::toggleSupergroupIsBroadcastGroup. 2021-02-17 01:06:35 +03:00
levlam
498476a95d Update documentation. 2021-02-16 18:59:13 +03:00
levlam
5955b43d88 Add supergroup.is_broadcast_group flag. 2021-02-16 18:27:17 +03:00
levlam
12ead50446 Add number of revoked invite link to chatInviteLinkCount. 2021-02-16 15:31:58 +03:00
levlam
79d2929584 support ttl_period for service messages. 2021-02-16 15:26:52 +03:00
levlam
f92339de85 Support telegram_api::messageActionSetMessagesTTL. 2021-02-16 15:15:45 +03:00
levlam
65d4229352 Allow to specify report text for all report chat reasons. 2021-02-12 20:14:59 +03:00
levlam
c1a14d887b Don't send updateDeleteMessage twice for the same message. 2021-02-10 14:36:33 +03:00
levlam
d6da217b9a Allow changing message TTL in non-secret chats. 2021-02-09 18:51:08 +03:00
levlam
5ac0a9bd8a Add chatEventMessageTtlSettingChanged. 2021-02-09 18:10:20 +03:00
levlam
4423ccbde2 Add invite_link_changes filter for chat event log. 2021-02-09 17:59:57 +03:00
levlam
54b7b0f6e3 Return message ttl for ordinary self-destructing messages. 2021-02-09 17:51:20 +03:00
levlam
cc50f3b143 Support receiving message TTL setting for all chat types. 2021-02-09 17:35:48 +03:00
levlam
2913b7288b Add MessageTtlSetting class. 2021-02-09 16:05:00 +03:00
levlam
876932843a Support automatic deletion of messages by ttl_period. 2021-02-08 23:41:17 +03:00
levlam
bf42d62f1e Unify ResultHandler subclass names and logged name. 2021-02-08 15:56:08 +03:00
levlam
c226a204fa Diallow invite link deletion for bots. 2021-02-08 15:34:05 +03:00
levlam
f46ff6e1cd Update permanent invite link after it is revoked. 2021-02-05 19:23:29 +03:00
levlam
4cb8af0584 Support revoking permanent chat invite links. 2021-02-05 18:56:44 +03:00
levlam
313a58b952 Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl. 2021-02-05 14:21:16 +03:00
levlam
9d9e093640 Remove inviteLink.is_expired field. 2021-02-05 03:04:16 +03:00
levlam
fef8bd151c Support some new chat events. 2021-02-05 02:54:34 +03:00
levlam
342b4e45ca Support deletion of all revoked invite links created by other administrator. 2021-02-05 02:17:12 +03:00
levlam
4d8fad1e81 Use httpUrl as return type of getProxyLink. 2021-02-05 01:46:55 +03:00
levlam
45dfb58cc5 Save autologin domains between restarts. 2021-02-05 01:40:53 +03:00
levlam
2193928cf6 Add getExternalLink method. 2021-02-04 14:36:11 +03:00
levlam
1403815148 Support t.me/+ links. 2021-02-03 22:35:43 +03:00
levlam
f2f68aa3b3 Add td_api::getChatInviteLinkCounts. 2021-02-02 19:23:45 +03:00
levlam
0cdb0388ee Improve TTL spelling. 2021-02-02 02:33:48 +03:00
levlam
642a9a9efb Update layer to 124. 2021-02-02 02:00:28 +03:00
Arseny Smirnov
143846f09b cryptography draft fixes 2021-02-24 18:43:24 +03:00
levlam
9c478e21e7 Improve example README. 2021-02-18 13:24:01 +03:00
aCLr
cf5eb35ece
change rust-tdlib link (#1421) 2021-02-18 13:20:40 +03:00
levlam
4b2db994d0 Postpone group call actions till join if possible. 2021-02-16 13:08:58 +03:00
levlam
d84aa0927f Don't add self-participant before join group call if don't have self-user info. 2021-02-15 23:16:39 +03:00
levlam
70ee36a493 Improve join_group_call. 2021-02-15 23:00:30 +03:00
levlam
f9ef4c0c36 Don't rejoin voice chats in left basic groups. 2021-02-15 19:27:45 +03:00
levlam
aa2f645d74 Simplify get_group_call_participant usage. 2021-02-15 18:18:34 +03:00
levlam
5f54e72444 Process toggleGroupCallMuteNewParticipants immediately and sync in background. 2021-02-15 18:12:50 +03:00
levlam
70b81f81d4 Drop pending groupCallParticipant fields in case of an error. 2021-02-15 16:06:07 +03:00
levlam
4f41d58c50 Don't treat GROUPCALL_NOT_MODIFIED as an error. 2021-02-15 15:37:36 +03:00
levlam
d519040cd9 Make flag in td_api::groupCall more useful. 2021-02-15 15:28:58 +03:00
levlam
c8157edf57 Don't save message file source IDs for bots. 2021-02-14 01:35:40 +03:00
levlam
578b8a4dec Minor performance improvements. 2021-02-14 01:25:17 +03:00