teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
InputMediaInvoice
Class InputMediaInvoice
Hierarchy (
View Summary
)
VirtualClass
<
{
description
:
string
;
extendedMedia
?:
TypeInputMedia
;
invoice
:
TypeInvoice
;
payload
:
bytes
;
photo
?:
TypeInputWebDocument
;
provider
?:
string
;
providerData
:
TypeDataJSON
;
startParam
?:
string
;
title
:
string
;
}
,
>
InputMediaInvoice
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
description
extended
Media?
invoice
original
Args
payload
photo?
provider?
provider
Data
start
Param?
SUBCLASS_
OF_
ID
title
Constructors
constructor
new
InputMediaInvoice
(
args
:
{
description
:
string
;
extendedMedia
?:
TypeInputMedia
;
invoice
:
Invoice
;
payload
:
bytes
;
photo
?:
InputWebDocument
;
provider
?:
string
;
providerData
:
DataJSON
;
startParam
?:
string
;
title
:
string
;
}
,
)
:
InputMediaInvoice
Parameters
args
:
{
description
:
string
;
extendedMedia
?:
TypeInputMedia
;
invoice
:
Invoice
;
payload
:
bytes
;
photo
?:
InputWebDocument
;
provider
?:
string
;
providerData
:
DataJSON
;
startParam
?:
string
;
title
:
string
;
}
Returns
InputMediaInvoice
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
InputMediaInvoice
Parameters
reader
:
any
Returns
InputMediaInvoice
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
()
:
{
description
:
string
;
extendedMedia
?:
TypeInputMedia
;
invoice
:
Invoice
;
payload
:
bytes
;
photo
?:
InputWebDocument
;
provider
?:
string
;
providerData
:
DataJSON
;
startParam
?:
string
;
title
:
string
;
}
Returns
{
description
:
string
;
extendedMedia
?:
TypeInputMedia
;
invoice
:
Invoice
;
payload
:
bytes
;
photo
?:
InputWebDocument
;
provider
?:
string
;
providerData
:
DataJSON
;
startParam
?:
string
;
title
:
string
;
}
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
class
Name
className
:
"InputMediaInvoice"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1080028941
description
description
:
string
Optional
extended
Media
extendedMedia
?:
TypeInputMedia
invoice
invoice
:
Invoice
original
Args
originalArgs
:
{
description
:
string
;
extendedMedia
?:
TypeInputMedia
;
invoice
:
Invoice
;
payload
:
bytes
;
photo
?:
InputWebDocument
;
provider
?:
string
;
providerData
:
DataJSON
;
startParam
?:
string
;
title
:
string
;
}
payload
payload
:
bytes
Optional
photo
photo
?:
InputWebDocument
Optional
provider
provider
?:
string
provider
Data
providerData
:
DataJSON
Optional
start
Param
startParam
?:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
4210575092
title
title
:
string
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
class
Name
class
Type
CONSTRUCTOR_
ID
description
extended
Media
invoice
original
Args
payload
photo
provider
provider
Data
start
Param
SUBCLASS_
OF_
ID
title
GitHub
npm
Issues
teleproto - v1.229.0
Loading...