copyWith method

SetBotProfilePhoto copyWith({
  1. int? botUserId,
  2. InputChatPhoto? photo,
})

Implementation

SetBotProfilePhoto copyWith({
  int? botUserId,
  InputChatPhoto? photo,
}) =>
    SetBotProfilePhoto(
      botUserId: botUserId ?? this.botUserId,
      photo: photo ?? this.photo,
    );