telegram_bot_api_file_data static method

TelegramBotApiFileData telegram_bot_api_file_data({
  1. required String name,
  2. required Uint8List buffer_data,
})

Implementation

static TelegramBotApiFileData telegram_bot_api_file_data({
  required String name,
  required Uint8List buffer_data,
}) {
  return TelegramBotApiFileData(
    buffer_data: buffer_data,
    name: name,
  );
}