# Interface: SendQuickMessageParams

SendQuickMessageParams()

发送快捷消息 - 请求参数

# Properties

# Optional chanelId

chanelId? : Long | string

要发送消息的频道ID

description 有乐环境下无需传入,默认取当前对局id;微信、qq环境下可为队伍id、阵营id、房间id;

Returns: Long | string


# Optional chanelType

chanelType? : ChanelType

要发送消息的频道类型

description 有乐环境下无需传入,默认为当前对局

Returns: ChanelType


# messageId

messageId: number

消息ID (有乐预设好的消息ID)

Returns: number

# Methods

# Optional complete

complete(this: void, res: SendQuickMessageRes | MogsError): void

Inherited from GetUserSignParams.complete

操作完成时(成功或失败),均会调用该回调函数

# 参数:

属性 类型
this void
res SendQuickMessageRes | MogsError

# 返回值:

void


# Optional fail

fail(this: void, error: MogsError): void

Inherited from GetUserSignParams.fail

操作失败时,调用该回调函数

# 参数:

属性 类型
this void
error MogsError

# 返回值:

void


# Optional success

success(this: void, res: SendQuickMessageRes): void

Inherited from GetUserSignParams.success

操作成功时,调用该回调函数

# 参数:

属性 类型
this void
res SendQuickMessageRes

SendQuickMessageRes

属性 类型 描述
eventList? keyof MogsEvent[] 当前 Action 所触发的所有事件的列表

# 返回值:

void