EditMessageTextReq

telegramium.bots.client.EditMessageTextReq
final case class EditMessageTextReq(text: String, chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], parseMode: Option[ParseMode], entities: List[MessageEntity], linkPreviewOptions: Option[LinkPreviewOptions], replyMarkup: Option[InlineKeyboardMarkup])

Value parameters

chatId

Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)

entities

A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode

inlineMessageId

Required if chat_id and message_id are not specified. Identifier of the inline message

linkPreviewOptions

Link preview generation options for the message

messageId

Required if inline_message_id is not specified. Identifier of the message to edit

parseMode

Mode for parsing entities in the message text. See formatting options for more details.

replyMarkup

A JSON-serialized object for an inline keyboard.

text

New text of the message, 1-4096 characters after entities parsing

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