1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-11-28 08:39:13 +02:00

docs(readme): correct faulty telegram chat id

This commit is contained in:
Niko Köser 2021-01-25 05:16:08 +01:00
parent 62d196ea87
commit 5a752672a6
No known key found for this signature in database
GPG Key ID: F3F28C118DAA6375

View File

@ -30,7 +30,7 @@ telegramService, _ := telegram.New("your_telegram_api_token")
// Passing a telegram chat id as receiver for our messages.
// Basically where should our message be sent to?
telegramService.AddReceivers(-0123456789)
telegramService.AddReceivers(-1234567890)
// Tell our notifier to use the telegram service. You can repeat the above process
// for as many services as you like and just tell the notifier to use them.
@ -38,7 +38,7 @@ telegramService.AddReceivers(-0123456789)
notifier.UseService(telegramService)
// Send a test message
notifier.Send(
_ = notifier.Send(
"Message Subject/Title",
"The actual message. Hello, you awesome gophers! :)",
)