CommunityAddChatRequest class
Describes a request to add a chat to a community
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- CommunityAddChatRequest({required int chatId, required bool isHidden, required int senderUserId, required int date})
-
const
Properties
- chatId → int
-
chatId Identifier of the chat to be added
final
- date → int
-
date Point in time (Unix timestamp) when the request was sent
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isHidden → bool
-
isHidden True, if the chat will be visible only to administrators of the
community
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- senderUserId → int
-
senderUserId Identifier of the user who sent the request
final
Methods
-
copyWith(
{int? chatId, bool? isHidden, int? senderUserId, int? date}) → CommunityAddChatRequest -
Available on CommunityAddChatRequest, provided by the CommunityAddChatRequestExtensions 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
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → CommunityAddChatRequest?
Constants
- constructor → const String