Search
Preparing search index...
The search index is not available
CommsayChat - v5.9.5
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
CommsayChat - v5.9.5
OpenChannel
Class OpenChannel
Hierarchy
BaseChannel
OpenChannel
Index
Properties
conversation
Type
target
Id
channel
Id
_context
Methods
send
Message
get
Channel
enter
exit
Constructors
constructor
Properties
Protected
conversation
Type
conversation
Type
:
CHATROOM
|
ULTRA_GROUP
Protected
target
Id
target
Id
:
string
Protected
channel
Id
channel
Id
:
string
Protected
_context
_context
:
default
Methods
send
Message
send
Message
(
params
:
BaseMessageCreateParams
)
:
Promise
<
IAsyncRes
<
IReceivedMessage
>
>
Parameters
params:
BaseMessageCreateParams
Returns
Promise
<
IAsyncRes
<
IReceivedMessage
>
>
Static
get
Channel
get
Channel
(
params
:
IChannelInfo
)
:
IResult
<
OpenChannel
>
Parameters
params:
IChannelInfo
Returns
IResult
<
OpenChannel
>
enter
enter
(
)
:
Promise
<
IAsyncRes
<
IChatroomJoinResponse
>
>
Returns
Promise
<
IAsyncRes
<
IChatroomJoinResponse
>
>
exit
exit
(
)
:
Promise
<
ErrorCode
>
Returns
Promise
<
ErrorCode
>
Constructors
constructor
new
Open
Channel
(
params
:
IChannelInfo
)
:
OpenChannel
Parameters
params:
IChannelInfo
Returns
OpenChannel
Property
conversationType
targetId
channelId
_context
Method
sendMessage
getChannel
enter
exit
Constructor
constructor