Skip to content

allowUnpaidMessagesFromUser

Function · TDLib 1.8.67 · d1085f9c

Allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages

allowUnpaidMessagesFromUser(
  user_id: int53,
  refund_payments: Bool
) → Ok

user_id

int53

Identifier of the user

refund_payments

Bool

Pass true to refund the user previously paid messages