Options
All
  • Public
  • Public/Protected
  • All
Menu

@sscale/chatsdk - v2.1.1

Index

Type aliases

MessageType

MessageType: { author: string; content: string; created_at: string; id: string; room: string }

Type declaration

  • author: string

    Author's id.

  • content: string

    The content of the message.

  • created_at: string

    When the message was created.

  • id: string

    Persistent unique id.

  • room: string

    Room's id.

UserType

UserType: { created_at: string; id: string; meta: { username: string } }

Type declaration

  • created_at: string

    When the user was created.

  • id: string

    Persistent unique id.

  • meta: { username: string }

    Meta info.

    • username: string

      User's username.