TelegramChannelProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The parameters to provide for the Telegram channel.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.TelegramChannelPropertiesTypeConverter))]
public class TelegramChannelProperties : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ITelegramChannelProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.TelegramChannelPropertiesTypeConverter))>]
type TelegramChannelProperties = class
interface ITelegramChannelProperties
interface IJsonSerializable
Public Class TelegramChannelProperties
Implements ITelegramChannelProperties
- Inheritance
-
TelegramChannelProperties
- Attributes
- Implements
Constructors
TelegramChannelProperties() |
Creates an new TelegramChannelProperties instance. |
Properties
AccessToken |
The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty. |
IsEnabled |
Whether this channel is enabled for the bot |
IsValidated |
Whether this channel is validated for the bot |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of TelegramChannelProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of TelegramChannelProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ITelegramChannelProperties. |
FromJsonString(String) |
Creates a new instance of TelegramChannelProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of TelegramChannelProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |