Class GroupNotificationMessage

  • All Implemented Interfaces:

    
    public class GroupNotificationMessage
    
                        

    Group Notification Message Class

    This class represents group notification messages. These messages are stored but do not count towards the unread message count.

    • Constructor Detail

      • GroupNotificationMessage

        GroupNotificationMessage(Array<byte> data)
      • GroupNotificationMessage

        GroupNotificationMessage(Parcel in)
    • Method Detail

      • getOperatorUserId

         String getOperatorUserId()

        Retrieves the operator's UserId, which can be empty.

        Returns:

        The operator's UserId, which can be empty.

      • setOperatorUserId

         void setOperatorUserId(String operatorUserId)

        Sets the operator's UserId, which can be empty.

        Parameters:
        operatorUserId - The operator's UserId, which can be empty.
      • getOperation

         String getOperation()

        Retrieves the operation name, which corresponds to GroupOperationXxxx or any arbitrary string.

        Returns:

        The operation name, corresponding to GroupOperationXxxx or any arbitrary string.

      • setOperation

         void setOperation(String operation)

        Sets the operation name, which corresponds to GroupOperationXxxx or any string.

        Parameters:
        operation - The operation name, which corresponds to GroupOperationXxxx or any string.
      • getData

         String getData()

        Retrieves the UserId of the target user or the operation data (e.g., the new name after renaming).

        Returns:

        The UserId of the target user or the operation data (e.g., the new name after renaming).

      • setData

         void setData(String data)

        Sets the UserId of the person being operated on or the operation data (e.g., the new name after renaming).

        Parameters:
        data - The UserId of the person being operated on or the operation data (e.g., the new name after renaming).
      • getMessage

         String getMessage()

        Retrieves the operation information, which can be empty, e.g., You were kicked out of the group by xxx.

        Returns:

        The operation information, which can be empty, e.g., You were kicked out of the group by xxx.

      • setMessage

         void setMessage(String message)

        Sets the operation information, which can be empty, e.g., You were removed from the group by xxx.

        Parameters:
        message - The operation information, which can be empty, e.g., You were removed from the group by xxx.