class
Hamilton::Types::PreparedInlineMessage
- Hamilton::Types::PreparedInlineMessage
- Reference
- Object
Overview
Describes an inline message to be sent by a user of a Mini App.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/prepared_inline_message.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#expiration_date : Int32
Expiration date of the prepared message, in Unix time.
-
#expiration_date=(expiration_date : Int32)
Expiration date of the prepared message, in Unix time.
-
#id : String
Unique identifier of the prepared message.
-
#id=(id : String)
Unique identifier of the prepared message.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def expiration_date : Int32
#
Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used.
def expiration_date=(expiration_date : Int32)
#
Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used.