Module tdlight.api

Class TdApi.ChatEventMemberRestricted

Enclosing class:
TdApi

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

  • 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 - MessageSender Affected chat member identifier.
      oldStatus - ChatMemberStatus Previous status of the chat member.
      newStatus - ChatMemberStatus New status of the chat member.
    • ChatEventMemberRestricted

      public ChatEventMemberRestricted(DataInput input) throws IOException
      A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
      Throws:
      IOException
  • Method Details