Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
ActionBot::Update
Inherits
Reference
<
Object
A normalized platform event.
Constructors
new
(kind :
Symbol
, update_id :
Int64
|
Nil
= nil, account_id :
Nil
|
String
= nil, message :
Nil
|
ActionBot::Message
= nil, callback :
Nil
|
ActionBot::CallbackQuery
= nil, status :
Nil
|
String
= nil, event :
Symbol
|
Nil
= nil, raw :
JSON::Any
=
JSON::Any
.new({} of
String
=>
JSON::Any
))
Source
Instance methods
account_id
Source
callback
Source
callback_query?
Source
event
Source
kind
Source
message
Source
message?
Source
raw
Source
status
Source
status_update?
Source
update_id
Source