teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ForumTopic
Class ForumTopic
Hierarchy (
View Summary
)
VirtualClass
<
{
closed
?:
boolean
;
date
:
int
;
draft
?:
TypeDraftMessage
;
fromId
:
TypePeer
;
hidden
?:
boolean
;
iconColor
:
int
;
iconEmojiId
?:
long
;
id
:
int
;
my
?:
boolean
;
notifySettings
:
TypePeerNotifySettings
;
peer
:
TypePeer
;
pinned
?:
boolean
;
readInboxMaxId
:
int
;
readOutboxMaxId
:
int
;
short
?:
boolean
;
title
:
string
;
titleMissing
?:
boolean
;
topMessage
:
int
;
unreadCount
:
int
;
unreadMentionsCount
:
int
;
unreadPollVotesCount
:
int
;
unreadReactionsCount
:
int
;
}
,
>
ForumTopic
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
closed?
CONSTRUCTOR_
ID
date
draft?
from
Id
hidden?
icon
Color
icon
Emoji
Id?
id
my?
notify
Settings
original
Args
peer
pinned?
read
Inbox
Max
Id
read
Outbox
Max
Id
short?
SUBCLASS_
OF_
ID
title
title
Missing?
top
Message
unread
Count
unread
Mentions
Count
unread
Poll
Votes
Count
unread
Reactions
Count
Constructors
constructor
new
ForumTopic
(
args
:
{
closed
?:
boolean
;
date
:
number
;
draft
?:
TypeDraftMessage
;
fromId
:
TypePeer
;
hidden
?:
boolean
;
iconColor
:
number
;
iconEmojiId
?:
BigInteger
;
id
:
number
;
my
?:
boolean
;
notifySettings
:
PeerNotifySettings
;
peer
:
TypePeer
;
pinned
?:
boolean
;
readInboxMaxId
:
number
;
readOutboxMaxId
:
number
;
short
?:
boolean
;
title
:
string
;
titleMissing
?:
boolean
;
topMessage
:
number
;
unreadCount
:
number
;
unreadMentionsCount
:
number
;
unreadPollVotesCount
:
number
;
unreadReactionsCount
:
number
;
}
,
)
:
ForumTopic
Parameters
args
:
{
closed
?:
boolean
;
date
:
number
;
draft
?:
TypeDraftMessage
;
fromId
:
TypePeer
;
hidden
?:
boolean
;
iconColor
:
number
;
iconEmojiId
?:
BigInteger
;
id
:
number
;
my
?:
boolean
;
notifySettings
:
PeerNotifySettings
;
peer
:
TypePeer
;
pinned
?:
boolean
;
readInboxMaxId
:
number
;
readOutboxMaxId
:
number
;
short
?:
boolean
;
title
:
string
;
titleMissing
?:
boolean
;
topMessage
:
number
;
unreadCount
:
number
;
unreadMentionsCount
:
number
;
unreadPollVotesCount
:
number
;
unreadReactionsCount
:
number
;
}
Returns
ForumTopic
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ForumTopic
Parameters
reader
:
any
Returns
ForumTopic
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
()
:
{
closed
?:
boolean
;
date
:
number
;
draft
?:
TypeDraftMessage
;
fromId
:
TypePeer
;
hidden
?:
boolean
;
iconColor
:
number
;
iconEmojiId
?:
BigInteger
;
id
:
number
;
my
?:
boolean
;
notifySettings
:
PeerNotifySettings
;
peer
:
TypePeer
;
pinned
?:
boolean
;
readInboxMaxId
:
number
;
readOutboxMaxId
:
number
;
short
?:
boolean
;
title
:
string
;
titleMissing
?:
boolean
;
topMessage
:
number
;
unreadCount
:
number
;
unreadMentionsCount
:
number
;
unreadPollVotesCount
:
number
;
unreadReactionsCount
:
number
;
}
Returns
{
closed
?:
boolean
;
date
:
number
;
draft
?:
TypeDraftMessage
;
fromId
:
TypePeer
;
hidden
?:
boolean
;
iconColor
:
number
;
iconEmojiId
?:
BigInteger
;
id
:
number
;
my
?:
boolean
;
notifySettings
:
PeerNotifySettings
;
peer
:
TypePeer
;
pinned
?:
boolean
;
readInboxMaxId
:
number
;
readOutboxMaxId
:
number
;
short
?:
boolean
;
title
:
string
;
titleMissing
?:
boolean
;
topMessage
:
number
;
unreadCount
:
number
;
unreadMentionsCount
:
number
;
unreadPollVotesCount
:
number
;
unreadReactionsCount
:
number
;
}
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
:
"ForumTopic"
class
Type
classType
:
"constructor"
Optional
closed
closed
?:
boolean
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
4242200597
date
date
:
number
Optional
draft
draft
?:
TypeDraftMessage
from
Id
fromId
:
TypePeer
Optional
hidden
hidden
?:
boolean
icon
Color
iconColor
:
number
Optional
icon
Emoji
Id
iconEmojiId
?:
BigInteger
id
id
:
number
Optional
my
my
?:
boolean
notify
Settings
notifySettings
:
PeerNotifySettings
original
Args
originalArgs
:
{
closed
?:
boolean
;
date
:
number
;
draft
?:
TypeDraftMessage
;
fromId
:
TypePeer
;
hidden
?:
boolean
;
iconColor
:
number
;
iconEmojiId
?:
BigInteger
;
id
:
number
;
my
?:
boolean
;
notifySettings
:
PeerNotifySettings
;
peer
:
TypePeer
;
pinned
?:
boolean
;
readInboxMaxId
:
number
;
readOutboxMaxId
:
number
;
short
?:
boolean
;
title
:
string
;
titleMissing
?:
boolean
;
topMessage
:
number
;
unreadCount
:
number
;
unreadMentionsCount
:
number
;
unreadPollVotesCount
:
number
;
unreadReactionsCount
:
number
;
}
peer
peer
:
TypePeer
Optional
pinned
pinned
?:
boolean
read
Inbox
Max
Id
readInboxMaxId
:
number
read
Outbox
Max
Id
readOutboxMaxId
:
number
Optional
short
short
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2367169027
title
title
:
string
Optional
title
Missing
titleMissing
?:
boolean
top
Message
topMessage
:
number
unread
Count
unreadCount
:
number
unread
Mentions
Count
unreadMentionsCount
:
number
unread
Poll
Votes
Count
unreadPollVotesCount
:
number
unread
Reactions
Count
unreadReactionsCount
:
number
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
closed
CONSTRUCTOR_
ID
date
draft
from
Id
hidden
icon
Color
icon
Emoji
Id
id
my
notify
Settings
original
Args
peer
pinned
read
Inbox
Max
Id
read
Outbox
Max
Id
short
SUBCLASS_
OF_
ID
title
title
Missing
top
Message
unread
Count
unread
Mentions
Count
unread
Poll
Votes
Count
unread
Reactions
Count
GitHub
npm
Issues
teleproto - v1.229.0
Loading...