SetSupergroupUsername constructor

const SetSupergroupUsername({
  1. required int supergroupId,
  2. required String username,
})

Changes the username of a supergroup or channel, requires owner privileges in the supergroup or channel

Implementation

const SetSupergroupUsername({
  required this.supergroupId,
  required this.username,
});