Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
abartos
master
Top Level Namespace
Abartos
Application
Callback
Client
Interaction
Request
MessageComponent
Ping
Response
ChannelMessageWithSource
CallbackFlag
Pong
ResponseData
Service
ServiceCallback
Webhook
Component
ActionRow
ActionRowChildren
Button
Style
Type
WebhookAccessTokenResponse
WebhookReponseObject
Component
Interaction
NaCl
Resource
Member
Message
User
UserFlags
Snowflake
Enum
NumericalConverter32
NumericalConverter64
Generated using Crystal 1.14.0
2024-11-26 10:21:00 UTC
struct
Abartos::
Application::
Interaction::
Response
Abartos::Application::Interaction::Response
Struct
Value
Object
Defined in:
abartos/application/interaction.cr
Constructors
.new
(data : Abartos::Application::Interaction::ResponseData)
Class Method Summary
.ephemeral_message
(message : String)
Instance Method Summary
#data
: ResponseData
#data=
(data : ResponseData)
#to_json
(json : JSON::Builder)
Constructor Detail
def self.
new
(data :
Abartos::Application::Interaction::ResponseData
)
#
[
View source
]
Class Method Detail
def self.
ephemeral_message
(message : String)
#
[
View source
]
Instance Method Detail
def
data
:
ResponseData
#
[
View source
]
def
data=
(data :
ResponseData
)
#
[
View source
]
def
to_json
(json : JSON::Builder)
#
[
View source
]