Skip to content

startLiveStory

Function · TDLib 1.8.67 · d1085f9c

Starts a new live story on behalf of a chat; requires can_post_stories administrator right for channel chats

startLiveStory(
  chat_id: int53,
  privacy_settings: StoryPrivacySettings,
  protect_content: Bool,
  is_rtmp_stream: Bool,
  enable_messages: Bool,
  paid_message_star_count: int53
) → StartLiveStoryResult

chat_id

int53

Identifier of the chat that will start the live story. Pass Saved Messages chat identifier when starting a live story on behalf of the current user, or a channel chat identifier

privacy_settings

StoryPrivacySettings

The privacy settings for the story; ignored for stories posted on behalf of channel chats

protect_content

Bool

Pass true if the content of the story must be protected from screenshotting

is_rtmp_stream

Bool

Pass true to create an RTMP stream instead of an ordinary group call

enable_messages

Bool

Pass true to allow viewers of the story to send messages

int53

The minimum number of Telegram Stars that must be paid by viewers for each sent message to the call; 0-getOption("paid_group_call_message_star_count_max")