Commit Graph

112 Commits

Author SHA1 Message Date
levlam
4007386372 Add ChatFull.can_set_username.
GitOrigin-RevId: 1ccb89aaf6df6d9f70167ba1ff42eeef17a2d4cc
2019-09-19 06:27:05 +03:00
levlam
94908d20a1 Add UserFull.can_pin_messages.
GitOrigin-RevId: 11376497b904a9a8f36ef7cab66fd7aeac83ce7d
2019-09-19 05:43:18 +03:00
levlam
7619eaa0f0 Add get_user_full_force.
GitOrigin-RevId: 3486e0097a343b996a943555acfcba5afdbc61a9
2019-09-19 04:21:40 +03:00
levlam
f934ccbd50 Add get_chat_full_force.
GitOrigin-RevId: 7c33e468065589cc79a6c693afb8a9aae0ec9697
2019-09-19 03:58:54 +03:00
levlam
80e3841ec4 Add get_channel_full_force.
GitOrigin-RevId: cc2d1de9fa7859b1cead9562ce1be1ff9113788a
2019-09-19 03:07:44 +03:00
levlam
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
ae574ceebc Better function names.
GitOrigin-RevId: 7f263a23e4fbc2da9715605599fbb06a3049b9ea
2019-09-18 02:21:29 +03:00
levlam
3377c38073 Store *Full to database.
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
2019-09-18 02:14:24 +03:00
levlam
9e51fcdb3f Add source to send_get_*_full_query.
GitOrigin-RevId: 5fdb3cc98f901ddfdcb562ba2c452fc5e2ed13cc
2019-09-15 05:06:11 +03:00
levlam
74219aa2d3 Add td_api::setChatDiscussionGroup.
GitOrigin-RevId: 59c2ec4a0b81973f4672ed2f3ca2a3fd01f36279
2019-09-14 05:35:56 +03:00
levlam
1021269634 Automatically update list of suitable discussion chats.
GitOrigin-RevId: e1ef89b9c0dcf76bf63f508c9806d5764e2b972e
2019-09-13 20:58:09 +03:00
levlam
3846d56680 Add td_api::getSuitableDiscussionChats.
GitOrigin-RevId: 7ba20b857f9d34db4670af12907fe17053047515
2019-09-13 20:25:17 +03:00
levlam
9bf6b2c78a Allow read access to linked channels.
GitOrigin-RevId: 24003a60c80a8e61354ba647fb616e92f88c6e48
2019-09-13 05:40:02 +03:00
levlam
867c0f615b Add linked_chat_id support.
GitOrigin-RevId: 220feb41f7557dafc02bf0f04f43b8b15d50e2d9
2019-09-13 04:11:21 +03:00
levlam
936a84c025 Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
2019-08-19 04:51:03 +03:00
levlam
9fa88eb0ec Remove user/channel debug_source.
GitOrigin-RevId: a9d8fc3841d04e448ee6ef9a34b084d1d302257c
2019-10-18 01:17:46 +03:00
levlam
5104759c6a Update private chat permissions when user is received.
GitOrigin-RevId: 3fa3df0aa915130eec167607905b76006dd0b706
2019-09-02 20:32:51 +03:00
levlam
cea15d975a Use send_closure_later in on_user_online_timeout_callback to avoid accidental access to MultiTimoeut.
GitOrigin-RevId: b488a006dcbe17d661e18a6e578c08cd070b84ea
2019-08-29 02:17:52 +03:00
levlam
2fd851dfe2 Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
Arseny Smirnov
089d73953c FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
a7005ee358 Add reload_user.
GitOrigin-RevId: f13879bb21e7978f009f5eb8e0f768c089a1061e
2019-07-30 15:10:02 +03:00
levlam
912ab17351 Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
2019-07-26 00:05:16 +03:00
levlam
666e668163 Add support for is_scam mark for users and channels.
GitOrigin-RevId: f34b2ed15d3cb01f3a3da51673e8aa0ac98ad874
2019-06-18 16:41:53 +03:00
levlam
4a8411329f Add source to ContactsManager::do_update_user_photo.
GitOrigin-RevId: 086ca18898448cbcd44977965a0f8f0ddc799ead
2019-06-17 03:39:00 +03:00
levlam
bd13368fa8 Fix chat invite link photo.
GitOrigin-RevId: bf4fa46201598412804880dd3c19d800c93acd5e
2019-06-17 02:00:54 +03:00
levlam
8117f0fb39 Support min_access_hash.
GitOrigin-RevId: b2de0f02f75683a08961cdb1c0ceb719574a9e67
2019-06-17 01:35:12 +03:00
levlam
30e96aa8c8 Improve applying chat full participants.
GitOrigin-RevId: 4280f3daa15b4120e81eb3891adced8ff5f97c1c
2019-06-13 00:21:30 +03:00
levlam
b4b9778947 Add td_api::chatMembersFilterContacts.
GitOrigin-RevId: 2f8f18da88a0de2c5df5bd1d0207d424b6b4e89b
2019-05-12 21:49:21 +03:00
levlam
b641382eab Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
2019-05-12 21:19:03 +03:00
levlam
441d224878 Skip non-contacts when searcing contacts on channels.
GitOrigin-RevId: 9db95ac20b76e3f274eb7dbc758e00f3b84d2cd4
2019-05-04 03:15:49 +03:00
levlam
eed517a2e7 Fix bot permissions.
GitOrigin-RevId: 86929755cff1673c3404beeff2a6bfbfcb2e2365
2019-03-22 18:32:06 +03:00
levlam
5e69f957f3 Add get_cha{t,nnel}_permissions.
GitOrigin-RevId: 7d00023ed7497f89cc3895c9a1d4f267f7332922
2019-03-22 15:23:44 +03:00
levlam
e71b749a79 Add updateChatDefaultBannedRights support.
GitOrigin-RevId: 1e938066789b61f5f14003c268a62965fcc31a30
2019-03-20 16:32:27 +03:00
levlam
454d8d3987 Add td_api::chatPermissions support.
GitOrigin-RevId: 38cc232035e54665e140772b13316c31ecc38df6
2019-03-20 15:28:06 +03:00
levlam
ada302aaf2 Support default restricted rights in channels.
GitOrigin-RevId: 71ca596fcaaa31217bd1e8431d3e6202ebcd43f0
2019-03-19 18:55:10 +03:00
levlam
e6d968963b Support new rights in chats.
GitOrigin-RevId: 0cfc8de697a1eed2a323907c36b36b6b634e42b6
2019-03-19 18:13:16 +03:00
levlam
ed3e4b7d67 Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
2019-03-18 05:24:25 +03:00
levlam
3ecf990ad6 Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
2019-03-15 16:52:55 +03:00
levlam
078417d423 Add mtpeer.access_hash parsing in push notifications.
GitOrigin-RevId: bba57f1a73627383a2e363c821475cdc6a3dcaad
2019-04-04 21:50:26 +03:00
levlam
606b427673 Invalidate cache of getGroupsInCommon when count is changed or in 1 hour.
GitOrigin-RevId: e57edb01d3fe3a21e208e8247ca666284a755bcb
2019-04-01 22:38:17 +03:00
levlam
54aaea0e13 Fix constant type.
GitOrigin-RevId: 43068e874c4b0639657716acc20a4b444c2c4e73
2019-03-25 20:40:28 +03:00
levlam
27f6634c50 Fix total_count when receive full member list.
GitOrigin-RevId: 65d757a8489d5f5207e43d267b7177cc97c95950
2019-03-25 19:18:04 +03:00
levlam
f9a0b34cb2 Disallow to report support accounts.
GitOrigin-RevId: 40657f51e7b4ca90e930b406d4903e132865babd
2019-03-17 18:09:28 +03:00
levlam
3e0fb81e09 Bring users online locally after typing or sending/editing a message.
GitOrigin-RevId: 2bc4e0c29083f1dca6277498118f1dd6932ccda3
2019-03-15 02:29:36 +03:00
levlam
f0d6892453 Add get_user_was_online method.
GitOrigin-RevId: 64e6acd5295b4679f0badb33c419c727a4a2c57c
2019-03-15 00:57:09 +03:00
levlam
e77a6d8397 Repair online member count in small supergroups by getting they member list.
GitOrigin-RevId: bf52347560b19668c302767498b63b55800f3779
2019-03-12 22:05:33 +03:00
levlam
9ff02e7435 Speculatively change cached supergroup member list.
GitOrigin-RevId: 7d908f39f10b8480310960c54ec2610febd0b018
2019-03-12 17:52:10 +03:00
levlam
a893653ba6 Pass list of members in speculative_*channel_participant.
GitOrigin-RevId: 765ef5abbb2a2c139810dda32aa1e2c1fe5e4009
2019-03-12 16:20:53 +03:00
levlam
e406d6ea41 Update dialog online member count when receive member list.
GitOrigin-RevId: e1178f3c5dabc183c80099d0e98e0c0d3cf56762
2019-03-12 14:52:37 +03:00
levlam
457650ed74 Add update_dialog_online_member_count method.
GitOrigin-RevId: 5195f98ab61692355fce12e5ac804cdb2ff66d1a
2019-03-12 03:46:44 +03:00