*/ public function via(object $notifiable): array { return ['telegram']; } /** * Get the Telegram message representation of the notification. * * @param mixed $notifiable */ public function toTelegram($notifiable): TelegramMessage { return TelegramMessage::create() ->to($notifiable->routes['telegram_chat_id']) ->content($this->content) ->disableNotification($this->disableNotification); } }