ForwardMessage

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

Constructors

Link copied to clipboard
constructor(    fromChatId: ChatIdentifier,     toChatId: ChatIdentifier,     messageId: MessageId,     threadId: MessageThreadId? = toChatId.threadId,     startTimestamp: Seconds? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false)

Properties

Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "disable_notification")
val disableNotification: Boolean = false
Link copied to clipboard
@SerialName(value = "from_chat_id")
val fromChatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "message_id")
open override val messageId: 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<PossiblyForwardedMessage>
Link copied to clipboard
@SerialName(value = "video_start_timestamp")
open override val startTimestamp: Seconds? = null
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