Remora.Discord.Pagination 3.0.20

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Remora.Discord.Pagination --version 3.0.20
NuGet\Install-Package Remora.Discord.Pagination -Version 3.0.20
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Remora.Discord.Pagination" Version="3.0.20" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Remora.Discord.Pagination --version 3.0.20
#r "nuget: Remora.Discord.Pagination, 3.0.20"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Remora.Discord.Pagination as a Cake Addin
#addin nuget:?package=Remora.Discord.Pagination&version=3.0.20

// Install Remora.Discord.Pagination as a Cake Tool
#tool nuget:?package=Remora.Discord.Pagination&version=3.0.20

Remora.Discord.Pagination

This package provides a simple implementation of pagination for messages via message component buttons, using the interactivity framework provided via Remora.Discord.Interactivity.

Structure

This library uses the in-memory model to persist pagination data (such as the available pages, the current page, and the message owner) and allow the user to flip through one or more "pages" of content via interaction buttons.

Usage

You may create paginated messages by calling one of the following extension methods on FeedbackService.

FeedbackService.SendPaginatedMessageAsync(channelID, sourceUserID, pages);
FeedbackService.SendContextualPaginatedMessageAsync(sourceUserID, pages);
FeedbackService.SendPrivatePaginatedMessageAsync(user, pages);

The pages are provided as a list of embed objects, which can be created either manually or via one of the available factory methods on the PageFactory or PaginatedEmbedFactory classes.

var page = PageFactory.FromFields(fields);
var pages = PaginatedEmbedFactory.PagesFromCollection(items, item => CreateEmbedFromItem(item));
var pages = PaginatedEmbedFactory.SimpleFieldsFromCollection(items, item => item.FieldTitle, item => item.FieldValue);

You can also tweak the appearance of the buttons and help text by way of PaginatedAppearanceOptions, which can be passed along when sending a paginated message.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Remora.Discord.Pagination:

Package Downloads
Remora.Discord The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Metapackage for Remora.Discord's various components

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.20 11,184 2/5/2024
3.0.19 13,470 11/14/2023
3.0.18 27,257 7/24/2023
3.0.17 17,420 5/11/2023
3.0.16 772 3/20/2023
3.0.15 1,053 1/19/2023
3.0.14 462 1/10/2023
3.0.13 849 12/28/2022
3.0.12 707 12/13/2022
3.0.11 442 12/13/2022
3.0.10 533 12/10/2022
3.0.9 948 10/30/2022
3.0.8 15,890 9/2/2022
3.0.7 865 8/19/2022
3.0.6 977 7/28/2022
3.0.5 783 7/26/2022
3.0.4 681 7/26/2022
3.0.3 1,179 6/30/2022
3.0.2 690 6/30/2022
3.0.1 701 6/29/2022
3.0.0 722 6/27/2022
2.0.27 844 6/23/2022
2.0.26 687 6/23/2022
2.0.25 720 6/20/2022
2.0.24 724 6/19/2022
2.0.23 723 6/18/2022
2.0.22 796 6/14/2022
2.0.21 749 6/8/2022
2.0.20 785 6/3/2022
2.0.19 799 5/25/2022
2.0.18 730 5/23/2022
2.0.17 849 5/15/2022
2.0.16 748 5/10/2022
2.0.15 723 5/9/2022
2.0.14 722 5/8/2022
2.0.13 778 5/3/2022
2.0.12 1,040 4/28/2022
2.0.11 709 4/28/2022
2.0.10 695 4/25/2022
2.0.9 1,095 4/18/2022
2.0.8 715 4/18/2022
2.0.7 906 4/2/2022
2.0.6 736 4/2/2022
2.0.5 795 3/21/2022
2.0.4 711 3/17/2022
2.0.3 706 3/15/2022
2.0.2 1,157 2/20/2022
2.0.1 701 2/20/2022
2.0.0 745 2/19/2022
2.0.0-rc1 260 2/14/2022
1.0.6 731 2/14/2022
1.0.5 965 1/27/2022
1.0.4 1,858 1/11/2022
1.0.3 33,625 1/3/2022
1.0.2 506 1/2/2022
1.0.1 412 1/1/2022
1.0.0 482 12/29/2021

Update dependencies.