ToggleSupergroupUsernameIsActive constructor

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

Changes active state for a username of a supergroup or channel, requires owner privileges in the supergroup or channel. The editable username can't be disabled.

Returns Ok

Implementation

ToggleSupergroupUsernameIsActive