<?php

class Agro_WhatsApp_Client
{
    private Agro_WhatsApp_Services_Interface $service;

    public function __construct(Agro_WhatsApp_Services_Interface $service) {
        $this->service = $service;
    }

    public function enviarArquivo(string $number, string $fileBase64, string $extension, string $fileName): stdClass
    {
        return $this->service->sendMedia($number, $fileBase64, $extension, $fileName);
    }

    public function enviarMensagem(string $number, string $message): stdClass
    {
        return $this->service->sendText($number, $message);
    }

}
