Interface Conversation

Represents a conversation

interface Conversation {
    memberState: undefined | "INVITED" | "JOINED" | "LEFT" | "UNKNOWN";
    state: undefined | "ACTIVE" | "INACTIVE" | "DELETED";
    get displayName(): Nullable<string>;
    get id(): string;
    get imageUrl(): Nullable<string>;
    get memberId(): Nullable<string>;
    get name(): string;
    get properties(): Properties;
    get timestamp(): ConversationTimestampJS;
}

Properties

memberState: undefined | "INVITED" | "JOINED" | "LEFT" | "UNKNOWN"

The user member state in the conversation

state: undefined | "ACTIVE" | "INACTIVE" | "DELETED"

The conversation state

Accessors

  • get displayName(): Nullable<string>
  • The conversation display name

    Returns Nullable<string>

  • get id(): string
  • The conversation id

    Returns string

  • get imageUrl(): Nullable<string>
  • The conversation image url

    Returns Nullable<string>

  • get memberId(): Nullable<string>
  • The user member id in the conversation

    Returns Nullable<string>

  • get name(): string
  • The conversation name

    Returns string

  • get properties(): Properties
  • The conversation properties

    Returns Properties

  • get timestamp(): ConversationTimestampJS
  • The conversation timestamp

    Returns ConversationTimestampJS