KeyboardButtonRequestManagedBot constructor
const
KeyboardButtonRequestManagedBot({})
Creates a new KeyboardButtonRequestManagedBot object.
Implementation
const factory KeyboardButtonRequestManagedBot({
/// Signed 32-bit identifier of the request. Must be unique within the
/// message.
@JsonKey(name: 'request_id') required int requestId,
/// Optional. Suggested name for the bot.
@JsonKey(name: 'suggested_name') String? suggestedName,
/// Optional. Suggested username for the bot.
///
/// Telegram Premium users can assign secondary usernames ending in
/// `agent`, `ai`, `app`, `game`, or `gay` to up to two bots they own.
@JsonKey(name: 'suggested_username') String? suggestedUsername,
}) = _KeyboardButtonRequestManagedBot;