Telegram Passport Data Model (Passport/PassportData.cs)

Telegram.Bot · src/Telegram.Bot/Types/Passport/PassportData.cs · csharp · MIT
auth, integration, chat, lang:csharp

Represents user-shared Telegram Passport identity data and decryption credentials.

// Source: https://github.com/TelegramBots/Telegram.Bot | License: MIT | Copyright 2016-2026 Telegram Bots
// Provided via justclaw.it.com; keep this notice with the code.
// GENERATED FILE - DO NOT MODIFY MANUALLY
namespace Telegram.Bot.Types.Passport;

/// <summary>Describes Telegram Passport data shared with the bot by the user.</summary>
public partial class PassportData
{
    /// <summary>Array with information about documents and other Telegram Passport elements that was shared with the bot</summary>
    [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
    public EncryptedPassportElement[] Data { get; set; } = default!;

    /// <summary>Encrypted credentials required to decrypt the data</summary>
    [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
    public EncryptedCredenti

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key