copyWith method
UpdateChatPermissions
copyWith({
- int? chatId,
- ChatPermissions? permissions,
- dynamic extra,
- int? clientId,
override
Implementation
@override
UpdateChatPermissions copyWith({
int? chatId,
ChatPermissions? permissions,
dynamic extra,
int? clientId,
}) =>
UpdateChatPermissions(
chatId: chatId ?? this.chatId,
permissions: permissions ?? this.permissions,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);