teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ReactionsNotifySettings
Class ReactionsNotifySettings
Hierarchy (
View Summary
)
VirtualClass
<
{
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
;
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
;
showPreviews
:
Bool
;
sound
:
TypeNotificationSound
;
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
;
}
,
>
ReactionsNotifySettings
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
CONSTRUCTOR_
ID
messages
Notify
From?
original
Args
poll
Votes
Notify
From?
show
Previews
sound
stories
Notify
From?
SUBCLASS_
OF_
ID
Constructors
constructor
new
ReactionsNotifySettings
(
args
:
{
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
;
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
;
showPreviews
:
boolean
;
sound
:
TypeNotificationSound
;
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
;
}
,
)
:
ReactionsNotifySettings
Parameters
args
:
{
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
;
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
;
showPreviews
:
boolean
;
sound
:
TypeNotificationSound
;
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
;
}
Returns
ReactionsNotifySettings
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ReactionsNotifySettings
Parameters
reader
:
any
Returns
ReactionsNotifySettings
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
()
:
{
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
;
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
;
showPreviews
:
boolean
;
sound
:
TypeNotificationSound
;
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
;
}
Returns
{
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
;
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
;
showPreviews
:
boolean
;
sound
:
TypeNotificationSound
;
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
;
}
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
:
"ReactionsNotifySettings"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1910827608
Optional
messages
Notify
From
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
original
Args
originalArgs
:
{
messagesNotifyFrom
?:
TypeReactionNotificationsFrom
;
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
;
showPreviews
:
boolean
;
sound
:
TypeNotificationSound
;
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
;
}
Optional
poll
Votes
Notify
From
pollVotesNotifyFrom
?:
TypeReactionNotificationsFrom
show
Previews
showPreviews
:
boolean
sound
sound
:
TypeNotificationSound
Optional
stories
Notify
From
storiesNotifyFrom
?:
TypeReactionNotificationsFrom
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2382301265
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
CONSTRUCTOR_
ID
messages
Notify
From
original
Args
poll
Votes
Notify
From
show
Previews
sound
stories
Notify
From
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...