Comments (2)
Hey @AntonLugtenburg,
On-demand notifications are supported by any notification channel. There is no special requirement. It's simply an anonymous notifiable class.
This should work
Notification::route(\NotificationChannels\Telegram\TelegramChannel::class, 'TELEGRAM_CHAT_ID')
->notify(new InvoicePaid($invoice));
Also, You can pass any valid Telegram chat ID that has interacted with your bot (So that can be user, group, or channel).
from telegram.
Thank you very much for your time and answering. Its working very nicely. Thanks again and have a good time
from telegram.
Related Issues (20)
- Problem with lumen 8 - call to a member function resolved on null HOT 3
- Add support for multiple bots HOT 1
- How do I get the status of the sent message "ok" and "message_id? HOT 1
- Why image uploaded Telegram message is broken in 41 b size? HOT 1
- Method Chunk throws an error
- CouldNotSendNotification. cURL error 60: SSL certificate problem HOT 1
- Call to undefined method NotificationChannels\Telegram\TelegramMessage::file() HOT 4
- Telegram responded with an error `400 - Bad Request: group chat was upgraded to a supergroup chat`
- Laravel 10 compatibility HOT 5
- How to add message_thread_id to TelegramMessage::create() HOT 1
- update message(Custom endpoint overwriting needed) HOT 1
- The communication with Telegram failed HOT 3
- Posting in topics HOT 2
- sending album photos HOT 1
- How to send to multiple Telegram bots HOT 1
- Error: Call to a member function toNotGiven() on null HOT 2
- Cannot get message_id of sent message HOT 9
- Is there a way to send multiple images in one message? HOT 2
- it.tdlight.client.TelegramError: 400: Chat not found HOT 3
- Latest Commit isn't included in a tagged version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram.