ForwardMessages

@Serializable
data class ForwardMessages(val toChatId: ChatIdentifier, val fromChatId: ChatIdentifier, val messageIds: List<MessageId>, val threadId: MessageThreadId? = toChatId.threadId, val disableNotification: Boolean = false, val protectContent: Boolean = false, removeCaption: Boolean = false) : SimpleRequest<List<MessageId>> , MessagesAction, ProtectContent, OptionallyMessageThreadRequest, DisableNotification

Constructors

Link copied to clipboard
constructor(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageIds: List<MessageId>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false)

Properties

Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "disable_notification")
open override val disableNotification: Boolean = false
Link copied to clipboard
@SerialName(value = "from_chat_id")
val fromChatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "message_ids")
open override val messageIds: List<MessageId>
Link copied to clipboard
@SerialName(value = "protect_content")
open override val protectContent: Boolean = false
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<List<MessageId>>
Link copied to clipboard
@SerialName(value = "message_thread_id")
open override val threadId: MessageThreadId?
Link copied to clipboard
@SerialName(value = "chat_id")
val toChatId: ChatIdentifier

Functions

Link copied to clipboard
open override fun method(): String