Interface AllowUnpaidMessagesFromUser

Allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages. Request type for Tdjson#allowUnpaidMessagesFromUser.

interface AllowUnpaidMessagesFromUser {
    @type: "allowUnpaidMessagesFromUser";
    refund_payments?: boolean;
    user_id: number;
}

Properties

@type: "allowUnpaidMessagesFromUser"
refund_payments?: boolean

Pass true to refund the user previously paid messages.

user_id: number

Identifier of the user.