// Package entity holds conversation domain types. package entity const ( TypeP2P = 1 TypeGroup = 2 ) // Conversation is a P2P or group chat. LastMsgID is the Snowflake cursor, not ConversationSeq. type Conversation struct { ID int64 Type int LastMsgID int64 LastMsgAt int64 }