copyWith method

StartLiveStory copyWith({
  1. int? chatId,
  2. StoryPrivacySettings? privacySettings,
  3. bool? protectContent,
  4. bool? isRtmpStream,
  5. bool? enableMessages,
  6. int? paidMessageStarCount,
})

Implementation

StartLiveStory copyWith({
  int? chatId,
  StoryPrivacySettings? privacySettings,
  bool? protectContent,
  bool? isRtmpStream,
  bool? enableMessages,
  int? paidMessageStarCount,
}) =>
    StartLiveStory(
      chatId: chatId ?? this.chatId,
      privacySettings: privacySettings ?? this.privacySettings,
      protectContent: protectContent ?? this.protectContent,
      isRtmpStream: isRtmpStream ?? this.isRtmpStream,
      enableMessages: enableMessages ?? this.enableMessages,
      paidMessageStarCount: paidMessageStarCount ?? this.paidMessageStarCount,
    );