copyWith method

EditBusinessMessageLiveLocation copyWith({
  1. String? businessConnectionId,
  2. int? chatId,
  3. int? messageId,
  4. ReplyMarkup? replyMarkup,
  5. LiveLocation? location,
})

Implementation

EditBusinessMessageLiveLocation copyWith({
  String? businessConnectionId,
  int? chatId,
  int? messageId,
  ReplyMarkup? replyMarkup,
  LiveLocation? location,
}) => EditBusinessMessageLiveLocation(
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  location: location ?? this.location,
);