copyWith method

DeletePollOption copyWith({
  1. int? chatId,
  2. int? messageId,
  3. String? optionId,
})

Implementation

DeletePollOption copyWith({
  int? chatId,
  int? messageId,
  String? optionId,
}) =>
    DeletePollOption(
      chatId: chatId ?? this.chatId,
      messageId: messageId ?? this.messageId,
      optionId: optionId ?? this.optionId,
    );