RoamingMessages

interface RoamingMessages

漫游消息记录管理器. 可通过 RoamingSupported.roamingMessages 获得.

Since

2.8

See also

Functions

Link copied to clipboard
open suspend fun getAllMessages(filter: RoamingMessageFilter? = null): Flow<MessageChain>

查询所有漫游消息记录. Java Stream 方法查看 getAllMessagesStream.

Link copied to clipboard
open suspend fun getAllMessagesStream(filter: RoamingMessageFilter? = null): <Error class: unknown class><MessageChain>

查询所有漫游消息记录. Kotlin Flow 版本查看 getAllMessages.

Link copied to clipboard
abstract suspend fun getMessagesIn(timeStart: Long, timeEnd: Long, filter: RoamingMessageFilter? = null): Flow<MessageChain>

查询指定时间段内的漫游消息记录. Java Stream 方法查看 getMessagesStream.

Link copied to clipboard
open suspend fun getMessagesStream(timeStart: Long, timeEnd: Long, filter: RoamingMessageFilter? = null): <Error class: unknown class><MessageChain>

查询指定时间段内的漫游消息记录. Kotlin Flow 版本查看 getMessagesIn.