StartLiveStory class final

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

Returns StartLiveStoryResult.

Inheritance

Constructors

StartLiveStory({required int chatId, required StoryPrivacySettings privacySettings, required bool protectContent, required bool isRtmpStream, required bool enableMessages, required int paidMessageStarCount})
Starts a new live story on behalf of a chat; requires can_post_stories administrator right for channel chats
const

Properties

canBeCalledSynchronously → bool
Whether TDLib documents this request as callable through td_execute.
no setterinherited
chatId → int
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
final
enableMessages → bool
Pass true to allow viewers of the story to send messages
final
hashCode → int
The hash code for this object.
no setterinherited
isRtmpStream → bool
Pass true to create an RTMP stream instead of an ordinary group call
final
paidMessageStarCount → int
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")
final
privacySettings → StoryPrivacySettings
The privacy settings for the story; ignored for stories posted on behalf of channel chats
final
protectContent → bool
Pass true if the content of the story must be protected from screenshotting
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? chatId, StoryPrivacySettings? privacySettings, bool? protectContent, bool? isRtmpStream, bool? enableMessages, int? paidMessageStarCount}) → StartLiveStory
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib function name, e.g. getMe.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) → Map<String, dynamic>
Converts this request to TDLib JSON, tagged with extra if given.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.