DirectMessagePriceChanged constructor
const
DirectMessagePriceChanged({})
Creates a new DirectMessagePriceChanged object.
Implementation
const factory DirectMessagePriceChanged({
/// True, if direct messages are enabled for the channel chat; false otherwise
@JsonKey(name: 'are_direct_messages_enabled')
required bool areDirectMessagesEnabled,
/// 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.
@JsonKey(name: 'direct_message_star_count') int? directMessageStarCount,
}) = _DirectMessagePriceChanged;