add /user/{uid} call on web module.

- add GetUserEvents.
- add /user/{uid} backends.
This commit is contained in:
dalbodeule
2024-08-04 18:47:13 +09:00
parent 4d63022130
commit b77a3d02c5
3 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package space.mori.chzzk_bot.common.events
enum class GetUserType(var value: Int) {
REQUEST(0),
RESPONSE(1),
NOTFOUND(2)
}
class GetUserEvents(
val type: GetUserType,
val uid: String?,
val nickname: String?,
val isStreamOn: Boolean?,
val avatarUrl: String?,
): Event {
var TAG = javaClass.simpleName
}