Interface ToggleDirectMessagesChatTopicCanSendUnpaidMessages

Allows to send unpaid messages to the given topic of the channel direct messages chat administered by the current user. Request type for Tdjson#toggleDirectMessagesChatTopicCanSendUnpaidMessages.

interface ToggleDirectMessagesChatTopicCanSendUnpaidMessages {
    @type: "toggleDirectMessagesChatTopicCanSendUnpaidMessages";
    can_send_unpaid_messages?: boolean;
    chat_id: number;
    refund_payments?: boolean;
    topic_id: number;
}

Properties

@type: "toggleDirectMessagesChatTopicCanSendUnpaidMessages"
can_send_unpaid_messages?: boolean

Pass true to allow unpaid messages; pass false to disallow unpaid messages.

chat_id: number

Chat identifier.

refund_payments?: boolean

Pass true to refund the user previously paid messages.

topic_id: number

Identifier of the topic.