1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-03-08 19:10:10 +08:00
This commit is contained in:
Him188 2020-04-25 12:29:16 +08:00
parent 3bdfd21df6
commit cd1dbf63fc
2 changed files with 3 additions and 2 deletions
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact

View File

@ -32,7 +32,7 @@ import kotlin.jvm.JvmSynthetic
/** /**
* 联系人. 虽然叫做联系人, 但他的子类有 [][User], [][Group]. * 联系人. 虽然叫做联系人, 但他的子类有 [用户][User], [][Group].
*/ */
abstract class Contact : CoroutineScope, ContactJavaFriendlyAPI(), ContactOrBot { abstract class Contact : CoroutineScope, ContactJavaFriendlyAPI(), ContactOrBot {
/** /**

View File

@ -128,7 +128,8 @@ abstract class Member : MemberJavaFriendlyAPI() {
abstract suspend fun kick(message: String = "") abstract suspend fun kick(message: String = "")
/** /**
* 向这个对象发送消息. * 向群成员发送消息.
* 若群成员同时是好友, 则会发送好友消息. 否则发送临时会话消息.
* *
* 单条消息最大可发送 4500 字符或 50 张图片. * 单条消息最大可发送 4500 字符或 50 张图片.
* *