One Bot Transport
interface OneBotTransport
Low-level transport contract for OneBot action and event exchange.
Functions
Link copied to clipboard
abstract suspend fun postAction(action: String, params: JsonObject = JsonObject(emptyMap())): JsonObject
Sends an action with JSON params and returns raw JSON response payload.