Commit Graph

5076 Commits

Author SHA1 Message Date
levlam
6006f92e96 tg_cli: add smad.
GitOrigin-RevId: 129344085b2f9e54ee33784d6c1c2665215a0329
2020-10-23 19:07:42 +03:00
levlam
7c5175b78a Improve error message.
GitOrigin-RevId: dfa935cc2c2f65d61a969c8a455a47145f97b8fb
2020-10-23 15:25:46 +03:00
levlam
3eee4654f7 Add message to td_api::chatEventMessageUnpinned.
GitOrigin-RevId: f7c90fa7d782eb57288de582094688252f230b43
2020-10-23 14:04:00 +03:00
levlam
e37fde1baa tg_cli: add searchMessagesFilterPinned.
GitOrigin-RevId: fd44a076dca80bee685d199c78e98bfa6c25d860
2020-10-23 13:42:08 +03:00
levlam
1049ae0630 Disallow pinning service messages.
GitOrigin-RevId: 18c23b8dbfe97e60e27fc605a145e11356231c38
2020-10-23 02:25:35 +03:00
levlam
65246318bb Allow to pin chat messages only for self in private chats.
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
2020-10-23 02:12:32 +03:00
levlam
793e8409de Add td_api::unpinAllChatMessages.
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
2020-10-23 01:56:06 +03:00
levlam
313eeeedcc Return back updating of last pinned message ID on new pinned message.
GitOrigin-RevId: 03dfeb882c56815a4c5e66af1280df232f2071f6
2020-10-21 14:56:05 +03:00
levlam
35045bf18e Fix get_dialog_pinned_message.
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
2020-10-21 02:23:29 +03:00
levlam
e783b0c2ec Enable background animation for slot machines with all reels equal.
GitOrigin-RevId: e6d0097ff049ece01be766d382defde3071a887b
2020-10-20 21:40:05 +03:00
levlam
4f7791121f Update pinned message count when message.is_pinned changed.
GitOrigin-RevId: 924aa4f4fdd009d2eb8b6603e10d19566d346444
2020-10-20 20:44:46 +03:00
levlam
5442143aba Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
2020-10-20 20:28:37 +03:00
levlam
39fdab7b56 Remove chat.pinned_message_id field.
GitOrigin-RevId: 2a22d0eff8258e33aa7efd7b6f1daccdbcba95f9
2020-10-20 20:22:34 +03:00
levlam
31fbeaa2d0 Fix some pinned_message_id usages.
GitOrigin-RevId: 6c1952922e39214504705e6c4fb04474aba68c46
2020-10-20 19:58:59 +03:00
levlam
a9b7366296 Synchronize chat.pinned_message_id with message.is_pinned changes.
GitOrigin-RevId: 7d5debbdd6d44af3209c75745f49ad4a67b7a523
2020-10-20 19:07:11 +03:00
levlam
14f5df397d Support unpinning chat messages.
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
2020-10-20 15:48:13 +03:00
levlam
01447bb3f3 Process Message.is_pinned updates.
GitOrigin-RevId: 5dd3c0545a295c9faf408a3dbf8fb2767e290e34
2020-10-20 15:08:36 +03:00
levlam
ec61ef8093 Support document and audio albums in push notifications.
GitOrigin-RevId: afeefd5ae91bbcf44dc18ad0815afa9c23cea613
2020-10-20 13:21:09 +03:00
levlam
44b9ce89b8 Update layer to 120.
GitOrigin-RevId: 6318c68a9df151edc3c198473aeaf895d89fc594
2020-10-20 02:48:19 +03:00
levlam
f2f214f46b Add searchMessagesFilterPinned.
GitOrigin-RevId: 322b7b59d91b0de47ac3bbc3734b1f81130fd152
2020-10-20 02:41:24 +03:00
levlam
ef09c6c5a9 Add message.is_pinned flag.
GitOrigin-RevId: 0449aaa0d12f29d722fbfcf4bad6d85f2212d819
2020-10-20 02:08:56 +03:00
levlam
9b8fc4b026 Add backward compatibility users for bots for all MessageSender objects.
GitOrigin-RevId: d91537e8d0fbf99d42b5dd05a34d923dd4e1597a
2020-10-19 22:15:40 +03:00
levlam
de1e5e0bd4 Add new message content type MessageLiveLocationApproached.
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
2020-10-19 20:44:09 +03:00
levlam
91cf083c94 Add add_message_sender_dependencies function.
GitOrigin-RevId: 70f6ac49b7769d707079956df858e98409704a90
2020-10-19 19:17:56 +03:00
levlam
9a3653a017 Add {en,dis}ableLiveLocationApproachingNotification methods.
GitOrigin-RevId: d1b92e683a4d663c33a09e8eb42a3aa62d134ef0
2020-10-19 18:44:55 +03:00
levlam
827ceb3ee5 Add audio, video and video note without duration to shared media.
GitOrigin-RevId: 924a2b8654e1d118b26c6174af3c0ebd327d454f
2020-10-19 14:31:18 +03:00
levlam
4b62900c0d Add chatMembersFilterMention.
GitOrigin-RevId: d84138594d1546275e5fea46d9cef42eac69449b
2020-10-19 14:06:35 +03:00
levlam
3f143b013a Use class for DialogParticipantsFilter.
GitOrigin-RevId: 56fc4ee7a35412db965c668f6a116ae29074f0a4
2020-10-19 01:48:31 +03:00
levlam
80d19432bf Add supergroupMembersFilterMention.
GitOrigin-RevId: 370a3880a371879aaefb41ad520917db3e33d679
2020-10-19 01:33:31 +03:00
levlam
27f63e9e2e Replace getBlockedChats with getBlockedMessageSenders.
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
2020-10-18 02:10:58 +03:00
levlam
0834d6164b Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
2020-10-18 01:54:32 +03:00
levlam
62fbb88969 Rename blockChatFromReplies to blockMessageSenderFromReplies.
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
2020-10-18 01:26:36 +03:00
levlam
2915129cd8 Allow message threads in all chats.
GitOrigin-RevId: 36652fbb9fb997fe41fd8bdf7b7172593fcc3629
2020-10-18 00:17:44 +03:00
levlam
30c17d200b Use MessageSender to represent recent repliers.
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
2020-10-18 00:07:39 +03:00
levlam
9fb26c4ea2 Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
2020-10-17 23:38:07 +03:00
levlam
9558b06021 Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
2020-10-17 22:47:47 +03:00
levlam
6e3eda2aa1 Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
2020-10-16 23:08:28 +03:00
levlam
d159ab4f52 Support audio-only and document-only albums.
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
2020-10-15 18:13:54 +03:00
levlam
af6fe68c00 Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
2020-10-15 17:21:15 +03:00
levlam
fd9732dcfa Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
2020-10-15 15:59:51 +03:00
levlam
33b7ba57a9 Add channelParticipantLeft support,
GitOrigin-RevId: 59d3ba88fb54c848d99425ec3ad95760d1765e3a
2020-10-14 22:35:30 +03:00
levlam
b1ed582737 Allow to specify a chat as a local message sender.
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
2020-10-14 21:47:20 +03:00
levlam
b07d9634d6 Allow to pass chat as MessageSender in searchChatMessages.
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
2020-10-14 14:41:04 +03:00
levlam
e32e1c66e7 Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
2020-10-13 19:40:22 +03:00
levlam
d968fd0bed Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
2020-10-26 15:25:34 +03:00
levlam
32f2338bd1 Update macOS export list.
GitOrigin-RevId: 61a3acb7f708825f835b7e5455ce0221b21225d3
2020-10-26 13:33:28 +03:00
levlam
881aa63014 Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
2020-10-24 14:52:18 +03:00
levlam
978863810c Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
2020-10-24 02:00:37 +03:00
levlam
0846e7aec5 Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
2020-10-24 01:45:04 +03:00
levlam
c768cd202a Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
2020-10-23 14:50:05 +03:00