teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PhoneCallDiscarded
Class PhoneCallDiscarded
Hierarchy (
View Summary
)
VirtualClass
<
{
duration
?:
int
;
id
:
long
;
needDebug
?:
boolean
;
needRating
?:
boolean
;
reason
?:
TypePhoneCallDiscardReason
;
video
?:
boolean
;
}
,
>
PhoneCallDiscarded
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
duration?
id
need
Debug?
need
Rating?
original
Args
reason?
SUBCLASS_
OF_
ID
video?
Constructors
constructor
new
PhoneCallDiscarded
(
args
:
{
duration
?:
number
;
id
:
BigInteger
;
needDebug
?:
boolean
;
needRating
?:
boolean
;
reason
?:
TypePhoneCallDiscardReason
;
video
?:
boolean
;
}
,
)
:
PhoneCallDiscarded
Parameters
args
:
{
duration
?:
number
;
id
:
BigInteger
;
needDebug
?:
boolean
;
needRating
?:
boolean
;
reason
?:
TypePhoneCallDiscardReason
;
video
?:
boolean
;
}
Returns
PhoneCallDiscarded
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PhoneCallDiscarded
Parameters
reader
:
any
Returns
PhoneCallDiscarded
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
()
:
{
duration
?:
number
;
id
:
BigInteger
;
needDebug
?:
boolean
;
needRating
?:
boolean
;
reason
?:
TypePhoneCallDiscardReason
;
video
?:
boolean
;
}
Returns
{
duration
?:
number
;
id
:
BigInteger
;
needDebug
?:
boolean
;
needRating
?:
boolean
;
reason
?:
TypePhoneCallDiscardReason
;
video
?:
boolean
;
}
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
:
"PhoneCallDiscarded"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1355435489
Optional
duration
duration
?:
number
id
id
:
BigInteger
Optional
need
Debug
needDebug
?:
boolean
Optional
need
Rating
needRating
?:
boolean
original
Args
originalArgs
:
{
duration
?:
number
;
id
:
BigInteger
;
needDebug
?:
boolean
;
needRating
?:
boolean
;
reason
?:
TypePhoneCallDiscardReason
;
video
?:
boolean
;
}
Optional
reason
reason
?:
TypePhoneCallDiscardReason
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3296664529
Optional
video
video
?:
boolean
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
duration
id
need
Debug
need
Rating
original
Args
reason
SUBCLASS_
OF_
ID
video
GitHub
npm
Issues
teleproto - v1.229.0
Loading...