SetCommunityPermissions class

Changes permissions of regular members in the given community; requires can_ban_members administrator right in the community Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

SetCommunityPermissions({required int communityId, required CommunityPermissions permissions})
const

Properties

communityId → int
communityId Identifier of the community
final
hashCode → int
The hash code for this object.
no setteroverride
permissions → CommunityPermissions
permissions New permissions of the community
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? communityId, CommunityPermissions? permissions}) → SetCommunityPermissions

Available on SetCommunityPermissions, provided by the SetCommunityPermissionsExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String