copyWith method
Implementation
AddPollOption copyWith({
int? chatId,
int? messageId,
InputPollOption? option,
}) => AddPollOption(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
option: option ?? this.option,
);
AddPollOption copyWith({
int? chatId,
int? messageId,
InputPollOption? option,
}) => AddPollOption(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
option: option ?? this.option,
);