ManagedBotUpdated constructor

const ManagedBotUpdated({
  1. @JsonKey.new(name: 'user') required User user,
  2. @JsonKey.new(name: 'bot') required User bot,
})

Creates a new ManagedBotUpdated instance

Implementation

const factory ManagedBotUpdated({
  /// User that created the bot
  @JsonKey(name: 'user') required User user,

  /// Information about the bot. Token of the bot can be fetched using the
  /// method getManagedBotToken.
  @JsonKey(name: 'bot') required User bot,
}) = _ManagedBotUpdated;