teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
channels
CreateChannel
Class CreateChannel
Hierarchy (
View Summary
)
Request
<
Partial
<
{
about
:
string
;
address
?:
string
;
broadcast
?:
boolean
;
forImport
?:
boolean
;
forum
?:
boolean
;
geoPoint
?:
TypeInputGeoPoint
;
megagroup
?:
boolean
;
title
:
string
;
ttlPeriod
?:
int
;
}
,
>
,
TypeUpdates
,
>
CreateChannel
Index
Constructors
constructor
Methods
from
Reader
read
Result
serialize
Bytes
serialize
Date
get
Bytes
resolve
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
__
response
about
address?
broadcast?
class
Name
class
Type
CONSTRUCTOR_
ID
for
Import?
forum?
geo
Point?
megagroup?
original
Args
SUBCLASS_
OF_
ID
title
ttl
Period?
Constructors
constructor
new
CreateChannel
(
args
:
Args
)
:
CreateChannel
Parameters
args
:
Args
Returns
CreateChannel
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
CreateChannel
Parameters
reader
:
any
Returns
CreateChannel
Static
read
Result
readResult
(
reader
:
any
)
:
Buffer
Parameters
reader
:
any
Returns
Buffer
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
resolve
resolve
(
client
:
any
,
utils
:
any
)
:
Promise
<
void
>
Parameters
client
:
any
utils
:
any
Returns
Promise
<
void
>
to
JSON
toJSON
()
:
Args
Returns
Args
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
__
response
__response
:
TypeUpdates
about
about
:
string
Optional
address
address
?:
string
Optional
broadcast
broadcast
?:
boolean
class
Name
className
:
"channels.CreateChannel"
class
Type
classType
:
"request"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2432722695
Optional
for
Import
forImport
?:
boolean
Optional
forum
forum
?:
boolean
Optional
geo
Point
geoPoint
?:
TypeInputGeoPoint
Optional
megagroup
megagroup
?:
boolean
original
Args
originalArgs
:
Args
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2331323052
title
title
:
string
Optional
ttl
Period
ttlPeriod
?:
number
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
read
Result
serialize
Bytes
serialize
Date
get
Bytes
resolve
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
__
response
about
address
broadcast
class
Name
class
Type
CONSTRUCTOR_
ID
for
Import
forum
geo
Point
megagroup
original
Args
SUBCLASS_
OF_
ID
title
ttl
Period
GitHub
npm
Issues
teleproto - v1.229.0
Loading...