ChatJoinResultSuccess class

The chat was joined successfully

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

ChatJoinResultSuccess({required int chatId})
const

Properties

chatId → int
chatId Identifier of the chat
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? chatId}) → ChatJoinResultSuccess

Available on ChatJoinResultSuccess, provided by the ChatJoinResultSuccessExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult success(ChatJoinResultSuccess value), required TResult requestSent(ChatJoinResultRequestSent value), required TResult guardBotApprovalRequired(ChatJoinResultGuardBotApprovalRequired value), required TResult declined(ChatJoinResultDeclined value)}) → TResult

Available on ChatJoinResult, provided by the ChatJoinResultExtensions extension

maybeMap<TResult extends Object?>({TResult success(ChatJoinResultSuccess value)?, TResult requestSent(ChatJoinResultRequestSent value)?, TResult guardBotApprovalRequired(ChatJoinResultGuardBotApprovalRequired value)?, TResult declined(ChatJoinResultDeclined value)?, required TResult orElse()}) → TResult

Available on ChatJoinResult, provided by the ChatJoinResultExtensions extension

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