Package org.drinkless.tdlib
Class TdApi.StartLiveStory
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.StartLiveStoryResult>
org.drinkless.tdlib.TdApi.StartLiveStory
- Enclosing class:
- TdApi
Starts a new live story on behalf of a chat; requires canPostStories administrator right for channel chats.
Returns StartLiveStoryResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat that will start the live story.static final intIdentifier uniquely determining type of the object.booleanPass true to allow viewers of the story to send messages.booleanPass true to create an RTMP stream instead of an ordinary group call.longThe 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").The privacy settings for the story; ignored for stories posted on behalf of channel chats.booleanPass true if the content of the story must be protected from screenshotting. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which starts a new live story on behalf of a chat; requires canPostStories administrator right for channel chats.StartLiveStory(long chatId, TdApi.StoryPrivacySettings privacySettings, boolean protectContent, boolean isRtmpStream, boolean enableMessages, long paidMessageStarCount) Creates a function, which starts a new live story on behalf of a chat; requires canPostStories administrator right for channel chats. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdIdentifier 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. -
privacySettings
The privacy settings for the story; ignored for stories posted on behalf of channel chats. -
protectContent
public boolean protectContentPass true if the content of the story must be protected from screenshotting. -
isRtmpStream
public boolean isRtmpStreamPass true to create an RTMP stream instead of an ordinary group call. -
enableMessages
public boolean enableMessagesPass true to allow viewers of the story to send messages. -
paidMessageStarCount
public long paidMessageStarCountThe 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"). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StartLiveStory
public StartLiveStory()Default constructor for a function, which starts a new live story on behalf of a chat; requires canPostStories administrator right for channel chats.Returns
StartLiveStoryResult -
StartLiveStory
public StartLiveStory(long chatId, TdApi.StoryPrivacySettings privacySettings, boolean protectContent, boolean isRtmpStream, boolean enableMessages, long paidMessageStarCount) Creates a function, which starts a new live story on behalf of a chat; requires canPostStories administrator right for channel chats.Returns
StartLiveStoryResult- Parameters:
chatId- 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.privacySettings- The privacy settings for the story; ignored for stories posted on behalf of channel chats.protectContent- Pass true if the content of the story must be protected from screenshotting.isRtmpStream- Pass true to create an RTMP stream instead of an ordinary group call.enableMessages- Pass true to allow viewers of the story to send messages.paidMessageStarCount- 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").
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-