stories.startLive
Start a live story, optionally using RTMP livestream mode, see here » for the full flow.
Start a live story, optionally using RTMP livestream mode, see [here »](https://core.telegram.org/api/group-calls.md#live-stories) for the full flow.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
pinned | true | لأ | Whether to pin the live story on the peer's profile |
noforwards | true | لأ | Whether viewers must be prevented from forwarding or saving the live story |
rtmp_stream | true | لأ | Create the live story in [RTMP livestream mode »](https://core.telegram.org/api/group-calls.md#stream-mode), where one external streamer publishes all audio and video |
peer | InputPeer | أيوه | User, supergroup or channel that will own the live story; basic groups cannot post live stories |
caption | string | لأ | Live story caption |
entities | Vector<MessageEntity> | لأ | [كيانات الرسالة للنص المصمم](https://core.telegram.org/api/entities.md) |
privacy_rules | Vector<InputPrivacyRule> | أيوه | Privacy rules defining who can view the live story |
random_id | long | أيوه | Client-generated random ID used to prevent duplicate live stories. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |
messages_enabled | Bool | لأ | Whether the [in-call message overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) should be enabled |
send_paid_messages_stars | long | لأ | Minimum Telegram Stars donation required from users other than the live story owner for each comment; the owner may always comment without donating, and `0` allows free comments for everyone |
الردود
Updates
MTProto RPC
- 400 · CHANNEL_MONOFORUM_UNSUPPORTED — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) do not support this feature.
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · STORY_LIVE_ALREADY_%d — This peer already has an active live story, and its ID is equal to %d.