Search
Preparing search index...
The search index is not available
kbotify
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
kbotify
TextMessage
Class TextMessage
Hierarchy
TextMessage
Index
Constructors
constructor
Properties
author
author
Id
channel
Id
channel
Name
channel
Type
client
code
content
guild
Id
mention
msg
Id
msg
Timestamp
type
Methods
delete
update
Constructors
constructor
new
Text
Message
(
rawMessage
:
KMarkdownMessage
|
TextMessage
, client
:
KBotify
)
:
TextMessage
Transfer message info class
Parameters
rawMessage:
KMarkdownMessage
|
TextMessage
TextMessageInterface, from kaiheila-bot-root
client:
KBotify
Returns
TextMessage
Properties
author
author
:
User
&
UserInGuild
author
Id
author
Id
:
string
channel
Id
channel
Id
:
string
Optional
channel
Name
channel
Name
:
string
channel
Type
channel
Type
:
string
client
client
:
KBotify
code
code
:
string
content
content
:
string
Optional
guild
Id
guild
Id
:
string
mention
mention
:
{
all
:
boolean
;
channels
:
string
[]
;
here
:
boolean
;
roles
:
string
[]
;
user
:
string
[]
}
|
{
all
:
boolean
;
here
:
boolean
;
roles
:
string
[]
;
user
:
string
[]
}
msg
Id
msg
Id
:
string
msg
Timestamp
msg
Timestamp
:
number
type
type
:
text
|
kMarkdown
Methods
delete
delete
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
update
update
(
content
:
string
, quote
?:
string
, tempTargetId
?:
string
)
:
Promise
<
boolean
>
Parameters
content:
string
Optional
quote:
string
Optional
tempTargetId:
string
Returns
Promise
<
boolean
>
Exports
Result
Types
App
Command
Base
Session
Base
User
Button
Event
Message
Card
Guild
Channel
Guild
Session
KBotify
Menu
Command
Private
Channel
Private
Session
Text
Message
constructor
author
author
Id
channel
Id
channel
Name
channel
Type
client
code
content
guild
Id
mention
msg
Id
msg
Timestamp
type
delete
update
App
Command
Params
Base
Data
Card
Object
Func
Result
Menu
Command
Params
Module
Object
Send
Options
App
Command
Func
App
Func
Channel
Theme
k
Botify
Logger
create
Session
init
Func
Result
Generated using
TypeDoc
Transfer message info class