Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NIMSession

Index

Properties

id: string

Conversation ID

isTop?: boolean

Whether the conversation is pinned

lastMsg: NIMMessage

lastMsg: the last message for this conversation

localCustom?: string

Custom extension field of a conversation in the local database

Note: This field will only be updated to the local database and will not be synced with the server

msgReceiptTime?: number

Timestamp of a read receipt for group messages

Note: This field indicates whether the sent message has been read by the peer. If this field exists. all messages before this timestamp have been read by the peer.

Note 2: Only works for 'p2p' sessions

scene: string

Scenario

p2p Private chat team Group chat superTeam Supergroup chat

to: string

the user you talk with. An account or group ID

topCustom?: string

The extension field of pinned conversations.

unread: number

Unread count

updateTime: number

Conversation update timestamp