SetCommunityName class
Changes the name of the given community; requires can_change_info administrator right in the community Returns Ok
- Inheritance
-
- Object
- TdFunction
- SetCommunityName
- Available extensions
- Annotations
-
- @immutable
Constructors
- SetCommunityName({required int communityId, required String name})
-
const
Properties
- communityId → int
-
communityId Identifier of the community
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
name New name of the community
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? communityId, String? name}) → SetCommunityName -
Available on SetCommunityName, provided by the SetCommunityNameExtensions 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