CopyMessageReq

telegramium.bots.client.CopyMessageReq
final case class CopyMessageReq(chatId: ChatId, fromChatId: ChatId, messageId: Int, messageThreadId: Option[Int], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyParameters: Option[ReplyParameters], replyMarkup: Option[KeyboardMarkup])

Value parameters

caption

New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept

captionEntities

A JSON-serialized list of special entities that appear in the new caption, which can be specified instead of parse_mode

chatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

disableNotification

Sends the message silently. Users will receive a notification with no sound.

fromChatId

Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)

messageId

Message identifier in the chat specified in from_chat_id

messageThreadId

Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

parseMode

Mode for parsing entities in the new caption. See formatting options for more details.

protectContent

Protects the contents of the sent message from forwarding and saving

replyMarkup

Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

replyParameters

Description of the message to reply to

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product