ProcessChatJoinRequest class final
ProcessChatJoinRequest (processChatJoinRequest) - TDLib function
Handles a pending join request in a chat.
- chatId: Chat identifier.
- userId: Identifier of the user that sent the request.
- approve: Pass true to approve the request; pass false to decline it.
Ok is returned on completion.
- Inheritance
-
- Object
- TdFunction
- ProcessChatJoinRequest
Constructors
- ProcessChatJoinRequest({required int chatId, required int userId, required bool approve})
-
ProcessChatJoinRequest (processChatJoinRequest) - TDLib function
const
Properties
- approve → bool
-
Pass true to approve the request; pass false to decline it
final
- chatId → int
-
Chat identifier
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → int
-
Identifier of the user that sent the request
final
Methods
-
copyWith(
{int? chatId, int? userId, bool? approve}) → ProcessChatJoinRequest - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type