Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
discordcr
v0.4.1
Discord
Activity
ActivityType
APIError
Attachment
Cache
CDN
ApplicationAssetFormat
ApplicationIconFormat
CustomEmojiFormat
GuildIconFormat
GuildSplashFormat
UserAvatarFormat
Channel
ChannelType
Client
CompressMode
CodeException
Connection
DCA1Mappings
DCA
Info
Metadata
Opus
Origin
Tool
DCAParser
Embed
EmbedAuthor
EmbedField
EmbedFooter
EmbedImage
EmbedProvider
EmbedThumbnail
EmbedVideo
Emoji
GamePlaying
Type
Gateway
ChannelPinsUpdatePayload
GuildBanPayload
GuildCreatePayload
GuildDeletePayload
GuildEmojiUpdatePayload
GuildIntegrationsUpdatePayload
GuildMemberAddPayload
GuildMemberRemovePayload
GuildMembersChunkPayload
GuildMemberUpdatePayload
GuildRoleDeletePayload
GuildRolePayload
HelloPayload
IdentifyPacket
IdentifyPayload
IdentifyProperties
Intents
InviteCreatePayload
InviteDeletePayload
MessageDeleteBulkPayload
MessageDeletePayload
MessageReactionPayload
MessageReactionRemoveAllPayload
MessageReactionRemoveEmojiPayload
MessageUpdatePayload
PresenceUpdatePayload
ReadyPayload
RequestGuildMembersPacket
ResumedPayload
ResumePacket
Session
ShardKey
StatusUpdatePacket
TypingStartPayload
VoiceServerUpdatePayload
VoiceStateUpdatePacket
WebhooksUpdatePayload
Guild
GuildBan
GuildEmbed
GuildMember
Integration
IntegrationAccount
Invite
InviteChannel
InviteGuild
InviteMetadata
Mention
Channel
Emoji
Everyone
Here
MentionType
Role
User
Message
MessageType
OAuth2Application
Overwrite
Paginator
Direction
PartialGuildMember
PartialUser
Permissions
Presence
PrivateChannel
Reaction
ReactionEmoji
REST
ChannelParent
GatewayBotResponse
GatewayResponse
GuildVanityURLResponse
ModifyChannelPositionPayload
ModifyRolePositionPayload
PruneCountResponse
RateLimitKey
SessionStartLimit
Role
Snowflake
StageInstance
StagePrivacyLevel
StatusException
Team
TeamMember
TeamMembershipState
UnavailableGuild
User
UserFlags
UserGuild
VoiceClient
VoiceRegion
VoiceState
VoiceUDP
Webhook
WebSocket
UInt64
Built with Crystal 1.9.2
2023-10-08 10:12:19 UTC
struct
Discord::Gateway::ResumePacket
Discord::Gateway::ResumePacket
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
discordcr/mappings/gateway.cr
Constructors
.new
(token, session_id, seq)
.new
(pull : JSON::PullParser)
Instance Method Summary
#d
: ResumePayload
#d=
(d : ResumePayload)
#op
: Int32
#op=
(op : Int32)
Constructor Detail
def self.
new
(token, session_id, seq)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
d
: ResumePayload
#
[
View source
]
def
d=
(d : ResumePayload)
#
[
View source
]
def
op
: Int32
#
[
View source
]
def
op=
(op : Int32)
#
[
View source
]