DirectMessagePriceChanged

@Serializable
data class DirectMessagePriceChanged(val areDirectMessagesEnabled: Boolean, val directMessageStarCount: Int = 0)(source)

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

Api reference

Constructors

Link copied to clipboard
constructor(areDirectMessagesEnabled: Boolean, directMessageStarCount: Int = 0)

Properties

Link copied to clipboard

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

Link copied to clipboard

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.