Interface TelegramCredentials

All Superinterfaces:
ChannelCredentials

public interface TelegramCredentials extends ChannelCredentials
If you are including the Telegram Bot channel in the channel_identifier property, you must include this object.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Dedicated Builder
  • Method Summary

    Modifier and Type
    Method
    Description
    Getting builder
    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

      static TelegramCredentials.Builder builder()
      Getting builder
      Returns:
      New Builder instance