Class Fallback.FallbackBuilder
java.lang.Object
com.totvs.tjf.communication.sdk.messages.Fallback.FallbackBuilder
- Enclosing class:
Fallback
-
Method Summary
Modifier and TypeMethodDescriptionaddress to send message from channelalternativeContent
(String alternativeContent) Optional alternative content send on the fallback messagebuild()
channel
(FallbackChannel channel) Channel to send message if timeout has expiredtimeout
(long timeout) Timeout in seconds.toString()
-
Method Details
-
channel
Channel to send message if timeout has expired- Returns:
this
.
-
address
address to send message from channel- Returns:
this
.
-
timeout
Timeout in seconds. Minimum: 60 seconds. If set below, it will default to 60 seconds.- Returns:
this
.
-
alternativeContent
Optional alternative content send on the fallback message- Returns:
this
.
-
build
-
toString
-