package com.github.seratch.jslack.api.model;

import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * https://api.slack.com/types/group
 */
@Data
@Builder
public class Group {

    private String id;
    private String name;
    @SerializedName("is_group")
    private boolean group;
    private Integer created;
    private String creator;
    @SerializedName("is_archived")
    private boolean archived;
    @SerializedName("is_npim")
    private boolean npim;
    private List<String> members;
    private Topic topic;
    private Purpose purpose;
    private String lastRead;
    private Latest latest;
    private Integer unreadCount;
    private Integer unreadCountDisplay;
}
@@ -493,17 +493,17 @@
 ame(%22is_
-n
+m
 pim%22)%0A  
@@ -520,17 +520,17 @@
 boolean 
-n
+m
 pim;%0A   

Fix typo: should use is_mpim instead of is_npim (#53)