您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

constants.js 781B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // @flow
  2. /**
  3. * The size of the chat.
  4. */
  5. export const CHAT_SIZE = 315;
  6. /**
  7. * The audio ID of the audio element for which the {@link playAudio} action is
  8. * triggered when new chat message is received.
  9. *
  10. * @type {string}
  11. */
  12. export const INCOMING_MSG_SOUND_ID = 'INCOMING_MSG_SOUND';
  13. /**
  14. * The {@code messageType} of error (system) messages.
  15. */
  16. export const MESSAGE_TYPE_ERROR = 'error';
  17. /**
  18. * The {@code messageType} of local messages.
  19. */
  20. export const MESSAGE_TYPE_LOCAL = 'local';
  21. /**
  22. * The {@code messageType} of remote messages.
  23. */
  24. export const MESSAGE_TYPE_REMOTE = 'remote';
  25. export const SMALL_WIDTH_THRESHOLD = 580;
  26. /**
  27. * The modes of the buttons of the chat and polls tabs.
  28. */
  29. export const BUTTON_MODES = {
  30. CONTAINED: 'contained',
  31. TEXT: 'text'
  32. };