Package org.drinkless.tdlib

# Class TdApi.ChatEventMemberRestricted

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

Enclosing class:
  TdApi

public static class TdApi.ChatEventMemberRestricted extends TdApi.ChatEventAction
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.

- ## 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.MessageSender`
  `memberId`
  Affected chat member identifier.
  `TdApi.ChatMemberStatus`
  `newStatus`
  New status of the chat member.
  `TdApi.ChatMemberStatus`
  `oldStatus`
  Previous status of the chat member.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ChatEventMemberRestricted()`
  A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
  `ChatEventMemberRestricted(TdApi.MessageSender memberId, TdApi.ChatMemberStatus oldStatus, TdApi.ChatMemberStatus newStatus)`
  A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.

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

  - ### memberId

    public TdApi.MessageSender memberId
    Affected chat member identifier.

  - ### oldStatus

    public TdApi.ChatMemberStatus oldStatus
    Previous status of the chat member.

  - ### newStatus

    public TdApi.ChatMemberStatus newStatus
    New status of the chat member.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### ChatEventMemberRestricted

    public ChatEventMemberRestricted()
    A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.

  - ### ChatEventMemberRestricted

    public ChatEventMemberRestricted(TdApi.MessageSender memberId, TdApi.ChatMemberStatus oldStatus, TdApi.ChatMemberStatus newStatus)
    A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
    Parameters:
      `memberId` - Affected chat member identifier.
      `oldStatus` - Previous status of the chat member.
      `newStatus` - New status of the chat member.

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