ALIAS_MAX_LENGTH

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