SendMessageReq

telegramium.bots.client.SendMessageReq
final case class SendMessageReq(chatId: ChatId, text: String, businessConnectionId: Option[String], messageThreadId: Option[Int], parseMode: Option[ParseMode], entities: List[MessageEntity], linkPreviewOptions: Option[LinkPreviewOptions], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyParameters: Option[ReplyParameters], replyMarkup: Option[KeyboardMarkup])

Value parameters

businessConnectionId

Unique identifier of the business connection on behalf of which the message will be sent

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.

entities

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

linkPreviewOptions

Link preview generation options for the message

messageThreadId

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

parseMode

Mode for parsing entities in the message text. 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 a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account

replyParameters

Description of the message to reply to

text

Text of the message to be sent, 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