class Hamilton::Types::InputTextMessageContent

Overview

Represents the content of a text message to be sent as the result of an inline query.

Included Modules

Defined in:

types/input_message_content.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def entities : Array(Hamilton::Types::MessageEntity) | Nil #

List of special entities that appear in message text, which can be specified instead of #parse_mode.


def entities=(entities : Array(Hamilton::Types::MessageEntity) | Nil) #

List of special entities that appear in message text, which can be specified instead of #parse_mode.


def link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil #

Link preview generation options for the message.


def link_preview_options=(link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil) #

Link preview generation options for the message.


def message_text : String #

Text of the message to be sent, 1-4096 characters.


def message_text=(message_text : String) #

Text of the message to be sent, 1-4096 characters.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def parse_mode : String | Nil #

Mode for parsing entities in the message text.


def parse_mode=(parse_mode : String | Nil) #

Mode for parsing entities in the message text.