class Azure::BotService::Mgmt::V2017_12_01_preview::Models::TelegramChannelProperties
The parameters to provide for the Telegram channel.
Attributes
access_token[RW]
@return [String] The Telegram access token. Value only returned through POST to the action Channel
List API, otherwise empty.
is_enabled[RW]
@return [Boolean] Whether this channel is enabled for the bot
is_validated[RW]
@return [Boolean] Whether this channel is validated for the bot
Public Class Methods
mapper()
click to toggle source
Mapper for TelegramChannelProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TelegramChannelProperties', type: { name: 'Composite', class_name: 'TelegramChannelProperties', model_properties: { access_token: { client_side_validation: true, required: true, serialized_name: 'accessToken', type: { name: 'String' } }, is_validated: { client_side_validation: true, required: false, serialized_name: 'isValidated', type: { name: 'Boolean' } }, is_enabled: { client_side_validation: true, required: true, serialized_name: 'isEnabled', type: { name: 'Boolean' } } } } } end