DirectMessagePriceChanged
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
| Field | Type | Required | Description |
|---|---|---|---|
are_direct_messages_enabled | Boolean | Always | True, if direct messages are enabled for the channel chat; False otherwise |
direct_message_star_count | Integer | Optional | 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. |
Botlify Cloud Runtime
Credentials are auto-injected in
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.