feat: add full url
This commit is contained in:
3 files changed
+46
No files matched your search
@@ -7,6 +7,8 @@
|
||||
|
||||
package cn.rtast.fancybot.entity.wiki
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
data class WikipediaResponse(
|
||||
val query: Query
|
||||
) {
|
||||
@@ -15,6 +17,8 @@ data class WikipediaResponse(
|
||||
)
|
||||
|
||||
data class Search(
|
||||
@SerializedName("pageid")
|
||||
val pageId: Long,
|
||||
val title: String,
|
||||
val snippet: String,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user