it.auties.whatsapp.model.chat.ChatMetadata Maven / Gradle / Ivy
package it.auties.whatsapp.model.chat;
import it.auties.whatsapp.model.jid.Jid;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Map;
import java.util.Optional;
/**
* This model class represents the metadata of a group or community
*/
public record ChatMetadata(
Jid jid,
String subject,
Optional subjectAuthor,
Optional subjectTimestamp,
Optional foundationTimestamp,
Optional founder,
Optional description,
Optional descriptionId,
Map super ChatSetting, ChatSettingPolicy> settings,
List participants,
List pastParticipants,
Optional ephemeralExpiration,
Optional parentCommunityJid,
boolean isCommunity,
List communityGroups
) {
}