package com.aiwazian.messenger.data

import androidx.annotation.Keep
import com.aiwazian.messenger.interfaces.Profile
import com.google.gson.annotations.SerializedName

@Keep
data class GroupInfo(
    @Keep override val id: Long = 0,
    @Keep val ownerId: Long = 0,
    @Keep val name: String = "",
    @Keep val bio: String = "",
    @Keep val members: Int = 0
) : Profile

@Keep
data class CreateGroupRequest(
    @SerializedName("name") val name: String,
    @SerializedName("bio") val bio: String? = null
)
