DeclineChatJoinRequest

@Serializable
data class DeclineChatJoinRequest(val chatId: ChatIdentifier, val userId: UserId) : ChatJoinRequestAnswer

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

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
Link copied to clipboard
@SerialName(value = "user_id")
open override val userId: UserId

Functions

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