Class TdApi.GetStickers

  • Enclosing class:
    TdApi

    public static class TdApi.GetStickers
    extends TdApi.Function
    Returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is non-empty, favorite and recently used stickers may also be returned.

    Returns Stickers

    • Field Detail

      • emoji

        public String emoji
        String representation of emoji. If empty, returns all known installed stickers.
      • limit

        public int limit
        The maximum number of stickers to be returned.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetStickers

        public GetStickers()
        Default constructor for a function, which returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is non-empty, favorite and recently used stickers may also be returned.

        Returns Stickers

      • GetStickers

        public GetStickers​(String emoji,
                           int limit)
        Creates a function, which returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is non-empty, favorite and recently used stickers may also be returned.

        Returns Stickers

        Parameters:
        emoji - String representation of emoji. If empty, returns all known installed stickers.
        limit - The maximum number of stickers to be returned.