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