Package org.drinkless.tdlib

# Class TdApi.ChatEventMessagePinned

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatEventAction
org.drinkless.tdlib.TdApi.ChatEventMessagePinned

Enclosing class:
  `TdApi`

public static class TdApi.ChatEventMessagePinned extends TdApi.ChatEventAction
A message was pinned.

- ## Nested Class Summary

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

  `TdApi.ChatEventAction.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `TdApi.Message`
  `message`
  Pinned message.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ChatEventMessagePinned()`
  A message was pinned.
  `ChatEventMessagePinned(TdApi.Message message)`
  A message was pinned.

- ## 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

  - ### message

    public TdApi.Message message
    Pinned message.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### ChatEventMessagePinned

    public ChatEventMessagePinned()
    A message was pinned.

  - ### ChatEventMessagePinned

    public ChatEventMessagePinned(TdApi.Message message)
    A message was pinned.
    Parameters:
      `message` - Pinned message.

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