Preparing search index...
The search index is not available
IGPAPI
IGPAPI
@igpapi/realtime
RealtimeDirectThread
Class RealtimeDirectThread
Hierarchy (
view full
)
DirectEventTypesFacade
RealtimeDirectThread
Index
Constructors
constructor
Properties
$
activity
Indicator
admin
User
Ids
approval
Required
has
Seen
message
reaction
shh
Mode
theme
update
Methods
indicate
Activity
mark
As
Seen
mark
Visual
Item
Seen
send
Hashtag
send
Item
send
Like
send
Link
send
Location
send
Media
send
Profile
send
Reaction
send
Text
send
User
Story
Constructors
constructor
new
Realtime
Direct
Thread
(
$
:
Observable
<
DirectThreadEvent
<
any
>
>
,
options
:
DirectThreadOptions
,
topic
:
RealtimeTopic
,
request
:
RealtimeRequest
)
:
RealtimeDirectThread
Parameters
$
:
Observable
<
DirectThreadEvent
<
any
>
>
options
:
DirectThreadOptions
topic
:
RealtimeTopic
request
:
RealtimeRequest
Returns
RealtimeDirectThread
Properties
Readonly
$
$
:
Observable
<
DirectThreadEvent
<
any
>
>
activity
Indicator
activity
Indicator
:
DirectEventsOperationObservables
<
ThreadActivityIndicatorPayload
>
= 'direct-thread-activity-indicator'
admin
User
Ids
admin
User
Ids
:
DirectEventsOperationObservables
<
ThreadAdminUserIdsPayload
>
= 'direct-thread-admin-user-ids'
approval
Required
approval
Required
:
DirectEventsOperationObservables
<
{}
>
= 'direct-thread-approval-required'
has
Seen
has
Seen
:
DirectEventsOperationObservables
<
ThreadHasSeenPayload
>
= 'direct-thread-has-seen'
message
message
:
DirectEventsOperationObservables
<
ThreadMessagePayload
>
= 'direct-thread-message'
reaction
reaction
:
DirectEventsOperationObservables
<
ThreadReactionPayload
>
= 'direct-thread-reaction'
shh
Mode
shh
Mode
:
DirectEventsOperationObservables
<
ThreadShhModePayload
>
= 'direct-thread-shh-mode'
theme
theme
:
DirectEventsOperationObservables
<
ThreadThemePayload
>
= 'direct-thread-theme'
update
update
:
DirectEventsOperationObservables
<
ThreadUpdatePayload
>
= 'direct-thread-update'
Methods
indicate
Activity
indicate
Activity
(
options
:
{
activity_status
?:
TypingStatus
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
activity_status
?:
TypingStatus
;
}
Optional
activity_
status
?:
TypingStatus
Returns
Promise
<
DirectItemAckResponse
>
mark
As
Seen
mark
As
Seen
(
options
:
{
item_id
:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
item_id
:
string
;
}
item_
id
:
string
Returns
Promise
<
DirectItemAckResponse
>
mark
Visual
Item
Seen
mark
Visual
Item
Seen
(
options
:
{
itemId
:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
itemId
:
string
;
}
item
Id
:
string
Returns
Promise
<
DirectItemAckResponse
>
send
Hashtag
send
Hashtag
(
options
:
{
hashtag
:
string
;
text
?:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
hashtag
:
string
;
text
?:
string
;
}
hashtag
:
string
Optional
text
?:
string
Returns
Promise
<
DirectItemAckResponse
>
send
Item
send
Item
(
options
:
any
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
any
Returns
Promise
<
DirectItemAckResponse
>
send
Like
send
Like
(
)
:
Promise
<
DirectItemAckResponse
>
Returns
Promise
<
DirectItemAckResponse
>
send
Link
send
Link
(
options
:
{
link_text
:
string
;
link_urls
:
string
[]
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
link_text
:
string
;
link_urls
:
string
[]
;
}
link_
text
:
string
link_
urls
:
string
[]
Returns
Promise
<
DirectItemAckResponse
>
send
Location
send
Location
(
options
:
{
text
?:
string
;
venue_id
:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
text
?:
string
;
venue_id
:
string
;
}
Optional
text
?:
string
venue_
id
:
string
Returns
Promise
<
DirectItemAckResponse
>
send
Media
send
Media
(
options
:
{
media_id
:
string
;
text
?:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
media_id
:
string
;
text
?:
string
;
}
media_
id
:
string
Optional
text
?:
string
Returns
Promise
<
DirectItemAckResponse
>
send
Profile
send
Profile
(
options
:
{
profile_user_id
:
string
;
text
?:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
profile_user_id
:
string
;
text
?:
string
;
}
profile_
user_
id
:
string
Optional
text
?:
string
Returns
Promise
<
DirectItemAckResponse
>
send
Reaction
send
Reaction
(
options
:
{
emoji
?:
string
;
item_id
:
string
;
reaction_status
?:
"created"
|
"deleted"
;
target_item_type
?:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
emoji
?:
string
;
item_id
:
string
;
reaction_status
?:
"created"
|
"deleted"
;
target_item_type
?:
string
;
}
Optional
emoji
?:
string
item_
id
:
string
Optional
reaction_
status
?:
"created"
|
"deleted"
Optional
target_
item_
type
?:
string
Returns
Promise
<
DirectItemAckResponse
>
send
Text
send
Text
(
options
:
{
skipUrlCheck
?:
boolean
;
text
:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
skipUrlCheck
?:
boolean
;
text
:
string
;
}
Optional
skip
Url
Check
?:
boolean
text
:
string
Returns
Promise
<
DirectItemAckResponse
>
send
User
Story
send
User
Story
(
options
:
{
media_id
:
string
;
text
?:
string
;
}
)
:
Promise
<
DirectItemAckResponse
>
Parameters
options
:
{
media_id
:
string
;
text
?:
string
;
}
media_
id
:
string
Optional
text
?:
string
Returns
Promise
<
DirectItemAckResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
$
activity
Indicator
admin
User
Ids
approval
Required
has
Seen
message
reaction
shh
Mode
theme
update
Methods
indicate
Activity
mark
As
Seen
mark
Visual
Item
Seen
send
Hashtag
send
Item
send
Like
send
Link
send
Location
send
Media
send
Profile
send
Reaction
send
Text
send
User
Story
IGPAPI
Loading...