Closed neowolfman closed 1 year ago
Hello, I would like to send an online message after a task, is it possible? Could you give me an example?
Note: I have not been able to send without creating a Controller, that's why my query.
Thank you
Example code
$channel = new MicrosoftTeamsChannel(config('services.microsoft_teams.DTES_url')); $teamsMessage= MicrosoftTeamsMessage::create() ->type('warning') ->title('Cliente No Encontrado') ->content('Test<br><br>'); $response = $channel->send(null, **$teamsMessage);**
Please check out the readme for an example or the laravel documentation how to send a notification.
Hello, I would like to send an online message after a task, is it possible? Could you give me an example?
Note: I have not been able to send without creating a Controller, that's why my query.
Thank you
Example code