teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
payments
PaymentForm
Class PaymentForm
Hierarchy (
View Summary
)
VirtualClass
<
{
additionalMethods
?:
TypePaymentFormMethod
[]
;
botId
:
long
;
canSaveCredentials
?:
boolean
;
description
:
string
;
formId
:
long
;
invoice
:
TypeInvoice
;
nativeParams
?:
TypeDataJSON
;
nativeProvider
?:
string
;
passwordMissing
?:
boolean
;
photo
?:
TypeWebDocument
;
providerId
:
long
;
savedCredentials
?:
TypePaymentSavedCredentials
[]
;
savedInfo
?:
TypePaymentRequestedInfo
;
title
:
string
;
url
:
string
;
users
:
TypeUser
[]
;
}
,
>
PaymentForm
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
additional
Methods?
bot
Id
can
Save
Credentials?
class
Name
class
Type
CONSTRUCTOR_
ID
description
form
Id
invoice
native
Params?
native
Provider?
original
Args
password
Missing?
photo?
provider
Id
saved
Credentials?
saved
Info?
SUBCLASS_
OF_
ID
title
url
users
Constructors
constructor
new
PaymentForm
(
args
:
{
additionalMethods
?:
PaymentFormMethod
[]
;
botId
:
BigInteger
;
canSaveCredentials
?:
boolean
;
description
:
string
;
formId
:
BigInteger
;
invoice
:
Invoice
;
nativeParams
?:
DataJSON
;
nativeProvider
?:
string
;
passwordMissing
?:
boolean
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
savedCredentials
?:
PaymentSavedCredentialsCard
[]
;
savedInfo
?:
PaymentRequestedInfo
;
title
:
string
;
url
:
string
;
users
:
TypeUser
[]
;
}
,
)
:
PaymentForm
Parameters
args
:
{
additionalMethods
?:
PaymentFormMethod
[]
;
botId
:
BigInteger
;
canSaveCredentials
?:
boolean
;
description
:
string
;
formId
:
BigInteger
;
invoice
:
Invoice
;
nativeParams
?:
DataJSON
;
nativeProvider
?:
string
;
passwordMissing
?:
boolean
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
savedCredentials
?:
PaymentSavedCredentialsCard
[]
;
savedInfo
?:
PaymentRequestedInfo
;
title
:
string
;
url
:
string
;
users
:
TypeUser
[]
;
}
Returns
PaymentForm
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PaymentForm
Parameters
reader
:
any
Returns
PaymentForm
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
additionalMethods
?:
PaymentFormMethod
[]
;
botId
:
BigInteger
;
canSaveCredentials
?:
boolean
;
description
:
string
;
formId
:
BigInteger
;
invoice
:
Invoice
;
nativeParams
?:
DataJSON
;
nativeProvider
?:
string
;
passwordMissing
?:
boolean
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
savedCredentials
?:
PaymentSavedCredentialsCard
[]
;
savedInfo
?:
PaymentRequestedInfo
;
title
:
string
;
url
:
string
;
users
:
TypeUser
[]
;
}
Returns
{
additionalMethods
?:
PaymentFormMethod
[]
;
botId
:
BigInteger
;
canSaveCredentials
?:
boolean
;
description
:
string
;
formId
:
BigInteger
;
invoice
:
Invoice
;
nativeParams
?:
DataJSON
;
nativeProvider
?:
string
;
passwordMissing
?:
boolean
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
savedCredentials
?:
PaymentSavedCredentialsCard
[]
;
savedInfo
?:
PaymentRequestedInfo
;
title
:
string
;
url
:
string
;
users
:
TypeUser
[]
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
Optional
additional
Methods
additionalMethods
?:
PaymentFormMethod
[]
bot
Id
botId
:
BigInteger
Optional
can
Save
Credentials
canSaveCredentials
?:
boolean
class
Name
className
:
"payments.PaymentForm"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2684716881
description
description
:
string
form
Id
formId
:
BigInteger
invoice
invoice
:
Invoice
Optional
native
Params
nativeParams
?:
DataJSON
Optional
native
Provider
nativeProvider
?:
string
original
Args
originalArgs
:
{
additionalMethods
?:
PaymentFormMethod
[]
;
botId
:
BigInteger
;
canSaveCredentials
?:
boolean
;
description
:
string
;
formId
:
BigInteger
;
invoice
:
Invoice
;
nativeParams
?:
DataJSON
;
nativeProvider
?:
string
;
passwordMissing
?:
boolean
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
savedCredentials
?:
PaymentSavedCredentialsCard
[]
;
savedInfo
?:
PaymentRequestedInfo
;
title
:
string
;
url
:
string
;
users
:
TypeUser
[]
;
}
Optional
password
Missing
passwordMissing
?:
boolean
Optional
photo
photo
?:
TypeWebDocument
provider
Id
providerId
:
BigInteger
Optional
saved
Credentials
savedCredentials
?:
PaymentSavedCredentialsCard
[]
Optional
saved
Info
savedInfo
?:
PaymentRequestedInfo
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2689089305
title
title
:
string
url
url
:
string
users
users
:
TypeUser
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
additional
Methods
bot
Id
can
Save
Credentials
class
Name
class
Type
CONSTRUCTOR_
ID
description
form
Id
invoice
native
Params
native
Provider
original
Args
password
Missing
photo
provider
Id
saved
Credentials
saved
Info
SUBCLASS_
OF_
ID
title
url
users
GitHub
npm
Issues
teleproto - v1.229.0
Loading...