Commit 14e9775 1 parent 95dd66a commit 14e9775 Copy full SHA for 14e9775
File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public actual abstract class LoginSolver public actual constructor() {
75
75
*
76
76
* @return 验证结果, 可通过解决 [DeviceVerificationRequests] 获得.
77
77
* @throws LoginFailedException
78
- * @since 2.14
78
+ * @since 2.13
79
79
*/
80
80
public actual open suspend fun onSolveDeviceVerification (
81
81
bot : Bot ,
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public class NoStandardInputForCaptchaException @MiraiInternalApi constructor(
62
62
63
63
/* *
64
64
* 需要强制短信验证, 且当前 [LoginSolver] 不支持时抛出.
65
- * @since 2.14
65
+ * @since 2.13
66
66
*/
67
67
public class UnsupportedSmsLoginException (message : String? ) : LoginFailedException(true , message)
68
68
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public expect abstract class LoginSolver() {
75
75
*
76
76
* @since 验证结果, 可通过解决 [DeviceVerificationRequests] 获得.
77
77
* @throws LoginFailedException
78
- * @since 2.14
78
+ * @since 2.13
79
79
*/
80
80
public open suspend fun onSolveDeviceVerification (
81
81
bot : Bot ,
@@ -130,7 +130,7 @@ public expect abstract class LoginSolver() {
130
130
* 属性 [sms] 为短信验证码验证方式, [fallback] 为其他验证方式.
131
131
* 两个属性至少有一个不为 `null`, 在不为 `null` 时表示支持该验证方式. 可任意选用偏好的验证方式.
132
132
*
133
- * @since 2.14
133
+ * @since 2.13
134
134
*/
135
135
@NotStableForInheritance
136
136
public interface DeviceVerificationRequests {
@@ -153,7 +153,7 @@ public interface DeviceVerificationRequests {
153
153
/* *
154
154
* 服务器要求短信验证时提供的账号绑定的手机信息. 使用 [requestSms] 来请求发送验证码
155
155
*
156
- * @since 2.14
156
+ * @since 2.13
157
157
* @see LoginSolver.onSolveDeviceVerification
158
158
*/
159
159
@NotStableForInheritance
@@ -187,7 +187,7 @@ public interface SmsRequest {
187
187
/* *
188
188
* 其他验证方式.
189
189
*
190
- * @since 2.14
190
+ * @since 2.13
191
191
* @see LoginSolver.onSolveDeviceVerification
192
192
*/
193
193
@NotStableForInheritance
@@ -206,7 +206,7 @@ public interface FallbackRequest {
206
206
/* *
207
207
* 设备验证的验证结果. 请不要自行实现此接口, 而是通过解决 [DeviceVerificationRequests] 中的其中一种验证获得.
208
208
*
209
- * @since 2.14
209
+ * @since 2.13
210
210
* @see LoginSolver.onSolveDeviceVerification
211
211
*/
212
212
@NotStableForInheritance
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public actual abstract class LoginSolver public actual constructor() {
91
91
*
92
92
* @since 验证结果, 可通过解决 [DeviceVerificationRequests] 获得.
93
93
* @throws LoginFailedException
94
- * @since 2.14
94
+ * @since 2.13
95
95
*/
96
96
public actual open suspend fun onSolveDeviceVerification (
97
97
bot : Bot ,
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public actual abstract class LoginSolver actual constructor() {
73
73
*
74
74
* @since 验证结果, 可通过解决 [DeviceVerificationRequests] 获得.
75
75
* @throws LoginFailedException
76
- * @since 2.14
76
+ * @since 2.13
77
77
*/
78
78
public actual open suspend fun onSolveDeviceVerification (
79
79
bot : Bot ,
You can’t perform that action at this time.
0 commit comments