EditStory class

Changes content and caption of a story. Can be called only if story.can_be_edited == true.

Returns Ok.

Inheritance
Available Extensions

Constructors

EditStory({required int story_sender_chat_id, required int story_id, InputStoryContent? content, InputStoryAreas? areas, FormattedText? caption, int? extra, int? clientId})
Changes content and caption of a story. Can be called only if story.can_be_edited == true

Properties

areas InputStoryAreas?
New clickable rectangle areas to be shown on the story media; pass null to keep the current areas. Areas can't be edited if story content isn't changed.
read / write
caption FormattedText?
New story caption; pass null to keep the current caption.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
content InputStoryContent?
New content of the story; pass null to keep the current content.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
story_id int
Identifier of the story to edit.
read / write
story_sender_chat_id int
Identifier of the chat that posted the story.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) EditStory?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"editStory"