class
TD::MessageCopyOptions
- TD::MessageCopyOptions
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/message_copy_options.crConstructors
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
- .new(new_caption : TD::FormattedText, send_copy : Bool = false, replace_caption : Bool = false)
Instance Method Summary
- #new_caption : TD::FormattedText
- #new_caption=(new_caption : TD::FormattedText)
- #object_type : String
- #object_type=(object_type : String)
- #replace_caption : Bool
- #replace_caption=(replace_caption : Bool)
- #send_copy : Bool
- #send_copy=(send_copy : Bool)
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(new_caption : TD::FormattedText, send_copy : Bool = false, replace_caption : Bool = false)
#