class
Hamilton::Types::SuggestedPostApprovalFailed
- Hamilton::Types::SuggestedPostApprovalFailed
- Reference
- Object
Overview
Describes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/suggested_post_approval_failed.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#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.
-
#price : Hamilton::Types::SuggestedPostPrice
Expected price of the post.
-
#price=(price : Hamilton::Types::SuggestedPostPrice)
Expected price of the post.
-
#suggested_post_message : Hamilton::Types::Message | Nil
Message containing the suggested post whose approval has failed.
-
#suggested_post_message=(suggested_post_message : Hamilton::Types::Message | Nil)
Message containing the suggested post whose approval has failed.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Message containing the suggested post whose approval has failed. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
Message containing the suggested post whose approval has failed. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.