InputCredentialsNew

class pyrogram.types.InputCredentialsNew

Applies if a user enters new credentials on a payment provider website.

Parameters:
  • data (str) – JSON-encoded data with the credential identifier from the payment provider.

  • allow_save (bool, optional) – True, if the credential identifier can be saved on the server side. Defaults to False.