mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-16 21:33:47 +00:00
10 lines
403 B
Kotlin
10 lines
403 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.requests
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.User
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.SimpleRequest
|
||
|
import kotlinx.serialization.KSerializer
|
||
|
|
||
|
class GetMe : SimpleRequest<User> {
|
||
|
override fun method(): String = "getMe"
|
||
|
override fun resultSerializer(): KSerializer<User> = User.serializer()
|
||
|
}
|