TelegramConnectCode constructor

const TelegramConnectCode({
  1. required String code,
  2. required String command,
  3. String? botUsername,
  4. String? deepLink,
  5. String? groupLink,
  6. DateTime? expiresAt,
})

Creates a connect code.

Implementation

const TelegramConnectCode({
  required this.code,
  required this.command,
  this.botUsername,
  this.deepLink,
  this.groupLink,
  this.expiresAt,
});