struct Sendgrid::Message
- Sendgrid::Message
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
sendgrid/sendgrid_structs.crConstructors
- .new(personalizations : Array(Personalization), from : Address, subject : String, content : Array(Content) | Nil = nil, reply_to : Address | Nil = nil, template_id : String | Nil = nil, headers : Hash(String, String) | Nil = nil, categories : Array(String) | Nil = nil, custom_args : Hash(String, String) | Nil = nil, send_at : Int64 | Nil = nil, batch_id : String | Nil = nil, asm __arg0 : AdvancedSuppressionManagement | Nil = nil, ip_pool_name : String | Nil = nil, attachments : Array(Attachment) | Nil = nil, tracking_settings : TrackingSettings | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #asm : AdvancedSuppressionManagement | Nil
- #attachments : Array(Attachment) | Nil
- #batch_id : String | Nil
- #categories : Array(String) | Nil
- #clone
- #content : Array(Content) | Nil
- #copy_with(personalizations _personalizations = @personalizations, from _from = @from, subject _subject = @subject, content _content = @content, reply_to _reply_to = @reply_to, template_id _template_id = @template_id, headers _headers = @headers, categories _categories = @categories, custom_args _custom_args = @custom_args, send_at _send_at = @send_at, batch_id _batch_id = @batch_id, asm _asm = @asm, ip_pool_name _ip_pool_name = @ip_pool_name, attachments _attachments = @attachments, tracking_settings _tracking_settings = @tracking_settings)
- #custom_args : Hash(String, String) | Nil
- #from : Address
- #headers : Hash(String, String) | Nil
- #ip_pool_name : String | Nil
- #personalizations : Array(Personalization)
- #reply_to : Address | Nil
- #send_at : Int64 | Nil
- #subject : String
- #template_id : String | Nil
- #tracking_settings : TrackingSettings | Nil
Constructor Detail
def self.new(personalizations : Array(Personalization), from : Address, subject : String, content : Array(Content) | Nil = nil, reply_to : Address | Nil = nil, template_id : String | Nil = nil, headers : Hash(String, String) | Nil = nil, categories : Array(String) | Nil = nil, custom_args : Hash(String, String) | Nil = nil, send_at : Int64 | Nil = nil, batch_id : String | Nil = nil, asm __arg0 : AdvancedSuppressionManagement | Nil = nil, ip_pool_name : String | Nil = nil, attachments : Array(Attachment) | Nil = nil, tracking_settings : TrackingSettings | Nil = nil)
#
Instance Method Detail
def copy_with(personalizations _personalizations = @personalizations, from _from = @from, subject _subject = @subject, content _content = @content, reply_to _reply_to = @reply_to, template_id _template_id = @template_id, headers _headers = @headers, categories _categories = @categories, custom_args _custom_args = @custom_args, send_at _send_at = @send_at, batch_id _batch_id = @batch_id, asm _asm = @asm, ip_pool_name _ip_pool_name = @ip_pool_name, attachments _attachments = @attachments, tracking_settings _tracking_settings = @tracking_settings)
#