TelegramChannelPropertiesResponse

data class TelegramChannelPropertiesResponse(val accessToken: String? = null, val isEnabled: Boolean, val isValidated: Boolean? = null)

The parameters to provide for the Telegram channel.

Constructors

Link copied to clipboard
constructor(accessToken: String? = null, isEnabled: Boolean, isValidated: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessToken: String? = null

The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.

Link copied to clipboard

Whether this channel is enabled for the bot

Link copied to clipboard
val isValidated: Boolean? = null

Whether this channel is validated for the bot