DeleteMessageRequest

data class DeleteMessageRequest(chatId: Int, messageId: Int)

Request body for deleteMessage

Parameters

chatId

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

messageId

Identifier of the message to delete

Constructors

DeleteMessageRequest
Link copied to clipboard
common
fun DeleteMessageRequest(chatId: Int, messageId: Int)
Unique identifier for the target chat or username of the target 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, messageId: Int): DeleteMessageRequest
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 channel (in the format @channelusername)
messageId
Link copied to clipboard
common
val messageId: Int
Identifier of the message to delete