teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
payments
PaymentReceipt
Class PaymentReceipt
Hierarchy (
View Summary
)
VirtualClass
<
{
botId
:
long
;
credentialsTitle
:
string
;
currency
:
string
;
date
:
int
;
description
:
string
;
info
?:
TypePaymentRequestedInfo
;
invoice
:
TypeInvoice
;
photo
?:
TypeWebDocument
;
providerId
:
long
;
shipping
?:
TypeShippingOption
;
tipAmount
?:
long
;
title
:
string
;
totalAmount
:
long
;
users
:
TypeUser
[]
;
}
,
>
PaymentReceipt
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
bot
Id
class
Name
class
Type
CONSTRUCTOR_
ID
credentials
Title
currency
date
description
info?
invoice
original
Args
photo?
provider
Id
shipping?
SUBCLASS_
OF_
ID
tip
Amount?
title
total
Amount
users
Constructors
constructor
new
PaymentReceipt
(
args
:
{
botId
:
BigInteger
;
credentialsTitle
:
string
;
currency
:
string
;
date
:
number
;
description
:
string
;
info
?:
PaymentRequestedInfo
;
invoice
:
Invoice
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
shipping
?:
ShippingOption
;
tipAmount
?:
BigInteger
;
title
:
string
;
totalAmount
:
BigInteger
;
users
:
TypeUser
[]
;
}
,
)
:
PaymentReceipt
Parameters
args
:
{
botId
:
BigInteger
;
credentialsTitle
:
string
;
currency
:
string
;
date
:
number
;
description
:
string
;
info
?:
PaymentRequestedInfo
;
invoice
:
Invoice
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
shipping
?:
ShippingOption
;
tipAmount
?:
BigInteger
;
title
:
string
;
totalAmount
:
BigInteger
;
users
:
TypeUser
[]
;
}
Returns
PaymentReceipt
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PaymentReceipt
Parameters
reader
:
any
Returns
PaymentReceipt
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
()
:
{
botId
:
BigInteger
;
credentialsTitle
:
string
;
currency
:
string
;
date
:
number
;
description
:
string
;
info
?:
PaymentRequestedInfo
;
invoice
:
Invoice
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
shipping
?:
ShippingOption
;
tipAmount
?:
BigInteger
;
title
:
string
;
totalAmount
:
BigInteger
;
users
:
TypeUser
[]
;
}
Returns
{
botId
:
BigInteger
;
credentialsTitle
:
string
;
currency
:
string
;
date
:
number
;
description
:
string
;
info
?:
PaymentRequestedInfo
;
invoice
:
Invoice
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
shipping
?:
ShippingOption
;
tipAmount
?:
BigInteger
;
title
:
string
;
totalAmount
:
BigInteger
;
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
bot
Id
botId
:
BigInteger
class
Name
className
:
"payments.PaymentReceipt"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1891958275
credentials
Title
credentialsTitle
:
string
currency
currency
:
string
date
date
:
number
description
description
:
string
Optional
info
info
?:
PaymentRequestedInfo
invoice
invoice
:
Invoice
original
Args
originalArgs
:
{
botId
:
BigInteger
;
credentialsTitle
:
string
;
currency
:
string
;
date
:
number
;
description
:
string
;
info
?:
PaymentRequestedInfo
;
invoice
:
Invoice
;
photo
?:
TypeWebDocument
;
providerId
:
BigInteger
;
shipping
?:
ShippingOption
;
tipAmount
?:
BigInteger
;
title
:
string
;
totalAmount
:
BigInteger
;
users
:
TypeUser
[]
;
}
Optional
photo
photo
?:
TypeWebDocument
provider
Id
providerId
:
BigInteger
Optional
shipping
shipping
?:
ShippingOption
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1493210057
Optional
tip
Amount
tipAmount
?:
BigInteger
title
title
:
string
total
Amount
totalAmount
:
BigInteger
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
bot
Id
class
Name
class
Type
CONSTRUCTOR_
ID
credentials
Title
currency
date
description
info
invoice
original
Args
photo
provider
Id
shipping
SUBCLASS_
OF_
ID
tip
Amount
title
total
Amount
users
GitHub
npm
Issues
teleproto - v1.229.0
Loading...