Class Integration.Telegram.TelegramBuilder
java.lang.Object
net.flectone.pulse.config.Integration.Telegram.TelegramBuilder
- Enclosing class:
Integration.Telegram
- Since:
- 1.7.1
-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelInfo(Integration.ChannelInfo channelInfo) customCommand(Map<String, Integration.Command> customCommand) destination(Destination destination) disableNotification(Boolean disableNotification) ignoreAllBots(Boolean ignoreAllBots) messageChannel(Map<String, List<String>> messageChannel) parseMode(Integration.Telegram.Mode parseMode) protectContent(Boolean protectContent) proxy(Integration.Proxy proxy) toString()
-
Method Details
-
enable
- Returns:
this.
-
ignoreAllBots
- Returns:
this.
-
disableNotification
- Returns:
this.
-
protectContent
- Returns:
this.
-
parseMode
- Returns:
this.
-
token
- Returns:
this.
-
proxy
- Returns:
this.
-
customCommand
public Integration.Telegram.TelegramBuilder customCommand(Map<String, Integration.Command> customCommand) - Returns:
this.
-
channelInfo
- Returns:
this.
-
messageChannel
public Integration.Telegram.TelegramBuilder messageChannel(Map<String, List<String>> messageChannel) - Returns:
this.
-
destination
- Returns:
this.
-
sound
- Returns:
this.
-
build
-
toString
-