Module tdlight.api

Class TdApi.ChatEventMemberPromoted

Enclosing class:
TdApi

public static final class TdApi.ChatEventMemberPromoted extends TdApi.ChatEventAction
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
  • Field Details

  • Constructor Details

    • ChatEventMemberPromoted

      public ChatEventMemberPromoted()
      A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
    • ChatEventMemberPromoted

      public ChatEventMemberPromoted(long userId, TdApi.ChatMemberStatus oldStatus, TdApi.ChatMemberStatus newStatus)
      A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
      Parameters:
      userId - long Affected chat member user identifier.
      oldStatus - ChatMemberStatus Previous status of the chat member.
      newStatus - ChatMemberStatus New status of the chat member.
    • ChatEventMemberPromoted

      public ChatEventMemberPromoted(DataInput input) throws IOException
      A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
      Throws:
      IOException
  • Method Details