All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.whispersystems.textsecure.api.messages.multidevice.DeviceGroup Maven / Gradle / Ivy

There is a newer version: 1.8.7
Show newest version
package org.whispersystems.textsecure.api.messages.multidevice;

import org.whispersystems.libaxolotl.util.guava.Optional;
import org.whispersystems.textsecure.api.messages.TextSecureAttachmentStream;

import java.util.List;

public class DeviceGroup {

  private final byte[]                               id;
  private final Optional                     name;
  private final List                         members;
  private final Optional avatar;

  public DeviceGroup(byte[] id, Optional name, List members, Optional avatar) {
    this.id      = id;
    this.name    = name;
    this.members = members;
    this.avatar  = avatar;
  }

  public Optional getAvatar() {
    return avatar;
  }

  public Optional getName() {
    return name;
  }

  public byte[] getId() {
    return id;
  }

  public List getMembers() {
    return members;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy