Module tdlight.api

Class TdApi.InternalLinkTypeStickerSet

Enclosing class:
TdApi

public static final class TdApi.InternalLinkTypeStickerSet extends TdApi.InternalLinkType
The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set.
  • Field Details

    • stickerSetName

      public String stickerSetName
      Name of the sticker set.
    • expectCustomEmoji

      public boolean expectCustomEmoji
      True, if the sticker set is expected to contain custom emoji.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InternalLinkTypeStickerSet

      public InternalLinkTypeStickerSet()
      The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set.
    • InternalLinkTypeStickerSet

      public InternalLinkTypeStickerSet(String stickerSetName, boolean expectCustomEmoji)
      The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set.
      Parameters:
      stickerSetName - Name of the sticker set.
      expectCustomEmoji - True, if the sticker set is expected to contain custom emoji.
    • InternalLinkTypeStickerSet

      public InternalLinkTypeStickerSet(DataInput input) throws IOException
      The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object