toggle_direct_messages_chat_topic_can_send_unpaid_messages


Description:

public async Ok toggle_direct_messages_chat_topic_can_send_unpaid_messages (int64 chat_id, int64 topic_id, bool can_send_unpaid_messages, bool refund_payments) throws TDLibError

Allows to send unpaid messages to the given topic of the channel direct messages chat administered by the current user

Parameters:

chat_id

Chat identifier

topic_id

Identifier of the topic

can_send_unpaid_messages

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

refund_payments

Pass true to refund the user previously paid messages