Skip to content

Commit

Permalink
Signed-off-by: dankyalo599 <[email protected]>
Browse files Browse the repository at this point in the history
Send Notification via Telegram Feature

Signed-off-by: danielkyalo599 <[email protected]>
  • Loading branch information
dankyalo599 committed Jan 18, 2023
1 parent d2302d2 commit d853c5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import java.lang.IllegalStateException
data class Telegram(val chatId: String, val botToken: String) : ToXContent {

init {
require(!Strings.isNullOrEmpty(chatId)) { "Chat ID is null or empty" }
require(!Strings.isNullOrEmpty(chatId)) { "Chat ID is null or empty" }
require(!Strings.isNullOrEmpty(botToken)) { "Bot token is null or empty" }
}

Expand Down

0 comments on commit d853c5a

Please sign in to comment.