DirectMessagePriceChanged

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

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

Fields

FieldTypeRequiredDescription
are_direct_messages_enabledBooleanAlwaysTrue, if direct messages are enabled for the channel chat; False otherwise
direct_message_star_countIntegerOptionalThe 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.
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.