struct Facebook::Proto::MessengerDestinationPageWelcomeMessage
- Facebook::Proto::MessengerDestinationPageWelcomeMessage
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/MessengerDestinationPageWelcomeMessage.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :page_welcome_message_body, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :page_welcome_message_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :template_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :time_created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :time_last_used, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, page_welcome_message_body : String | Nil = nil, page_welcome_message_type : String | Nil = nil, template_name : String | Nil = nil, time_created : Datetime | Nil = nil, time_last_used : Datetime | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #id : String | Nil
- #id=(id : String | Nil)
- #page_welcome_message_body : String | Nil
- #page_welcome_message_body=(page_welcome_message_body : String | Nil)
- #page_welcome_message_type : String | Nil
- #page_welcome_message_type=(page_welcome_message_type : String | Nil)
- #template_name : String | Nil
- #template_name=(template_name : String | Nil)
- #time_created : Datetime | Nil
- #time_created=(time_created : Datetime | Nil)
- #time_last_used : Datetime | Nil
- #time_last_used=(time_last_used : Datetime | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, page_welcome_message_body : String | Nil = nil, page_welcome_message_type : String | Nil = nil, template_name : String | Nil = nil, time_created : Datetime | Nil = nil, time_last_used : Datetime | Nil = nil)
#