Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
messages
CreateChat
Class CreateChat
Hierarchy
Request
<
Partial
<
{
users
:
TypeEntityLike
[]
;
title
:
string
;
ttlPeriod
?:
int
}
>
,
TypeUpdates
>
CreateChat
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
__response
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
users
title
ttl
Period
Methods
serialize
Bytes
serialize
Date
get
Bytes
toJSON
read
Result
resolve
from
Reader
Constructors
constructor
Properties
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
Static
class
Name
class
Name
:
string
Static
class
Type
class
Type
:
"constructor"
|
"request"
original
Args
original
Args
:
Partial
<
Partial
<
{
users
:
EntityLike
[]
;
title
:
string
;
ttlPeriod
?:
number
}
>
>
__response
__response
:
TypeUpdates
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
3450904
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
2331323052
class
Type
class
Type
:
"request"
class
Name
class
Name
:
"messages.CreateChat"
users
users
:
EntityLike
[]
title
title
:
string
Optional
ttl
Period
ttl
Period
?:
number
Methods
Static
serialize
Bytes
serialize
Bytes
(
data
:
string
|
Buffer
)
:
Buffer
Parameters
data:
string
|
Buffer
Returns
Buffer
Static
serialize
Date
serialize
Date
(
date
:
number
|
Date
)
:
Buffer
Parameters
date:
number
|
Date
Returns
Buffer
get
Bytes
get
Bytes
(
)
:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
Partial
<
Partial
<
{
users
:
EntityLike
[]
;
title
:
string
;
ttlPeriod
?:
number
}
>
>
Returns
Partial
<
Partial
<
{
users
:
EntityLike
[]
;
title
:
string
;
ttlPeriod
?:
number
}
>
>
Static
read
Result
read
Result
(
reader
:
any
)
:
Buffer
Parameters
reader:
any
Returns
Buffer
resolve
resolve
(
client
:
any
, utils
:
any
)
:
Promise
<
void
>
Parameters
client:
any
utils:
any
Returns
Promise
<
void
>
Static
from
Reader
from
Reader
(
reader
:
any
)
:
CreateChat
Parameters
reader:
any
Returns
CreateChat
Constructors
constructor
new
Create
Chat
(
args
:
Partial
<
Partial
<
{
users
:
EntityLike
[]
;
title
:
string
;
ttlPeriod
?:
number
}
>
>
)
:
CreateChat
Parameters
args:
Partial
<
Partial
<
{
users
:
EntityLike
[]
;
title
:
string
;
ttlPeriod
?:
number
}
>
>
Returns
CreateChat
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
storage
auth
contacts
messages
updates
photos
upload
help
account
channels
payments
phone
stats
stickers
users
chatlists
bots
stories
premium
langpack
folders
tl
custom
Create
Chat
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
serialize
Bytes
serialize
Date
get
Bytes
constructor
original
Args
toJSON
read
Result
resolve
__response
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
from
Reader
users
title
ttl
Period
Generated using
TypeDoc