copyWith method

GetPollVoters copyWith({
  1. int? chatId,
  2. int? messageId,
  3. int? optionId,
  4. int? offset,
  5. int? limit,
})

Implementation

GetPollVoters copyWith({
  int? chatId,
  int? messageId,
  int? optionId,
  int? offset,
  int? limit,
}) => GetPollVoters(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  optionId: optionId ?? this.optionId,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
);