teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
Community
Class Community
Hierarchy (
View Summary
)
VirtualClass
<
{
accessHash
?:
long
;
adminRights
?:
TypeChatAdminRights
;
collapsedInDialogs
?:
boolean
;
creator
?:
boolean
;
date
:
int
;
defaultBannedRights
?:
TypeChatBannedRights
;
id
:
long
;
left
?:
boolean
;
min
?:
boolean
;
photo
:
TypeChatPhoto
;
title
:
string
;
}
,
>
Community
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
access
Hash?
admin
Rights?
class
Name
class
Type
collapsed
In
Dialogs?
CONSTRUCTOR_
ID
creator?
date
default
Banned
Rights?
id
left?
min?
original
Args
photo
SUBCLASS_
OF_
ID
title
Constructors
constructor
new
Community
(
args
:
{
accessHash
?:
BigInteger
;
adminRights
?:
ChatAdminRights
;
collapsedInDialogs
?:
boolean
;
creator
?:
boolean
;
date
:
number
;
defaultBannedRights
?:
ChatBannedRights
;
id
:
BigInteger
;
left
?:
boolean
;
min
?:
boolean
;
photo
:
TypeChatPhoto
;
title
:
string
;
}
,
)
:
Community
Parameters
args
:
{
accessHash
?:
BigInteger
;
adminRights
?:
ChatAdminRights
;
collapsedInDialogs
?:
boolean
;
creator
?:
boolean
;
date
:
number
;
defaultBannedRights
?:
ChatBannedRights
;
id
:
BigInteger
;
left
?:
boolean
;
min
?:
boolean
;
photo
:
TypeChatPhoto
;
title
:
string
;
}
Returns
Community
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
Community
Parameters
reader
:
any
Returns
Community
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
()
:
{
accessHash
?:
BigInteger
;
adminRights
?:
ChatAdminRights
;
collapsedInDialogs
?:
boolean
;
creator
?:
boolean
;
date
:
number
;
defaultBannedRights
?:
ChatBannedRights
;
id
:
BigInteger
;
left
?:
boolean
;
min
?:
boolean
;
photo
:
TypeChatPhoto
;
title
:
string
;
}
Returns
{
accessHash
?:
BigInteger
;
adminRights
?:
ChatAdminRights
;
collapsedInDialogs
?:
boolean
;
creator
?:
boolean
;
date
:
number
;
defaultBannedRights
?:
ChatBannedRights
;
id
:
BigInteger
;
left
?:
boolean
;
min
?:
boolean
;
photo
:
TypeChatPhoto
;
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
Optional
access
Hash
accessHash
?:
BigInteger
Optional
admin
Rights
adminRights
?:
ChatAdminRights
class
Name
className
:
"Community"
class
Type
classType
:
"constructor"
Optional
collapsed
In
Dialogs
collapsedInDialogs
?:
boolean
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1710221652
Optional
creator
creator
?:
boolean
date
date
:
number
Optional
default
Banned
Rights
defaultBannedRights
?:
ChatBannedRights
id
id
:
BigInteger
Optional
left
left
?:
boolean
Optional
min
min
?:
boolean
original
Args
originalArgs
:
{
accessHash
?:
BigInteger
;
adminRights
?:
ChatAdminRights
;
collapsedInDialogs
?:
boolean
;
creator
?:
boolean
;
date
:
number
;
defaultBannedRights
?:
ChatBannedRights
;
id
:
BigInteger
;
left
?:
boolean
;
min
?:
boolean
;
photo
:
TypeChatPhoto
;
title
:
string
;
}
photo
photo
:
TypeChatPhoto
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3316604308
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
access
Hash
admin
Rights
class
Name
class
Type
collapsed
In
Dialogs
CONSTRUCTOR_
ID
creator
date
default
Banned
Rights
id
left
min
original
Args
photo
SUBCLASS_
OF_
ID
title
GitHub
npm
Issues
teleproto - v1.229.0
Loading...