copyWith method

StopPoll copyWith({
  1. int? chatId,
  2. int? messageId,
  3. ReplyMarkup? replyMarkup,
})

Implementation

StopPoll copyWith({
  int? chatId,
  int? messageId,
  ReplyMarkup? replyMarkup,
}) =>
    StopPoll(
      chatId: chatId ?? this.chatId,
      messageId: messageId ?? this.messageId,
      replyMarkup: replyMarkup ?? this.replyMarkup,
    );