@theophilusdev/conduit
Preparing search index...
ThreadAdminChangedPayload
Interface ThreadAdminChangedPayload
interface
ThreadAdminChangedPayload
{
adminEvent
:
"add_admin"
|
"remove_admin"
;
author
:
string
;
participantIDs
:
string
[]
;
targetID
:
string
;
threadID
:
string
;
type
:
"thread:admin_changed"
;
add
(
userID
:
string
)
:
Promise
<
void
>
;
changeAdminStatus
(
userID
:
string
,
isAdmin
:
boolean
)
:
Promise
<
void
>
;
changeNickname
(
nickname
:
string
,
userID
:
string
)
:
Promise
<
void
>
;
changeTitle
(
title
:
string
)
:
Promise
<
void
>
;
kick
(
userID
:
string
)
:
Promise
<
void
>
;
send
(
body
:
ConduitSendableBody
)
:
Promise
<
SentMessage
>
;
sendTypingIndicator
()
:
()
=>
void
;
shareContact
(
message
:
ConduitSendableBody
,
userID
:
string
,
)
:
Promise
<
SentMessage
>
;
}
Hierarchy (
View Summary
)
EventPayload
<
"thread:admin_changed"
>
ThreadEventBase
Manageable
Sendable
ThreadAdminChangedPayload
Index
Properties
admin
Event
author
participant
I
Ds
target
ID
thread
ID
type
Methods
add
change
Admin
Status
change
Nickname
change
Title
kick
send
send
Typing
Indicator
share
Contact
Properties
admin
Event
adminEvent
:
"add_admin"
|
"remove_admin"
author
author
:
string
participant
I
Ds
participantIDs
:
string
[]
target
ID
targetID
:
string
thread
ID
threadID
:
string
type
type
:
"thread:admin_changed"
Methods
add
add
(
userID
:
string
)
:
Promise
<
void
>
Parameters
userID
:
string
Returns
Promise
<
void
>
change
Admin
Status
changeAdminStatus
(
userID
:
string
,
isAdmin
:
boolean
)
:
Promise
<
void
>
Parameters
userID
:
string
isAdmin
:
boolean
Returns
Promise
<
void
>
change
Nickname
changeNickname
(
nickname
:
string
,
userID
:
string
)
:
Promise
<
void
>
Parameters
nickname
:
string
userID
:
string
Returns
Promise
<
void
>
change
Title
changeTitle
(
title
:
string
)
:
Promise
<
void
>
Parameters
title
:
string
Returns
Promise
<
void
>
kick
kick
(
userID
:
string
)
:
Promise
<
void
>
Parameters
userID
:
string
Returns
Promise
<
void
>
send
send
(
body
:
ConduitSendableBody
)
:
Promise
<
SentMessage
>
Parameters
body
:
ConduitSendableBody
Returns
Promise
<
SentMessage
>
send
Typing
Indicator
sendTypingIndicator
()
:
()
=>
void
Returns
()
=>
void
share
Contact
shareContact
(
message
:
ConduitSendableBody
,
userID
:
string
)
:
Promise
<
SentMessage
>
Parameters
message
:
ConduitSendableBody
userID
:
string
Returns
Promise
<
SentMessage
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
admin
Event
author
participant
I
Ds
target
ID
thread
ID
type
Methods
add
change
Admin
Status
change
Nickname
change
Title
kick
send
send
Typing
Indicator
share
Contact
@theophilusdev/conduit
Loading...