diff --git a/data/corefork.telegram.org/api/layers.html b/data/corefork.telegram.org/api/layers.html index b62237ef7b..172d47dacb 100644 --- a/data/corefork.telegram.org/api/layers.html +++ b/data/corefork.telegram.org/api/layers.html @@ -44,19 +44,57 @@ Layer…">
Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
-Video stickers, better reactions, RTMP streams in group calls and livestreams.
+RTMP streams in group calls and livestreams, link to users by their phone number, browse recently sent media.
The RPC error database » was also updated.
rtmp_stream
flag must be set).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;
Video stickers, better reactions.
+dialog#a8edd0f5 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog;
stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
-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;
messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector<MessagePeerReaction> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.MessageReactionsList;
messagePeerReaction#51b67eff flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:string = MessagePeerReaction;
---functions---
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
-phone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;
messages.getUnreadReactions#e85bae1a peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;
phone.groupParticipants.count
and groupCall.participants_count
counters will still include listeners.Change group call settings
+Change group call settings
+Get group call participants
diff --git a/data/corefork.telegram.org/constructor/groupCallStreamChannel.html b/data/corefork.telegram.org/constructor/groupCallStreamChannel.html index 56876a49dc..907e3f6bb4 100644 --- a/data/corefork.telegram.org/constructor/groupCallStreamChannel.html +++ b/data/corefork.telegram.org/constructor/groupCallStreamChannel.html @@ -2,12 +2,12 @@ -Info about an RTMP stream in a group call or livestream
+groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;
+Name | +Type | +Description | +
---|---|---|
channel | +int | +Channel ID | +
scale | +int | +Specifies the duration of the video segment to fetch in milliseconds, by bitshifting 1000 to the right scale times: duration_ms := 1000 >> scale . |
+
last_timestamp_ms | +long | +Last seen timestamp to easily start fetching livestream chunks using inputGroupCallStream | +
Chunk of a livestream
Report for illegal drugs
+inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
+This constructor does not require any parameters.
+Report for divulgation of personal details
+inputReportReasonPersonalDetails#9ec7863d = ReportReason;
+This constructor does not require any parameters.
+Info about RTMP streams in a group call or livestream
+phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;
+Name | +Type | +Description | +
---|---|---|
channels | +Vector<GroupCallStreamChannel> | +RTMP streams | +
RTMP URL and stream key to be used in streaming software
+phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;
+Name | +Type | +Description | +
---|---|---|
url | +string | +RTMP URL | +
key | +string | +Stream key | +
Resolve a phone number to get user info, if their privacy settings allow it.
+contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;
+---functions---
+contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;
+Name | +Type | +Description | +
---|---|---|
phone | +string | +Phone number in international format, possibly obtained from a t.me/+number or tg://resolve?phone=number URI. |
+
View and search recently sent media.
+This method does not support pagination.
messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
+messages.messagesSlice#3a54685e flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
+messages.channelMessages#64479808 flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
+messages.messagesNotModified#74535f21 count:int = messages.Messages;
+---functions---
+messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;
+Name | +Type | +Description | +
---|---|---|
q | +string | +Optional search query | +
filter | +MessagesFilter | +Message filter | +
limit | +int | +Maximum number of results to return (max 100). | +
Get info about RTMP streams in a group call or livestream.
+This method should be invoked to the same group/channel-related DC used for downloading livestream chunks.
+As usual, the media DC is preferred, if available.
phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;
+---functions---
+phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels;
+Name | +Type | +Description | +
---|---|---|
call | +InputGroupCall | +Group call or livestream | +
Code | +Type | +Description | +
---|---|---|
400 | +GROUPCALL_INVALID | +The specified group call is invalid. | +
400 | +GROUPCALL_JOIN_MISSING | +You haven't joined this group call. | +
How to transfer large data batches correctly.
Get RTMP URL and stream key for RTMP livestreams. Can be used even before creating the actual RTMP livestream with phone.createGroupCall (the rtmp_stream
flag must be set).
phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;
+---functions---
+phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;
+Name | +Type | +Description | +
---|---|---|
peer | +InputPeer | +Peer to livestream into | +
revoke | +Bool | +Whether to revoke the previous stream key or simply return the existing one | +
Create a group call or livestream
rtmp_stream
flag must be set).Info about an RTMP stream in a group call or livestream
+groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;
+Constructor | +Description | +
---|---|
groupCallStreamChannel | +Info about an RTMP stream in a group call or livestream | +
Info about RTMP streams in a group call or livestream
+phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;
+
+---functions---
+
+phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels;
+Constructor | +Description | +
---|---|
phone.groupCallStreamChannels | +Info about RTMP streams in a group call or livestream | +
Method | +Description | +
---|---|
phone.getGroupCallStreamChannels | +Get info about RTMP streams in a group call or livestream | +
RTMP URL and stream key to be used in streaming software
+phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;
+
+---functions---
+
+phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;
+Constructor | +Description | +
---|---|
phone.groupCallStreamRtmpUrl | +RTMP URL and stream key to be used in streaming software | +
Method | +Description | +
---|---|
phone.getGroupCallStreamRtmpUrl | +Get RTMP URL and stream key for RTMP livestreams | +