teleproto - v1.233.0
    Preparing search index...

    Interface SendStoryParams

    Parameters for TelegramClient.sendStory.

    interface SendStoryParams {
        albums?: number[];
        caption?: string;
        entities?: TypeMessageEntity[];
        fwdFromId?: EntityLike;
        fwdFromStory?: number;
        fwdModified?: boolean;
        media: FileLike;
        mediaAreas?: TypeMediaArea[];
        music?: TypeInputDocument;
        noforwards?: boolean;
        parseMode?: any;
        period?: number;
        pinned?: boolean;
        privacyRules?: TypeInputPrivacyRule[];
    }
    Index
    albums?: number[]

    IDs of story albums to add the story to.

    caption?: string

    Story caption. Parsed with the client parse mode.

    entities?: TypeMessageEntity[]

    Formatting entities for the caption. When provided, parsing is skipped.

    fwdFromId?: EntityLike

    When reposting: the peer the original story belongs to.

    fwdFromStory?: number

    When reposting: the ID of the original story.

    fwdModified?: boolean

    Set when the reposted story was modified before sending.

    media: FileLike

    The story photo/video (path, Buffer, uploaded file, or raw Api.TypeInputMedia).

    mediaAreas?: TypeMediaArea[]

    Clickable areas over the story (locations, reactions, links…).

    Music track attached to the story.

    noforwards?: boolean

    Disallow forwarding/screenshotting the story.

    parseMode?: any

    Parse mode override for the caption.

    period?: number

    Story lifetime in seconds (86400, 2×86400, 3×86400 or 7×86400; Premium only except 86400).

    pinned?: boolean

    Pin the story to the profile after it expires.

    privacyRules?: TypeInputPrivacyRule[]

    Privacy rules for the story. Defaults to everyone.