Raw.stories.EditStory
Edit an uploaded story
stories.editStory#b583ba46 flags:# peer:InputPeer id:int media:flags.0?InputMedia media_areas:flags.3?Vector<MediaArea> caption:flags.1?string entities:flags.1?Vector<MessageEntity> privacy_rules:flags.2?Vector<InputPrivacyRule> = Updates;
export namespace Raw {
export namespace stories {
export class EditStory {
constructor(params: {
peer: Raw.TypeInputPeer;
id: number;
media?: Raw.TypeInputMedia;
mediaAreas?: Array<Raw.TypeMediaArea>;
caption?: string;
entities?: Array<Raw.TypeMessageEntity>;
privacyRules?: Array<Raw.TypeInputPrivacyRule>;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xb583ba46
Property
peer
: Raw.TypeInputPeerPeer where the story was posted.
id
: numberId of story to edit.
media
: Raw.TypeInputMedia or undefinedIf specified, replaces the story media.
mediaAreas
: Array of Raw.TypeMediaArea or undefinedMedia areas associated to the story, see here for more info.
caption
: string or undefinedIf specified, replaces the story caption.
entities
: Array of Raw.TypeMessageEntity or undefinedMessage entities for styled text in the caption, if allowed by the storiesEntities client configuration parameter.
privacyRules
: Array of Raw.TypeInputPrivacyRule or undefinedIf specified, alters the privacy settings of the story, changing who can or can’t view the story.