Options
All
  • Public
  • Public/Protected
  • All
Menu

Conversation object

Hierarchy

  • Conversation

Index

Constructors

constructor

  • new Conversation(data: { lastMessageTs?: number; messages: MessageItem[]; role?: EduRoleTypeEnum; timestamp?: number; unreadMessageCount: number; userName: string; userUuid: string }): Conversation
  • Parameters

    • data: { lastMessageTs?: number; messages: MessageItem[]; role?: EduRoleTypeEnum; timestamp?: number; unreadMessageCount: number; userName: string; userUuid: string }
      • Optional lastMessageTs?: number
      • messages: MessageItem[]
      • Optional role?: EduRoleTypeEnum
      • Optional timestamp?: number
      • unreadMessageCount: number
      • userName: string
      • userUuid: string

    Returns Conversation

Properties

Optional lastMessageTs

lastMessageTs?: number

messages

messages: MessageItem[]

Optional role

Optional timestamp

timestamp?: number

unreadMessageCount

unreadMessageCount: number

userName

userName: string

userUuid

userUuid: string