• Get profile stories

    Parameters

    • client: ITelegramClient
    • peerId: InputPeerLike
    • Optionalparams: { kind?: "pinned" | "archived"; limit?: number; offsetId?: number }
      • Optionalkind?: "pinned" | "archived"

        Kind of stories to fetch

        • pinned - stories pinned to the profile and visible to everyone
        • archived - "archived" stories that can later be pinned, only visible to the owner

        pinned

      • Optionallimit?: number

        Maximum number of stories to fetch

        100
        
      • OptionaloffsetId?: number

        Offset ID for pagination

    Returns Promise<ArrayPaginated<Story, number>>