supportMessageMaxLength static method

int supportMessageMaxLength()

Returns the longest message the support composer counts against (magic_starter.support.message_max_length).

Display only: the backend's own support.message_max_length is what refuses a longer message, so a host that changes one changes the other.

Implementation

static int supportMessageMaxLength() {
  return Config.get<int>(
        'magic_starter.support.message_max_length',
        _defaultSupportMessageMaxLength,
      ) ??
      _defaultSupportMessageMaxLength;
}