You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.7 KiB

  1. ---
  2. title: Constants
  3. ---
  4. ## Conversation
  5. ### Conversation types
  6. * `1` "One to one"
  7. * `2` Group
  8. * `3` Public
  9. * `4` Changelog
  10. ### Read-only states
  11. * `0` Read-write
  12. * `1` Read-only
  13. ### Listable scope
  14. * `0` Participants only
  15. * `1` Regular users only, excluding guest app users
  16. * `2` Everyone
  17. ### Webinar lobby states
  18. * `0` No lobby
  19. * `1` Lobby for non moderators
  20. ## Participants
  21. ### Participant types
  22. * `1` Owner
  23. * `2` Moderator
  24. * `3` User
  25. * `4` Guest
  26. * `5` User following a public link
  27. * `6` Guest with moderator permissions
  28. ### Participant in-call flag
  29. * `0` Disconnected
  30. * `1` In-call
  31. * `2` Provides audio
  32. * `4` Provides video
  33. * `8` Uses SIP dial-in
  34. ### Participant notification levels
  35. * `0` Default (`1` for one-to-one conversations, `2` for other conversations)
  36. * `1` Always notify
  37. * `2` Notify on mention
  38. * `3` Never notify
  39. ### Participant read status privacy
  40. * `0` Read status is public
  41. * `1` Read status is private
  42. ### Attendee types
  43. * `users` - Logged-in users
  44. * `groups` - Groups
  45. * `circles` - [Circle from the Circles app](https://github.com/nextcloud/circles)
  46. * `guests` - Guest without a login
  47. * `emails` - A guest invited by email address
  48. ### Attendee publishing permissions
  49. * `0` None
  50. * `1` Audio
  51. * `2` Video
  52. * `4` Screensharing
  53. ### Actor types of chat messages
  54. * `users` - Logged-in users
  55. * `guests` - Guest users (attendee type `guests` and `emails`)
  56. * `bots` - Used by commands (actor-id is the used `/command`) and the changelog conversation (actor-id is `changelog`)
  57. ## Signaling modes
  58. * `internal` No external signaling server is used
  59. * `external` A single external signaling server is used
  60. * `conversation_cluster` An external signaling server is assigned per conversation