ApproveChatJoinRequest

data class ApproveChatJoinRequest(chatId: ChatIdentifier, userId: UserId) : ChatJoinRequestAnswer

Represent approveChatJoinRequestAnswer. You may approve the requests retrieved in with ChatJoinRequest (in dev.inmo.tgbotapi.types.update.ChatJoinRequestUpdate)

Constructors

ApproveChatJoinRequest
Link copied to clipboard
fun ApproveChatJoinRequest(chatId: ChatIdentifier, userId: UserId)

Functions

method
Link copied to clipboard
open override fun method(): String

Properties

chatId
Link copied to clipboard
open override val chatId: ChatIdentifier
requestSerializer
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
userId
Link copied to clipboard
open override val userId: UserId