Options
All
  • Public
  • Public/Protected
  • All
Menu

@sscale/pchatsdk - v1.0.0

Index

Type aliases

MessageType

MessageType: { content: string; created_at: string; id: string; room: string; user: UserType }

Type declaration

  • content: string

    The content of the message.

  • created_at: string

    When the message was created.

  • id: string

    Persistent unique id.

  • room: string

    Room id.

  • user: UserType

    Author.

UserType

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

Type declaration

  • id: string

    Persistent unique id.

  • meta: { username: string }

    Meta info.

    • username: string

      User's username.