struct Slack::VerifiedEvent

Included Modules

Defined in:

slack/events/verified_event.cr

Constant Summary

ASSIGNED_TYPES = [api_app_id : String, authorizations : Array(JSON::Any) = [] of JSON::Any, event : Slack::Event, event_context : String | ::Nil, event_id : String, team_id : String, token : String, type : String, event_time : Time] of TypeDeclaration

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_app_id : String, event : Slack::Event, event_id : String, team_id : String, token : String, type : String, event_time : Time, authorizations : Array(JSON::Any) = [] of JSON::Any, event_context : String | Nil = nil) #

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def after_initialize #

[View source]
def api_app_id : String #

def api_app_id=(api_app_id : String) #

def authorizations : Array(JSON::Any) #

def authorizations=(authorizations : Array(JSON::Any)) #

def event : Slack::Event #

def event=(event : Slack::Event) #

def event_context : String | Nil #

def event_context=(event_context : String | Nil) #

def event_id : String #

def event_id=(event_id : String) #

def event_time : Time #

def event_time=(event_time : Time) #

def team_id : String #

def team_id=(team_id : String) #

def token : String #

def token=(token : String) #

def type : String #

def type=(type : String) #