Interface GetTrendingStickerSets

Returns a list of trending sticker sets. For optimal performance, the number of returned sticker sets is chosen by TDLib. Request type for Tdjson#getTrendingStickerSets.

interface GetTrendingStickerSets {
    @type: "getTrendingStickerSets";
    limit: number;
    offset: number;
    sticker_type: StickerType;
}

Properties

@type: "getTrendingStickerSets"
limit: number

The maximum number of sticker sets to be returned; up to 100. For optimal performance, the number of returned sticker sets is chosen by TDLib and can be smaller than the specified limit, even if the end of the list has not been reached.

offset: number

The offset from which to return the sticker sets; must be non-negative.

sticker_type: StickerType

Type of the sticker sets to return.