다음을 통해 공유


TelegramChannel Class

Definition

Telegram channel definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.TelegramChannelTypeConverter))]
public class TelegramChannel : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ITelegramChannel, Microsoft.Azure.PowerShell.Cmdlets.BotService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.TelegramChannelTypeConverter))>]
type TelegramChannel = class
    interface ITelegramChannel
    interface IJsonSerializable
    interface IChannel
    interface IValidates
Public Class TelegramChannel
Implements ITelegramChannel, IValidates
Inheritance
TelegramChannel
Attributes
Implements

Constructors

TelegramChannel()

Creates an new TelegramChannel instance.

Properties

AccessToken

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

Etag

Entity Tag of the resource

IsEnabled

Whether this channel is enabled for the bot

IsValidated

Whether this channel is validated for the bot

Location

Specifies the location of the resource.

Name

The channel name

ProvisioningState

Provisioning state of the resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TelegramChannel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TelegramChannel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ITelegramChannel.

FromJsonString(String)

Creates a new instance of TelegramChannel, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TelegramChannel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to