Mark UserProfile with NotStableForInheritance

This commit is contained in:
Him188 2021-07-07 13:47:45 +08:00
parent e389594c47
commit eaa8f20208

View File

@ -10,6 +10,7 @@
package net.mamoe.mirai.data package net.mamoe.mirai.data
import net.mamoe.mirai.contact.User import net.mamoe.mirai.contact.User
import net.mamoe.mirai.utils.NotStableForInheritance
/** /**
* 用户详细资料 * 用户详细资料
@ -18,6 +19,7 @@ import net.mamoe.mirai.contact.User
* @suppress 使用这个接口是稳定的但继承不稳定将来可能会有新的属性添加 * @suppress 使用这个接口是稳定的但继承不稳定将来可能会有新的属性添加
* @since 2.1 * @since 2.1
*/ */
@NotStableForInheritance
public interface UserProfile { public interface UserProfile {
public val nickname: String public val nickname: String
public val email: String public val email: String