copyWith method
BanChatMember
copyWith({
- int? chatId,
- MessageSender? memberId,
- int? bannedUntilDate,
- bool? revokeMessages,
Implementation
BanChatMember copyWith({
int? chatId,
MessageSender? memberId,
int? bannedUntilDate,
bool? revokeMessages,
}) =>
BanChatMember(
chatId: chatId ?? this.chatId,
memberId: memberId ?? this.memberId,
bannedUntilDate: bannedUntilDate ?? this.bannedUntilDate,
revokeMessages: revokeMessages ?? this.revokeMessages,
);