From 724ab029c226e8034137f1ce4c642eeb00ccbaa2 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 14 Mar 2022 14:53:28 +0000 Subject: [PATCH] Update content of files --- .../constructor/groupCall.html | 6 ++- .../method/account.updatePasswordSettings | 5 ++ .../method/messages.deleteHistory | 5 ++ .../method/messages.getStickerSet | 5 -- .../method/messages.sendMedia | 5 -- .../method/phone.createGroupCall | 2 +- data/core.telegram.org/type/ReportReason.html | 8 ++++ .../type/contacts.ResolvedPeer | 4 ++ data/core.telegram.org/type/messages.Messages | 4 ++ data/corefork.telegram.org/api/layers.html | 47 +++---------------- data/corefork.telegram.org/methods.html | 16 ------- 11 files changed, 37 insertions(+), 70 deletions(-) diff --git a/data/core.telegram.org/constructor/groupCall.html b/data/core.telegram.org/constructor/groupCall.html index 4ac031438a..3d8918c5d5 100644 --- a/data/core.telegram.org/constructor/groupCall.html +++ b/data/core.telegram.org/constructor/groupCall.html @@ -106,7 +106,7 @@ listeners_hidden flags.13?true -Whether the listeners list is hidden and cannot be fetched +Whether the listeners list is hidden and cannot be fetched using phone.getGroupParticipants. The phone.groupParticipants.count and groupCall.participants_count counters will still include listeners. id @@ -164,7 +164,9 @@

GroupCall

Related pages

phone.toggleGroupCallSettings

-

Change group call settings

+

Change group call settings

+

phone.getGroupParticipants

+

Get group call participants

diff --git a/data/core.telegram.org/method/account.updatePasswordSettings b/data/core.telegram.org/method/account.updatePasswordSettings index db733fd78f..1a99c777ca 100644 --- a/data/core.telegram.org/method/account.updatePasswordSettings +++ b/data/core.telegram.org/method/account.updatePasswordSettings @@ -97,6 +97,11 @@ 400 +EMAIL_INVALID +The specified email is invalid. + + +400 EMAIL_UNCONFIRMED Email unconfirmed. diff --git a/data/core.telegram.org/method/messages.deleteHistory b/data/core.telegram.org/method/messages.deleteHistory index 4a0267f8f3..79283f3087 100644 --- a/data/core.telegram.org/method/messages.deleteHistory +++ b/data/core.telegram.org/method/messages.deleteHistory @@ -126,6 +126,11 @@ 400 +MAX_DATE_INVALID +The specified maximum date is invalid. + + +400 MESSAGE_ID_INVALID The provided message id is invalid. diff --git a/data/core.telegram.org/method/messages.getStickerSet b/data/core.telegram.org/method/messages.getStickerSet index ef00e6b6c7..cba759e561 100644 --- a/data/core.telegram.org/method/messages.getStickerSet +++ b/data/core.telegram.org/method/messages.getStickerSet @@ -91,11 +91,6 @@ -400 -EMOTICON_STICKERPACK_MISSING -  - - 406 STICKERSET_INVALID The provided sticker set is invalid. diff --git a/data/core.telegram.org/method/messages.sendMedia b/data/core.telegram.org/method/messages.sendMedia index d89c0cdb68..a28a8ffbf8 100644 --- a/data/core.telegram.org/method/messages.sendMedia +++ b/data/core.telegram.org/method/messages.sendMedia @@ -162,11 +162,6 @@ 400 -BOT_POLLS_DISABLED -  - - -400 BROADCAST_PUBLIC_VOTERS_FORBIDDEN You can't forward polls with public voters. diff --git a/data/core.telegram.org/method/phone.createGroupCall b/data/core.telegram.org/method/phone.createGroupCall index b6c2d2e3e6..373221aaf5 100644 --- a/data/core.telegram.org/method/phone.createGroupCall +++ b/data/core.telegram.org/method/phone.createGroupCall @@ -79,7 +79,7 @@ rtmp_stream flags.2?true -Whether RTMP stream support should be enabled +Whether RTMP stream support should be enabled: only the group/supergroup/channel owner can use this flag. peer diff --git a/data/core.telegram.org/type/ReportReason.html b/data/core.telegram.org/type/ReportReason.html index 67a93a191d..68a526f751 100644 --- a/data/core.telegram.org/type/ReportReason.html +++ b/data/core.telegram.org/type/ReportReason.html @@ -101,6 +101,14 @@ inputReportReasonFake Report for impersonation + +inputReportReasonIllegalDrugs +Report for illegal drugs + + +inputReportReasonPersonalDetails +Report for divulgation of personal details + diff --git a/data/core.telegram.org/type/contacts.ResolvedPeer b/data/core.telegram.org/type/contacts.ResolvedPeer index f2e58053f4..ccb7a74357 100644 --- a/data/core.telegram.org/type/contacts.ResolvedPeer +++ b/data/core.telegram.org/type/contacts.ResolvedPeer @@ -85,6 +85,10 @@ contacts.resolveUsername Resolve a @username to get peer info + +contacts.resolvePhone +Resolve a phone number to get peer info + diff --git a/data/core.telegram.org/type/messages.Messages b/data/core.telegram.org/type/messages.Messages index 65a027f242..647868530f 100644 --- a/data/core.telegram.org/type/messages.Messages +++ b/data/core.telegram.org/type/messages.Messages @@ -157,6 +157,10 @@ messages.getUnreadReactions Get unread reactions to messages you sent + +messages.searchSentMedia +View and search recently sent media + diff --git a/data/corefork.telegram.org/api/layers.html b/data/corefork.telegram.org/api/layers.html index a25c566cd2..b62237ef7b 100644 --- a/data/corefork.telegram.org/api/layers.html +++ b/data/corefork.telegram.org/api/layers.html @@ -44,48 +44,9 @@ Layer…">

Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.

-

Layer 139

-

RTMP streams in group calls and livestreams, link to users by their phone number, browse recently sent media and new report options for illegal drugs and personal details.

-

The RPC error database » was also updated.

-

Schema changes

-
New Methods
- -
Changed Methods
- -
New Constructors
- -
Changed Constructors
- -

Schema

-
groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
-groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;
-phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;
-inputReportReasonIllegalDrugs#0a8eb2be = ReportReason; -inputReportReasonPersonalDetails#9ec7863d = ReportReason;
-phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;
----functions---
-phone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;
-contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;
-phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels; -phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;
-messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;

Layer 138

-

Video stickers, better reactions.

+

Video stickers, better reactions, RTMP streams in group calls and livestreams.

+

The RPC error database » was also updated.

Schema changes

New Methods