ForwardMessage

@Serializable
data class ForwardMessage(val fromChatId: ChatIdentifier, val toChatId: ChatIdentifier, val messageId: MessageId, val threadId: MessageThreadId? = null, val disableNotification: Boolean = false, val protectContent: Boolean = false) : SimpleRequest<PossiblyForwardedMessage> , MessageAction, ProtectContent, OptionallyMessageThreadRequest

Constructors

Link copied to clipboard
fun ForwardMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageId, threadId: MessageThreadId? = null, disableNotification: Boolean = false, protectContent: Boolean = false)

Functions

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

Properties

Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val messageId: MessageId
Link copied to clipboard
open override val protectContent: Boolean = false
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<PossiblyForwardedMessage>
Link copied to clipboard
open override val threadId: MessageThreadId? = null
Link copied to clipboard