Package org.drinkless.tdlib

# Class TdApi.MessageEffectTypePremiumSticker

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageEffectType
org.drinkless.tdlib.TdApi.MessageEffectTypePremiumSticker

Enclosing class:
  TdApi

public static class TdApi.MessageEffectTypePremiumSticker extends TdApi.MessageEffectType
An effect from a premium sticker.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.MessageEffectType

  `TdApi.MessageEffectType.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `TdApi.Sticker`
  `sticker`
  The premium sticker.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageEffectTypePremiumSticker()`
  An effect from a premium sticker.
  `MessageEffectTypePremiumSticker(TdApi.Sticker sticker)`
  An effect from a premium sticker.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### sticker

    public TdApi.Sticker sticker
    The premium sticker. The effect can be found at sticker.fullType.premiumAnimation.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### MessageEffectTypePremiumSticker

    public MessageEffectTypePremiumSticker()
    An effect from a premium sticker.

  - ### MessageEffectTypePremiumSticker

    public MessageEffectTypePremiumSticker(TdApi.Sticker sticker)
    An effect from a premium sticker.
    Parameters:
      `sticker` - The premium sticker. The effect can be found at sticker.fullType.premiumAnimation.

- ## 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.MessageEffectType`
    Returns:
      this.CONSTRUCTOR