ManagedBotCreated constructor

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

Creates a new ManagedBotCreated object.

Implementation

const factory ManagedBotCreated({
  /// Information about the bot. The bot's token can be fetched using the
  /// method `getManagedBotToken`.
  @JsonKey(name: 'bot') required User bot,
}) = _ManagedBotCreated;