+ +
+

copyMessages

+
+
+
+
inline suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, messages: List<MediaGroupMessage<MediaGroupContent>>, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(toChat: Chat, messages: List<MediaGroupMessage<MediaGroupContent>>, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are


inline suspend fun TelegramBot.copyMessages(toChat: ChatIdentifier, update: SentMediaGroupUpdate, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(toChat: Chat, update: SentMediaGroupUpdate, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are


inline suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, messages: List<MediaGroupMessage<MediaGroupContent>>, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(toChat: Chat, messages: List<MediaGroupMessage<MediaGroupContent>>, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are


inline suspend fun TelegramBot.copyMessages(toChat: ChatIdentifier, update: SentMediaGroupUpdate, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(toChat: Chat, update: SentMediaGroupUpdate, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are

+