Conversation
Contributor
Author
|
@Him188 @Karlatemp 我打算仿照 Announcements 设计API |
Member
|
我觉得可以 |
Him188
reviewed
Feb 3, 2023
mirai-core-api/src/commonMain/kotlin/contact/vote/VoteParametersBuilder.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/VoteParametersBuilder.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/VoteParameters.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/OfflineVote.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/OfflineVote.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/OfflineVote.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/OfflineVote.kt
Outdated
Show resolved
Hide resolved
Him188
requested changes
Mar 1, 2023
mirai-core-api/src/commonMain/kotlin/contact/vote/VoteParameters.kt
Outdated
Show resolved
Hide resolved
mirai-core-api/src/commonMain/kotlin/contact/vote/VoteParameters.kt
Outdated
Show resolved
Hide resolved
Comment on lines
+18
to
+33
| internal class OnlineVoteImpl( | ||
| override val group: Group, | ||
| override val senderId: Long, | ||
| override val sender: NormalMember?, | ||
| override val fid: String, | ||
| override val publicationTime: Long, | ||
| override val endTime: Long, | ||
| override var title: String, | ||
| override var options: List<String>, | ||
| override var select: List<Int>, | ||
| override var records: List<OnlineVoteRecord>, | ||
| override val parameters: VoteParameters | ||
| ) : OnlineVote { | ||
|
|
||
| override val url: String = "https://client.qun.qq.com/qqweb/m/qun/vote/detail.html?fid=${fid}&groupuin=${group.id}" | ||
| } No newline at end of file |
Member
There was a problem hiding this comment.
此 class 需要是 immutable, 不应支持 update 操作
# Conflicts: # mirai-core-mock/src/internal/contact/MockGroupImpl.kt
Member
|
Member
|
我现在测试必定 502, 等几天再说 |
Member
|
@Karlatemp @cssxsh 看看 public API? |
Collaborator
|
群投票功能已经被下线了 所以( |
Member
|
确实,测试的时候看到变成了腾讯投票 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #1901