ToggleUsernameIsActive constructor

ToggleUsernameIsActive(
  1. {required String username,
  2. required bool is_active,
  3. int? extra,
  4. int? clientId}
)

Changes active state for a username of the current user. The editable username can't be disabled. May return an error with a message "USERNAMES_ACTIVE_TOO_MUCH" if the maximum number of active usernames has been reached

Returns Ok

Implementation

ToggleUsernameIsActive