copyWith method
ForumTopicInfo
copyWith(
{ - int? chatId,
- int? forumTopicId,
- String? name,
- ForumTopicIcon? icon,
- int? creationDate,
- MessageSender? creatorId,
- bool? isGeneral,
- bool? isOutgoing,
- bool? isClosed,
- bool? isHidden,
- bool? isNameImplicit,
})
Implementation
ForumTopicInfo copyWith({
int? chatId,
int? forumTopicId,
String? name,
ForumTopicIcon? icon,
int? creationDate,
MessageSender? creatorId,
bool? isGeneral,
bool? isOutgoing,
bool? isClosed,
bool? isHidden,
bool? isNameImplicit,
}) => ForumTopicInfo(
chatId: chatId ?? this.chatId,
forumTopicId: forumTopicId ?? this.forumTopicId,
name: name ?? this.name,
icon: icon ?? this.icon,
creationDate: creationDate ?? this.creationDate,
creatorId: creatorId ?? this.creatorId,
isGeneral: isGeneral ?? this.isGeneral,
isOutgoing: isOutgoing ?? this.isOutgoing,
isClosed: isClosed ?? this.isClosed,
isHidden: isHidden ?? this.isHidden,
isNameImplicit: isNameImplicit ?? this.isNameImplicit,
);