create

fun create(targetId: String, msgId: String? = null, pin: Boolean? = null, flag: String? = null, pageSize: Int? = null): GetChannelMessageListApi(source)
fun create(targetId: String, msgId: String? = null, pin: Boolean? = null, flag: MessageQueryFlag? = null, pageSize: Int? = null): GetChannelMessageListApi(source)

构造一个 获取频道聊天消息列表 请求。

Parameters

targetId

频道 id

msgId

参考消息 id,不传则查询最新消息

pin

是否查询置顶消息。 置顶消息只支持查询最新的消息

flag

查询模式,有三种模式可以选择。不传则默认查询最新的消息

pageSize

当前分页消息数量, 默认 50


构造一个 获取频道聊天消息列表 请求。

Parameters

targetId

频道 id


构建一个 获取频道聊天消息列表 请求。