Skip to content

@mastondzn/dank-twitch-irc / NoticeMessage

Class: NoticeMessage ​

Defined in: src/message/twitch-types/notice.ts:9

Extends ​

Constructors ​

Constructor ​

new NoticeMessage(message): NoticeMessage

Defined in: src/message/twitch-types/notice.ts:52

Parameters ​

message ​

IRCMessageData

Returns ​

NoticeMessage

Overrides ​

IRCMessage.constructor

Properties ​

ircCommand ​

readonly ircCommand: string

Defined in: src/message/irc/irc-message.ts:28

The parser ensures this is always uppercase

Inherited from ​

IRCMessage.ircCommand


ircParameters ​

readonly ircParameters: string[]

Defined in: src/message/irc/irc-message.ts:29

Inherited from ​

IRCMessage.ircParameters


ircPrefix ​

readonly ircPrefix: IRCMessagePrefix | undefined

Defined in: src/message/irc/irc-message.ts:23

Inherited from ​

IRCMessage.ircPrefix


ircPrefixRaw ​

readonly ircPrefixRaw: string | undefined

Defined in: src/message/irc/irc-message.ts:22

Inherited from ​

IRCMessage.ircPrefixRaw


ircTags ​

readonly ircTags: IRCMessageTags

Defined in: src/message/irc/irc-message.ts:30

Inherited from ​

IRCMessage.ircTags


rawSource ​

readonly rawSource: string

Defined in: src/message/irc/irc-message.ts:20

Inherited from ​

IRCMessage.rawSource

Accessors ​

channel ​

Get Signature ​

get channel(): Channel | undefined

Defined in: src/message/twitch-types/notice.ts:14

Returns ​

Channel | undefined


channelName ​

Get Signature ​

get channelName(): string | undefined

Defined in: src/message/twitch-types/notice.ts:33

Deprecated ​

Use ?.login instead.

Returns ​

string | undefined


content ​

Get Signature ​

get content(): string

Defined in: src/message/twitch-types/notice.ts:22

Returns ​

string


id ​

Get Signature ​

get id(): string | undefined

Defined in: src/message/twitch-types/notice.ts:26

Returns ​

string | undefined


messageId ​

Get Signature ​

get messageId(): string | undefined

Defined in: src/message/twitch-types/notice.ts:48

Deprecated ​

Use id instead.

Returns ​

string | undefined


messageID ​

Get Signature ​

get messageID(): string | undefined

Defined in: src/message/twitch-types/notice.ts:43

Deprecated ​

Use id instead.

Returns ​

string | undefined


messageText ​

Get Signature ​

get messageText(): string

Defined in: src/message/twitch-types/notice.ts:38

Deprecated ​

Use content instead.

Returns ​

string