telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface DirectMessagePriceChanged

    Describes a service message about a change in the price of direct messages sent to a channel chat.

    interface DirectMessagePriceChanged {
        are_direct_messages_enabled: boolean;
        direct_message_star_count?: number;
    }
    Index
    are_direct_messages_enabled: boolean

    True, if direct messages are enabled for the channel chat; False otherwise.

    direct_message_star_count?: number

    The new number of Telegram Stars that must be paid by users for each direct message sent to the channel.

    Does not apply to users who have been exempted by administrators. Defaults to 0.