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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic TelegramCredentials.Builderbuilder()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.Field is required
- Returns:
- token
-
builder
Getting builder- Returns:
- New Builder instance
-