GetChatMemberRequest

data class GetChatMemberRequest(chatId: Int, userId: Int)

Request body for getChatMember

Parameters

chatId

Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)

userId

Unique identifier of the target user

Constructors

GetChatMemberRequest
Link copied to clipboard
common
fun GetChatMemberRequest(chatId: Int, userId: Int)
Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): Int
copy
Link copied to clipboard
common
fun copy(chatId: Int, userId: Int): GetChatMemberRequest
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

chatId
Link copied to clipboard
common
val chatId: Int
Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
userId
Link copied to clipboard
common
val userId: Int
Unique identifier of the target user