ProcessCommunityAddChatRequests class
Handles all pending requests to add chats to a community; requires can_edit_chat_list administrator right in the community Returns Ok
- Inheritance
-
- Object
- TdFunction
- ProcessCommunityAddChatRequests
- Available extensions
- Annotations
-
- @immutable
Constructors
- ProcessCommunityAddChatRequests({required int communityId, required bool approve})
-
const
Properties
- approve → bool
-
approve Pass true to approve all requests and add the chats to the
community; pass false to decline them
final
- communityId → int
-
communityId Identifier of the community
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? communityId, bool? approve}) → ProcessCommunityAddChatRequests -
Available on ProcessCommunityAddChatRequests, provided by the ProcessCommunityAddChatRequestsExtensions 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