package entity

import (
	coreuser "github.com/tidbcloud/aisupport/packages/sdk-go/contracts/entity/core-server/user/v1"
)

type LarkChat struct {
	ID         uint64            `json:"id" binding:"required"`
	Name       *string           `json:"name"`
	LarkTp     coreuser.LarkType `json:"lark_type"`
	IsExternal bool              `json:"is_external"`
	ChatID     *string           `json:"chat_id"`
	ChatURL    *string           `json:"chat_url"`
	AvatarURL  *string           `json:"avatar_url"`
}

type LarkChatSimplified struct {
	ID         uint64  `json:"id"  binding:"required"`
	Name       *string `json:"name"`
	AvatarUrl  *string `json:"avatar_url"`
	IsExternal bool    `json:"is_external"`
}
