copyWith method

LinkPreviewTypeChat copyWith({
  1. InviteLinkChatType? type,
  2. ChatPhoto? photo,
  3. bool? createsJoinRequest,
})

Implementation

LinkPreviewTypeChat copyWith({
  InviteLinkChatType? type,
  ChatPhoto? photo,
  bool? createsJoinRequest,
}) => LinkPreviewTypeChat(
  type: type ?? this.type,
  photo: photo ?? this.photo,
  createsJoinRequest: createsJoinRequest ?? this.createsJoinRequest,
);