copyWith method

AddOffer copyWith({
  1. int? chatId,
  2. int? messageId,
  3. MessageSendOptions? options,
})

Implementation

AddOffer copyWith({
  int? chatId,
  int? messageId,
  MessageSendOptions? options,
}) => AddOffer(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  options: options ?? this.options,
);