One Bot V11Api
OneBot V11 action wrapper for common messaging and query actions.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun getGroupMemberInfo(groupId: Long, userId: Long, noCache: Boolean = false): ApiResponse<GroupMemberInfo>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun sendGroupMessage(groupId: Long, message: String, autoEscape: Boolean? = null): ApiResponse<SendMessageResult>
suspend fun sendGroupMessage(groupId: Long, message: List<Segment>, autoEscape: Boolean? = null): ApiResponse<SendMessageResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun sendPrivateMessage(userId: Long, message: String, autoEscape: Boolean? = null): ApiResponse<SendMessageResult>
suspend fun sendPrivateMessage(userId: Long, message: List<Segment>, autoEscape: Boolean? = null): ApiResponse<SendMessageResult>
Link copied to clipboard
suspend fun setFriendAddRequest(flag: String, approve: Boolean = true, remark: String? = null): ApiResponse<JsonElement>
Link copied to clipboard
suspend fun setGroupAddRequest(flag: String, subType: String, approve: Boolean = true, reason: String? = null): ApiResponse<JsonElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun setGroupAnonymousBan(groupId: Long, duration: Int, anonymousFlag: String? = null, anonymous: JsonObject? = null): ApiResponse<JsonElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun setGroupKick(groupId: Long, userId: Long, rejectAddRequest: Boolean = false): ApiResponse<JsonElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun setGroupSpecialTitle(groupId: Long, userId: Long, specialTitle: String, duration: Int = -1): ApiResponse<JsonElement>
Link copied to clipboard
Link copied to clipboard