Send Media Group Request
data class SendMediaGroupRequest(chatId: Int, media: List<InputMedia>, disableNotification: Boolean, replyToMessageId: Int?, allowSendingWithoutReply: Boolean)
Content copied to clipboard
Request body for sendMediaGroup
Parameters
chatId
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
media
A JSON-serialized array describing messages to be sent, must include 2-10 items
disableNotification
Sends messages silently. Users will receive a notification with no sound.
replyToMessageId
If the messages are a reply, ID of the original message
allowSendingWithoutReply
Pass True, if the message should be sent even if the specified replied-to message is not found
Constructors
SendMediaGroupRequest
Link copied to clipboard
fun SendMediaGroupRequest(chatId: Int, media: List<InputMedia> = emptyList(), disableNotification: Boolean = false, replyToMessageId: Int? = null, allowSendingWithoutReply: Boolean = false)
Content copied to clipboard
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(chatId: Int, media: List<InputMedia> = emptyList(), disableNotification: Boolean = false, replyToMessageId: Int? = null, allowSendingWithoutReply: Boolean = false): SendMediaGroupRequest
Content copied to clipboard
Properties
allowSendingWithoutReply
Link copied to clipboard
disableNotification
Link copied to clipboard
media
Link copied to clipboard
replyToMessageId
Link copied to clipboard