Skip to content

Session client constants

You can use some Session client constatnts from @session.js/consts such as CONVERSATION.MAX_VOICE_MESSAGE_DURATION which should help you define limits for your client.

Here is a full list of constants defined in that module:

  • DURATION
  • TTL_DEFAULT
  • SWARM_POLLING_TIMEOUT
  • PROTOCOLS
  • CONVERSATION
  • MAX_ATTACHMENT_FILESIZE_BYTES
  • VALIDATION
  • DEFAULT_RECENT_REACTS
  • REACT_LIMIT
  • MAX_USERNAME_BYTES
  • FEATURE_RELEASE_TIMESTAMPS