CopyMessagesReq

telegramium.bots.client.CopyMessagesReq
final case class CopyMessagesReq(chatId: ChatId, fromChatId: ChatId, messageThreadId: Option[Int], messageIds: List[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean], removeCaption: Option[Boolean])

Value parameters

chatId

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

disableNotification

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

fromChatId

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

messageIds

A JSON-serialized list of 1-100 identifiers of messages in the chat from_chat_id to copy. The identifiers must be specified in a strictly increasing order.

messageThreadId

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

protectContent

Protects the contents of the sent messages from forwarding and saving

removeCaption

Pass True to copy the messages without their captions

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