Skip to content

@mastondzn/dank-twitch-irc / ClearmsgMessage

Class: ClearmsgMessage

Defined in: src/message/twitch-types/clearmsg.ts:11

Extends

Constructors

Constructor

new ClearmsgMessage(message): ClearmsgMessage

Defined in: src/message/twitch-types/clearmsg.ts:46

Parameters

message

IRCMessageData

Returns

ClearmsgMessage

Overrides

ChannelIRCMessage.constructor

Properties

_channelLogin

protected readonly _channelLogin: string

Defined in: src/message/irc/channel-irc-message.ts:41

Inherited from

ChannelIRCMessage._channelLogin


ircCommand

readonly ircCommand: string

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

The parser ensures this is always uppercase

Inherited from

ChannelIRCMessage.ircCommand


ircParameters

readonly ircParameters: string[]

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

Inherited from

ChannelIRCMessage.ircParameters


ircPrefix

readonly ircPrefix: IRCMessagePrefix | undefined

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

Inherited from

ChannelIRCMessage.ircPrefix


ircPrefixRaw

readonly ircPrefixRaw: string | undefined

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

Inherited from

ChannelIRCMessage.ircPrefixRaw


ircTags

readonly ircTags: IRCMessageTags

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

Inherited from

ChannelIRCMessage.ircTags


rawSource

readonly rawSource: string

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

Inherited from

ChannelIRCMessage.rawSource

Accessors

channel

Get Signature

get channel(): Channel

Defined in: src/message/irc/channel-irc-message.ts:43

Returns

Channel

Inherited from

ChannelIRCMessage.channel


channelName

Get Signature

get channelName(): string

Defined in: src/message/irc/channel-irc-message.ts:51

Deprecated

Use channel.login instead.

Returns

string

Inherited from

ChannelIRCMessage.channelName


target

Get Signature

get target(): ClearmsgTarget

Defined in: src/message/twitch-types/clearmsg.ts:16

Returns

ClearmsgTarget


targetMessageContent

Get Signature

get targetMessageContent(): string

Defined in: src/message/twitch-types/clearmsg.ts:42

Deprecated

Use target.content instead.

Returns

string


targetMessageId

Get Signature

get targetMessageId(): string

Defined in: src/message/twitch-types/clearmsg.ts:37

Deprecated

Use target.messageId instead.

Returns

string


targetMessageID

Get Signature

get targetMessageID(): string

Defined in: src/message/twitch-types/clearmsg.ts:32

Deprecated

Use target.messageId instead.

Returns

string


targetUsername

Get Signature

get targetUsername(): string

Defined in: src/message/twitch-types/clearmsg.ts:27

Deprecated

Use target.login instead.

Returns

string