Send Media Group Request
fun SendMediaGroupRequest(chatId: Int, media: List<InputMedia> = emptyList(), disableNotification: Boolean = false, replyToMessageId: Int? = null, allowSendingWithoutReply: Boolean = false)
Content copied to clipboard
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