Search
Preparing search index...
The search index is not available
ChatKitty JS SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ChatKitty JS SDK
default
Class default
Hierarchy
default
Implements
ChatKitty
Index
Constructors
constructor
Properties
Calls
current
User
Methods
add
Channel
Moderator
block
User
clear
Channel
History
create
Channel
create
Thread
delete
Channel
delete
Message
delete
Message
For
Me
delete
User
Block
List
Item
edit
Message
end
Session
get
Channel
get
Channel
Members
get
Channel
Unread
get
Channels
get
Current
User
get
Last
Read
Message
get
Message
Channel
get
Message
Parent
get
Message
Replies
Count
get
Messages
get
Reactions
get
Read
Receipts
get
Thread
Channel
get
Thread
Message
get
Threads
get
Unread
Channels
Count
get
Unread
Messages
Count
get
User
get
User
Block
List
get
User
Is
Channel
Member
get
Users
get
Users
Count
hide
Channel
invite
User
join
Channel
leave
Channel
mute
Channel
on
Channel
Hidden
on
Channel
Joined
on
Channel
Left
on
Channel
Unhidden
on
Channel
Updated
on
Current
User
Changed
on
Current
User
Offline
on
Current
User
Online
on
Notification
Received
on
Participant
Started
Typing
on
Participant
Stopped
Typing
on
User
Presence
Changed
react
To
Message
read
Channel
read
Message
read
Thread
remove
Reaction
send
Keystrokes
send
Message
start
Chat
Session
start
Session
trigger
Event
unmute
Channel
update
Channel
update
Current
User
update
Current
User
Display
Picture
get
Instance
Constructors
constructor
new default
(
configuration
:
ChatKittyConfiguration
)
:
default
Parameters
configuration:
ChatKittyConfiguration
Returns
default
Properties
Calls
Calls
:
Calls
= ...
Optional
current
User
current
User
?:
CurrentUser
Methods
add
Channel
Moderator
add
Channel
Moderator
(
request
:
AddChannelModeratorRequest
)
:
Promise
<
AddChannelModeratorResult
>
Parameters
request:
AddChannelModeratorRequest
Returns
Promise
<
AddChannelModeratorResult
>
block
User
block
User
(
request
:
BlockUserRequest
)
:
Promise
<
BlockUserResult
>
Parameters
request:
BlockUserRequest
Returns
Promise
<
BlockUserResult
>
clear
Channel
History
clear
Channel
History
(
request
:
ClearChannelHistoryRequest
)
:
Promise
<
ClearChannelHistoryResult
>
Parameters
request:
ClearChannelHistoryRequest
Returns
Promise
<
ClearChannelHistoryResult
>
create
Channel
create
Channel
(
request
:
CreateChannelRequest
)
:
Promise
<
CreateChannelResult
>
Parameters
request:
CreateChannelRequest
Returns
Promise
<
CreateChannelResult
>
create
Thread
create
Thread
(
request
:
CreateThreadRequest
)
:
Promise
<
CreateThreadResult
>
Parameters
request:
CreateThreadRequest
Returns
Promise
<
CreateThreadResult
>
delete
Channel
delete
Channel
(
request
:
DeleteChannelRequest
)
:
Promise
<
DeleteChannelResult
>
Parameters
request:
DeleteChannelRequest
Returns
Promise
<
DeleteChannelResult
>
delete
Message
delete
Message
(
request
:
DeleteMessageRequest
)
:
Promise
<
DeleteMessageResult
>
Parameters
request:
DeleteMessageRequest
Returns
Promise
<
DeleteMessageResult
>
delete
Message
For
Me
delete
Message
For
Me
(
request
:
DeleteMessageForMeRequest
)
:
Promise
<
DeleteMessageForMeResult
>
Parameters
request:
DeleteMessageForMeRequest
Returns
Promise
<
DeleteMessageForMeResult
>
delete
User
Block
List
Item
delete
User
Block
List
Item
(
request
:
DeleteUserBlockListItemRequest
)
:
Promise
<
DeleteUserBlockListItemResult
>
Parameters
request:
DeleteUserBlockListItemRequest
Returns
Promise
<
DeleteUserBlockListItemResult
>
edit
Message
edit
Message
(
request
:
EditMessageRequest
)
:
Promise
<
EditMessageResult
>
Parameters
request:
EditMessageRequest
Returns
Promise
<
EditMessageResult
>
end
Session
end
Session
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Channel
get
Channel
(
id
:
number
)
:
Promise
<
GetChannelResult
>
Parameters
id:
number
Returns
Promise
<
GetChannelResult
>
get
Channel
Members
get
Channel
Members
(
request
:
GetChannelMembersRequest
)
:
Promise
<
GetUsersResult
>
Parameters
request:
GetChannelMembersRequest
Returns
Promise
<
GetUsersResult
>
get
Channel
Unread
get
Channel
Unread
(
request
:
GetChannelUnreadRequest
)
:
Promise
<
GetChannelUnreadResult
>
Parameters
request:
GetChannelUnreadRequest
Returns
Promise
<
GetChannelUnreadResult
>
get
Channels
get
Channels
(
request
?:
GetChannelsRequest
)
:
Promise
<
GetChannelsResult
>
Parameters
Optional
request:
GetChannelsRequest
Returns
Promise
<
GetChannelsResult
>
get
Current
User
get
Current
User
(
)
:
Promise
<
GetCurrentUserResult
>
Returns
Promise
<
GetCurrentUserResult
>
get
Last
Read
Message
get
Last
Read
Message
(
request
:
GetLastReadMessageRequest
)
:
Promise
<
GetLastReadMessageResult
>
Parameters
request:
GetLastReadMessageRequest
Returns
Promise
<
GetLastReadMessageResult
>
get
Message
Channel
get
Message
Channel
(
request
:
GetMessageChannelRequest
)
:
Promise
<
GetMessageChannelResult
>
Parameters
request:
GetMessageChannelRequest
Returns
Promise
<
GetMessageChannelResult
>
get
Message
Parent
get
Message
Parent
(
request
:
GetMessageParentRequest
)
:
Promise
<
GetMessageParentResult
>
Parameters
request:
GetMessageParentRequest
Returns
Promise
<
GetMessageParentResult
>
get
Message
Replies
Count
get
Message
Replies
Count
(
request
:
GetMessageRepliesCountRequest
)
:
Promise
<
GetCountResult
>
Parameters
request:
GetMessageRepliesCountRequest
Returns
Promise
<
GetCountResult
>
get
Messages
get
Messages
(
request
:
GetMessagesRequest
)
:
Promise
<
GetMessagesResult
>
Parameters
request:
GetMessagesRequest
Returns
Promise
<
GetMessagesResult
>
get
Reactions
get
Reactions
(
request
:
GetReactionsRequest
)
:
Promise
<
GetReactionsResult
>
Parameters
request:
GetReactionsRequest
Returns
Promise
<
GetReactionsResult
>
get
Read
Receipts
get
Read
Receipts
(
request
:
GetReadReceiptsRequest
)
:
Promise
<
GetReadReceiptsResult
>
Parameters
request:
GetReadReceiptsRequest
Returns
Promise
<
GetReadReceiptsResult
>
get
Thread
Channel
get
Thread
Channel
(
request
:
GetThreadChannelRequest
)
:
Promise
<
GetThreadChannelResult
>
Parameters
request:
GetThreadChannelRequest
Returns
Promise
<
GetThreadChannelResult
>
get
Thread
Message
get
Thread
Message
(
request
:
GetThreadMessageRequest
)
:
Promise
<
GetThreadMessageResult
>
Parameters
request:
GetThreadMessageRequest
Returns
Promise
<
GetThreadMessageResult
>
get
Threads
get
Threads
(
request
:
GetChannelThreadsRequest
)
:
Promise
<
GetThreadsResult
>
Parameters
request:
GetChannelThreadsRequest
Returns
Promise
<
GetThreadsResult
>
get
Unread
Channels
Count
get
Unread
Channels
Count
(
request
?:
GetUnreadChannelsRequest
)
:
Promise
<
GetCountResult
>
Parameters
Optional
request:
GetUnreadChannelsRequest
Returns
Promise
<
GetCountResult
>
get
Unread
Messages
Count
get
Unread
Messages
Count
(
request
?:
GetUnreadMessagesCountRequest
)
:
Promise
<
GetCountResult
>
Parameters
Optional
request:
GetUnreadMessagesCountRequest
Returns
Promise
<
GetCountResult
>
get
User
get
User
(
param
:
number
)
:
Promise
<
GetUserResult
>
Parameters
param:
number
Returns
Promise
<
GetUserResult
>
get
User
Block
List
get
User
Block
List
(
)
:
Promise
<
GetUserBlockListResult
>
Returns
Promise
<
GetUserBlockListResult
>
get
User
Is
Channel
Member
get
User
Is
Channel
Member
(
request
:
GetUserIsChannelMemberRequest
)
:
Promise
<
GetUserIsChannelMemberResult
>
Parameters
request:
GetUserIsChannelMemberRequest
Returns
Promise
<
GetUserIsChannelMemberResult
>
get
Users
get
Users
(
request
?:
GetUsersRequest
)
:
Promise
<
GetUsersResult
>
Parameters
Optional
request:
GetUsersRequest
Returns
Promise
<
GetUsersResult
>
get
Users
Count
get
Users
Count
(
request
?:
GetUsersRequest
)
:
Promise
<
GetCountResult
>
Parameters
Optional
request:
GetUsersRequest
Returns
Promise
<
GetCountResult
>
hide
Channel
hide
Channel
(
request
:
HideChannelRequest
)
:
Promise
<
HideChannelResult
>
Parameters
request:
HideChannelRequest
Returns
Promise
<
HideChannelResult
>
invite
User
invite
User
(
request
:
InviteUserRequest
)
:
Promise
<
InviteUserResult
>
Parameters
request:
InviteUserRequest
Returns
Promise
<
InviteUserResult
>
join
Channel
join
Channel
(
request
:
JoinChannelRequest
)
:
Promise
<
JoinChannelResult
>
Parameters
request:
JoinChannelRequest
Returns
Promise
<
JoinChannelResult
>
leave
Channel
leave
Channel
(
request
:
LeaveChannelRequest
)
:
Promise
<
LeaveChannelResult
>
Parameters
request:
LeaveChannelRequest
Returns
Promise
<
LeaveChannelResult
>
mute
Channel
mute
Channel
(
request
:
MuteChannelRequest
)
:
Promise
<
MuteChannelResult
>
Parameters
request:
MuteChannelRequest
Returns
Promise
<
MuteChannelResult
>
on
Channel
Hidden
on
Channel
Hidden
(
onNextOrObserver
:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Channel
Joined
on
Channel
Joined
(
onNextOrObserver
:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Channel
Left
on
Channel
Left
(
onNextOrObserver
:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Channel
Unhidden
on
Channel
Unhidden
(
onNextOrObserver
:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Channel
Updated
on
Channel
Updated
(
onNextOrObserver
:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
Channel
>
|
(
(
channel
:
Channel
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Current
User
Changed
on
Current
User
Changed
(
onNextOrObserver
:
ChatKittyObserver
<
null
|
CurrentUser
>
|
(
(
user
:
null
|
CurrentUser
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
null
|
CurrentUser
>
|
(
(
user
:
null
|
CurrentUser
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Current
User
Offline
on
Current
User
Offline
(
onNextOrObserver
:
ChatKittyObserver
<
CurrentUser
>
|
(
(
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
CurrentUser
>
|
(
(
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Current
User
Online
on
Current
User
Online
(
onNextOrObserver
:
ChatKittyObserver
<
CurrentUser
>
|
(
(
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
CurrentUser
>
|
(
(
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Notification
Received
on
Notification
Received
(
onNextOrObserver
:
ChatKittyObserver
<
Notification
>
|
(
(
notification
:
Notification
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
Notification
>
|
(
(
notification
:
Notification
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Participant
Started
Typing
on
Participant
Started
Typing
(
onNextOrObserver
:
ChatKittyObserver
<
User
>
|
(
(
participant
:
User
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
User
>
|
(
(
participant
:
User
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
Participant
Stopped
Typing
on
Participant
Stopped
Typing
(
onNextOrObserver
:
ChatKittyObserver
<
User
>
|
(
(
participant
:
User
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
User
>
|
(
(
participant
:
User
)
=>
void
)
Returns
ChatKittyUnsubscribe
on
User
Presence
Changed
on
User
Presence
Changed
(
onNextOrObserver
:
ChatKittyObserver
<
User
>
|
(
(
user
:
User
)
=>
void
)
)
:
ChatKittyUnsubscribe
Parameters
onNextOrObserver:
ChatKittyObserver
<
User
>
|
(
(
user
:
User
)
=>
void
)
Returns
ChatKittyUnsubscribe
react
To
Message
react
To
Message
(
request
:
ReactToMessageRequest
)
:
Promise
<
ReactToMessageResult
>
Parameters
request:
ReactToMessageRequest
Returns
Promise
<
ReactToMessageResult
>
read
Channel
read
Channel
(
request
:
ReadChannelRequest
)
:
Promise
<
ReadChannelResult
>
Parameters
request:
ReadChannelRequest
Returns
Promise
<
ReadChannelResult
>
read
Message
read
Message
(
request
:
ReadMessageRequest
)
:
Promise
<
ReadMessageResult
>
Parameters
request:
ReadMessageRequest
Returns
Promise
<
ReadMessageResult
>
read
Thread
read
Thread
(
request
:
ReadThreadRequest
)
:
Promise
<
ReadThreadResult
>
Parameters
request:
ReadThreadRequest
Returns
Promise
<
ReadThreadResult
>
remove
Reaction
remove
Reaction
(
request
:
RemoveReactionRequest
)
:
Promise
<
RemoveReactionResult
>
Parameters
request:
RemoveReactionRequest
Returns
Promise
<
RemoveReactionResult
>
send
Keystrokes
send
Keystrokes
(
request
:
SendKeystrokesRequest
)
:
void
Parameters
request:
SendKeystrokesRequest
Returns
void
send
Message
send
Message
(
request
:
SendMessageRequest
)
:
Promise
<
SendMessageResult
>
Parameters
request:
SendMessageRequest
Returns
Promise
<
SendMessageResult
>
start
Chat
Session
start
Chat
Session
(
request
:
StartChatSessionRequest
)
:
StartChatSessionResult
Parameters
request:
StartChatSessionRequest
Returns
StartChatSessionResult
start
Session
start
Session
(
request
:
StartSessionRequest
)
:
Promise
<
StartSessionResult
>
Parameters
request:
StartSessionRequest
Returns
Promise
<
StartSessionResult
>
trigger
Event
trigger
Event
(
request
:
TriggerEventRequest
)
:
Promise
<
TriggerEventResult
>
Parameters
request:
TriggerEventRequest
Returns
Promise
<
TriggerEventResult
>
unmute
Channel
unmute
Channel
(
request
:
UnmuteChannelRequest
)
:
Promise
<
UnmuteChannelResult
>
Parameters
request:
UnmuteChannelRequest
Returns
Promise
<
UnmuteChannelResult
>
update
Channel
update
Channel
(
request
:
UpdateChannelRequest
)
:
Promise
<
UpdateChannelResult
>
Parameters
request:
UpdateChannelRequest
Returns
Promise
<
UpdateChannelResult
>
update
Current
User
update
Current
User
(
update
:
(
user
:
CurrentUser
)
=>
CurrentUser
)
:
Promise
<
UpdateCurrentUserResult
>
Parameters
update:
(
user
:
CurrentUser
)
=>
CurrentUser
(
user
:
CurrentUser
)
:
CurrentUser
Parameters
user:
CurrentUser
Returns
CurrentUser
Returns
Promise
<
UpdateCurrentUserResult
>
update
Current
User
Display
Picture
update
Current
User
Display
Picture
(
request
:
UpdateCurrentUserDisplayPictureRequest
)
:
Promise
<
UpdateCurrentUserDisplayPictureResult
>
Parameters
request:
UpdateCurrentUserDisplayPictureRequest
Returns
Promise
<
UpdateCurrentUserDisplayPictureResult
>
Static
get
Instance
get
Instance
(
apiKey
:
string
)
:
ChatKitty
Parameters
apiKey:
string
Returns
ChatKitty
Exports
default
constructor
Calls
current
User
add
Channel
Moderator
block
User
clear
Channel
History
create
Channel
create
Thread
delete
Channel
delete
Message
delete
Message
For
Me
delete
User
Block
List
Item
edit
Message
end
Session
get
Channel
get
Channel
Members
get
Channel
Unread
get
Channels
get
Current
User
get
Last
Read
Message
get
Message
Channel
get
Message
Parent
get
Message
Replies
Count
get
Messages
get
Reactions
get
Read
Receipts
get
Thread
Channel
get
Thread
Message
get
Threads
get
Unread
Channels
Count
get
Unread
Messages
Count
get
User
get
User
Block
List
get
User
Is
Channel
Member
get
Users
get
Users
Count
hide
Channel
invite
User
join
Channel
leave
Channel
mute
Channel
on
Channel
Hidden
on
Channel
Joined
on
Channel
Left
on
Channel
Unhidden
on
Channel
Updated
on
Current
User
Changed
on
Current
User
Offline
on
Current
User
Online
on
Notification
Received
on
Participant
Started
Typing
on
Participant
Stopped
Typing
on
User
Presence
Changed
react
To
Message
read
Channel
read
Message
read
Thread
remove
Reaction
send
Keystrokes
send
Message
start
Chat
Session
start
Session
trigger
Event
unmute
Channel
update
Channel
update
Current
User
update
Current
User
Display
Picture
get
Instance
Generated using
TypeDoc