Him188 5 jaren geleden
bovenliggende
commit
cd1dbf63fc

+ 1 - 1
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Contact.kt

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

+ 2 - 1
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Member.kt

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