Commit Graph

514 Commits

Author SHA1 Message Date
levlam
16bf911dde Update layer 109. TON-related requests was removed.
GitOrigin-RevId: 7b6cba050a43aab728928e145829a402a055df52
2020-01-20 01:52:46 +03:00
levlam
8350443093 Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
2020-01-18 07:01:05 +03:00
levlam
695782fa84 Disable back sending polls to saved messages.
GitOrigin-RevId: 7ad07014892a38c542c6c8ef8962c92a8afc3bd6
2020-01-15 03:13:15 +03:00
levlam
4317cc3ef5 Add content checks after dup_message_content.
GitOrigin-RevId: cba1a103b02381490561213391e95f0e4aa08d64
2020-01-15 01:45:59 +03:00
levlam
fa31f168b5 Update layer 109. Add keyboardButtonTypeRequestPoll.
GitOrigin-RevId: eae6bb600cef6eb4d9386c4dc2a762d065b1fa09
2020-01-14 20:18:35 +03:00
levlam
f3130ea7fb Update layer 109 scheme.
GitOrigin-RevId: 224d93e4569e849567554961da097c8dc84ab907
2020-01-14 17:16:36 +03:00
levlam
705af5fe73 Change fields order in Poll class.
GitOrigin-RevId: 40127abecdd1b9158c5646a5f93e33b4cf6f5b73
2020-01-14 08:30:15 +03:00
levlam
da4694bc81 New polls support fixes.
GitOrigin-RevId: f5421227029a8ae1f9284882e6f6221617002925
2020-01-14 01:51:03 +03:00
levlam
6d15cc7bf0 Add updatePollAnswer.
GitOrigin-RevId: 472f91830667f52317f03636f3ab2c37bca32d43
2020-01-13 22:56:59 +03:00
levlam
656fda701f Allow bots to send polls to private chats.
GitOrigin-RevId: c1e274b1f0b8a7c7eec8edc304976f8b07b25164
2020-01-13 21:26:58 +03:00
levlam
4e22f29c53 Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
2020-01-13 21:21:58 +03:00
levlam
f2211527db Add support for recent poll voters.
GitOrigin-RevId: f4260d87ae4a22d56b2024c07713ceeb37203895
2020-01-12 04:40:17 +03:00
levlam
a7501e1582 Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
2020-01-11 03:46:26 +03:00
levlam
0f35cb04fd Update to layer 108.
GitOrigin-RevId: 31a6f84047b1d4e21b466bb32548e61e11d0d194
2020-01-10 02:47:56 +03:00
levlam
e9176ce84d Improve secretChat.key_hash documentation.
GitOrigin-RevId: bcf910be5b7eb08f4edca13c428b94f9a5fbf7ac
2020-01-11 03:54:29 +03:00
levlam
5551021c81 Fix textEntity documentation.
GitOrigin-RevId: 6c55ec6d264c2da448ffbb9ed14a0741027fadc4
2020-01-09 18:16:03 +03:00
levlam
440d44e4a2 Update documentation.
GitOrigin-RevId: dcce8f16d33a14600059cf7119752223610e9de3
2020-01-09 17:08:14 +03:00
levlam
fc7253e774 Fix key_hash documentation.
GitOrigin-RevId: ddf094758f4130c276d12a9b809f3dc997d09421
2020-01-09 04:31:27 +03:00
levlam
3659757dc3 Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
levlam
eecb70d006 Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
2020-01-07 18:16:57 +03:00
levlam
bd78bbdd5d Improve documentation.
GitOrigin-RevId: f0266fb33bf5e01fb68bea83785a5cc020205d31
2020-01-06 21:32:03 +03:00
levlam
db7573769f Update layer 107.
GitOrigin-RevId: c892d895c8d963e68ad8e3e2bdc9ec6279ea046b
2020-01-03 02:14:02 +03:00
levlam
b929a95fe2 Update documentation.
GitOrigin-RevId: 2dc3b759de07cea17cf3fb0d7569244ead20fbd0
2019-12-31 00:58:11 +03:00
levlam
0a81ed988c Update layer 107.
GitOrigin-RevId: c72dc88c76c98637f5c88a17adc3ae06e77c67a6
2019-12-30 14:57:48 +03:00
levlam
99b0e18f8f Improve documentation.
GitOrigin-RevId: 6797e4fe6ee2f819e5995d1b3ac0fef0e10f55e0
2019-12-30 13:26:53 +03:00
levlam
4f66f3bc43 Update layer 107.
GitOrigin-RevId: dd227dee04a77f488f3592e145725750031594b7
2019-12-30 04:56:24 +03:00
levlam
24139cabab Disallow temporary mute for more than 1 week.
GitOrigin-RevId: 7741c7f2787fde7b836d1027ccb421938ddaf317
2019-12-29 04:26:00 +03:00
levlam
6903886372 Disallow calling setChatNotificationSettings in Saved Messages. It doesn't work anyway.
GitOrigin-RevId: bca3756bb3bc5f64c15543eda2f9cef3965a261d
2019-12-29 03:47:35 +03:00
levlam
27fb078cfe Add support for TGV patterns.
GitOrigin-RevId: 8e82497baf4f5906c72383e54af4d0ffd5ba45a5
2019-12-27 18:01:45 +03:00
levlam
de1bf02774 Add updateUnreadChatCount.total_count.
GitOrigin-RevId: e53105b6b7e185fbe68714948a606465d349d0cd
2019-12-26 21:44:35 +03:00
levlam
4e77501d9e Rename field to video_upload_bitrate.
GitOrigin-RevId: 0e6af52c8558086e7aac3b950609cdf2b2da1892
2019-12-25 20:59:19 +03:00
levlam
00387a61ad Update layer 107.
GitOrigin-RevId: 6f7d7c9f0c6ae6b67b23deb6eea02e1ef5a3a3cb
2019-12-25 06:00:58 +03:00
levlam
5462265a84 Improve setChatDiscussionGroup documentation.
GitOrigin-RevId: 9933454492c11f8c00b12cc01c2c360a43e7c077
2019-12-24 03:23:12 +03:00
levlam
dd1ae68f57 Fix documentation.
GitOrigin-RevId: 4c3bc6a52792adf79e055132dcd3ec9f8fb4186c
2019-12-23 01:55:14 +03:00
levlam
13a6973f4b Support BackgroundFill in backgroundTypePattern.
GitOrigin-RevId: 2d8e594c4acb0380b1ebb687c3727abea09dedc7
2019-12-22 23:02:36 +03:00
levlam
68a211a368 Add rotation_angle support to gradient background fill.
GitOrigin-RevId: ebe65367b2cad8777e6e87cf30815a1f9545da9a
2019-12-22 22:32:01 +03:00
levlam
a1af39bc8f Better scheme for BackgroundType.
GitOrigin-RevId: 01f15daff83986078b9fff55a5e3a70bab2a800b
2019-12-22 20:11:54 +03:00
levlam
51611ae422 Introduce td_api::gradientInfo.
GitOrigin-RevId: 436fd124ee3417851031ee32b094a93a8e550599
2019-12-22 03:17:52 +03:00
levlam
04eb931c72 Update layer 107.
GitOrigin-RevId: d8ab8b2016d368f6e4f03c6cf1440232ab66e7f2
2019-12-22 02:56:51 +03:00
levlam
48f5681dfd Add max_video_upload_bitrate to autoDownloadSettings.
GitOrigin-RevId: dc443eae2066c85194efa9d338b5a498be8ffc12
2019-12-22 00:40:37 +03:00
levlam
7666c8a07f Update layer 107.
GitOrigin-RevId: c0ce53032262636e8aea4f824c80e2caad3089b2
2019-12-21 22:30:36 +03:00
levlam
88c5679b13 Add backgroundTypeGradient.
GitOrigin-RevId: db09e39cb4384cd85f53cbc8719b2b2b75206406
2019-12-21 05:28:07 +03:00
levlam
9f60d0bae1 Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
2019-12-17 19:17:57 +03:00
levlam
1dd4e1a767 Add td_api::updateMessageLiveLocationViewed.
GitOrigin-RevId: 2c9d6e1317e6604a23e30efab0dfa21a2e88f01d
2019-12-13 21:05:10 +03:00
levlam
71ddd7c7e3 Add getInactiveSupergroupChats method.
GitOrigin-RevId: 45b15965e50ab5d153a0de4e575fab6ac22eed11
2019-12-13 17:27:44 +03:00
levlam
ce7530c495 Update layer to 107.
GitOrigin-RevId: 27d0ed420224bced55d249bdb7afc549d75a2514
2019-12-13 05:15:59 +03:00
levlam
b055e85e8e Fix misprint.
GitOrigin-RevId: a10bfd39a5a4aa2400661865610b1e2d816d985a
2019-12-13 04:01:33 +03:00
levlam
2714fbf1f8 Fix some preauthentication requests.
GitOrigin-RevId: 1bbbbef17b740140ae99c4972d569306f6ca52ac
2019-12-13 04:00:33 +03:00
levlam
b58b1a3612 Improve documentation.
GitOrigin-RevId: 7a50e9c7cce5c3075b3550f2c55184b3c3b814c0
2019-12-13 01:39:32 +03:00
levlam
46ed865570 Add chatAdministrator.is_owner.
GitOrigin-RevId: 8ba5a2e7b175cb5595a4d26e8050311960063938
2019-12-07 23:38:05 +03:00
levlam
211ab071b2 Add MessageSchedulingState to sendMessageOptions.
GitOrigin-RevId: a2a7d6e3c9283b645b0a155f96c8165a7a717b8d
2019-12-06 03:08:11 +03:00
levlam
a3301ae07c Introduce common SendMessageOptions for send message requests.
GitOrigin-RevId: 3cef644b80ec3641a9f15de7a5af13f90a9c7d94
2019-12-06 02:32:23 +03:00
levlam
ff51282a50 Remove textEntityTypeBlockQuote from public API.
GitOrigin-RevId: aa718d3c4882e6ce29545e83a6cca8168c66d35a
2019-12-05 15:53:22 +03:00
levlam
b9666b727e Add td_api::getChatScheduledMessages. Load scheduled messages from database.
GitOrigin-RevId: ab2554642ff588c227c40d4fa12ecc663608e7a4
2019-12-04 20:06:39 +03:00
levlam
f5027bf97f Add td_api::editMessageSchedulingState.
GitOrigin-RevId: 193c66fa63e84a8a233a3d60f0593df591d9f80d
2019-12-03 04:36:23 +03:00
levlam
aa01368b38 Add Message.scheduling_state.
GitOrigin-RevId: fd950850b1258f49f8272e99a0b4975ab11a38d6
2019-12-03 03:12:41 +03:00
levlam
5b1d363918 Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
2019-11-25 19:11:24 +03:00
levlam
c94b54f7f5 Improve getChatStatisticsUrl description.
GitOrigin-RevId: 92c97cb1f34a444997c04feca094e951be59d670
2019-11-25 03:33:18 +03:00
levlam
df2b273aea Add td_api::message.restriction_reason.
GitOrigin-RevId: 9ecf89e3f14ed64d6ce5bd33aed97e03feae794a
2019-11-24 02:28:48 +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
f1cc64ec16 Add userPrivacySettingAllowFindingByPhoneNumber.
GitOrigin-RevId: f1d03087d185a9df52ab24ecb5ba93e54df9895e
2019-11-22 13:41:17 +03:00
levlam
c5cc0e90f6 Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
2019-11-21 22:57:20 +03:00
levlam
fb90abcccc Add slow_mode_delay_expires_in.
GitOrigin-RevId: 118cd722f73982fc86823b28358f7111848d3b1a
2019-11-20 21:25:00 +03:00
levlam
beedcff506 Remove folders mention from the documentation.
GitOrigin-RevId: fba4cd6813991f02317bb0347340ea5b6d2963de
2019-11-17 21:26:46 +03:00
levlam
6168b3a860 Update list of entity types in documentation.
GitOrigin-RevId: 12395e5d852192992b67fa7c841deb8b132eed6d
2019-11-17 20:08:16 +03:00
levlam
26fa164e9e Add td_api::setChatSlowModeDelay.
GitOrigin-RevId: 0a3760d41bdcadac62b78222eef7efd8e5769b9f
2019-11-15 18:17:52 +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
43d8e6ccdb Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
2019-11-11 19:14:32 +03:00
levlam
fbbf6470f3 Add support for administrator custom titles.
GitOrigin-RevId: a580b4713daa4746f5cd15e96c438fe179aea893
2019-11-11 10:02:23 +03:00
levlam
ad051b5522 Add td_api::chatEventSlowModeDelayChanged.
GitOrigin-RevId: ac41d0d684b422ed964c6d35af160992b988b2ce
2019-11-10 17:26:03 +03:00
levlam
56eb8e0f9a Update layer to 104.
GitOrigin-RevId: a83eaf0a77fba5ccb0d34f690b2031c2ff5550f2
2019-11-08 19:23:05 +03:00
levlam
edd3bb94a4 Add td_api::remoteFile.unique_id.
GitOrigin-RevId: b6355e905d7268aefbb4dd2e951b15e12504ee54
2019-10-25 17:04:01 +03:00
levlam
aa752468fc Use telegram_api::inputPhotoLegacyFileLocation instead of inputFileLocation.
GitOrigin-RevId: da7e4fb8935b08b654663c650f31013f8a8b3f12
2019-10-24 17:00:01 +03:00
levlam
1e018da7b8 Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +03:00
levlam
29c4e4c733 Update layer to 103. Disable push notifications from muted chats.
GitOrigin-RevId: 5287f30dd82a50c567bcf039eee479e790868f7d
2019-10-22 16:24:55 +03:00
levlam
ca35608868 Add chat_list filter to searchMessages.
GitOrigin-RevId: 3dbc4b3509545f3c23f0231c931af0a73bef8796
2019-10-22 15:06:11 +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
4ae36f6564 Keep privacy exception flag when hiding action bar and reporting spam.
GitOrigin-RevId: 64c21e3ca52bf74b19b7ee40bee6c9218a6feb70
2019-10-17 20:55:55 +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
4e9ca731b2 Allow to create location-based chats through createNewSupergroupChat.
GitOrigin-RevId: 9f954674052a2710425555e9b517f06319eb949e
2019-10-14 17:51:12 +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
35b9d56c64 Add DialogLocation, td_api::chatLocation and td_api::chatEventLocationChanged.
GitOrigin-RevId: 5bd47788c58065b0b79119d7d84c1d851a400417
2019-10-13 02:21:37 +03:00
levlam
a3126dcce5 Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
2019-10-11 17:59:04 +03:00
levlam
f6f9997730 Add td_api::chatReportReasonUnrelatedLocation.
GitOrigin-RevId: 2bb5993d4478766a5758a18768c6afe18dbc2130
2019-10-11 04:56:43 +03:00
levlam
7327b673de Support action bar report in reportChat.
GitOrigin-RevId: 2c85ca043c9615a27c1bdf46b7fd01ed98940699
2019-10-11 04:17:46 +03:00
levlam
378ed2c659 Remove ChatReportSpamState and methods for it.
GitOrigin-RevId: 3de0cb0147ad70e4d540f5a61f1aa08c64423edd
2019-10-11 03:36:26 +03:00
levlam
825cb0dd0b Add removeChatActionBar.
GitOrigin-RevId: 865c60b541cdfdc1465ab4814e1ca8c2c9ff0c49
2019-10-11 03:28:41 +03:00
levlam
56af9f3f3c Add updateChatActionBar.
GitOrigin-RevId: 116120e198e0c12c3e91f1dea4045ae3bc914e1c
2019-10-11 01:23:28 +03:00
levlam
24ecd9564e Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
2019-10-11 00:46:05 +03:00
levlam
91bdd50884 Add need_phone_number_privacy_exception.
GitOrigin-RevId: b1d6237900577a50dcc105d72962cebe62ee70ca
2019-10-11 00:18:34 +03:00
levlam
1b147a8142 Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
2019-10-10 23:19:26 +03:00
levlam
783620b9b7 Add td_api::addContact.
GitOrigin-RevId: 6b80aad27805780043a5ca4e7680bbfea65ddaad
2019-10-08 18:12:15 +03:00
levlam
99f4abb249 Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
2019-10-07 22:51:03 +03:00
levlam
b355e0c5c0 Update formattedText documentation.
GitOrigin-RevId: 3ae447b3d0c4511d10752660fcf30ef95e968ac4
2019-10-07 03:51:15 +03:00