Component evidence

Telegram WebApp Sent Message (WebApp/SentWebAppMessage.php)

nutgram · src/Telegram/Types/WebApp/SentWebAppMessage.php · php · MIT
integrationchatlang:php

A data model representing a message sent by a Telegram Web App. Use this when integrating Telegram bots that interact with user-facing Web Apps.

Source preview public preview
// Source: https://github.com/nutgram/nutgram | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace SergiX44\Nutgram\Telegram\Types\WebApp;

use SergiX44\Nutgram\Telegram\Types\BaseType;

/**
 * Describes an inline message sent by a {@see https://core.telegram.org/bots/webapps Web App} on behalf of a user.
 * @see https://core.telegram.org/bots/api#sentwebappmessage
 */
class SentWebAppMessage extends BaseType
{
    /**
     * Optional.
     * Identifier of the sent inline message.
     * Available only if there is an {@see https://core.telegram.org/bots/api#inlinekeyboardmarkup inline keyboard} attached to the message.
     */
    public ?string $inline_message_id = null;
}