Answer
Defined in: src/lib/messages/Answer.ts:16
Extends
Implements
Constructors
new Answer()
new Answer(
data
?):Answer
Defined in: src/lib/Wrapper.ts:36
Creates a new class instance
Parameters
data?
Returns
Inherited from
new Answer()
new Answer(
client
,data
?):Answer
Defined in: src/lib/Wrapper.ts:37
Parameters
client
data?
Returns
Inherited from
Properties
author?
readonly
optional
author:User
Defined in: src/lib/messages/BaseMessage.ts:34
Implementation of
Inherited from
byVideoAuthor?
readonly
optional
byVideoAuthor:boolean
Defined in: src/lib/messages/BaseMessage.ts:74
Raw
FeedbackSchemaBase.fromVideoAuthor
Implementation of
Inherited from
client?
optional
client:Client
Defined in: src/lib/Wrapper.ts:15
The client that this base was fetched with.
Inherited from
created?
readonly
optional
created:Date
Defined in: src/lib/messages/BaseMessage.ts:39
Raw
Implementation of
Inherited from
deleted?
readonly
optional
deleted:boolean
Defined in: src/lib/messages/BaseMessage.ts:53
Raw
FeedbackSchemaBase.appearsAsDeleted
Implementation of
Inherited from
encryptedKey?
readonly
optional
encryptedKey:`kaencrypted_${string}_${string}`
Defined in: src/lib/messages/BaseMessage.ts:48
Raw
Implementation of
Inherited from
key?
readonly
optional
key:`ag5zfmtoYW4tYWNhZGVteX${string}CxIIVXNlckRhdGEi${string}thaWRf${string}${string}${string}`
Defined in: src/lib/messages/BaseMessage.ts:44
Raw
Implementation of
Inherited from
locked?
readonly
optional
locked:boolean
Defined in: src/lib/messages/BaseMessage.ts:57
Raw
Implementation of
Inherited from
pinned?
readonly
optional
pinned:boolean
Defined in: src/lib/messages/BaseMessage.ts:61
Raw
Implementation of
Inherited from
program?
readonly
optional
program:Program
Defined in: src/lib/messages/BaseMessage.ts:35
Implementation of
Inherited from
question?
readonly
optional
question:Question
Defined in: src/lib/messages/Answer.ts:17
Implementation of
rawData?
optional
rawData:RecursivePartial
<FeedbackSchemaBase
>
Defined in: src/lib/Wrapper.ts:22
The raw base schema data
Remarks
Only set if the base was created from a user schema.
Inherited from
replies?
readonly
optional
replies:Reply
[]
Defined in: src/lib/messages/Message.ts:50
Implementation of
Inherited from
replyCount?
readonly
optional
replyCount:number
Defined in: src/lib/messages/Message.ts:49
Implementation of
Inherited from
score?
readonly
optional
score:number
Defined in: src/lib/messages/BaseMessage.ts:69
Raw
FeedbackSchemaBase.lowQualityScore
Implementation of
Inherited from
selfDownvoted?
readonly
optional
selfDownvoted:boolean
Defined in: src/lib/messages/Message.ts:48
Raw
Implementation of
Inherited from
selfFlagged?
readonly
optional
selfFlagged:boolean
Defined in: src/lib/messages/BaseMessage.ts:79
Raw
FeedbackSchemaBase.flaggedByUser
Implementation of
Inherited from
selfUpvoted?
readonly
optional
selfUpvoted:boolean
Defined in: src/lib/messages/Message.ts:44
Raw
Implementation of
Inherited from
text?
readonly
optional
text:string
Defined in: src/lib/messages/BaseMessage.ts:33
Raw
Implementation of
Inherited from
verified?
readonly
optional
verified:boolean
Defined in: src/lib/messages/BaseMessage.ts:65
Raw
FeedbackSchemaBase.definitelyNotSpam
Implementation of
Inherited from
votes?
readonly
optional
votes:number
Defined in: src/lib/messages/Message.ts:40
Raw
FeedbackSchemaBase.sumVotesIncremented
Implementation of
Inherited from
Type
readonly
static
Type: typeofMessageType
=MessageType
Defined in: src/lib/messages/Message.ts:35
Aliases for the message types.
Inherited from
Accessors
bySelf
Get Signature
get bySelf():
boolean
Defined in: src/lib/messages/BaseMessage.ts:84
Checks if the message was written by the client user
Returns
boolean
Inherited from
selfVoted
Get Signature
get selfVoted():
null
|1
|0
|-1
Defined in: src/lib/messages/Message.ts:59
See
Returns
null
| 1
| 0
| -1
1
if the message was upvoted by the user, -1
if it was downvoted,
and 0
if it was not voted on. null
if the user is not logged in.
Inherited from
url
Get Signature
get url():
null
|string
Defined in: src/lib/messages/BaseMessage.ts:88
Returns
null
| string