Module tdlight.api

Class TdApi.PushMessageContentChatDeleteMember

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentChatDeleteMember
Enclosing class:
TdApi

public static final class TdApi.PushMessageContentChatDeleteMember extends TdApi.PushMessageContent
A chat member was deleted.
  • Field Details

    • memberName

      public String memberName
      Name of the deleted member.
    • isCurrentUser

      public boolean isCurrentUser
      True, if the current user was deleted from the group.
    • isLeft

      public boolean isLeft
      True, if the user has left the group themselves.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PushMessageContentChatDeleteMember

      public PushMessageContentChatDeleteMember()
      A chat member was deleted.
    • PushMessageContentChatDeleteMember

      public PushMessageContentChatDeleteMember(String memberName, boolean isCurrentUser, boolean isLeft)
      A chat member was deleted.
      Parameters:
      memberName - Name of the deleted member.
      isCurrentUser - True, if the current user was deleted from the group.
      isLeft - True, if the user has left the group themselves.
    • PushMessageContentChatDeleteMember

      public PushMessageContentChatDeleteMember(DataInput input) throws IOException
      A chat member was deleted.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object