ForwardMessage

@Serializable
data class ForwardMessage(val fromChatId: ChatIdentifier, val toChatId: ChatIdentifier, val messageId: MessageId, val threadId: MessageThreadId? = toChatId.threadId, 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? = toChatId.threadId, 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?
Link copied to clipboard