MessageCreateRequest
class MessageCreateRequest(type: Int = MessageType.TEXT.type, targetId: ID, content: String, quote: ID? = null, nonce: String? = null, tempTargetId: ID? = null) : KookPostRequest<MessageCreated>
Author
ForteScarlet
Constructors
Link copied to clipboard
fun MessageCreateRequest(type: Int = MessageType.TEXT.type, targetId: ID, content: String, quote: ID? = null, nonce: String? = null, tempTargetId: ID? = null)
Types
Functions
Link copied to clipboard
@Api4J
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
open suspend fun requestData(client: HttpClient, authorization: String, decoder: Json = DEFAULT_JSON): MessageCreated
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
@Api4J
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
将此api转化为 DirectMessageCreateRequest.
Link copied to clipboard
将此api转化为 DirectMessageCreateRequest.