MatrixConstants

object MatrixConstants

This object define some global constants regarding the Matrix specification.

Functions

Link copied to clipboard
fun maxAliasLocalPartLength(domain: String): Int

Properties

Link copied to clipboard
const val ALIAS_MAX_LENGTH: Int = 255

Max length for an alias. Room aliases MUST NOT exceed 255 bytes (including the # sigil and the domain). See maxAliasLocalPartLength Ref. https://matrix.org/docs/spec/appendices#room-aliases