Interface TelegramCredentials
- All Superinterfaces:
ChannelCredentials
If you are including the Telegram Bot channel in the
channel_identifier
property,
you must include this object.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic TelegramCredentials.Builder
builder()
Getting buildergetToken()
The token for the Telegram bot to which you are connecting.
-
Method Details
-
getToken
String getToken()The token for the Telegram bot to which you are connecting.- Returns:
- token
-
builder
Getting builder- Returns:
- New Builder instance
-