home | heroImage | actionText | actionLink | features | footer | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
true |
/logo.svg |
Get Started → |
/guide/v3/ |
|
MIT Licensed | Copyright © 2017-present Vladimir Yuldashev |
class Weather extends Intent
{
public function activators(): array
{
return [
Exact::make('/weather'),
Exact::make('Tell me the weather for today'),
];
}
public function run(ReceivedMessage $message): void
{
$this->reply('Weather is nice today.');
}
}