teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
CommunityPeer
Class CommunityPeer
Hierarchy (
View Summary
)
VirtualClass
<
{
canViewHistory
?:
boolean
;
peer
:
TypePeer
;
visible
?:
Bool
}
>
CommunityPeer
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
can
View
History?
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
peer
SUBCLASS_
OF_
ID
visible?
Constructors
constructor
new
CommunityPeer
(
args
:
{
canViewHistory
?:
boolean
;
peer
:
TypePeer
;
visible
?:
boolean
}
,
)
:
CommunityPeer
Parameters
args
:
{
canViewHistory
?:
boolean
;
peer
:
TypePeer
;
visible
?:
boolean
}
Returns
CommunityPeer
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
CommunityPeer
Parameters
reader
:
any
Returns
CommunityPeer
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
()
:
{
canViewHistory
?:
boolean
;
peer
:
TypePeer
;
visible
?:
boolean
}
Returns
{
canViewHistory
?:
boolean
;
peer
:
TypePeer
;
visible
?:
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
Optional
can
View
History
canViewHistory
?:
boolean
class
Name
className
:
"CommunityPeer"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1981030077
original
Args
originalArgs
:
{
canViewHistory
?:
boolean
;
peer
:
TypePeer
;
visible
?:
boolean
}
peer
peer
:
TypePeer
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3426117046
Optional
visible
visible
?:
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
can
View
History
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
peer
SUBCLASS_
OF_
ID
visible
GitHub
npm
Issues
teleproto - v1.229.0
Loading...