Commit Graph

172 Commits

Author SHA1 Message Date
levlam
e8e546a721 Fix retries in getBasicGroupFullInfo.
GitOrigin-RevId: acd566f171998c130f0e3a0544b11e6430148f07
2020-03-30 22:20:34 +03:00
levlam
ce4b2a5082 Add td_api::setCommands.
GitOrigin-RevId: 13284b798b074402096a1c6d8fd149d67ded0df1
2020-03-28 01:43:52 +03:00
levlam
3d07b45a21 Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
2020-03-14 01:56:47 +03:00
levlam
3aa55a2e89 Add setLocation method.
GitOrigin-RevId: 43fef89f4d2175cf9ec5a20409979c988e781a28
2020-02-14 16:17:45 +03:00
levlam
3153e72d2f Add is_location_visible writable option.
GitOrigin-RevId: 1960a28d395c28a381be2bfd4ee739c473f0ea43
2020-02-14 15:44:56 +03:00
levlam
30eaa49ffd Update layer to 110. Add textEntityTypeBankCardNumber.
GitOrigin-RevId: 2d525fb0b6639f6b803d381a97f47bd91a12e23e
2020-02-13 18:07:40 +03:00
levlam
9964c011ec Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
2020-02-12 03:05:54 +03:00
levlam
ab8752cd20 Fix assigning of min_access_hash and phone number of min-users.
GitOrigin-RevId: 88662f9efba97d7679af7950782a98afc75470e9
2020-01-23 02:56:08 +03:00
levlam
f2211527db Add support for recent poll voters.
GitOrigin-RevId: f4260d87ae4a22d56b2024c07713ceeb37203895
2020-01-12 04:40:17 +03:00
levlam
5b26485ede Fix SplitSource build.
GitOrigin-RevId: 09aa9993fa30af502cae2cd0a5efe77444112b3c
2020-01-04 14:59:33 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
b85302f928 Add direct cache for linked channels.
GitOrigin-RevId: 1d994bd0aef96c379312a4be776b7a107cd175da
2019-12-23 18:37:11 +03:00
levlam
c093afbf68 Add source to get_channel_full.
GitOrigin-RevId: 4df2ac6b75f92359bf838226f707742764e92209
2019-12-20 17:17:06 +03:00
levlam
cefc10e0ba Send updates when ignored_restriction_reasons changes.
GitOrigin-RevId: 8c30b41dfb3a34c9eca3d8a7be4622ee172593de
2019-12-20 16:11:58 +03:00
levlam
369345f47c Add ContactsManager::for_each_secret_chat_with_user.
GitOrigin-RevId: bf81c627a6d4cf00ff5b6c8882079cce23d636f3
2019-12-19 00:31:01 +03:00
levlam
0594b9e795 Do not send chat actions to bots, deleted users and users with hidden online status.
GitOrigin-RevId: 8bd7c272b34ae6d977e58e89f0e76a158f02f150
2019-12-18 18:57:21 +03:00
levlam
9f60d0bae1 Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
2019-12-17 19:17:57 +03:00
levlam
3ec96b4c30 Remove channels from inactive channels list on new message or after leave.
GitOrigin-RevId: 8c9723ed489a714df0b70abe465c04eba1265b0e
2019-12-13 17:57:00 +03:00
levlam
71ddd7c7e3 Add getInactiveSupergroupChats method.
GitOrigin-RevId: 45b15965e50ab5d153a0de4e575fab6ac22eed11
2019-12-13 17:27:44 +03:00
levlam
5b1d363918 Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
2019-11-25 19:11:24 +03:00
levlam
e4eb01ad17 Automatically parse restriction reasons. Add option "ignore_platform_restrictions".
GitOrigin-RevId: 58de3f0dffb97b3d5c73aa3764aa5d48da1b709d
2019-11-24 01:37:46 +03:00
levlam
97cdacff7b Update slow_mode_next_send_date when a message is sent.
GitOrigin-RevId: d373e4685a4c6b717272844b50da8fb3139b2f64
2019-11-21 02:41:53 +03:00
levlam
2415d28b4e Send update after slow mode delay expires.
GitOrigin-RevId: 90b18c2a75f1e39ac967ebc3bbce84145769b2d8
2019-11-21 00:40:34 +03:00
levlam
fb90abcccc Add slow_mode_delay_expires_in.
GitOrigin-RevId: 118cd722f73982fc86823b28358f7111848d3b1a
2019-11-20 21:25:00 +03:00
levlam
9d4512d2bd Drop slow mode delay after is_slow_mode_enabled was changed to false.
GitOrigin-RevId: 63a492c8203eee4b99d2c3db4e6e9c63ba77fe73
2019-11-15 19:27:12 +03:00
levlam
119225ccef Add supergroupFullInfo.slow_mode_delay.
GitOrigin-RevId: 361741fc9f2e6a89be4b0a74749df5c035533d67
2019-11-15 16:48:01 +03:00
levlam
e12f7ac3e0 Add td_api::supergroup::is_slow_mode_enabled.
GitOrigin-RevId: cdbf1140507fe85dcb54cfc8831436d46762f27d
2019-11-15 15:46:12 +03:00
levlam
0c3e15026f Reget ChannelFull if it was changed between request was sent and the result was received.
GitOrigin-RevId: d05439fc5735b156cd4be9ac6547fcce18aa5150
2019-11-11 22:07:12 +03:00
levlam
43d8e6ccdb Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
2019-11-11 19:14:32 +03:00
levlam
0e874a5247 Add td_api::checkCreatedPublicChatsLimit.
GitOrigin-RevId: 9364cd09348ece39d56cbc8882fa8bfef36df18c
2019-10-22 14:06:46 +03:00
levlam
892a091998 Add support for location-based supergroups in getCreatedPublicChats.
GitOrigin-RevId: b328d62a998dc2e2b83d9721e001f9feee129d4e
2019-10-22 13:40:24 +03:00
levlam
86925625fd Rename need_send_update to is_changed.
GitOrigin-RevId: a40a5c0385d623e0023d5f6ed18c91d8605b5493
2019-10-22 00:29:24 +03:00
levlam
698c1d2160 Rename is_changed to need_save_to_database.
GitOrigin-RevId: dbf8292104a6e51dcc351bef94f6e220c1442265
2019-10-22 00:06:24 +03:00
levlam
de0e0d8173 Unify *Full.is_changed usage.
GitOrigin-RevId: 222ac98bc06fa5652add8e5d43c7861906209136
2019-10-21 23:47:58 +03:00
levlam
bc8f0dcb87 Store bot_user_ids in ChannelFull.
GitOrigin-RevId: 46b118c7a1e976bffc28fec5a7c2eb369317ee36
2019-10-21 23:39:46 +03:00
levlam
014248ac2b Remove UserFull.is_inited.
GitOrigin-RevId: 6c457ef1ba507c4edeb1ee7b81ffdba5ab35426a
2019-10-21 22:00:03 +03:00
levlam
035625d726 Save BotInfo in database and store in memory independently of UserFull.
GitOrigin-RevId: f12a7f6da707482a7e5c6e06016b0ccc3b45d2b5
2019-10-21 21:54:04 +03:00
levlam
9c2e44d7a5 Move is_bot_info_expired out of UserFull.
GitOrigin-RevId: 3fbb796097fba3654ad1f32ea01397aa12efb8be
2019-10-21 18:54:02 +03:00
levlam
5e8a79e984 Make User/Chat/Channel/SecretChat and *Full safe to use.
GitOrigin-RevId: 31b9cf38e37f409634be89214761ee76e2228d59
2019-10-21 17:03:23 +03:00
levlam
cc0a2eeb99 Better names for UserPhotos fields.
GitOrigin-RevId: 5f4b1c5d32e68ac02210cd21f2dc7b08415fb4fa
2019-10-17 23:41:16 +03:00
levlam
39a87fcb10 Move user photos out of UserFull.
GitOrigin-RevId: f70e021e5bad07eff95af4eb9ddc0c7c12779f91
2019-10-17 23:31:00 +03:00
levlam
4e436cdf17 Add drop_user_photos method.
GitOrigin-RevId: 57ff5576d56f1e190e62a3debe8b10b2de987338
2019-10-17 22:49:03 +03:00
levlam
08d6b880e0 Send updateUsersNearby only if users_nearby_ really has changed.
GitOrigin-RevId: cfa8800259ba03c0cfcad357ed4afe6a0bf5bb27
2019-10-17 21:35:32 +03:00
levlam
de069fef3f Add td_api::canTransferOwnership.
GitOrigin-RevId: 78eb21497c145c91b5da94e52eea5cff805f4b86
2019-10-17 19:43:41 +03:00
levlam
8206c05952 Add td_api::transferChatOwnership.
GitOrigin-RevId: ce897af94815412b2e8ff09c727e04b284726b41
2019-10-17 17:05:01 +03:00
levlam
47625f39f0 Add support for users and groups nearby.
GitOrigin-RevId: 98bde4f064541a0b8d6200092db0f3bc7f192b1f
2019-10-16 21:55:16 +03:00
levlam
acf8afd2d6 Add td_api::setChatLocation.
GitOrigin-RevId: 1bf8060374189bd2c9435b9c57ed499723de7246
2019-10-14 19:07:31 +03:00
levlam
41662e7048 Add location and can_set_location to supergroupFullInfo.
GitOrigin-RevId: 76550d71096e32cfd282f2e42a2a70176b2f5421
2019-10-13 21:41:09 +03:00
levlam
af527d0c9e Support supergroups with location.
GitOrigin-RevId: 976b72eaf8d5fd2226b6d548ed8bca167b385264
2019-10-13 20:58:32 +03:00
levlam
438300b2cf Return previous is_blocked value, when block/unblock request fails.
GitOrigin-RevId: e8132bcd987c8abe75fe4e01fb199f4dada74259
2019-10-11 18:55:14 +03:00