BaseChatItem

abstract class BaseChatItem(type: Int) : KChatListItem

Constructors

Link copied to clipboard
constructor(type: Int)

Properties

Link copied to clipboard
lateinit var item: Chat

Functions

Link copied to clipboard
fun BaseChatItem.diff(other: BaseChatItem): KChatListPayloadDiff
Link copied to clipboard
open override fun isStick(): Boolean

是否置顶,优先级次之

Link copied to clipboard
open fun pinOrder(): Int

固定顶部顺序,优先级最高 默认-1 表示不固定顶部,不参与排序

Link copied to clipboard
open override fun updateTime(): Long

默认排序