spreed/docs/constants.md

867 B

title
Constants

Conversation types

  • 1 "one to one"
  • 2 group
  • 3 public
  • 4 changelog

Read-only states

  • 0 read-write
  • 1 read-only

Participant types

  • 1 owner
  • 2 moderator
  • 3 user
  • 4 guest
  • 5 user following a public link
  • 6 guest with moderator permissions

Participant in-call flag

  • 0 disconnected
  • 1 in-call
  • 2 provides audio
  • 4 provides video

Participant notification levels

  • 0 Default (1 for one-to-one conversations, 2 for other conversations)
  • 1 Always notify
  • 2 Notify on mention
  • 3 Never notify

Actor types of chat messages

  • guests - guest users
  • users - logged-in users
  • bots - used by commands (actor-id is the used /command) and the changelog conversation (actor-id is changelog)

Webinary lobby states

  • 0 no lobby
  • 1 lobby for non moderators