Documentation
¶
Index ¶
- Constants
- Variables
- func PBToActivities(pbActivities []*Activity) []discord.Activity
- func PBToActivity(pbActivity *Activity) *discord.Activity
- func PBToAssets(pbAssets *Assets) *discord.Assets
- func PBToAvatarDecorationData(pb *AvatarDecorationData) *discord.AvatarDecorationData
- func PBToChannel(pbChannel *Channel) *discord.Channel
- func PBToChannelOverwrites(pbOverwrites []*ChannelOverwrite) []discord.ChannelOverwrite
- func PBToChannels(pbChannels []*Channel) []discord.Channel
- func PBToDefaultReactionEmoji(pb *DefaultReactionEmoji) *discord.DefaultReactionEmoji
- func PBToEmoji(pbEmoji *Emoji) *discord.Emoji
- func PBToEmojis(pbEmojis []*Emoji) []discord.Emoji
- func PBToEventMetadata(pbMetadata *EventMetadata) *discord.EventMetadata
- func PBToForumTag(pb *ForumTag) discord.ForumTag
- func PBToForumTags(pb []*ForumTag) []discord.ForumTag
- func PBToGuild(pbGuild *Guild) *discord.Guild
- func PBToGuildMember(pbMember *GuildMember) *discord.GuildMember
- func PBToGuildMembers(pbMembers []*GuildMember) []discord.GuildMember
- func PBToParty(pbParty *Party) *discord.Party
- func PBToRole(pbRole *Role) *discord.Role
- func PBToRoleColors(pb *RoleColors) *discord.RoleColors
- func PBToRoleTags(pbTags *RoleTag) *discord.RoleTag
- func PBToRoles(pbRoles []*Role) []discord.Role
- func PBToScheduledEvent(pbEvent *ScheduledEvent) *discord.ScheduledEvent
- func PBToScheduledEvents(pbEvents []*ScheduledEvent) []discord.ScheduledEvent
- func PBToSecrets(pbSecrets *Secrets) *discord.Secrets
- func PBToSnowflakes(pbSnowflakes []int64) []discord.Snowflake
- func PBToStageInstances(pbInstances []*StageInstance) []discord.StageInstance
- func PBToSticker(pbSticker *Sticker) *discord.Sticker
- func PBToStickers(pbStickers []*Sticker) []discord.Sticker
- func PBToThreadMember(pbMember *ThreadMember) *discord.ThreadMember
- func PBToThreadMetadata(pbMetadata *ThreadMetadata) *discord.ThreadMetadata
- func PBToTimestamps(pbTimestamps *Timestamps) *discord.Timestamps
- func PBToUser(pbUser *User) *discord.User
- func PBToUserPrimaryGuild(pb *UserPrimaryGuild) *discord.UserPrimaryGuild
- func PBToUsers(pbUsers []*User) []discord.User
- func PBToVoiceState(pbState *VoiceState) *discord.VoiceState
- func PBToVoiceStates(pbStates []*VoiceState) []discord.VoiceState
- func RegisterSandwichServer(s grpc.ServiceRegistrar, srv SandwichServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetApplicationID() int64
- func (x *Activity) GetAssets() *Assets
- func (x *Activity) GetDetails() string
- func (x *Activity) GetFlags() int32
- func (x *Activity) GetInstance() bool
- func (x *Activity) GetName() string
- func (x *Activity) GetParty() *Party
- func (x *Activity) GetSecrets() *Secrets
- func (x *Activity) GetState() string
- func (x *Activity) GetTimestamps() *Timestamps
- func (x *Activity) GetType() int32
- func (x *Activity) GetURL() string
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetBot() *User
- func (x *Application) GetBotPublic() bool
- func (x *Application) GetBotRequireCodeGrant() bool
- func (x *Application) GetCoverImage() string
- func (x *Application) GetDescription() string
- func (x *Application) GetFlags() int32
- func (x *Application) GetGuildID() int64
- func (x *Application) GetID() int64
- func (x *Application) GetIcon() string
- func (x *Application) GetName() string
- func (x *Application) GetOwner() *User
- func (x *Application) GetPrimarySKUID() int64
- func (x *Application) GetPrivacyPolicyURL() string
- func (x *Application) GetRPCOrigins() []string
- func (x *Application) GetSlug() string
- func (x *Application) GetSummary() string
- func (x *Application) GetTeam() *ApplicationTeam
- func (x *Application) GetTermsOfServiceURL() string
- func (x *Application) GetVerifyKey() string
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type ApplicationCommand
- func (*ApplicationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationCommand) GetApplicationID() int64
- func (x *ApplicationCommand) GetDefaultPermission() bool
- func (x *ApplicationCommand) GetDescription() string
- func (x *ApplicationCommand) GetGuildID() int64
- func (x *ApplicationCommand) GetID() int64
- func (x *ApplicationCommand) GetName() string
- func (x *ApplicationCommand) GetOptions() []*ApplicationCommandOption
- func (x *ApplicationCommand) GetType() uint32
- func (x *ApplicationCommand) GetVersion() int32
- func (*ApplicationCommand) ProtoMessage()
- func (x *ApplicationCommand) ProtoReflect() protoreflect.Message
- func (x *ApplicationCommand) Reset()
- func (x *ApplicationCommand) String() string
- type ApplicationCommandOption
- func (*ApplicationCommandOption) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationCommandOption) GetAutocomplete() bool
- func (x *ApplicationCommandOption) GetChannelTypes() []uint32
- func (x *ApplicationCommandOption) GetChoices() []*ApplicationCommandOptionChoice
- func (x *ApplicationCommandOption) GetDescription() string
- func (x *ApplicationCommandOption) GetMaxValue() int32
- func (x *ApplicationCommandOption) GetMinValue() int32
- func (x *ApplicationCommandOption) GetName() string
- func (x *ApplicationCommandOption) GetOptions() []*ApplicationCommandOption
- func (x *ApplicationCommandOption) GetRequired() bool
- func (x *ApplicationCommandOption) GetType() uint32
- func (*ApplicationCommandOption) ProtoMessage()
- func (x *ApplicationCommandOption) ProtoReflect() protoreflect.Message
- func (x *ApplicationCommandOption) Reset()
- func (x *ApplicationCommandOption) String() string
- type ApplicationCommandOptionChoice
- func (*ApplicationCommandOptionChoice) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationCommandOptionChoice) GetName() string
- func (x *ApplicationCommandOptionChoice) GetValue() []byte
- func (*ApplicationCommandOptionChoice) ProtoMessage()
- func (x *ApplicationCommandOptionChoice) ProtoReflect() protoreflect.Message
- func (x *ApplicationCommandOptionChoice) Reset()
- func (x *ApplicationCommandOptionChoice) String() string
- type ApplicationCommandPermissions
- func (*ApplicationCommandPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationCommandPermissions) GetAllowed() bool
- func (x *ApplicationCommandPermissions) GetID() int64
- func (x *ApplicationCommandPermissions) GetType() uint32
- func (*ApplicationCommandPermissions) ProtoMessage()
- func (x *ApplicationCommandPermissions) ProtoReflect() protoreflect.Message
- func (x *ApplicationCommandPermissions) Reset()
- func (x *ApplicationCommandPermissions) String() string
- type ApplicationIdentifier
- func (*ApplicationIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationIdentifier) GetApplicationIdentifier() string
- func (*ApplicationIdentifier) ProtoMessage()
- func (x *ApplicationIdentifier) ProtoReflect() protoreflect.Message
- func (x *ApplicationIdentifier) Reset()
- func (x *ApplicationIdentifier) String() string
- type ApplicationIdentifierWithBlocking
- func (*ApplicationIdentifierWithBlocking) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationIdentifierWithBlocking) GetApplicationIdentifier() string
- func (x *ApplicationIdentifierWithBlocking) GetBlocking() bool
- func (*ApplicationIdentifierWithBlocking) ProtoMessage()
- func (x *ApplicationIdentifierWithBlocking) ProtoReflect() protoreflect.Message
- func (x *ApplicationIdentifierWithBlocking) Reset()
- func (x *ApplicationIdentifierWithBlocking) String() string
- type ApplicationSelectOption
- func (*ApplicationSelectOption) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationSelectOption) GetDefault() bool
- func (x *ApplicationSelectOption) GetDescription() string
- func (x *ApplicationSelectOption) GetEmoji() *Emoji
- func (x *ApplicationSelectOption) GetLabel() string
- func (x *ApplicationSelectOption) GetValue() string
- func (*ApplicationSelectOption) ProtoMessage()
- func (x *ApplicationSelectOption) ProtoReflect() protoreflect.Message
- func (x *ApplicationSelectOption) Reset()
- func (x *ApplicationSelectOption) String() string
- type ApplicationTeam
- func (*ApplicationTeam) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationTeam) GetID() int64
- func (x *ApplicationTeam) GetIcon() string
- func (x *ApplicationTeam) GetMembers() []*ApplicationTeamMember
- func (x *ApplicationTeam) GetName() string
- func (x *ApplicationTeam) GetOwnerUserID() int64
- func (*ApplicationTeam) ProtoMessage()
- func (x *ApplicationTeam) ProtoReflect() protoreflect.Message
- func (x *ApplicationTeam) Reset()
- func (x *ApplicationTeam) String() string
- type ApplicationTeamMember
- func (*ApplicationTeamMember) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationTeamMember) GetMembershipState() uint32
- func (x *ApplicationTeamMember) GetPermissions() []string
- func (x *ApplicationTeamMember) GetTeamID() int64
- func (x *ApplicationTeamMember) GetUser() *User
- func (*ApplicationTeamMember) ProtoMessage()
- func (x *ApplicationTeamMember) ProtoReflect() protoreflect.Message
- func (x *ApplicationTeamMember) Reset()
- func (x *ApplicationTeamMember) String() string
- type Assets
- func (*Assets) Descriptor() ([]byte, []int)deprecated
- func (x *Assets) GetLargeImage() string
- func (x *Assets) GetLargeText() string
- func (x *Assets) GetSmallImage() string
- func (x *Assets) GetSmallText() string
- func (*Assets) ProtoMessage()
- func (x *Assets) ProtoReflect() protoreflect.Message
- func (x *Assets) Reset()
- func (x *Assets) String() string
- type AvatarDecorationData
- func (*AvatarDecorationData) Descriptor() ([]byte, []int)deprecated
- func (x *AvatarDecorationData) GetAsset() string
- func (x *AvatarDecorationData) GetSKUID() int64
- func (*AvatarDecorationData) ProtoMessage()
- func (x *AvatarDecorationData) ProtoReflect() protoreflect.Message
- func (x *AvatarDecorationData) Reset()
- func (x *AvatarDecorationData) String() string
- type BaseResponse
- func (*BaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BaseResponse) GetError() string
- func (x *BaseResponse) GetOk() bool
- func (*BaseResponse) ProtoMessage()
- func (x *BaseResponse) ProtoReflect() protoreflect.Message
- func (x *BaseResponse) Reset()
- func (x *BaseResponse) String() string
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetApplicationID() int64
- func (x *Channel) GetAvailableTags() []*ForumTag
- func (x *Channel) GetBitrate() int32
- func (x *Channel) GetDefaultAutoArchiveDuration() int32
- func (x *Channel) GetDefaultForumLayout() int32
- func (x *Channel) GetDefaultReactionEmoji() *DefaultReactionEmoji
- func (x *Channel) GetDefaultSortOrder() int32
- func (x *Channel) GetDefaultThreadRateLimitPerUser() int32
- func (x *Channel) GetFlags() int32
- func (x *Channel) GetGuildID() int64
- func (x *Channel) GetHDStreamingBuyerID() int64
- func (x *Channel) GetHDStreamingUntil() string
- func (x *Channel) GetID() int64
- func (x *Channel) GetIcon() string
- func (x *Channel) GetLastMessageID() string
- func (x *Channel) GetLastPinTimestamp() string
- func (x *Channel) GetMemberCount() int32
- func (x *Channel) GetMessageCount() int32
- func (x *Channel) GetNSFW() bool
- func (x *Channel) GetName() string
- func (x *Channel) GetOwnerID() int64
- func (x *Channel) GetParentID() int64
- func (x *Channel) GetPermissionOverwrites() []*ChannelOverwrite
- func (x *Channel) GetPermissions() int64
- func (x *Channel) GetPosition() int32
- func (x *Channel) GetRTCRegion() string
- func (x *Channel) GetRateLimitPerUser() int32
- func (x *Channel) GetRecipients() []*User
- func (x *Channel) GetThreadMember() *ThreadMember
- func (x *Channel) GetThreadMetadata() *ThreadMetadata
- func (x *Channel) GetTopic() string
- func (x *Channel) GetType() uint32
- func (x *Channel) GetUserLimit() int32
- func (x *Channel) GetVideoQualityMode() uint32
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChannelOverwrite
- func (*ChannelOverwrite) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelOverwrite) GetAllow() int64
- func (x *ChannelOverwrite) GetDeny() int64
- func (x *ChannelOverwrite) GetID() int64
- func (x *ChannelOverwrite) GetType() uint32
- func (*ChannelOverwrite) ProtoMessage()
- func (x *ChannelOverwrite) ProtoReflect() protoreflect.Message
- func (x *ChannelOverwrite) Reset()
- func (x *ChannelOverwrite) String() string
- type ClientStatus
- func (*ClientStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClientStatus) GetDesktop() string
- func (x *ClientStatus) GetMobile() string
- func (x *ClientStatus) GetWeb() string
- func (*ClientStatus) ProtoMessage()
- func (x *ClientStatus) ProtoReflect() protoreflect.Message
- func (x *ClientStatus) Reset()
- func (x *ClientStatus) String() string
- type CreateApplicationRequest
- func (*CreateApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApplicationRequest) GetApplicationIdentifier() string
- func (x *CreateApplicationRequest) GetAutoSharded() bool
- func (x *CreateApplicationRequest) GetAutoStart() bool
- func (x *CreateApplicationRequest) GetBotToken() string
- func (x *CreateApplicationRequest) GetChunkGuildsOnStart() bool
- func (x *CreateApplicationRequest) GetClientName() string
- func (x *CreateApplicationRequest) GetDefaultPresence() []byte
- func (x *CreateApplicationRequest) GetDisplayName() string
- func (x *CreateApplicationRequest) GetEventBlacklist() []string
- func (x *CreateApplicationRequest) GetIncludeRandomSuffix() bool
- func (x *CreateApplicationRequest) GetIntents() int32
- func (x *CreateApplicationRequest) GetProduceBlacklist() []string
- func (x *CreateApplicationRequest) GetProducerIdentifier() string
- func (x *CreateApplicationRequest) GetSaveConfig() bool
- func (x *CreateApplicationRequest) GetShardCount() int32
- func (x *CreateApplicationRequest) GetShardIds() string
- func (x *CreateApplicationRequest) GetValues() []byte
- func (*CreateApplicationRequest) ProtoMessage()
- func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateApplicationRequest) Reset()
- func (x *CreateApplicationRequest) String() string
- type CreateDMChannel
- type DefaultReactionEmoji
- func (*DefaultReactionEmoji) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultReactionEmoji) GetEmojiID() int64
- func (x *DefaultReactionEmoji) GetEmojiName() string
- func (*DefaultReactionEmoji) ProtoMessage()
- func (x *DefaultReactionEmoji) ProtoReflect() protoreflect.Message
- func (x *DefaultReactionEmoji) Reset()
- func (x *DefaultReactionEmoji) String() string
- type Embed
- func (*Embed) Descriptor() ([]byte, []int)deprecated
- func (x *Embed) GetAuthor() *EmbedAuthor
- func (x *Embed) GetColor() int32
- func (x *Embed) GetDescription() string
- func (x *Embed) GetFields() []*EmbedField
- func (x *Embed) GetFooter() *EmbedFooter
- func (x *Embed) GetImage() *EmbedImage
- func (x *Embed) GetProvider() *EmbedProvider
- func (x *Embed) GetThumbnail() *EmbedThumbnail
- func (x *Embed) GetTimestamp() string
- func (x *Embed) GetTitle() string
- func (x *Embed) GetType() string
- func (x *Embed) GetURL() string
- func (x *Embed) GetVideo() *EmbedVideo
- func (*Embed) ProtoMessage()
- func (x *Embed) ProtoReflect() protoreflect.Message
- func (x *Embed) Reset()
- func (x *Embed) String() string
- type EmbedAuthor
- func (*EmbedAuthor) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedAuthor) GetIconURL() string
- func (x *EmbedAuthor) GetName() string
- func (x *EmbedAuthor) GetProxyIconURL() string
- func (x *EmbedAuthor) GetURL() string
- func (*EmbedAuthor) ProtoMessage()
- func (x *EmbedAuthor) ProtoReflect() protoreflect.Message
- func (x *EmbedAuthor) Reset()
- func (x *EmbedAuthor) String() string
- type EmbedField
- func (*EmbedField) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedField) GetInline() bool
- func (x *EmbedField) GetName() string
- func (x *EmbedField) GetValue() string
- func (*EmbedField) ProtoMessage()
- func (x *EmbedField) ProtoReflect() protoreflect.Message
- func (x *EmbedField) Reset()
- func (x *EmbedField) String() string
- type EmbedFooter
- func (*EmbedFooter) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedFooter) GetIconURL() string
- func (x *EmbedFooter) GetProxyIconURL() string
- func (x *EmbedFooter) GetText() string
- func (*EmbedFooter) ProtoMessage()
- func (x *EmbedFooter) ProtoReflect() protoreflect.Message
- func (x *EmbedFooter) Reset()
- func (x *EmbedFooter) String() string
- type EmbedImage
- func (*EmbedImage) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedImage) GetHeight() int32
- func (x *EmbedImage) GetProxyURL() string
- func (x *EmbedImage) GetURL() string
- func (x *EmbedImage) GetWidth() int32
- func (*EmbedImage) ProtoMessage()
- func (x *EmbedImage) ProtoReflect() protoreflect.Message
- func (x *EmbedImage) Reset()
- func (x *EmbedImage) String() string
- type EmbedProvider
- func (*EmbedProvider) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedProvider) GetName() string
- func (x *EmbedProvider) GetURL() string
- func (*EmbedProvider) ProtoMessage()
- func (x *EmbedProvider) ProtoReflect() protoreflect.Message
- func (x *EmbedProvider) Reset()
- func (x *EmbedProvider) String() string
- type EmbedThumbnail
- func (*EmbedThumbnail) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedThumbnail) GetHeight() int32
- func (x *EmbedThumbnail) GetProxyURL() string
- func (x *EmbedThumbnail) GetURL() string
- func (x *EmbedThumbnail) GetWidth() int32
- func (*EmbedThumbnail) ProtoMessage()
- func (x *EmbedThumbnail) ProtoReflect() protoreflect.Message
- func (x *EmbedThumbnail) Reset()
- func (x *EmbedThumbnail) String() string
- type EmbedVideo
- func (*EmbedVideo) Descriptor() ([]byte, []int)deprecated
- func (x *EmbedVideo) GetHeight() int32
- func (x *EmbedVideo) GetURL() string
- func (x *EmbedVideo) GetWidth() int32
- func (*EmbedVideo) ProtoMessage()
- func (x *EmbedVideo) ProtoReflect() protoreflect.Message
- func (x *EmbedVideo) Reset()
- func (x *EmbedVideo) String() string
- type Emoji
- func (*Emoji) Descriptor() ([]byte, []int)deprecated
- func (x *Emoji) GetAnimated() bool
- func (x *Emoji) GetAvailable() bool
- func (x *Emoji) GetGuildID() int64
- func (x *Emoji) GetID() int64
- func (x *Emoji) GetManaged() bool
- func (x *Emoji) GetName() string
- func (x *Emoji) GetRequireColons() bool
- func (x *Emoji) GetRoles() []int64
- func (x *Emoji) GetUser() *User
- func (*Emoji) ProtoMessage()
- func (x *Emoji) ProtoReflect() protoreflect.Message
- func (x *Emoji) Reset()
- func (x *Emoji) String() string
- type EventMetadata
- type FetchApplicationResponse
- func (*FetchApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchApplicationResponse) GetApplications() map[string]*SandwichApplication
- func (x *FetchApplicationResponse) GetBaseResponse() *BaseResponse
- func (*FetchApplicationResponse) ProtoMessage()
- func (x *FetchApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *FetchApplicationResponse) Reset()
- func (x *FetchApplicationResponse) String() string
- type FetchGuildChannelRequest
- func (*FetchGuildChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildChannelRequest) GetChannelIds() []int64
- func (x *FetchGuildChannelRequest) GetGuildId() int64
- func (*FetchGuildChannelRequest) ProtoMessage()
- func (x *FetchGuildChannelRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildChannelRequest) Reset()
- func (x *FetchGuildChannelRequest) String() string
- type FetchGuildChannelResponse
- func (*FetchGuildChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildChannelResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildChannelResponse) GetChannels() map[int64]*Channel
- func (*FetchGuildChannelResponse) ProtoMessage()
- func (x *FetchGuildChannelResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildChannelResponse) Reset()
- func (x *FetchGuildChannelResponse) String() string
- type FetchGuildEmojiRequest
- func (*FetchGuildEmojiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildEmojiRequest) GetEmojiIds() []int64
- func (x *FetchGuildEmojiRequest) GetGuildId() int64
- func (*FetchGuildEmojiRequest) ProtoMessage()
- func (x *FetchGuildEmojiRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildEmojiRequest) Reset()
- func (x *FetchGuildEmojiRequest) String() string
- type FetchGuildEmojiResponse
- func (*FetchGuildEmojiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildEmojiResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildEmojiResponse) GetEmojis() map[int64]*Emoji
- func (*FetchGuildEmojiResponse) ProtoMessage()
- func (x *FetchGuildEmojiResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildEmojiResponse) Reset()
- func (x *FetchGuildEmojiResponse) String() string
- type FetchGuildIDsRequest
- func (*FetchGuildIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildIDsRequest) GetIdentifier() string
- func (*FetchGuildIDsRequest) ProtoMessage()
- func (x *FetchGuildIDsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildIDsRequest) Reset()
- func (x *FetchGuildIDsRequest) String() string
- type FetchGuildIDsResponse
- func (*FetchGuildIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildIDsResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildIDsResponse) GetGuildIds() []int64
- func (*FetchGuildIDsResponse) ProtoMessage()
- func (x *FetchGuildIDsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildIDsResponse) Reset()
- func (x *FetchGuildIDsResponse) String() string
- type FetchGuildMemberRequest
- func (*FetchGuildMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildMemberRequest) GetGuildId() int64
- func (x *FetchGuildMemberRequest) GetUserIds() []int64
- func (*FetchGuildMemberRequest) ProtoMessage()
- func (x *FetchGuildMemberRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildMemberRequest) Reset()
- func (x *FetchGuildMemberRequest) String() string
- type FetchGuildMemberResponse
- func (*FetchGuildMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildMemberResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildMemberResponse) GetGuildMembers() map[int64]*GuildMember
- func (*FetchGuildMemberResponse) ProtoMessage()
- func (x *FetchGuildMemberResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildMemberResponse) Reset()
- func (x *FetchGuildMemberResponse) String() string
- type FetchGuildRequest
- type FetchGuildResponse
- func (*FetchGuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildResponse) GetGuilds() map[int64]*Guild
- func (*FetchGuildResponse) ProtoMessage()
- func (x *FetchGuildResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildResponse) Reset()
- func (x *FetchGuildResponse) String() string
- type FetchGuildRoleRequest
- func (*FetchGuildRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildRoleRequest) GetGuildId() int64
- func (x *FetchGuildRoleRequest) GetRoleIds() []int64
- func (*FetchGuildRoleRequest) ProtoMessage()
- func (x *FetchGuildRoleRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildRoleRequest) Reset()
- func (x *FetchGuildRoleRequest) String() string
- type FetchGuildRoleResponse
- func (*FetchGuildRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildRoleResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildRoleResponse) GetRoles() map[int64]*Role
- func (*FetchGuildRoleResponse) ProtoMessage()
- func (x *FetchGuildRoleResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildRoleResponse) Reset()
- func (x *FetchGuildRoleResponse) String() string
- type FetchGuildStickerRequest
- func (*FetchGuildStickerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildStickerRequest) GetGuildId() int64
- func (x *FetchGuildStickerRequest) GetStickerIds() []int64
- func (*FetchGuildStickerRequest) ProtoMessage()
- func (x *FetchGuildStickerRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildStickerRequest) Reset()
- func (x *FetchGuildStickerRequest) String() string
- type FetchGuildStickerResponse
- func (*FetchGuildStickerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildStickerResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildStickerResponse) GetStickers() map[int64]*Sticker
- func (*FetchGuildStickerResponse) ProtoMessage()
- func (x *FetchGuildStickerResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildStickerResponse) Reset()
- func (x *FetchGuildStickerResponse) String() string
- type FetchGuildVoiceStateRequest
- func (*FetchGuildVoiceStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildVoiceStateRequest) GetGuildId() int64
- func (x *FetchGuildVoiceStateRequest) GetUserIds() []int64
- func (*FetchGuildVoiceStateRequest) ProtoMessage()
- func (x *FetchGuildVoiceStateRequest) ProtoReflect() protoreflect.Message
- func (x *FetchGuildVoiceStateRequest) Reset()
- func (x *FetchGuildVoiceStateRequest) String() string
- type FetchGuildVoiceStateResponse
- func (*FetchGuildVoiceStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchGuildVoiceStateResponse) GetBaseResponse() *BaseResponse
- func (x *FetchGuildVoiceStateResponse) GetVoiceStates() map[int64]*VoiceState
- func (*FetchGuildVoiceStateResponse) ProtoMessage()
- func (x *FetchGuildVoiceStateResponse) ProtoReflect() protoreflect.Message
- func (x *FetchGuildVoiceStateResponse) Reset()
- func (x *FetchGuildVoiceStateResponse) String() string
- type FetchUserMutualGuildsRequest
- func (*FetchUserMutualGuildsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchUserMutualGuildsRequest) GetUserId() int64
- func (*FetchUserMutualGuildsRequest) ProtoMessage()
- func (x *FetchUserMutualGuildsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchUserMutualGuildsRequest) Reset()
- func (x *FetchUserMutualGuildsRequest) String() string
- type FetchUserMutualGuildsResponse
- func (*FetchUserMutualGuildsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchUserMutualGuildsResponse) GetBaseResponse() *BaseResponse
- func (x *FetchUserMutualGuildsResponse) GetGuilds() map[int64]*Guild
- func (*FetchUserMutualGuildsResponse) ProtoMessage()
- func (x *FetchUserMutualGuildsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchUserMutualGuildsResponse) Reset()
- func (x *FetchUserMutualGuildsResponse) String() string
- type FetchUserRequest
- type FetchUserResponse
- func (*FetchUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchUserResponse) GetBaseResponse() *BaseResponse
- func (x *FetchUserResponse) GetUsers() map[int64]*User
- func (*FetchUserResponse) ProtoMessage()
- func (x *FetchUserResponse) ProtoReflect() protoreflect.Message
- func (x *FetchUserResponse) Reset()
- func (x *FetchUserResponse) String() string
- type FetchVoiceStatesRequest
- func (*FetchVoiceStatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchVoiceStatesRequest) GetGuildIds() []int64
- func (*FetchVoiceStatesRequest) ProtoMessage()
- func (x *FetchVoiceStatesRequest) ProtoReflect() protoreflect.Message
- func (x *FetchVoiceStatesRequest) Reset()
- func (x *FetchVoiceStatesRequest) String() string
- type FetchVoiceStatesResponse
- func (*FetchVoiceStatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchVoiceStatesResponse) GetBaseResponse() *BaseResponse
- func (x *FetchVoiceStatesResponse) GetVoiceStates() map[int64]*VoiceState
- func (*FetchVoiceStatesResponse) ProtoMessage()
- func (x *FetchVoiceStatesResponse) ProtoReflect() protoreflect.Message
- func (x *FetchVoiceStatesResponse) Reset()
- func (x *FetchVoiceStatesResponse) String() string
- type ForumTag
- func (*ForumTag) Descriptor() ([]byte, []int)deprecated
- func (x *ForumTag) GetEmojiID() int64
- func (x *ForumTag) GetEmojiName() string
- func (x *ForumTag) GetID() int64
- func (x *ForumTag) GetModerated() bool
- func (x *ForumTag) GetName() string
- func (*ForumTag) ProtoMessage()
- func (x *ForumTag) ProtoReflect() protoreflect.Message
- func (x *ForumTag) Reset()
- func (x *ForumTag) String() string
- type Gateway
- type GatewayBot
- func (*GatewayBot) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayBot) GetMaxConcurrency() int32
- func (x *GatewayBot) GetRemaining() int32
- func (x *GatewayBot) GetResetAfter() int32
- func (x *GatewayBot) GetShards() int32
- func (x *GatewayBot) GetTotal() int32
- func (x *GatewayBot) GetURL() string
- func (*GatewayBot) ProtoMessage()
- func (x *GatewayBot) ProtoReflect() protoreflect.Message
- func (x *GatewayBot) Reset()
- func (x *GatewayBot) String() string
- type Guild
- func (*Guild) Descriptor() ([]byte, []int)deprecated
- func (x *Guild) GetAFKChannelID() int64
- func (x *Guild) GetAFKTimeout() int32
- func (x *Guild) GetApplicationID() int64
- func (x *Guild) GetApproximateMemberCount() int32
- func (x *Guild) GetApproximatePresenceCount() int32
- func (x *Guild) GetBanner() string
- func (x *Guild) GetChannels() []*Channel
- func (x *Guild) GetDefaultMessageNotifications() int32
- func (x *Guild) GetDescription() string
- func (x *Guild) GetDiscoverySplash() string
- func (x *Guild) GetEmojis() []*Emoji
- func (x *Guild) GetExplicitContentFilter() int32
- func (x *Guild) GetFeatures() []string
- func (x *Guild) GetGuildScheduledEvents() []*ScheduledEvent
- func (x *Guild) GetHomeHeader() string
- func (x *Guild) GetID() int64
- func (x *Guild) GetIcon() string
- func (x *Guild) GetIconHash() string
- func (x *Guild) GetJoinedAt() string
- func (x *Guild) GetLarge() bool
- func (x *Guild) GetMFALevel() uint32
- func (x *Guild) GetMaxMembers() int32
- func (x *Guild) GetMaxPresences() int32
- func (x *Guild) GetMaxStageVideoChannelUsers() int32
- func (x *Guild) GetMaxVideoChannelUsers() int32
- func (x *Guild) GetMemberCount() int32
- func (x *Guild) GetMembers() []*GuildMember
- func (x *Guild) GetNSFW() bool
- func (x *Guild) GetNSFWLevel() uint32
- func (x *Guild) GetName() string
- func (x *Guild) GetOwner() bool
- func (x *Guild) GetOwnerID() int64
- func (x *Guild) GetPermissions() int64
- func (x *Guild) GetPreferredLocale() string
- func (x *Guild) GetPremiumProgressBarEnabled() bool
- func (x *Guild) GetPremiumProgressBarEnabledUserUpdatedAt() string
- func (x *Guild) GetPremiumSubscriptionCount() int32
- func (x *Guild) GetPremiumTier() uint32
- func (x *Guild) GetPresences() []*Activity
- func (x *Guild) GetPublicUpdatesChannelID() int64
- func (x *Guild) GetRegion() string
- func (x *Guild) GetRoles() []*Role
- func (x *Guild) GetRulesChannelID() int64
- func (x *Guild) GetSafetyAlertsChannelID() int64
- func (x *Guild) GetSplash() string
- func (x *Guild) GetStageInstances() []*StageInstance
- func (x *Guild) GetStickers() []*Sticker
- func (x *Guild) GetSystemChannelFlags() uint32
- func (x *Guild) GetSystemChannelID() int64
- func (x *Guild) GetUnavailable() bool
- func (x *Guild) GetVanityURLCode() string
- func (x *Guild) GetVerificationLevel() uint32
- func (x *Guild) GetVoiceStates() []*VoiceState
- func (x *Guild) GetWidgetChannelID() int64
- func (x *Guild) GetWidgetEnabled() bool
- func (*Guild) ProtoMessage()
- func (x *Guild) ProtoReflect() protoreflect.Message
- func (x *Guild) Reset()
- func (x *Guild) String() string
- type GuildApplicationCommandPermissions
- func (*GuildApplicationCommandPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *GuildApplicationCommandPermissions) GetApplicationID() int64
- func (x *GuildApplicationCommandPermissions) GetGuildID() int64
- func (x *GuildApplicationCommandPermissions) GetID() int64
- func (x *GuildApplicationCommandPermissions) GetPermissions() []*ApplicationCommandPermissions
- func (*GuildApplicationCommandPermissions) ProtoMessage()
- func (x *GuildApplicationCommandPermissions) ProtoReflect() protoreflect.Message
- func (x *GuildApplicationCommandPermissions) Reset()
- func (x *GuildApplicationCommandPermissions) String() string
- type GuildMember
- func (*GuildMember) Descriptor() ([]byte, []int)deprecated
- func (x *GuildMember) GetAvatar() string
- func (x *GuildMember) GetBanner() string
- func (x *GuildMember) GetCommunicationDisabledUntil() string
- func (x *GuildMember) GetDeaf() bool
- func (x *GuildMember) GetFlags() int32
- func (x *GuildMember) GetGuildID() int64
- func (x *GuildMember) GetJoinedAt() string
- func (x *GuildMember) GetMute() bool
- func (x *GuildMember) GetNick() string
- func (x *GuildMember) GetPending() bool
- func (x *GuildMember) GetPermissions() int64
- func (x *GuildMember) GetPremiumSince() string
- func (x *GuildMember) GetRoles() []int64
- func (x *GuildMember) GetUser() *User
- func (*GuildMember) ProtoMessage()
- func (x *GuildMember) ProtoReflect() protoreflect.Message
- func (x *GuildMember) Reset()
- func (x *GuildMember) String() string
- type Integration
- func (*Integration) Descriptor() ([]byte, []int)deprecated
- func (x *Integration) GetAccount() *IntegrationAccount
- func (x *Integration) GetApplication() *Application
- func (x *Integration) GetEnableEmoticons() bool
- func (x *Integration) GetEnabled() bool
- func (x *Integration) GetExpireBehavior() uint32
- func (x *Integration) GetExpireGracePeriod() int32
- func (x *Integration) GetGuildID() int64
- func (x *Integration) GetID() int64
- func (x *Integration) GetName() string
- func (x *Integration) GetRevoked() bool
- func (x *Integration) GetRoleID() int64
- func (x *Integration) GetSubscriberCount() int32
- func (x *Integration) GetSyncedAt() string
- func (x *Integration) GetSyncing() bool
- func (x *Integration) GetType() string
- func (x *Integration) GetUser() *User
- func (*Integration) ProtoMessage()
- func (x *Integration) ProtoReflect() protoreflect.Message
- func (x *Integration) Reset()
- func (x *Integration) String() string
- type IntegrationAccount
- func (*IntegrationAccount) Descriptor() ([]byte, []int)deprecated
- func (x *IntegrationAccount) GetID() string
- func (x *IntegrationAccount) GetName() string
- func (*IntegrationAccount) ProtoMessage()
- func (x *IntegrationAccount) ProtoReflect() protoreflect.Message
- func (x *IntegrationAccount) Reset()
- func (x *IntegrationAccount) String() string
- type Interaction
- func (*Interaction) Descriptor() ([]byte, []int)deprecated
- func (x *Interaction) GetApplicationID() int64
- func (x *Interaction) GetChannelID() int64
- func (x *Interaction) GetData() *InteractionData
- func (x *Interaction) GetGuildID() int64
- func (x *Interaction) GetGuildLocale() string
- func (x *Interaction) GetID() int64
- func (x *Interaction) GetLocale() string
- func (x *Interaction) GetMember() *GuildMember
- func (x *Interaction) GetMessage() *Message
- func (x *Interaction) GetToken() string
- func (x *Interaction) GetType() uint32
- func (x *Interaction) GetUser() *User
- func (x *Interaction) GetVersion() int32
- func (*Interaction) ProtoMessage()
- func (x *Interaction) ProtoReflect() protoreflect.Message
- func (x *Interaction) Reset()
- func (x *Interaction) String() string
- type InteractionComponent
- func (*InteractionComponent) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionComponent) GetComponents() []*InteractionComponent
- func (x *InteractionComponent) GetCustomID() string
- func (x *InteractionComponent) GetDisabled() bool
- func (x *InteractionComponent) GetEmoji() *Emoji
- func (x *InteractionComponent) GetLabel() string
- func (x *InteractionComponent) GetMaxValues() int32
- func (x *InteractionComponent) GetMinValues() int32
- func (x *InteractionComponent) GetOptions() []*ApplicationSelectOption
- func (x *InteractionComponent) GetPlaceholder() string
- func (x *InteractionComponent) GetStyle() uint32
- func (x *InteractionComponent) GetType() uint32
- func (x *InteractionComponent) GetURL() string
- func (*InteractionComponent) ProtoMessage()
- func (x *InteractionComponent) ProtoReflect() protoreflect.Message
- func (x *InteractionComponent) Reset()
- func (x *InteractionComponent) String() string
- type InteractionData
- func (*InteractionData) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionData) GetComponentType() uint32
- func (x *InteractionData) GetCustomID() string
- func (x *InteractionData) GetID() int64
- func (x *InteractionData) GetName() string
- func (x *InteractionData) GetOptions() []*InteractionDataOption
- func (x *InteractionData) GetResolved() *InteractionResolvedData
- func (x *InteractionData) GetTargetID() int64
- func (x *InteractionData) GetType() uint32
- func (x *InteractionData) GetValues() []*ApplicationSelectOption
- func (*InteractionData) ProtoMessage()
- func (x *InteractionData) ProtoReflect() protoreflect.Message
- func (x *InteractionData) Reset()
- func (x *InteractionData) String() string
- type InteractionDataOption
- func (*InteractionDataOption) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionDataOption) GetFocused() bool
- func (x *InteractionDataOption) GetName() string
- func (x *InteractionDataOption) GetOptions() []*InteractionDataOption
- func (x *InteractionDataOption) GetType() uint32
- func (x *InteractionDataOption) GetValue() []byte
- func (*InteractionDataOption) ProtoMessage()
- func (x *InteractionDataOption) ProtoReflect() protoreflect.Message
- func (x *InteractionDataOption) Reset()
- func (x *InteractionDataOption) String() string
- type InteractionResolvedData
- func (*InteractionResolvedData) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionResolvedData) GetChannels() []*Channel
- func (x *InteractionResolvedData) GetMembers() []*GuildMember
- func (x *InteractionResolvedData) GetMessages() []*Message
- func (x *InteractionResolvedData) GetRoles() []*Role
- func (x *InteractionResolvedData) GetUsers() []*User
- func (*InteractionResolvedData) ProtoMessage()
- func (x *InteractionResolvedData) ProtoReflect() protoreflect.Message
- func (x *InteractionResolvedData) Reset()
- func (x *InteractionResolvedData) String() string
- type Invite
- func (*Invite) Descriptor() ([]byte, []int)deprecated
- func (x *Invite) GetApproximateMemberCount() int32
- func (x *Invite) GetApproximatePresenceCount() int32
- func (x *Invite) GetChannel() *Channel
- func (x *Invite) GetCode() string
- func (x *Invite) GetCreatedAt() string
- func (x *Invite) GetExpiresAt() string
- func (x *Invite) GetGuild() *Guild
- func (x *Invite) GetGuildID() int64
- func (x *Invite) GetInviter() *User
- func (x *Invite) GetMaxAge() int32
- func (x *Invite) GetMaxUses() int32
- func (x *Invite) GetScheduledEvent() *ScheduledEvent
- func (x *Invite) GetStageInstance() *InviteStageInstance
- func (x *Invite) GetTargetApplication() *Application
- func (x *Invite) GetTargetType() uint32
- func (x *Invite) GetTargetUser() *User
- func (x *Invite) GetTemporary() bool
- func (x *Invite) GetUses() int32
- func (*Invite) ProtoMessage()
- func (x *Invite) ProtoReflect() protoreflect.Message
- func (x *Invite) Reset()
- func (x *Invite) String() string
- type InviteStageInstance
- func (*InviteStageInstance) Descriptor() ([]byte, []int)deprecated
- func (x *InviteStageInstance) GetMembers() []*GuildMember
- func (x *InviteStageInstance) GetParticipantCount() int32
- func (x *InviteStageInstance) GetSpeakerCount() int32
- func (x *InviteStageInstance) GetTopic() string
- func (*InviteStageInstance) ProtoMessage()
- func (x *InviteStageInstance) ProtoReflect() protoreflect.Message
- func (x *InviteStageInstance) Reset()
- func (x *InviteStageInstance) String() string
- type ListenRequest
- type ListenResponse
- func (*ListenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListenResponse) GetData() []byte
- func (x *ListenResponse) GetTimestamp() int64
- func (*ListenResponse) ProtoMessage()
- func (x *ListenResponse) ProtoReflect() protoreflect.Message
- func (x *ListenResponse) Reset()
- func (x *ListenResponse) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetActivity() *MessageActivity
- func (x *Message) GetApplication() *Application
- func (x *Message) GetAttachments() []*MessageAttachment
- func (x *Message) GetAuthor() *User
- func (x *Message) GetChannelID() int64
- func (x *Message) GetComponents() []*InteractionComponent
- func (x *Message) GetContent() string
- func (x *Message) GetEditedTimestamp() string
- func (x *Message) GetEmbeds() []*Embed
- func (x *Message) GetFlags() uint32
- func (x *Message) GetGuildID() int64
- func (x *Message) GetID() int64
- func (x *Message) GetInteraction() *MessageInteraction
- func (x *Message) GetMember() *GuildMember
- func (x *Message) GetMentionChannels() []*MessageChannelMention
- func (x *Message) GetMentionEveryone() bool
- func (x *Message) GetMentionRoles() []int64
- func (x *Message) GetMentions() []*User
- func (x *Message) GetMessageReference() []*MessageReference
- func (x *Message) GetPinned() bool
- func (x *Message) GetReactions() []*MessageReaction
- func (x *Message) GetReferencedMessage() *Message
- func (x *Message) GetStickerItems() []*MessageSticker
- func (x *Message) GetTTS() bool
- func (x *Message) GetThread() *Channel
- func (x *Message) GetTimestamp() string
- func (x *Message) GetType() uint32
- func (x *Message) GetWebhookID() int64
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageActivity
- func (*MessageActivity) Descriptor() ([]byte, []int)deprecated
- func (x *MessageActivity) GetPartyID() string
- func (x *MessageActivity) GetType() uint32
- func (*MessageActivity) ProtoMessage()
- func (x *MessageActivity) ProtoReflect() protoreflect.Message
- func (x *MessageActivity) Reset()
- func (x *MessageActivity) String() string
- type MessageAllowedMentions
- func (*MessageAllowedMentions) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAllowedMentions) GetParse() []string
- func (x *MessageAllowedMentions) GetRepliedUser() bool
- func (x *MessageAllowedMentions) GetRoles() []int64
- func (x *MessageAllowedMentions) GetUsers() []int64
- func (*MessageAllowedMentions) ProtoMessage()
- func (x *MessageAllowedMentions) ProtoReflect() protoreflect.Message
- func (x *MessageAllowedMentions) Reset()
- func (x *MessageAllowedMentions) String() string
- type MessageAttachment
- func (*MessageAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAttachment) GetFilename() string
- func (x *MessageAttachment) GetHeight() int32
- func (x *MessageAttachment) GetID() int64
- func (x *MessageAttachment) GetProxyURL() string
- func (x *MessageAttachment) GetSize() int32
- func (x *MessageAttachment) GetURL() string
- func (x *MessageAttachment) GetWidth() int32
- func (*MessageAttachment) ProtoMessage()
- func (x *MessageAttachment) ProtoReflect() protoreflect.Message
- func (x *MessageAttachment) Reset()
- func (x *MessageAttachment) String() string
- type MessageChannelMention
- func (*MessageChannelMention) Descriptor() ([]byte, []int)deprecated
- func (x *MessageChannelMention) GetGuildID() int64
- func (x *MessageChannelMention) GetID() int64
- func (x *MessageChannelMention) GetName() string
- func (x *MessageChannelMention) GetType() uint32
- func (*MessageChannelMention) ProtoMessage()
- func (x *MessageChannelMention) ProtoReflect() protoreflect.Message
- func (x *MessageChannelMention) Reset()
- func (x *MessageChannelMention) String() string
- type MessageInteraction
- func (*MessageInteraction) Descriptor() ([]byte, []int)deprecated
- func (x *MessageInteraction) GetID() int64
- func (x *MessageInteraction) GetName() string
- func (x *MessageInteraction) GetType() uint32
- func (x *MessageInteraction) GetUser() *User
- func (*MessageInteraction) ProtoMessage()
- func (x *MessageInteraction) ProtoReflect() protoreflect.Message
- func (x *MessageInteraction) Reset()
- func (x *MessageInteraction) String() string
- type MessageReaction
- func (*MessageReaction) Descriptor() ([]byte, []int)deprecated
- func (x *MessageReaction) GetCount() int32
- func (x *MessageReaction) GetEmoji() *Emoji
- func (x *MessageReaction) GetMe() bool
- func (*MessageReaction) ProtoMessage()
- func (x *MessageReaction) ProtoReflect() protoreflect.Message
- func (x *MessageReaction) Reset()
- func (x *MessageReaction) String() string
- type MessageReference
- func (*MessageReference) Descriptor() ([]byte, []int)deprecated
- func (x *MessageReference) GetChannelID() int64
- func (x *MessageReference) GetFailIfNotExists() bool
- func (x *MessageReference) GetGuildID() int64
- func (x *MessageReference) GetID() int64
- func (*MessageReference) ProtoMessage()
- func (x *MessageReference) ProtoReflect() protoreflect.Message
- func (x *MessageReference) Reset()
- func (x *MessageReference) String() string
- type MessageSticker
- func (*MessageSticker) Descriptor() ([]byte, []int)deprecated
- func (x *MessageSticker) GetFormatType() uint32
- func (x *MessageSticker) GetID() int64
- func (x *MessageSticker) GetName() string
- func (*MessageSticker) ProtoMessage()
- func (x *MessageSticker) ProtoReflect() protoreflect.Message
- func (x *MessageSticker) Reset()
- func (x *MessageSticker) String() string
- type Party
- type RelayMessageRequest
- func (*RelayMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelayMessageRequest) GetData() []byte
- func (x *RelayMessageRequest) GetIdentifier() string
- func (x *RelayMessageRequest) GetType() string
- func (*RelayMessageRequest) ProtoMessage()
- func (x *RelayMessageRequest) ProtoReflect() protoreflect.Message
- func (x *RelayMessageRequest) Reset()
- func (x *RelayMessageRequest) String() string
- type RequestGuildChunkRequest
- func (*RequestGuildChunkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGuildChunkRequest) GetAlwaysChunk() bool
- func (x *RequestGuildChunkRequest) GetGuildId() int64
- func (*RequestGuildChunkRequest) ProtoMessage()
- func (x *RequestGuildChunkRequest) ProtoReflect() protoreflect.Message
- func (x *RequestGuildChunkRequest) Reset()
- func (x *RequestGuildChunkRequest) String() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetColor() int32
- func (x *Role) GetColors() *RoleColors
- func (x *Role) GetDescription() string
- func (x *Role) GetFlags() int32
- func (x *Role) GetGuildID() int64
- func (x *Role) GetHoist() bool
- func (x *Role) GetID() int64
- func (x *Role) GetIcon() string
- func (x *Role) GetManaged() bool
- func (x *Role) GetMentionable() bool
- func (x *Role) GetName() string
- func (x *Role) GetPermissions() int64
- func (x *Role) GetPosition() int32
- func (x *Role) GetTags() *RoleTag
- func (x *Role) GetUnicodeEmoji() string
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type RoleColors
- func (*RoleColors) Descriptor() ([]byte, []int)deprecated
- func (x *RoleColors) GetPrimaryColor() int32
- func (x *RoleColors) GetSecondaryColor() int32
- func (x *RoleColors) GetTertiaryColor() int32
- func (*RoleColors) ProtoMessage()
- func (x *RoleColors) ProtoReflect() protoreflect.Message
- func (x *RoleColors) Reset()
- func (x *RoleColors) String() string
- type RoleTag
- func (*RoleTag) Descriptor() ([]byte, []int)deprecated
- func (x *RoleTag) GetAvailableForPurchase() bool
- func (x *RoleTag) GetBotID() int64
- func (x *RoleTag) GetGuildConnections() bool
- func (x *RoleTag) GetIntegrationID() int64
- func (x *RoleTag) GetPremiumSubscriber() bool
- func (x *RoleTag) GetSubscriptionListingID() int64
- func (*RoleTag) ProtoMessage()
- func (x *RoleTag) ProtoReflect() protoreflect.Message
- func (x *RoleTag) Reset()
- func (x *RoleTag) String() string
- type SandwichApplication
- func (*SandwichApplication) Descriptor() ([]byte, []int)deprecated
- func (x *SandwichApplication) GetApplicationIdentifier() string
- func (x *SandwichApplication) GetAutoSharded() bool
- func (x *SandwichApplication) GetBotToken() string
- func (x *SandwichApplication) GetDisplayName() string
- func (x *SandwichApplication) GetProducerIdentifier() string
- func (x *SandwichApplication) GetShardCount() int32
- func (x *SandwichApplication) GetShards() map[int32]*Shard
- func (x *SandwichApplication) GetStartedAt() int64
- func (x *SandwichApplication) GetStatus() int32
- func (x *SandwichApplication) GetUserId() int64
- func (x *SandwichApplication) GetValues() []byte
- func (*SandwichApplication) ProtoMessage()
- func (x *SandwichApplication) ProtoReflect() protoreflect.Message
- func (x *SandwichApplication) Reset()
- func (x *SandwichApplication) String() string
- type SandwichClient
- type SandwichServer
- type Sandwich_ListenClient
- type Sandwich_ListenServer
- type ScheduledEvent
- func (*ScheduledEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledEvent) GetChannelID() int64
- func (x *ScheduledEvent) GetCreator() *User
- func (x *ScheduledEvent) GetCreatorID() int64
- func (x *ScheduledEvent) GetDescription() string
- func (x *ScheduledEvent) GetEntityID() int64
- func (x *ScheduledEvent) GetEntityMetadata() *EventMetadata
- func (x *ScheduledEvent) GetEntityType() uint32
- func (x *ScheduledEvent) GetGuildID() int64
- func (x *ScheduledEvent) GetID() int64
- func (x *ScheduledEvent) GetImage() string
- func (x *ScheduledEvent) GetName() string
- func (x *ScheduledEvent) GetPrivacyLevel() uint32
- func (x *ScheduledEvent) GetScheduledEndTime() string
- func (x *ScheduledEvent) GetScheduledStartTime() string
- func (x *ScheduledEvent) GetStatus() uint32
- func (x *ScheduledEvent) GetUserCount() int32
- func (*ScheduledEvent) ProtoMessage()
- func (x *ScheduledEvent) ProtoReflect() protoreflect.Message
- func (x *ScheduledEvent) Reset()
- func (x *ScheduledEvent) String() string
- type ScheduledEventUser
- func (*ScheduledEventUser) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledEventUser) GetEventID() int64
- func (x *ScheduledEventUser) GetMember() *GuildMember
- func (x *ScheduledEventUser) GetUser() *User
- func (*ScheduledEventUser) ProtoMessage()
- func (x *ScheduledEventUser) ProtoReflect() protoreflect.Message
- func (x *ScheduledEventUser) Reset()
- func (x *ScheduledEventUser) String() string
- type Secrets
- func (*Secrets) Descriptor() ([]byte, []int)deprecated
- func (x *Secrets) GetJoin() string
- func (x *Secrets) GetMatch() string
- func (x *Secrets) GetSpectate() string
- func (*Secrets) ProtoMessage()
- func (x *Secrets) ProtoReflect() protoreflect.Message
- func (x *Secrets) Reset()
- func (x *Secrets) String() string
- type SendWebsocketMessageRequest
- func (*SendWebsocketMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendWebsocketMessageRequest) GetData() []byte
- func (x *SendWebsocketMessageRequest) GetGatewayOpCode() int32
- func (x *SendWebsocketMessageRequest) GetIdentifier() string
- func (x *SendWebsocketMessageRequest) GetShard() int32
- func (*SendWebsocketMessageRequest) ProtoMessage()
- func (x *SendWebsocketMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendWebsocketMessageRequest) Reset()
- func (x *SendWebsocketMessageRequest) String() string
- type Shard
- func (*Shard) Descriptor() ([]byte, []int)deprecated
- func (x *Shard) GetGatewayLatency() int64
- func (x *Shard) GetGuilds() int32
- func (x *Shard) GetId() int32
- func (x *Shard) GetLastHeartbeatAck() int64
- func (x *Shard) GetLastHeartbeatSent() int64
- func (x *Shard) GetLazyGuilds() int32
- func (x *Shard) GetSequence() int32
- func (x *Shard) GetStartedAt() int64
- func (x *Shard) GetStatus() int32
- func (x *Shard) GetUnavailableGuilds() int32
- func (*Shard) ProtoMessage()
- func (x *Shard) ProtoReflect() protoreflect.Message
- func (x *Shard) Reset()
- func (x *Shard) String() string
- type StageInstance
- func (*StageInstance) Descriptor() ([]byte, []int)deprecated
- func (x *StageInstance) GetChannelID() int64
- func (x *StageInstance) GetDiscoverableDisabled() bool
- func (x *StageInstance) GetGuildID() int64
- func (x *StageInstance) GetGuildScheduledEventID() int64
- func (x *StageInstance) GetID() int64
- func (x *StageInstance) GetPrivacyLabel() uint32
- func (x *StageInstance) GetTopic() string
- func (*StageInstance) ProtoMessage()
- func (x *StageInstance) ProtoReflect() protoreflect.Message
- func (x *StageInstance) Reset()
- func (x *StageInstance) String() string
- type Sticker
- func (*Sticker) Descriptor() ([]byte, []int)deprecated
- func (x *Sticker) GetAvailable() bool
- func (x *Sticker) GetDescription() string
- func (x *Sticker) GetFormatType() uint32
- func (x *Sticker) GetGuildID() int64
- func (x *Sticker) GetID() int64
- func (x *Sticker) GetName() string
- func (x *Sticker) GetPackID() int64
- func (x *Sticker) GetSortValue() int32
- func (x *Sticker) GetTags() string
- func (x *Sticker) GetType() uint32
- func (x *Sticker) GetUser() *User
- func (*Sticker) ProtoMessage()
- func (x *Sticker) ProtoReflect() protoreflect.Message
- func (x *Sticker) Reset()
- func (x *Sticker) String() string
- type ThreadMember
- func (*ThreadMember) Descriptor() ([]byte, []int)deprecated
- func (x *ThreadMember) GetFlags() int32
- func (x *ThreadMember) GetGuildID() int64
- func (x *ThreadMember) GetID() int64
- func (x *ThreadMember) GetJoinTimestamp() string
- func (x *ThreadMember) GetUserID() int64
- func (*ThreadMember) ProtoMessage()
- func (x *ThreadMember) ProtoReflect() protoreflect.Message
- func (x *ThreadMember) Reset()
- func (x *ThreadMember) String() string
- type ThreadMetadata
- func (*ThreadMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ThreadMetadata) GetArchiveTimestamp() string
- func (x *ThreadMetadata) GetArchived() bool
- func (x *ThreadMetadata) GetAutoArchiveDuration() int32
- func (x *ThreadMetadata) GetLocked() bool
- func (*ThreadMetadata) ProtoMessage()
- func (x *ThreadMetadata) ProtoReflect() protoreflect.Message
- func (x *ThreadMetadata) Reset()
- func (x *ThreadMetadata) String() string
- type Timestamps
- type TooManyRequests
- func (*TooManyRequests) Descriptor() ([]byte, []int)deprecated
- func (x *TooManyRequests) GetGlobal() bool
- func (x *TooManyRequests) GetMessage() string
- func (x *TooManyRequests) GetRetryAfter() int32
- func (*TooManyRequests) ProtoMessage()
- func (x *TooManyRequests) ProtoReflect() protoreflect.Message
- func (x *TooManyRequests) Reset()
- func (x *TooManyRequests) String() string
- type UnavailableGuild
- func (*UnavailableGuild) Descriptor() ([]byte, []int)deprecated
- func (x *UnavailableGuild) GetID() int64
- func (x *UnavailableGuild) GetUnavailable() bool
- func (*UnavailableGuild) ProtoMessage()
- func (x *UnavailableGuild) ProtoReflect() protoreflect.Message
- func (x *UnavailableGuild) Reset()
- func (x *UnavailableGuild) String() string
- type UnimplementedSandwichServer
- func (UnimplementedSandwichServer) CreateApplication(context.Context, *CreateApplicationRequest) (*SandwichApplication, error)
- func (UnimplementedSandwichServer) DeleteApplication(context.Context, *ApplicationIdentifier) (*BaseResponse, error)
- func (UnimplementedSandwichServer) FetchAllGuildIDs(context.Context, *FetchGuildIDsRequest) (*FetchGuildIDsResponse, error)
- func (UnimplementedSandwichServer) FetchApplication(context.Context, *ApplicationIdentifier) (*FetchApplicationResponse, error)
- func (UnimplementedSandwichServer) FetchGuild(context.Context, *FetchGuildRequest) (*FetchGuildResponse, error)
- func (UnimplementedSandwichServer) FetchGuildChannel(context.Context, *FetchGuildChannelRequest) (*FetchGuildChannelResponse, error)
- func (UnimplementedSandwichServer) FetchGuildEmoji(context.Context, *FetchGuildEmojiRequest) (*FetchGuildEmojiResponse, error)
- func (UnimplementedSandwichServer) FetchGuildMember(context.Context, *FetchGuildMemberRequest) (*FetchGuildMemberResponse, error)
- func (UnimplementedSandwichServer) FetchGuildRole(context.Context, *FetchGuildRoleRequest) (*FetchGuildRoleResponse, error)
- func (UnimplementedSandwichServer) FetchGuildSticker(context.Context, *FetchGuildStickerRequest) (*FetchGuildStickerResponse, error)
- func (UnimplementedSandwichServer) FetchGuildVoiceState(context.Context, *FetchGuildVoiceStateRequest) (*FetchGuildVoiceStateResponse, error)
- func (UnimplementedSandwichServer) FetchUser(context.Context, *FetchUserRequest) (*FetchUserResponse, error)
- func (UnimplementedSandwichServer) FetchUserMutualGuilds(context.Context, *FetchUserMutualGuildsRequest) (*FetchUserMutualGuildsResponse, error)
- func (UnimplementedSandwichServer) FetchVoiceStates(context.Context, *FetchVoiceStatesRequest) (*FetchVoiceStatesResponse, error)
- func (UnimplementedSandwichServer) Listen(*ListenRequest, grpc.ServerStreamingServer[ListenResponse]) error
- func (UnimplementedSandwichServer) RelayMessage(context.Context, *RelayMessageRequest) (*BaseResponse, error)
- func (UnimplementedSandwichServer) ReloadConfiguration(context.Context, *emptypb.Empty) (*BaseResponse, error)
- func (UnimplementedSandwichServer) RequestGuildChunk(context.Context, *RequestGuildChunkRequest) (*BaseResponse, error)
- func (UnimplementedSandwichServer) SendWebsocketMessage(context.Context, *SendWebsocketMessageRequest) (*BaseResponse, error)
- func (UnimplementedSandwichServer) StartApplication(context.Context, *ApplicationIdentifierWithBlocking) (*BaseResponse, error)
- func (UnimplementedSandwichServer) StopApplication(context.Context, *ApplicationIdentifierWithBlocking) (*BaseResponse, error)
- func (UnimplementedSandwichServer) WhereIsGuild(context.Context, *WhereIsGuildRequest) (*WhereIsGuildResponse, error)
- type UnsafeSandwichServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccentColour() int32
- func (x *User) GetAvatar() string
- func (x *User) GetAvatarDecorationData() *AvatarDecorationData
- func (x *User) GetBanner() string
- func (x *User) GetBot() bool
- func (x *User) GetDMChannelID() int64
- func (x *User) GetDiscriminator() string
- func (x *User) GetEmail() string
- func (x *User) GetFlags() int32
- func (x *User) GetGlobalName() string
- func (x *User) GetID() int64
- func (x *User) GetLocale() string
- func (x *User) GetMFAEnabled() bool
- func (x *User) GetPremiumType() int32
- func (x *User) GetPrimaryGuild() *UserPrimaryGuild
- func (x *User) GetPublicFlags() int32
- func (x *User) GetSystem() bool
- func (x *User) GetUsername() string
- func (x *User) GetVerified() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserPrimaryGuild
- func (*UserPrimaryGuild) Descriptor() ([]byte, []int)deprecated
- func (x *UserPrimaryGuild) GetBadge() string
- func (x *UserPrimaryGuild) GetIdentityEnabled() bool
- func (x *UserPrimaryGuild) GetIdentityGuildID() int64
- func (x *UserPrimaryGuild) GetTag() string
- func (*UserPrimaryGuild) ProtoMessage()
- func (x *UserPrimaryGuild) ProtoReflect() protoreflect.Message
- func (x *UserPrimaryGuild) Reset()
- func (x *UserPrimaryGuild) String() string
- type VoiceState
- func (*VoiceState) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceState) GetChannelID() int64
- func (x *VoiceState) GetDeaf() bool
- func (x *VoiceState) GetGuildID() int64
- func (x *VoiceState) GetMember() *GuildMember
- func (x *VoiceState) GetMute() bool
- func (x *VoiceState) GetRequestToSpeakTimestamp() string
- func (x *VoiceState) GetSelfDeaf() bool
- func (x *VoiceState) GetSelfMute() bool
- func (x *VoiceState) GetSelfStream() bool
- func (x *VoiceState) GetSelfVideo() bool
- func (x *VoiceState) GetSessionID() string
- func (x *VoiceState) GetSuppress() bool
- func (x *VoiceState) GetUserID() int64
- func (*VoiceState) ProtoMessage()
- func (x *VoiceState) ProtoReflect() protoreflect.Message
- func (x *VoiceState) Reset()
- func (x *VoiceState) String() string
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook) GetApplicationID() int64
- func (x *Webhook) GetAvatar() string
- func (x *Webhook) GetChannelID() int64
- func (x *Webhook) GetGuildID() int64
- func (x *Webhook) GetID() int64
- func (x *Webhook) GetName() string
- func (x *Webhook) GetToken() string
- func (x *Webhook) GetType() uint32
- func (x *Webhook) GetUser() *User
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
- type WebhookMessage
- func (*WebhookMessage) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookMessage) GetAllowedMentions() []*MessageAllowedMentions
- func (x *WebhookMessage) GetAvatarURL() string
- func (x *WebhookMessage) GetComponents() []*InteractionComponent
- func (x *WebhookMessage) GetContent() string
- func (x *WebhookMessage) GetEmbeds() []*Embed
- func (x *WebhookMessage) GetPayloadJSON() []byte
- func (x *WebhookMessage) GetTTS() bool
- func (x *WebhookMessage) GetUsername() string
- func (*WebhookMessage) ProtoMessage()
- func (x *WebhookMessage) ProtoReflect() protoreflect.Message
- func (x *WebhookMessage) Reset()
- func (x *WebhookMessage) String() string
- type WhereIsGuildLocation
- func (*WhereIsGuildLocation) Descriptor() ([]byte, []int)deprecated
- func (x *WhereIsGuildLocation) GetGuildMember() *GuildMember
- func (x *WhereIsGuildLocation) GetIdentifier() string
- func (x *WhereIsGuildLocation) GetShardId() int32
- func (*WhereIsGuildLocation) ProtoMessage()
- func (x *WhereIsGuildLocation) ProtoReflect() protoreflect.Message
- func (x *WhereIsGuildLocation) Reset()
- func (x *WhereIsGuildLocation) String() string
- type WhereIsGuildRequest
- func (*WhereIsGuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WhereIsGuildRequest) GetGuildId() int64
- func (*WhereIsGuildRequest) ProtoMessage()
- func (x *WhereIsGuildRequest) ProtoReflect() protoreflect.Message
- func (x *WhereIsGuildRequest) Reset()
- func (x *WhereIsGuildRequest) String() string
- type WhereIsGuildResponse
- func (*WhereIsGuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WhereIsGuildResponse) GetBaseResponse() *BaseResponse
- func (x *WhereIsGuildResponse) GetLocations() map[int64]*WhereIsGuildLocation
- func (*WhereIsGuildResponse) ProtoMessage()
- func (x *WhereIsGuildResponse) ProtoReflect() protoreflect.Message
- func (x *WhereIsGuildResponse) Reset()
- func (x *WhereIsGuildResponse) String() string
Constants ¶
const ( Sandwich_Listen_FullMethodName = "/sandwich.Sandwich/Listen" Sandwich_RelayMessage_FullMethodName = "/sandwich.Sandwich/RelayMessage" Sandwich_ReloadConfiguration_FullMethodName = "/sandwich.Sandwich/ReloadConfiguration" Sandwich_FetchApplication_FullMethodName = "/sandwich.Sandwich/FetchApplication" Sandwich_StartApplication_FullMethodName = "/sandwich.Sandwich/StartApplication" Sandwich_StopApplication_FullMethodName = "/sandwich.Sandwich/StopApplication" Sandwich_CreateApplication_FullMethodName = "/sandwich.Sandwich/CreateApplication" Sandwich_DeleteApplication_FullMethodName = "/sandwich.Sandwich/DeleteApplication" Sandwich_RequestGuildChunk_FullMethodName = "/sandwich.Sandwich/RequestGuildChunk" Sandwich_SendWebsocketMessage_FullMethodName = "/sandwich.Sandwich/SendWebsocketMessage" Sandwich_WhereIsGuild_FullMethodName = "/sandwich.Sandwich/WhereIsGuild" Sandwich_FetchAllGuildIDs_FullMethodName = "/sandwich.Sandwich/FetchAllGuildIDs" Sandwich_FetchGuild_FullMethodName = "/sandwich.Sandwich/FetchGuild" Sandwich_FetchGuildMember_FullMethodName = "/sandwich.Sandwich/FetchGuildMember" Sandwich_FetchGuildChannel_FullMethodName = "/sandwich.Sandwich/FetchGuildChannel" Sandwich_FetchGuildRole_FullMethodName = "/sandwich.Sandwich/FetchGuildRole" Sandwich_FetchGuildEmoji_FullMethodName = "/sandwich.Sandwich/FetchGuildEmoji" Sandwich_FetchGuildSticker_FullMethodName = "/sandwich.Sandwich/FetchGuildSticker" Sandwich_FetchGuildVoiceState_FullMethodName = "/sandwich.Sandwich/FetchGuildVoiceState" Sandwich_FetchUser_FullMethodName = "/sandwich.Sandwich/FetchUser" Sandwich_FetchUserMutualGuilds_FullMethodName = "/sandwich.Sandwich/FetchUserMutualGuilds" Sandwich_FetchVoiceStates_FullMethodName = "/sandwich.Sandwich/FetchVoiceStates" )
Variables ¶
var File_discord_proto protoreflect.FileDescriptor
var File_sandwich_proto protoreflect.FileDescriptor
var Sandwich_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sandwich.Sandwich", HandlerType: (*SandwichServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RelayMessage", Handler: _Sandwich_RelayMessage_Handler, }, { MethodName: "ReloadConfiguration", Handler: _Sandwich_ReloadConfiguration_Handler, }, { MethodName: "FetchApplication", Handler: _Sandwich_FetchApplication_Handler, }, { MethodName: "StartApplication", Handler: _Sandwich_StartApplication_Handler, }, { MethodName: "StopApplication", Handler: _Sandwich_StopApplication_Handler, }, { MethodName: "CreateApplication", Handler: _Sandwich_CreateApplication_Handler, }, { MethodName: "DeleteApplication", Handler: _Sandwich_DeleteApplication_Handler, }, { MethodName: "RequestGuildChunk", Handler: _Sandwich_RequestGuildChunk_Handler, }, { MethodName: "SendWebsocketMessage", Handler: _Sandwich_SendWebsocketMessage_Handler, }, { MethodName: "WhereIsGuild", Handler: _Sandwich_WhereIsGuild_Handler, }, { MethodName: "FetchAllGuildIDs", Handler: _Sandwich_FetchAllGuildIDs_Handler, }, { MethodName: "FetchGuild", Handler: _Sandwich_FetchGuild_Handler, }, { MethodName: "FetchGuildMember", Handler: _Sandwich_FetchGuildMember_Handler, }, { MethodName: "FetchGuildChannel", Handler: _Sandwich_FetchGuildChannel_Handler, }, { MethodName: "FetchGuildRole", Handler: _Sandwich_FetchGuildRole_Handler, }, { MethodName: "FetchGuildEmoji", Handler: _Sandwich_FetchGuildEmoji_Handler, }, { MethodName: "FetchGuildSticker", Handler: _Sandwich_FetchGuildSticker_Handler, }, { MethodName: "FetchGuildVoiceState", Handler: _Sandwich_FetchGuildVoiceState_Handler, }, { MethodName: "FetchUser", Handler: _Sandwich_FetchUser_Handler, }, { MethodName: "FetchUserMutualGuilds", Handler: _Sandwich_FetchUserMutualGuilds_Handler, }, { MethodName: "FetchVoiceStates", Handler: _Sandwich_FetchVoiceStates_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Listen", Handler: _Sandwich_Listen_Handler, ServerStreams: true, }, }, Metadata: "sandwich.proto", }
Sandwich_ServiceDesc is the grpc.ServiceDesc for Sandwich service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func PBToActivities ¶
func PBToActivity ¶
func PBToAssets ¶
func PBToAvatarDecorationData ¶
func PBToAvatarDecorationData(pb *AvatarDecorationData) *discord.AvatarDecorationData
func PBToChannel ¶
func PBToChannelOverwrites ¶
func PBToChannelOverwrites(pbOverwrites []*ChannelOverwrite) []discord.ChannelOverwrite
func PBToChannels ¶
func PBToDefaultReactionEmoji ¶
func PBToDefaultReactionEmoji(pb *DefaultReactionEmoji) *discord.DefaultReactionEmoji
func PBToEmojis ¶
func PBToEventMetadata ¶
func PBToEventMetadata(pbMetadata *EventMetadata) *discord.EventMetadata
func PBToForumTag ¶
func PBToForumTags ¶
func PBToGuildMember ¶
func PBToGuildMember(pbMember *GuildMember) *discord.GuildMember
func PBToGuildMembers ¶
func PBToGuildMembers(pbMembers []*GuildMember) []discord.GuildMember
func PBToRoleColors ¶
func PBToRoleColors(pb *RoleColors) *discord.RoleColors
func PBToRoleTags ¶
func PBToScheduledEvent ¶
func PBToScheduledEvent(pbEvent *ScheduledEvent) *discord.ScheduledEvent
func PBToScheduledEvents ¶
func PBToScheduledEvents(pbEvents []*ScheduledEvent) []discord.ScheduledEvent
func PBToSecrets ¶
func PBToSnowflakes ¶
func PBToStageInstances ¶
func PBToStageInstances(pbInstances []*StageInstance) []discord.StageInstance
func PBToSticker ¶
func PBToStickers ¶
func PBToThreadMember ¶
func PBToThreadMember(pbMember *ThreadMember) *discord.ThreadMember
func PBToThreadMetadata ¶
func PBToThreadMetadata(pbMetadata *ThreadMetadata) *discord.ThreadMetadata
func PBToTimestamps ¶
func PBToTimestamps(pbTimestamps *Timestamps) *discord.Timestamps
func PBToUserPrimaryGuild ¶
func PBToUserPrimaryGuild(pb *UserPrimaryGuild) *discord.UserPrimaryGuild
func PBToVoiceState ¶
func PBToVoiceState(pbState *VoiceState) *discord.VoiceState
func PBToVoiceStates ¶
func PBToVoiceStates(pbStates []*VoiceState) []discord.VoiceState
func RegisterSandwichServer ¶
func RegisterSandwichServer(s grpc.ServiceRegistrar, srv SandwichServer)
Types ¶
type Activity ¶
type Activity struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Type int32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
URL string `protobuf:"bytes,3,opt,name=URL,proto3" json:"URL,omitempty"`
Timestamps *Timestamps `protobuf:"bytes,4,opt,name=Timestamps,proto3" json:"Timestamps,omitempty"`
ApplicationID int64 `protobuf:"varint,5,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
Details string `protobuf:"bytes,6,opt,name=Details,proto3" json:"Details,omitempty"`
State string `protobuf:"bytes,7,opt,name=State,proto3" json:"State,omitempty"`
Party *Party `protobuf:"bytes,8,opt,name=Party,proto3" json:"Party,omitempty"`
Assets *Assets `protobuf:"bytes,9,opt,name=Assets,proto3" json:"Assets,omitempty"`
Secrets *Secrets `protobuf:"bytes,10,opt,name=Secrets,proto3" json:"Secrets,omitempty"`
Instance bool `protobuf:"varint,11,opt,name=Instance,proto3" json:"Instance,omitempty"`
Flags int32 `protobuf:"varint,12,opt,name=Flags,proto3" json:"Flags,omitempty"`
// contains filtered or unexported fields
}
func ActivitiesToPB ¶
func ActivityToPB ¶
func (*Activity) Descriptor
deprecated
func (*Activity) GetApplicationID ¶
func (*Activity) GetDetails ¶
func (*Activity) GetInstance ¶
func (*Activity) GetSecrets ¶
func (*Activity) GetTimestamps ¶
func (x *Activity) GetTimestamps() *Timestamps
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type Application ¶
type Application struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=Icon,proto3" json:"Icon,omitempty"`
Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"`
RPCOrigins []string `protobuf:"bytes,5,rep,name=RPCOrigins,proto3" json:"RPCOrigins,omitempty"`
BotPublic bool `protobuf:"varint,6,opt,name=BotPublic,proto3" json:"BotPublic,omitempty"`
BotRequireCodeGrant bool `protobuf:"varint,7,opt,name=BotRequireCodeGrant,proto3" json:"BotRequireCodeGrant,omitempty"`
TermsOfServiceURL string `protobuf:"bytes,8,opt,name=TermsOfServiceURL,proto3" json:"TermsOfServiceURL,omitempty"`
PrivacyPolicyURL string `protobuf:"bytes,9,opt,name=PrivacyPolicyURL,proto3" json:"PrivacyPolicyURL,omitempty"`
Owner *User `protobuf:"bytes,10,opt,name=Owner,proto3" json:"Owner,omitempty"`
Summary string `protobuf:"bytes,11,opt,name=Summary,proto3" json:"Summary,omitempty"`
VerifyKey string `protobuf:"bytes,12,opt,name=VerifyKey,proto3" json:"VerifyKey,omitempty"`
Team *ApplicationTeam `protobuf:"bytes,13,opt,name=Team,proto3" json:"Team,omitempty"`
GuildID int64 `protobuf:"varint,14,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
PrimarySKUID int64 `protobuf:"varint,15,opt,name=PrimarySKUID,proto3" json:"PrimarySKUID,omitempty"`
Slug string `protobuf:"bytes,16,opt,name=Slug,proto3" json:"Slug,omitempty"`
CoverImage string `protobuf:"bytes,17,opt,name=CoverImage,proto3" json:"CoverImage,omitempty"`
Flags int32 `protobuf:"varint,18,opt,name=Flags,proto3" json:"Flags,omitempty"`
Bot *User `protobuf:"bytes,19,opt,name=Bot,proto3" json:"Bot,omitempty"`
// contains filtered or unexported fields
}
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetBot ¶
func (x *Application) GetBot() *User
func (*Application) GetBotPublic ¶
func (x *Application) GetBotPublic() bool
func (*Application) GetBotRequireCodeGrant ¶
func (x *Application) GetBotRequireCodeGrant() bool
func (*Application) GetCoverImage ¶
func (x *Application) GetCoverImage() string
func (*Application) GetDescription ¶
func (x *Application) GetDescription() string
func (*Application) GetFlags ¶
func (x *Application) GetFlags() int32
func (*Application) GetGuildID ¶
func (x *Application) GetGuildID() int64
func (*Application) GetID ¶
func (x *Application) GetID() int64
func (*Application) GetIcon ¶
func (x *Application) GetIcon() string
func (*Application) GetName ¶
func (x *Application) GetName() string
func (*Application) GetOwner ¶
func (x *Application) GetOwner() *User
func (*Application) GetPrimarySKUID ¶
func (x *Application) GetPrimarySKUID() int64
func (*Application) GetPrivacyPolicyURL ¶
func (x *Application) GetPrivacyPolicyURL() string
func (*Application) GetRPCOrigins ¶
func (x *Application) GetRPCOrigins() []string
func (*Application) GetSlug ¶
func (x *Application) GetSlug() string
func (*Application) GetSummary ¶
func (x *Application) GetSummary() string
func (*Application) GetTeam ¶
func (x *Application) GetTeam() *ApplicationTeam
func (*Application) GetTermsOfServiceURL ¶
func (x *Application) GetTermsOfServiceURL() string
func (*Application) GetVerifyKey ¶
func (x *Application) GetVerifyKey() string
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type ApplicationCommand ¶
type ApplicationCommand struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
ApplicationID int64 `protobuf:"varint,3,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
GuildID int64 `protobuf:"varint,4,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Name string `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,6,opt,name=Description,proto3" json:"Description,omitempty"`
Options []*ApplicationCommandOption `protobuf:"bytes,7,rep,name=Options,proto3" json:"Options,omitempty"`
DefaultPermission bool `protobuf:"varint,8,opt,name=DefaultPermission,proto3" json:"DefaultPermission,omitempty"`
Version int32 `protobuf:"varint,9,opt,name=Version,proto3" json:"Version,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationCommand) Descriptor
deprecated
func (*ApplicationCommand) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationCommand.ProtoReflect.Descriptor instead.
func (*ApplicationCommand) GetApplicationID ¶
func (x *ApplicationCommand) GetApplicationID() int64
func (*ApplicationCommand) GetDefaultPermission ¶
func (x *ApplicationCommand) GetDefaultPermission() bool
func (*ApplicationCommand) GetDescription ¶
func (x *ApplicationCommand) GetDescription() string
func (*ApplicationCommand) GetGuildID ¶
func (x *ApplicationCommand) GetGuildID() int64
func (*ApplicationCommand) GetID ¶
func (x *ApplicationCommand) GetID() int64
func (*ApplicationCommand) GetName ¶
func (x *ApplicationCommand) GetName() string
func (*ApplicationCommand) GetOptions ¶
func (x *ApplicationCommand) GetOptions() []*ApplicationCommandOption
func (*ApplicationCommand) GetType ¶
func (x *ApplicationCommand) GetType() uint32
func (*ApplicationCommand) GetVersion ¶
func (x *ApplicationCommand) GetVersion() int32
func (*ApplicationCommand) ProtoMessage ¶
func (*ApplicationCommand) ProtoMessage()
func (*ApplicationCommand) ProtoReflect ¶
func (x *ApplicationCommand) ProtoReflect() protoreflect.Message
func (*ApplicationCommand) Reset ¶
func (x *ApplicationCommand) Reset()
func (*ApplicationCommand) String ¶
func (x *ApplicationCommand) String() string
type ApplicationCommandOption ¶
type ApplicationCommandOption struct {
Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
Required bool `protobuf:"varint,4,opt,name=Required,proto3" json:"Required,omitempty"`
Choices []*ApplicationCommandOptionChoice `protobuf:"bytes,5,rep,name=Choices,proto3" json:"Choices,omitempty"`
Options []*ApplicationCommandOption `protobuf:"bytes,6,rep,name=Options,proto3" json:"Options,omitempty"`
ChannelTypes []uint32 `protobuf:"varint,7,rep,packed,name=ChannelTypes,proto3" json:"ChannelTypes,omitempty"`
MinValue int32 `protobuf:"varint,8,opt,name=MinValue,proto3" json:"MinValue,omitempty"`
MaxValue int32 `protobuf:"varint,9,opt,name=MaxValue,proto3" json:"MaxValue,omitempty"`
Autocomplete bool `protobuf:"varint,10,opt,name=Autocomplete,proto3" json:"Autocomplete,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationCommandOption) Descriptor
deprecated
func (*ApplicationCommandOption) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationCommandOption.ProtoReflect.Descriptor instead.
func (*ApplicationCommandOption) GetAutocomplete ¶
func (x *ApplicationCommandOption) GetAutocomplete() bool
func (*ApplicationCommandOption) GetChannelTypes ¶
func (x *ApplicationCommandOption) GetChannelTypes() []uint32
func (*ApplicationCommandOption) GetChoices ¶
func (x *ApplicationCommandOption) GetChoices() []*ApplicationCommandOptionChoice
func (*ApplicationCommandOption) GetDescription ¶
func (x *ApplicationCommandOption) GetDescription() string
func (*ApplicationCommandOption) GetMaxValue ¶
func (x *ApplicationCommandOption) GetMaxValue() int32
func (*ApplicationCommandOption) GetMinValue ¶
func (x *ApplicationCommandOption) GetMinValue() int32
func (*ApplicationCommandOption) GetName ¶
func (x *ApplicationCommandOption) GetName() string
func (*ApplicationCommandOption) GetOptions ¶
func (x *ApplicationCommandOption) GetOptions() []*ApplicationCommandOption
func (*ApplicationCommandOption) GetRequired ¶
func (x *ApplicationCommandOption) GetRequired() bool
func (*ApplicationCommandOption) GetType ¶
func (x *ApplicationCommandOption) GetType() uint32
func (*ApplicationCommandOption) ProtoMessage ¶
func (*ApplicationCommandOption) ProtoMessage()
func (*ApplicationCommandOption) ProtoReflect ¶
func (x *ApplicationCommandOption) ProtoReflect() protoreflect.Message
func (*ApplicationCommandOption) Reset ¶
func (x *ApplicationCommandOption) Reset()
func (*ApplicationCommandOption) String ¶
func (x *ApplicationCommandOption) String() string
type ApplicationCommandOptionChoice ¶
type ApplicationCommandOptionChoice struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationCommandOptionChoice) Descriptor
deprecated
func (*ApplicationCommandOptionChoice) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationCommandOptionChoice.ProtoReflect.Descriptor instead.
func (*ApplicationCommandOptionChoice) GetName ¶
func (x *ApplicationCommandOptionChoice) GetName() string
func (*ApplicationCommandOptionChoice) GetValue ¶
func (x *ApplicationCommandOptionChoice) GetValue() []byte
func (*ApplicationCommandOptionChoice) ProtoMessage ¶
func (*ApplicationCommandOptionChoice) ProtoMessage()
func (*ApplicationCommandOptionChoice) ProtoReflect ¶
func (x *ApplicationCommandOptionChoice) ProtoReflect() protoreflect.Message
func (*ApplicationCommandOptionChoice) Reset ¶
func (x *ApplicationCommandOptionChoice) Reset()
func (*ApplicationCommandOptionChoice) String ¶
func (x *ApplicationCommandOptionChoice) String() string
type ApplicationCommandPermissions ¶
type ApplicationCommandPermissions struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
Allowed bool `protobuf:"varint,3,opt,name=Allowed,proto3" json:"Allowed,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationCommandPermissions) Descriptor
deprecated
func (*ApplicationCommandPermissions) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationCommandPermissions.ProtoReflect.Descriptor instead.
func (*ApplicationCommandPermissions) GetAllowed ¶
func (x *ApplicationCommandPermissions) GetAllowed() bool
func (*ApplicationCommandPermissions) GetID ¶
func (x *ApplicationCommandPermissions) GetID() int64
func (*ApplicationCommandPermissions) GetType ¶
func (x *ApplicationCommandPermissions) GetType() uint32
func (*ApplicationCommandPermissions) ProtoMessage ¶
func (*ApplicationCommandPermissions) ProtoMessage()
func (*ApplicationCommandPermissions) ProtoReflect ¶
func (x *ApplicationCommandPermissions) ProtoReflect() protoreflect.Message
func (*ApplicationCommandPermissions) Reset ¶
func (x *ApplicationCommandPermissions) Reset()
func (*ApplicationCommandPermissions) String ¶
func (x *ApplicationCommandPermissions) String() string
type ApplicationIdentifier ¶
type ApplicationIdentifier struct {
ApplicationIdentifier string `protobuf:"bytes,1,opt,name=application_identifier,json=applicationIdentifier,proto3" json:"application_identifier,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationIdentifier) Descriptor
deprecated
func (*ApplicationIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationIdentifier.ProtoReflect.Descriptor instead.
func (*ApplicationIdentifier) GetApplicationIdentifier ¶
func (x *ApplicationIdentifier) GetApplicationIdentifier() string
func (*ApplicationIdentifier) ProtoMessage ¶
func (*ApplicationIdentifier) ProtoMessage()
func (*ApplicationIdentifier) ProtoReflect ¶
func (x *ApplicationIdentifier) ProtoReflect() protoreflect.Message
func (*ApplicationIdentifier) Reset ¶
func (x *ApplicationIdentifier) Reset()
func (*ApplicationIdentifier) String ¶
func (x *ApplicationIdentifier) String() string
type ApplicationIdentifierWithBlocking ¶
type ApplicationIdentifierWithBlocking struct {
ApplicationIdentifier string `protobuf:"bytes,1,opt,name=application_identifier,json=applicationIdentifier,proto3" json:"application_identifier,omitempty"`
Blocking bool `protobuf:"varint,2,opt,name=blocking,proto3" json:"blocking,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationIdentifierWithBlocking) Descriptor
deprecated
func (*ApplicationIdentifierWithBlocking) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationIdentifierWithBlocking.ProtoReflect.Descriptor instead.
func (*ApplicationIdentifierWithBlocking) GetApplicationIdentifier ¶
func (x *ApplicationIdentifierWithBlocking) GetApplicationIdentifier() string
func (*ApplicationIdentifierWithBlocking) GetBlocking ¶
func (x *ApplicationIdentifierWithBlocking) GetBlocking() bool
func (*ApplicationIdentifierWithBlocking) ProtoMessage ¶
func (*ApplicationIdentifierWithBlocking) ProtoMessage()
func (*ApplicationIdentifierWithBlocking) ProtoReflect ¶
func (x *ApplicationIdentifierWithBlocking) ProtoReflect() protoreflect.Message
func (*ApplicationIdentifierWithBlocking) Reset ¶
func (x *ApplicationIdentifierWithBlocking) Reset()
func (*ApplicationIdentifierWithBlocking) String ¶
func (x *ApplicationIdentifierWithBlocking) String() string
type ApplicationSelectOption ¶
type ApplicationSelectOption struct {
Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
Emoji *Emoji `protobuf:"bytes,4,opt,name=Emoji,proto3" json:"Emoji,omitempty"`
Default bool `protobuf:"varint,5,opt,name=Default,proto3" json:"Default,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationSelectOption) Descriptor
deprecated
func (*ApplicationSelectOption) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationSelectOption.ProtoReflect.Descriptor instead.
func (*ApplicationSelectOption) GetDefault ¶
func (x *ApplicationSelectOption) GetDefault() bool
func (*ApplicationSelectOption) GetDescription ¶
func (x *ApplicationSelectOption) GetDescription() string
func (*ApplicationSelectOption) GetEmoji ¶
func (x *ApplicationSelectOption) GetEmoji() *Emoji
func (*ApplicationSelectOption) GetLabel ¶
func (x *ApplicationSelectOption) GetLabel() string
func (*ApplicationSelectOption) GetValue ¶
func (x *ApplicationSelectOption) GetValue() string
func (*ApplicationSelectOption) ProtoMessage ¶
func (*ApplicationSelectOption) ProtoMessage()
func (*ApplicationSelectOption) ProtoReflect ¶
func (x *ApplicationSelectOption) ProtoReflect() protoreflect.Message
func (*ApplicationSelectOption) Reset ¶
func (x *ApplicationSelectOption) Reset()
func (*ApplicationSelectOption) String ¶
func (x *ApplicationSelectOption) String() string
type ApplicationTeam ¶
type ApplicationTeam struct {
Icon string `protobuf:"bytes,1,opt,name=Icon,proto3" json:"Icon,omitempty"`
ID int64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
Members []*ApplicationTeamMember `protobuf:"bytes,3,rep,name=Members,proto3" json:"Members,omitempty"`
Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
OwnerUserID int64 `protobuf:"varint,5,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationTeam) Descriptor
deprecated
func (*ApplicationTeam) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationTeam.ProtoReflect.Descriptor instead.
func (*ApplicationTeam) GetID ¶
func (x *ApplicationTeam) GetID() int64
func (*ApplicationTeam) GetIcon ¶
func (x *ApplicationTeam) GetIcon() string
func (*ApplicationTeam) GetMembers ¶
func (x *ApplicationTeam) GetMembers() []*ApplicationTeamMember
func (*ApplicationTeam) GetName ¶
func (x *ApplicationTeam) GetName() string
func (*ApplicationTeam) GetOwnerUserID ¶
func (x *ApplicationTeam) GetOwnerUserID() int64
func (*ApplicationTeam) ProtoMessage ¶
func (*ApplicationTeam) ProtoMessage()
func (*ApplicationTeam) ProtoReflect ¶
func (x *ApplicationTeam) ProtoReflect() protoreflect.Message
func (*ApplicationTeam) Reset ¶
func (x *ApplicationTeam) Reset()
func (*ApplicationTeam) String ¶
func (x *ApplicationTeam) String() string
type ApplicationTeamMember ¶
type ApplicationTeamMember struct {
MembershipState uint32 `protobuf:"varint,1,opt,name=MembershipState,proto3" json:"MembershipState,omitempty"`
Permissions []string `protobuf:"bytes,2,rep,name=Permissions,proto3" json:"Permissions,omitempty"`
TeamID int64 `protobuf:"varint,3,opt,name=TeamID,proto3" json:"TeamID,omitempty"`
User *User `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationTeamMember) Descriptor
deprecated
func (*ApplicationTeamMember) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationTeamMember.ProtoReflect.Descriptor instead.
func (*ApplicationTeamMember) GetMembershipState ¶
func (x *ApplicationTeamMember) GetMembershipState() uint32
func (*ApplicationTeamMember) GetPermissions ¶
func (x *ApplicationTeamMember) GetPermissions() []string
func (*ApplicationTeamMember) GetTeamID ¶
func (x *ApplicationTeamMember) GetTeamID() int64
func (*ApplicationTeamMember) GetUser ¶
func (x *ApplicationTeamMember) GetUser() *User
func (*ApplicationTeamMember) ProtoMessage ¶
func (*ApplicationTeamMember) ProtoMessage()
func (*ApplicationTeamMember) ProtoReflect ¶
func (x *ApplicationTeamMember) ProtoReflect() protoreflect.Message
func (*ApplicationTeamMember) Reset ¶
func (x *ApplicationTeamMember) Reset()
func (*ApplicationTeamMember) String ¶
func (x *ApplicationTeamMember) String() string
type Assets ¶
type Assets struct {
LargeImage string `protobuf:"bytes,1,opt,name=LargeImage,proto3" json:"LargeImage,omitempty"`
LargeText string `protobuf:"bytes,2,opt,name=LargeText,proto3" json:"LargeText,omitempty"`
SmallImage string `protobuf:"bytes,3,opt,name=SmallImage,proto3" json:"SmallImage,omitempty"`
SmallText string `protobuf:"bytes,4,opt,name=SmallText,proto3" json:"SmallText,omitempty"`
// contains filtered or unexported fields
}
func (*Assets) Descriptor
deprecated
func (*Assets) GetLargeImage ¶
func (*Assets) GetLargeText ¶
func (*Assets) GetSmallImage ¶
func (*Assets) GetSmallText ¶
func (*Assets) ProtoMessage ¶
func (*Assets) ProtoMessage()
func (*Assets) ProtoReflect ¶
func (x *Assets) ProtoReflect() protoreflect.Message
type AvatarDecorationData ¶
type AvatarDecorationData struct {
Asset string `protobuf:"bytes,1,opt,name=Asset,proto3" json:"Asset,omitempty"`
SKUID int64 `protobuf:"varint,2,opt,name=SKUID,proto3" json:"SKUID,omitempty"`
// contains filtered or unexported fields
}
func (*AvatarDecorationData) Descriptor
deprecated
func (*AvatarDecorationData) Descriptor() ([]byte, []int)
Deprecated: Use AvatarDecorationData.ProtoReflect.Descriptor instead.
func (*AvatarDecorationData) GetAsset ¶
func (x *AvatarDecorationData) GetAsset() string
func (*AvatarDecorationData) GetSKUID ¶
func (x *AvatarDecorationData) GetSKUID() int64
func (*AvatarDecorationData) ProtoMessage ¶
func (*AvatarDecorationData) ProtoMessage()
func (*AvatarDecorationData) ProtoReflect ¶
func (x *AvatarDecorationData) ProtoReflect() protoreflect.Message
func (*AvatarDecorationData) Reset ¶
func (x *AvatarDecorationData) Reset()
func (*AvatarDecorationData) String ¶
func (x *AvatarDecorationData) String() string
type BaseResponse ¶
type BaseResponse struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*BaseResponse) Descriptor
deprecated
func (*BaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BaseResponse.ProtoReflect.Descriptor instead.
func (*BaseResponse) GetError ¶
func (x *BaseResponse) GetError() string
func (*BaseResponse) GetOk ¶
func (x *BaseResponse) GetOk() bool
func (*BaseResponse) ProtoMessage ¶
func (*BaseResponse) ProtoMessage()
func (*BaseResponse) ProtoReflect ¶
func (x *BaseResponse) ProtoReflect() protoreflect.Message
func (*BaseResponse) Reset ¶
func (x *BaseResponse) Reset()
func (*BaseResponse) String ¶
func (x *BaseResponse) String() string
type Channel ¶
type Channel struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
Position int32 `protobuf:"varint,4,opt,name=Position,proto3" json:"Position,omitempty"`
PermissionOverwrites []*ChannelOverwrite `protobuf:"bytes,5,rep,name=PermissionOverwrites,proto3" json:"PermissionOverwrites,omitempty"`
Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"`
Topic string `protobuf:"bytes,7,opt,name=Topic,proto3" json:"Topic,omitempty"`
NSFW bool `protobuf:"varint,8,opt,name=NSFW,proto3" json:"NSFW,omitempty"`
LastMessageID string `protobuf:"bytes,9,opt,name=LastMessageID,proto3" json:"LastMessageID,omitempty"`
Bitrate int32 `protobuf:"varint,10,opt,name=Bitrate,proto3" json:"Bitrate,omitempty"`
UserLimit int32 `protobuf:"varint,11,opt,name=UserLimit,proto3" json:"UserLimit,omitempty"`
RateLimitPerUser int32 `protobuf:"varint,12,opt,name=RateLimitPerUser,proto3" json:"RateLimitPerUser,omitempty"`
Recipients []*User `protobuf:"bytes,13,rep,name=Recipients,proto3" json:"Recipients,omitempty"`
Icon string `protobuf:"bytes,14,opt,name=Icon,proto3" json:"Icon,omitempty"`
OwnerID int64 `protobuf:"varint,15,opt,name=OwnerID,proto3" json:"OwnerID,omitempty"`
ApplicationID int64 `protobuf:"varint,16,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
ParentID int64 `protobuf:"varint,17,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
LastPinTimestamp string `protobuf:"bytes,18,opt,name=LastPinTimestamp,proto3" json:"LastPinTimestamp,omitempty"`
RTCRegion string `protobuf:"bytes,19,opt,name=RTCRegion,proto3" json:"RTCRegion,omitempty"`
VideoQualityMode uint32 `protobuf:"varint,20,opt,name=VideoQualityMode,proto3" json:"VideoQualityMode,omitempty"`
MessageCount int32 `protobuf:"varint,21,opt,name=MessageCount,proto3" json:"MessageCount,omitempty"`
MemberCount int32 `protobuf:"varint,22,opt,name=MemberCount,proto3" json:"MemberCount,omitempty"`
ThreadMetadata *ThreadMetadata `protobuf:"bytes,23,opt,name=ThreadMetadata,proto3" json:"ThreadMetadata,omitempty"`
ThreadMember *ThreadMember `protobuf:"bytes,24,opt,name=ThreadMember,proto3" json:"ThreadMember,omitempty"`
DefaultAutoArchiveDuration int32 `protobuf:"varint,25,opt,name=DefaultAutoArchiveDuration,proto3" json:"DefaultAutoArchiveDuration,omitempty"`
Permissions int64 `protobuf:"varint,26,opt,name=Permissions,proto3" json:"Permissions,omitempty"`
Flags int32 `protobuf:"varint,27,opt,name=Flags,proto3" json:"Flags,omitempty"`
DefaultThreadRateLimitPerUser int32 `protobuf:"varint,28,opt,name=DefaultThreadRateLimitPerUser,proto3" json:"DefaultThreadRateLimitPerUser,omitempty"`
DefaultForumLayout int32 `protobuf:"varint,29,opt,name=DefaultForumLayout,proto3" json:"DefaultForumLayout,omitempty"`
DefaultReactionEmoji *DefaultReactionEmoji `protobuf:"bytes,30,opt,name=DefaultReactionEmoji,proto3" json:"DefaultReactionEmoji,omitempty"`
DefaultSortOrder int32 `protobuf:"varint,31,opt,name=DefaultSortOrder,proto3" json:"DefaultSortOrder,omitempty"`
HDStreamingBuyerID int64 `protobuf:"varint,32,opt,name=HDStreamingBuyerID,proto3" json:"HDStreamingBuyerID,omitempty"`
HDStreamingUntil string `protobuf:"bytes,33,opt,name=HDStreamingUntil,proto3" json:"HDStreamingUntil,omitempty"`
AvailableTags []*ForumTag `protobuf:"bytes,34,rep,name=AvailableTags,proto3" json:"AvailableTags,omitempty"`
// contains filtered or unexported fields
}
func ChannelToPB ¶
func ChannelsToPB ¶
func (*Channel) Descriptor
deprecated
func (*Channel) GetApplicationID ¶
func (*Channel) GetAvailableTags ¶
func (*Channel) GetBitrate ¶
func (*Channel) GetDefaultAutoArchiveDuration ¶
func (*Channel) GetDefaultForumLayout ¶
func (*Channel) GetDefaultReactionEmoji ¶
func (x *Channel) GetDefaultReactionEmoji() *DefaultReactionEmoji
func (*Channel) GetDefaultSortOrder ¶
func (*Channel) GetDefaultThreadRateLimitPerUser ¶
func (*Channel) GetGuildID ¶
func (*Channel) GetHDStreamingBuyerID ¶
func (*Channel) GetHDStreamingUntil ¶
func (*Channel) GetLastMessageID ¶
func (*Channel) GetLastPinTimestamp ¶
func (*Channel) GetMemberCount ¶
func (*Channel) GetMessageCount ¶
func (*Channel) GetOwnerID ¶
func (*Channel) GetParentID ¶
func (*Channel) GetPermissionOverwrites ¶
func (x *Channel) GetPermissionOverwrites() []*ChannelOverwrite
func (*Channel) GetPermissions ¶
func (*Channel) GetPosition ¶
func (*Channel) GetRTCRegion ¶
func (*Channel) GetRateLimitPerUser ¶
func (*Channel) GetRecipients ¶
func (*Channel) GetThreadMember ¶
func (x *Channel) GetThreadMember() *ThreadMember
func (*Channel) GetThreadMetadata ¶
func (x *Channel) GetThreadMetadata() *ThreadMetadata
func (*Channel) GetUserLimit ¶
func (*Channel) GetVideoQualityMode ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChannelOverwrite ¶
type ChannelOverwrite struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
Allow int64 `protobuf:"varint,3,opt,name=Allow,proto3" json:"Allow,omitempty"`
Deny int64 `protobuf:"varint,4,opt,name=Deny,proto3" json:"Deny,omitempty"`
// contains filtered or unexported fields
}
func ChannelOverwritesToPB ¶
func ChannelOverwritesToPB(overwrites []discord.ChannelOverwrite) []*ChannelOverwrite
func (*ChannelOverwrite) Descriptor
deprecated
func (*ChannelOverwrite) Descriptor() ([]byte, []int)
Deprecated: Use ChannelOverwrite.ProtoReflect.Descriptor instead.
func (*ChannelOverwrite) GetAllow ¶
func (x *ChannelOverwrite) GetAllow() int64
func (*ChannelOverwrite) GetDeny ¶
func (x *ChannelOverwrite) GetDeny() int64
func (*ChannelOverwrite) GetID ¶
func (x *ChannelOverwrite) GetID() int64
func (*ChannelOverwrite) GetType ¶
func (x *ChannelOverwrite) GetType() uint32
func (*ChannelOverwrite) ProtoMessage ¶
func (*ChannelOverwrite) ProtoMessage()
func (*ChannelOverwrite) ProtoReflect ¶
func (x *ChannelOverwrite) ProtoReflect() protoreflect.Message
func (*ChannelOverwrite) Reset ¶
func (x *ChannelOverwrite) Reset()
func (*ChannelOverwrite) String ¶
func (x *ChannelOverwrite) String() string
type ClientStatus ¶
type ClientStatus struct {
Desktop string `protobuf:"bytes,1,opt,name=Desktop,proto3" json:"Desktop,omitempty"`
Mobile string `protobuf:"bytes,2,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Web string `protobuf:"bytes,3,opt,name=Web,proto3" json:"Web,omitempty"`
// contains filtered or unexported fields
}
func (*ClientStatus) Descriptor
deprecated
func (*ClientStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClientStatus.ProtoReflect.Descriptor instead.
func (*ClientStatus) GetDesktop ¶
func (x *ClientStatus) GetDesktop() string
func (*ClientStatus) GetMobile ¶
func (x *ClientStatus) GetMobile() string
func (*ClientStatus) GetWeb ¶
func (x *ClientStatus) GetWeb() string
func (*ClientStatus) ProtoMessage ¶
func (*ClientStatus) ProtoMessage()
func (*ClientStatus) ProtoReflect ¶
func (x *ClientStatus) ProtoReflect() protoreflect.Message
func (*ClientStatus) Reset ¶
func (x *ClientStatus) Reset()
func (*ClientStatus) String ¶
func (x *ClientStatus) String() string
type CreateApplicationRequest ¶
type CreateApplicationRequest struct {
SaveConfig bool `protobuf:"varint,1,opt,name=save_config,json=saveConfig,proto3" json:"save_config,omitempty"`
ApplicationIdentifier string `protobuf:"bytes,3,opt,name=application_identifier,json=applicationIdentifier,proto3" json:"application_identifier,omitempty"`
ProducerIdentifier string `protobuf:"bytes,4,opt,name=producer_identifier,json=producerIdentifier,proto3" json:"producer_identifier,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
ClientName string `protobuf:"bytes,6,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
IncludeRandomSuffix bool `protobuf:"varint,7,opt,name=include_random_suffix,json=includeRandomSuffix,proto3" json:"include_random_suffix,omitempty"`
BotToken string `protobuf:"bytes,8,opt,name=bot_token,json=botToken,proto3" json:"bot_token,omitempty"`
AutoStart bool `protobuf:"varint,9,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"`
DefaultPresence []byte `protobuf:"bytes,10,opt,name=default_presence,json=defaultPresence,proto3" json:"default_presence,omitempty"`
Intents int32 `protobuf:"varint,11,opt,name=intents,proto3" json:"intents,omitempty"`
ChunkGuildsOnStart bool `protobuf:"varint,12,opt,name=chunk_guilds_on_start,json=chunkGuildsOnStart,proto3" json:"chunk_guilds_on_start,omitempty"`
EventBlacklist []string `protobuf:"bytes,13,rep,name=event_blacklist,json=eventBlacklist,proto3" json:"event_blacklist,omitempty"`
ProduceBlacklist []string `protobuf:"bytes,14,rep,name=produce_blacklist,json=produceBlacklist,proto3" json:"produce_blacklist,omitempty"`
AutoSharded bool `protobuf:"varint,15,opt,name=auto_sharded,json=autoSharded,proto3" json:"auto_sharded,omitempty"`
ShardCount int32 `protobuf:"varint,16,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
ShardIds string `protobuf:"bytes,17,opt,name=shard_ids,json=shardIds,proto3" json:"shard_ids,omitempty"`
Values []byte `protobuf:"bytes,18,opt,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*CreateApplicationRequest) Descriptor
deprecated
func (*CreateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.
func (*CreateApplicationRequest) GetApplicationIdentifier ¶
func (x *CreateApplicationRequest) GetApplicationIdentifier() string
func (*CreateApplicationRequest) GetAutoSharded ¶
func (x *CreateApplicationRequest) GetAutoSharded() bool
func (*CreateApplicationRequest) GetAutoStart ¶
func (x *CreateApplicationRequest) GetAutoStart() bool
func (*CreateApplicationRequest) GetBotToken ¶
func (x *CreateApplicationRequest) GetBotToken() string
func (*CreateApplicationRequest) GetChunkGuildsOnStart ¶
func (x *CreateApplicationRequest) GetChunkGuildsOnStart() bool
func (*CreateApplicationRequest) GetClientName ¶
func (x *CreateApplicationRequest) GetClientName() string
func (*CreateApplicationRequest) GetDefaultPresence ¶
func (x *CreateApplicationRequest) GetDefaultPresence() []byte
func (*CreateApplicationRequest) GetDisplayName ¶
func (x *CreateApplicationRequest) GetDisplayName() string
func (*CreateApplicationRequest) GetEventBlacklist ¶
func (x *CreateApplicationRequest) GetEventBlacklist() []string
func (*CreateApplicationRequest) GetIncludeRandomSuffix ¶
func (x *CreateApplicationRequest) GetIncludeRandomSuffix() bool
func (*CreateApplicationRequest) GetIntents ¶
func (x *CreateApplicationRequest) GetIntents() int32
func (*CreateApplicationRequest) GetProduceBlacklist ¶
func (x *CreateApplicationRequest) GetProduceBlacklist() []string
func (*CreateApplicationRequest) GetProducerIdentifier ¶
func (x *CreateApplicationRequest) GetProducerIdentifier() string
func (*CreateApplicationRequest) GetSaveConfig ¶
func (x *CreateApplicationRequest) GetSaveConfig() bool
func (*CreateApplicationRequest) GetShardCount ¶
func (x *CreateApplicationRequest) GetShardCount() int32
func (*CreateApplicationRequest) GetShardIds ¶
func (x *CreateApplicationRequest) GetShardIds() string
func (*CreateApplicationRequest) GetValues ¶
func (x *CreateApplicationRequest) GetValues() []byte
func (*CreateApplicationRequest) ProtoMessage ¶
func (*CreateApplicationRequest) ProtoMessage()
func (*CreateApplicationRequest) ProtoReflect ¶
func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Message
func (*CreateApplicationRequest) Reset ¶
func (x *CreateApplicationRequest) Reset()
func (*CreateApplicationRequest) String ¶
func (x *CreateApplicationRequest) String() string
type CreateDMChannel ¶
type CreateDMChannel struct {
RecipientID int64 `protobuf:"varint,1,opt,name=RecipientID,proto3" json:"RecipientID,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDMChannel) Descriptor
deprecated
func (*CreateDMChannel) Descriptor() ([]byte, []int)
Deprecated: Use CreateDMChannel.ProtoReflect.Descriptor instead.
func (*CreateDMChannel) GetRecipientID ¶
func (x *CreateDMChannel) GetRecipientID() int64
func (*CreateDMChannel) ProtoMessage ¶
func (*CreateDMChannel) ProtoMessage()
func (*CreateDMChannel) ProtoReflect ¶
func (x *CreateDMChannel) ProtoReflect() protoreflect.Message
func (*CreateDMChannel) Reset ¶
func (x *CreateDMChannel) Reset()
func (*CreateDMChannel) String ¶
func (x *CreateDMChannel) String() string
type DefaultReactionEmoji ¶
type DefaultReactionEmoji struct {
EmojiID int64 `protobuf:"varint,1,opt,name=EmojiID,proto3" json:"EmojiID,omitempty"`
EmojiName string `protobuf:"bytes,2,opt,name=EmojiName,proto3" json:"EmojiName,omitempty"`
// contains filtered or unexported fields
}
func (*DefaultReactionEmoji) Descriptor
deprecated
func (*DefaultReactionEmoji) Descriptor() ([]byte, []int)
Deprecated: Use DefaultReactionEmoji.ProtoReflect.Descriptor instead.
func (*DefaultReactionEmoji) GetEmojiID ¶
func (x *DefaultReactionEmoji) GetEmojiID() int64
func (*DefaultReactionEmoji) GetEmojiName ¶
func (x *DefaultReactionEmoji) GetEmojiName() string
func (*DefaultReactionEmoji) ProtoMessage ¶
func (*DefaultReactionEmoji) ProtoMessage()
func (*DefaultReactionEmoji) ProtoReflect ¶
func (x *DefaultReactionEmoji) ProtoReflect() protoreflect.Message
func (*DefaultReactionEmoji) Reset ¶
func (x *DefaultReactionEmoji) Reset()
func (*DefaultReactionEmoji) String ¶
func (x *DefaultReactionEmoji) String() string
type Embed ¶
type Embed struct {
Title string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title,omitempty"`
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
URL string `protobuf:"bytes,4,opt,name=URL,proto3" json:"URL,omitempty"`
Timestamp string `protobuf:"bytes,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
Color int32 `protobuf:"varint,6,opt,name=Color,proto3" json:"Color,omitempty"`
Image *EmbedImage `protobuf:"bytes,8,opt,name=Image,proto3" json:"Image,omitempty"`
Thumbnail *EmbedThumbnail `protobuf:"bytes,9,opt,name=Thumbnail,proto3" json:"Thumbnail,omitempty"`
Video *EmbedVideo `protobuf:"bytes,10,opt,name=Video,proto3" json:"Video,omitempty"`
Provider *EmbedProvider `protobuf:"bytes,11,opt,name=Provider,proto3" json:"Provider,omitempty"`
Author *EmbedAuthor `protobuf:"bytes,12,opt,name=Author,proto3" json:"Author,omitempty"`
Fields []*EmbedField `protobuf:"bytes,13,rep,name=Fields,proto3" json:"Fields,omitempty"`
// contains filtered or unexported fields
}
func (*Embed) Descriptor
deprecated
func (*Embed) GetAuthor ¶
func (x *Embed) GetAuthor() *EmbedAuthor
func (*Embed) GetDescription ¶
func (*Embed) GetFields ¶
func (x *Embed) GetFields() []*EmbedField
func (*Embed) GetFooter ¶
func (x *Embed) GetFooter() *EmbedFooter
func (*Embed) GetImage ¶
func (x *Embed) GetImage() *EmbedImage
func (*Embed) GetProvider ¶
func (x *Embed) GetProvider() *EmbedProvider
func (*Embed) GetThumbnail ¶
func (x *Embed) GetThumbnail() *EmbedThumbnail
func (*Embed) GetTimestamp ¶
func (*Embed) GetVideo ¶
func (x *Embed) GetVideo() *EmbedVideo
func (*Embed) ProtoMessage ¶
func (*Embed) ProtoMessage()
func (*Embed) ProtoReflect ¶
func (x *Embed) ProtoReflect() protoreflect.Message
type EmbedAuthor ¶
type EmbedAuthor struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"`
IconURL string `protobuf:"bytes,3,opt,name=IconURL,proto3" json:"IconURL,omitempty"`
ProxyIconURL string `protobuf:"bytes,4,opt,name=ProxyIconURL,proto3" json:"ProxyIconURL,omitempty"`
// contains filtered or unexported fields
}
func (*EmbedAuthor) Descriptor
deprecated
func (*EmbedAuthor) Descriptor() ([]byte, []int)
Deprecated: Use EmbedAuthor.ProtoReflect.Descriptor instead.
func (*EmbedAuthor) GetIconURL ¶
func (x *EmbedAuthor) GetIconURL() string
func (*EmbedAuthor) GetName ¶
func (x *EmbedAuthor) GetName() string
func (*EmbedAuthor) GetProxyIconURL ¶
func (x *EmbedAuthor) GetProxyIconURL() string
func (*EmbedAuthor) GetURL ¶
func (x *EmbedAuthor) GetURL() string
func (*EmbedAuthor) ProtoMessage ¶
func (*EmbedAuthor) ProtoMessage()
func (*EmbedAuthor) ProtoReflect ¶
func (x *EmbedAuthor) ProtoReflect() protoreflect.Message
func (*EmbedAuthor) Reset ¶
func (x *EmbedAuthor) Reset()
func (*EmbedAuthor) String ¶
func (x *EmbedAuthor) String() string
type EmbedField ¶
type EmbedField struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
Inline bool `protobuf:"varint,3,opt,name=Inline,proto3" json:"Inline,omitempty"`
// contains filtered or unexported fields
}
func (*EmbedField) Descriptor
deprecated
func (*EmbedField) Descriptor() ([]byte, []int)
Deprecated: Use EmbedField.ProtoReflect.Descriptor instead.
func (*EmbedField) GetInline ¶
func (x *EmbedField) GetInline() bool
func (*EmbedField) GetName ¶
func (x *EmbedField) GetName() string
func (*EmbedField) GetValue ¶
func (x *EmbedField) GetValue() string
func (*EmbedField) ProtoMessage ¶
func (*EmbedField) ProtoMessage()
func (*EmbedField) ProtoReflect ¶
func (x *EmbedField) ProtoReflect() protoreflect.Message
func (*EmbedField) Reset ¶
func (x *EmbedField) Reset()
func (*EmbedField) String ¶
func (x *EmbedField) String() string
type EmbedFooter ¶
type EmbedFooter struct {
// contains filtered or unexported fields
}
func (*EmbedFooter) Descriptor
deprecated
func (*EmbedFooter) Descriptor() ([]byte, []int)
Deprecated: Use EmbedFooter.ProtoReflect.Descriptor instead.
func (*EmbedFooter) GetIconURL ¶
func (x *EmbedFooter) GetIconURL() string
func (*EmbedFooter) GetProxyIconURL ¶
func (x *EmbedFooter) GetProxyIconURL() string
func (*EmbedFooter) GetText ¶
func (x *EmbedFooter) GetText() string
func (*EmbedFooter) ProtoMessage ¶
func (*EmbedFooter) ProtoMessage()
func (*EmbedFooter) ProtoReflect ¶
func (x *EmbedFooter) ProtoReflect() protoreflect.Message
func (*EmbedFooter) Reset ¶
func (x *EmbedFooter) Reset()
func (*EmbedFooter) String ¶
func (x *EmbedFooter) String() string
type EmbedImage ¶
type EmbedImage struct {
URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
ProxyURL string `protobuf:"bytes,2,opt,name=ProxyURL,proto3" json:"ProxyURL,omitempty"`
Height int32 `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"`
Width int32 `protobuf:"varint,4,opt,name=Width,proto3" json:"Width,omitempty"`
// contains filtered or unexported fields
}
func (*EmbedImage) Descriptor
deprecated
func (*EmbedImage) Descriptor() ([]byte, []int)
Deprecated: Use EmbedImage.ProtoReflect.Descriptor instead.
func (*EmbedImage) GetHeight ¶
func (x *EmbedImage) GetHeight() int32
func (*EmbedImage) GetProxyURL ¶
func (x *EmbedImage) GetProxyURL() string
func (*EmbedImage) GetURL ¶
func (x *EmbedImage) GetURL() string
func (*EmbedImage) GetWidth ¶
func (x *EmbedImage) GetWidth() int32
func (*EmbedImage) ProtoMessage ¶
func (*EmbedImage) ProtoMessage()
func (*EmbedImage) ProtoReflect ¶
func (x *EmbedImage) ProtoReflect() protoreflect.Message
func (*EmbedImage) Reset ¶
func (x *EmbedImage) Reset()
func (*EmbedImage) String ¶
func (x *EmbedImage) String() string
type EmbedProvider ¶
type EmbedProvider struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"`
// contains filtered or unexported fields
}
func (*EmbedProvider) Descriptor
deprecated
func (*EmbedProvider) Descriptor() ([]byte, []int)
Deprecated: Use EmbedProvider.ProtoReflect.Descriptor instead.
func (*EmbedProvider) GetName ¶
func (x *EmbedProvider) GetName() string
func (*EmbedProvider) GetURL ¶
func (x *EmbedProvider) GetURL() string
func (*EmbedProvider) ProtoMessage ¶
func (*EmbedProvider) ProtoMessage()
func (*EmbedProvider) ProtoReflect ¶
func (x *EmbedProvider) ProtoReflect() protoreflect.Message
func (*EmbedProvider) Reset ¶
func (x *EmbedProvider) Reset()
func (*EmbedProvider) String ¶
func (x *EmbedProvider) String() string
type EmbedThumbnail ¶
type EmbedThumbnail struct {
URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
ProxyURL string `protobuf:"bytes,2,opt,name=ProxyURL,proto3" json:"ProxyURL,omitempty"`
Height int32 `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"`
Width int32 `protobuf:"varint,4,opt,name=Width,proto3" json:"Width,omitempty"`
// contains filtered or unexported fields
}
func (*EmbedThumbnail) Descriptor
deprecated
func (*EmbedThumbnail) Descriptor() ([]byte, []int)
Deprecated: Use EmbedThumbnail.ProtoReflect.Descriptor instead.
func (*EmbedThumbnail) GetHeight ¶
func (x *EmbedThumbnail) GetHeight() int32
func (*EmbedThumbnail) GetProxyURL ¶
func (x *EmbedThumbnail) GetProxyURL() string
func (*EmbedThumbnail) GetURL ¶
func (x *EmbedThumbnail) GetURL() string
func (*EmbedThumbnail) GetWidth ¶
func (x *EmbedThumbnail) GetWidth() int32
func (*EmbedThumbnail) ProtoMessage ¶
func (*EmbedThumbnail) ProtoMessage()
func (*EmbedThumbnail) ProtoReflect ¶
func (x *EmbedThumbnail) ProtoReflect() protoreflect.Message
func (*EmbedThumbnail) Reset ¶
func (x *EmbedThumbnail) Reset()
func (*EmbedThumbnail) String ¶
func (x *EmbedThumbnail) String() string
type EmbedVideo ¶
type EmbedVideo struct {
URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
Height int32 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
Width int32 `protobuf:"varint,3,opt,name=Width,proto3" json:"Width,omitempty"`
// contains filtered or unexported fields
}
func (*EmbedVideo) Descriptor
deprecated
func (*EmbedVideo) Descriptor() ([]byte, []int)
Deprecated: Use EmbedVideo.ProtoReflect.Descriptor instead.
func (*EmbedVideo) GetHeight ¶
func (x *EmbedVideo) GetHeight() int32
func (*EmbedVideo) GetURL ¶
func (x *EmbedVideo) GetURL() string
func (*EmbedVideo) GetWidth ¶
func (x *EmbedVideo) GetWidth() int32
func (*EmbedVideo) ProtoMessage ¶
func (*EmbedVideo) ProtoMessage()
func (*EmbedVideo) ProtoReflect ¶
func (x *EmbedVideo) ProtoReflect() protoreflect.Message
func (*EmbedVideo) Reset ¶
func (x *EmbedVideo) Reset()
func (*EmbedVideo) String ¶
func (x *EmbedVideo) String() string
type Emoji ¶
type Emoji struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Roles []int64 `protobuf:"varint,4,rep,packed,name=Roles,proto3" json:"Roles,omitempty"`
User *User `protobuf:"bytes,5,opt,name=User,proto3" json:"User,omitempty"`
RequireColons bool `protobuf:"varint,6,opt,name=RequireColons,proto3" json:"RequireColons,omitempty"`
Managed bool `protobuf:"varint,7,opt,name=Managed,proto3" json:"Managed,omitempty"`
Animated bool `protobuf:"varint,8,opt,name=Animated,proto3" json:"Animated,omitempty"`
Available bool `protobuf:"varint,9,opt,name=Available,proto3" json:"Available,omitempty"`
// contains filtered or unexported fields
}
func EmojisToPB ¶
func (*Emoji) Descriptor
deprecated
func (*Emoji) GetAnimated ¶
func (*Emoji) GetAvailable ¶
func (*Emoji) GetGuildID ¶
func (*Emoji) GetManaged ¶
func (*Emoji) GetRequireColons ¶
func (*Emoji) ProtoMessage ¶
func (*Emoji) ProtoMessage()
func (*Emoji) ProtoReflect ¶
func (x *Emoji) ProtoReflect() protoreflect.Message
type EventMetadata ¶
type EventMetadata struct {
Location string `protobuf:"bytes,1,opt,name=Location,proto3" json:"Location,omitempty"`
// contains filtered or unexported fields
}
func (*EventMetadata) Descriptor
deprecated
func (*EventMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) GetLocation ¶
func (x *EventMetadata) GetLocation() string
func (*EventMetadata) ProtoMessage ¶
func (*EventMetadata) ProtoMessage()
func (*EventMetadata) ProtoReflect ¶
func (x *EventMetadata) ProtoReflect() protoreflect.Message
func (*EventMetadata) Reset ¶
func (x *EventMetadata) Reset()
func (*EventMetadata) String ¶
func (x *EventMetadata) String() string
type FetchApplicationResponse ¶
type FetchApplicationResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Applications map[string]*SandwichApplication `` /* 165-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchApplicationResponse) Descriptor
deprecated
func (*FetchApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchApplicationResponse.ProtoReflect.Descriptor instead.
func (*FetchApplicationResponse) GetApplications ¶
func (x *FetchApplicationResponse) GetApplications() map[string]*SandwichApplication
func (*FetchApplicationResponse) GetBaseResponse ¶
func (x *FetchApplicationResponse) GetBaseResponse() *BaseResponse
func (*FetchApplicationResponse) ProtoMessage ¶
func (*FetchApplicationResponse) ProtoMessage()
func (*FetchApplicationResponse) ProtoReflect ¶
func (x *FetchApplicationResponse) ProtoReflect() protoreflect.Message
func (*FetchApplicationResponse) Reset ¶
func (x *FetchApplicationResponse) Reset()
func (*FetchApplicationResponse) String ¶
func (x *FetchApplicationResponse) String() string
type FetchGuildChannelRequest ¶
type FetchGuildChannelRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
ChannelIds []int64 `protobuf:"varint,2,rep,packed,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildChannelRequest) Descriptor
deprecated
func (*FetchGuildChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildChannelRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildChannelRequest) GetChannelIds ¶
func (x *FetchGuildChannelRequest) GetChannelIds() []int64
func (*FetchGuildChannelRequest) GetGuildId ¶
func (x *FetchGuildChannelRequest) GetGuildId() int64
func (*FetchGuildChannelRequest) ProtoMessage ¶
func (*FetchGuildChannelRequest) ProtoMessage()
func (*FetchGuildChannelRequest) ProtoReflect ¶
func (x *FetchGuildChannelRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildChannelRequest) Reset ¶
func (x *FetchGuildChannelRequest) Reset()
func (*FetchGuildChannelRequest) String ¶
func (x *FetchGuildChannelRequest) String() string
type FetchGuildChannelResponse ¶
type FetchGuildChannelResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Channels map[int64]*Channel `` /* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildChannelResponse) Descriptor
deprecated
func (*FetchGuildChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildChannelResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildChannelResponse) GetBaseResponse ¶
func (x *FetchGuildChannelResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildChannelResponse) GetChannels ¶
func (x *FetchGuildChannelResponse) GetChannels() map[int64]*Channel
func (*FetchGuildChannelResponse) ProtoMessage ¶
func (*FetchGuildChannelResponse) ProtoMessage()
func (*FetchGuildChannelResponse) ProtoReflect ¶
func (x *FetchGuildChannelResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildChannelResponse) Reset ¶
func (x *FetchGuildChannelResponse) Reset()
func (*FetchGuildChannelResponse) String ¶
func (x *FetchGuildChannelResponse) String() string
type FetchGuildEmojiRequest ¶
type FetchGuildEmojiRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
EmojiIds []int64 `protobuf:"varint,2,rep,packed,name=emoji_ids,json=emojiIds,proto3" json:"emoji_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildEmojiRequest) Descriptor
deprecated
func (*FetchGuildEmojiRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildEmojiRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildEmojiRequest) GetEmojiIds ¶
func (x *FetchGuildEmojiRequest) GetEmojiIds() []int64
func (*FetchGuildEmojiRequest) GetGuildId ¶
func (x *FetchGuildEmojiRequest) GetGuildId() int64
func (*FetchGuildEmojiRequest) ProtoMessage ¶
func (*FetchGuildEmojiRequest) ProtoMessage()
func (*FetchGuildEmojiRequest) ProtoReflect ¶
func (x *FetchGuildEmojiRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildEmojiRequest) Reset ¶
func (x *FetchGuildEmojiRequest) Reset()
func (*FetchGuildEmojiRequest) String ¶
func (x *FetchGuildEmojiRequest) String() string
type FetchGuildEmojiResponse ¶
type FetchGuildEmojiResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Emojis map[int64]*Emoji `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildEmojiResponse) Descriptor
deprecated
func (*FetchGuildEmojiResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildEmojiResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildEmojiResponse) GetBaseResponse ¶
func (x *FetchGuildEmojiResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildEmojiResponse) GetEmojis ¶
func (x *FetchGuildEmojiResponse) GetEmojis() map[int64]*Emoji
func (*FetchGuildEmojiResponse) ProtoMessage ¶
func (*FetchGuildEmojiResponse) ProtoMessage()
func (*FetchGuildEmojiResponse) ProtoReflect ¶
func (x *FetchGuildEmojiResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildEmojiResponse) Reset ¶
func (x *FetchGuildEmojiResponse) Reset()
func (*FetchGuildEmojiResponse) String ¶
func (x *FetchGuildEmojiResponse) String() string
type FetchGuildIDsRequest ¶
type FetchGuildIDsRequest struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildIDsRequest) Descriptor
deprecated
func (*FetchGuildIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildIDsRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildIDsRequest) GetIdentifier ¶
func (x *FetchGuildIDsRequest) GetIdentifier() string
func (*FetchGuildIDsRequest) ProtoMessage ¶
func (*FetchGuildIDsRequest) ProtoMessage()
func (*FetchGuildIDsRequest) ProtoReflect ¶
func (x *FetchGuildIDsRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildIDsRequest) Reset ¶
func (x *FetchGuildIDsRequest) Reset()
func (*FetchGuildIDsRequest) String ¶
func (x *FetchGuildIDsRequest) String() string
type FetchGuildIDsResponse ¶
type FetchGuildIDsResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
GuildIds []int64 `protobuf:"varint,2,rep,packed,name=guild_ids,json=guildIds,proto3" json:"guild_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildIDsResponse) Descriptor
deprecated
func (*FetchGuildIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildIDsResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildIDsResponse) GetBaseResponse ¶
func (x *FetchGuildIDsResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildIDsResponse) GetGuildIds ¶
func (x *FetchGuildIDsResponse) GetGuildIds() []int64
func (*FetchGuildIDsResponse) ProtoMessage ¶
func (*FetchGuildIDsResponse) ProtoMessage()
func (*FetchGuildIDsResponse) ProtoReflect ¶
func (x *FetchGuildIDsResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildIDsResponse) Reset ¶
func (x *FetchGuildIDsResponse) Reset()
func (*FetchGuildIDsResponse) String ¶
func (x *FetchGuildIDsResponse) String() string
type FetchGuildMemberRequest ¶
type FetchGuildMemberRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildMemberRequest) Descriptor
deprecated
func (*FetchGuildMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildMemberRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildMemberRequest) GetGuildId ¶
func (x *FetchGuildMemberRequest) GetGuildId() int64
func (*FetchGuildMemberRequest) GetUserIds ¶
func (x *FetchGuildMemberRequest) GetUserIds() []int64
func (*FetchGuildMemberRequest) ProtoMessage ¶
func (*FetchGuildMemberRequest) ProtoMessage()
func (*FetchGuildMemberRequest) ProtoReflect ¶
func (x *FetchGuildMemberRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildMemberRequest) Reset ¶
func (x *FetchGuildMemberRequest) Reset()
func (*FetchGuildMemberRequest) String ¶
func (x *FetchGuildMemberRequest) String() string
type FetchGuildMemberResponse ¶
type FetchGuildMemberResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
GuildMembers map[int64]*GuildMember `` /* 186-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildMemberResponse) Descriptor
deprecated
func (*FetchGuildMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildMemberResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildMemberResponse) GetBaseResponse ¶
func (x *FetchGuildMemberResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildMemberResponse) GetGuildMembers ¶
func (x *FetchGuildMemberResponse) GetGuildMembers() map[int64]*GuildMember
func (*FetchGuildMemberResponse) ProtoMessage ¶
func (*FetchGuildMemberResponse) ProtoMessage()
func (*FetchGuildMemberResponse) ProtoReflect ¶
func (x *FetchGuildMemberResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildMemberResponse) Reset ¶
func (x *FetchGuildMemberResponse) Reset()
func (*FetchGuildMemberResponse) String ¶
func (x *FetchGuildMemberResponse) String() string
type FetchGuildRequest ¶
type FetchGuildRequest struct {
GuildIds []int64 `protobuf:"varint,1,rep,packed,name=guild_ids,json=guildIds,proto3" json:"guild_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildRequest) Descriptor
deprecated
func (*FetchGuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildRequest) GetGuildIds ¶
func (x *FetchGuildRequest) GetGuildIds() []int64
func (*FetchGuildRequest) ProtoMessage ¶
func (*FetchGuildRequest) ProtoMessage()
func (*FetchGuildRequest) ProtoReflect ¶
func (x *FetchGuildRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildRequest) Reset ¶
func (x *FetchGuildRequest) Reset()
func (*FetchGuildRequest) String ¶
func (x *FetchGuildRequest) String() string
type FetchGuildResponse ¶
type FetchGuildResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Guilds map[int64]*Guild `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildResponse) Descriptor
deprecated
func (*FetchGuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildResponse) GetBaseResponse ¶
func (x *FetchGuildResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildResponse) GetGuilds ¶
func (x *FetchGuildResponse) GetGuilds() map[int64]*Guild
func (*FetchGuildResponse) ProtoMessage ¶
func (*FetchGuildResponse) ProtoMessage()
func (*FetchGuildResponse) ProtoReflect ¶
func (x *FetchGuildResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildResponse) Reset ¶
func (x *FetchGuildResponse) Reset()
func (*FetchGuildResponse) String ¶
func (x *FetchGuildResponse) String() string
type FetchGuildRoleRequest ¶
type FetchGuildRoleRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
RoleIds []int64 `protobuf:"varint,2,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildRoleRequest) Descriptor
deprecated
func (*FetchGuildRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildRoleRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildRoleRequest) GetGuildId ¶
func (x *FetchGuildRoleRequest) GetGuildId() int64
func (*FetchGuildRoleRequest) GetRoleIds ¶
func (x *FetchGuildRoleRequest) GetRoleIds() []int64
func (*FetchGuildRoleRequest) ProtoMessage ¶
func (*FetchGuildRoleRequest) ProtoMessage()
func (*FetchGuildRoleRequest) ProtoReflect ¶
func (x *FetchGuildRoleRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildRoleRequest) Reset ¶
func (x *FetchGuildRoleRequest) Reset()
func (*FetchGuildRoleRequest) String ¶
func (x *FetchGuildRoleRequest) String() string
type FetchGuildRoleResponse ¶
type FetchGuildRoleResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Roles map[int64]*Role `` /* 152-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildRoleResponse) Descriptor
deprecated
func (*FetchGuildRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildRoleResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildRoleResponse) GetBaseResponse ¶
func (x *FetchGuildRoleResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildRoleResponse) GetRoles ¶
func (x *FetchGuildRoleResponse) GetRoles() map[int64]*Role
func (*FetchGuildRoleResponse) ProtoMessage ¶
func (*FetchGuildRoleResponse) ProtoMessage()
func (*FetchGuildRoleResponse) ProtoReflect ¶
func (x *FetchGuildRoleResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildRoleResponse) Reset ¶
func (x *FetchGuildRoleResponse) Reset()
func (*FetchGuildRoleResponse) String ¶
func (x *FetchGuildRoleResponse) String() string
type FetchGuildStickerRequest ¶
type FetchGuildStickerRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
StickerIds []int64 `protobuf:"varint,2,rep,packed,name=sticker_ids,json=stickerIds,proto3" json:"sticker_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildStickerRequest) Descriptor
deprecated
func (*FetchGuildStickerRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildStickerRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildStickerRequest) GetGuildId ¶
func (x *FetchGuildStickerRequest) GetGuildId() int64
func (*FetchGuildStickerRequest) GetStickerIds ¶
func (x *FetchGuildStickerRequest) GetStickerIds() []int64
func (*FetchGuildStickerRequest) ProtoMessage ¶
func (*FetchGuildStickerRequest) ProtoMessage()
func (*FetchGuildStickerRequest) ProtoReflect ¶
func (x *FetchGuildStickerRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildStickerRequest) Reset ¶
func (x *FetchGuildStickerRequest) Reset()
func (*FetchGuildStickerRequest) String ¶
func (x *FetchGuildStickerRequest) String() string
type FetchGuildStickerResponse ¶
type FetchGuildStickerResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Stickers map[int64]*Sticker `` /* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildStickerResponse) Descriptor
deprecated
func (*FetchGuildStickerResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildStickerResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildStickerResponse) GetBaseResponse ¶
func (x *FetchGuildStickerResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildStickerResponse) GetStickers ¶
func (x *FetchGuildStickerResponse) GetStickers() map[int64]*Sticker
func (*FetchGuildStickerResponse) ProtoMessage ¶
func (*FetchGuildStickerResponse) ProtoMessage()
func (*FetchGuildStickerResponse) ProtoReflect ¶
func (x *FetchGuildStickerResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildStickerResponse) Reset ¶
func (x *FetchGuildStickerResponse) Reset()
func (*FetchGuildStickerResponse) String ¶
func (x *FetchGuildStickerResponse) String() string
type FetchGuildVoiceStateRequest ¶
type FetchGuildVoiceStateRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchGuildVoiceStateRequest) Descriptor
deprecated
func (*FetchGuildVoiceStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildVoiceStateRequest.ProtoReflect.Descriptor instead.
func (*FetchGuildVoiceStateRequest) GetGuildId ¶
func (x *FetchGuildVoiceStateRequest) GetGuildId() int64
func (*FetchGuildVoiceStateRequest) GetUserIds ¶
func (x *FetchGuildVoiceStateRequest) GetUserIds() []int64
func (*FetchGuildVoiceStateRequest) ProtoMessage ¶
func (*FetchGuildVoiceStateRequest) ProtoMessage()
func (*FetchGuildVoiceStateRequest) ProtoReflect ¶
func (x *FetchGuildVoiceStateRequest) ProtoReflect() protoreflect.Message
func (*FetchGuildVoiceStateRequest) Reset ¶
func (x *FetchGuildVoiceStateRequest) Reset()
func (*FetchGuildVoiceStateRequest) String ¶
func (x *FetchGuildVoiceStateRequest) String() string
type FetchGuildVoiceStateResponse ¶
type FetchGuildVoiceStateResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
VoiceStates map[int64]*VoiceState `` /* 183-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchGuildVoiceStateResponse) Descriptor
deprecated
func (*FetchGuildVoiceStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchGuildVoiceStateResponse.ProtoReflect.Descriptor instead.
func (*FetchGuildVoiceStateResponse) GetBaseResponse ¶
func (x *FetchGuildVoiceStateResponse) GetBaseResponse() *BaseResponse
func (*FetchGuildVoiceStateResponse) GetVoiceStates ¶
func (x *FetchGuildVoiceStateResponse) GetVoiceStates() map[int64]*VoiceState
func (*FetchGuildVoiceStateResponse) ProtoMessage ¶
func (*FetchGuildVoiceStateResponse) ProtoMessage()
func (*FetchGuildVoiceStateResponse) ProtoReflect ¶
func (x *FetchGuildVoiceStateResponse) ProtoReflect() protoreflect.Message
func (*FetchGuildVoiceStateResponse) Reset ¶
func (x *FetchGuildVoiceStateResponse) Reset()
func (*FetchGuildVoiceStateResponse) String ¶
func (x *FetchGuildVoiceStateResponse) String() string
type FetchUserMutualGuildsRequest ¶
type FetchUserMutualGuildsRequest struct {
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*FetchUserMutualGuildsRequest) Descriptor
deprecated
func (*FetchUserMutualGuildsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchUserMutualGuildsRequest.ProtoReflect.Descriptor instead.
func (*FetchUserMutualGuildsRequest) GetUserId ¶
func (x *FetchUserMutualGuildsRequest) GetUserId() int64
func (*FetchUserMutualGuildsRequest) ProtoMessage ¶
func (*FetchUserMutualGuildsRequest) ProtoMessage()
func (*FetchUserMutualGuildsRequest) ProtoReflect ¶
func (x *FetchUserMutualGuildsRequest) ProtoReflect() protoreflect.Message
func (*FetchUserMutualGuildsRequest) Reset ¶
func (x *FetchUserMutualGuildsRequest) Reset()
func (*FetchUserMutualGuildsRequest) String ¶
func (x *FetchUserMutualGuildsRequest) String() string
type FetchUserMutualGuildsResponse ¶
type FetchUserMutualGuildsResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Guilds map[int64]*Guild `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchUserMutualGuildsResponse) Descriptor
deprecated
func (*FetchUserMutualGuildsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchUserMutualGuildsResponse.ProtoReflect.Descriptor instead.
func (*FetchUserMutualGuildsResponse) GetBaseResponse ¶
func (x *FetchUserMutualGuildsResponse) GetBaseResponse() *BaseResponse
func (*FetchUserMutualGuildsResponse) GetGuilds ¶
func (x *FetchUserMutualGuildsResponse) GetGuilds() map[int64]*Guild
func (*FetchUserMutualGuildsResponse) ProtoMessage ¶
func (*FetchUserMutualGuildsResponse) ProtoMessage()
func (*FetchUserMutualGuildsResponse) ProtoReflect ¶
func (x *FetchUserMutualGuildsResponse) ProtoReflect() protoreflect.Message
func (*FetchUserMutualGuildsResponse) Reset ¶
func (x *FetchUserMutualGuildsResponse) Reset()
func (*FetchUserMutualGuildsResponse) String ¶
func (x *FetchUserMutualGuildsResponse) String() string
type FetchUserRequest ¶
type FetchUserRequest struct {
UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchUserRequest) Descriptor
deprecated
func (*FetchUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchUserRequest.ProtoReflect.Descriptor instead.
func (*FetchUserRequest) GetUserIds ¶
func (x *FetchUserRequest) GetUserIds() []int64
func (*FetchUserRequest) ProtoMessage ¶
func (*FetchUserRequest) ProtoMessage()
func (*FetchUserRequest) ProtoReflect ¶
func (x *FetchUserRequest) ProtoReflect() protoreflect.Message
func (*FetchUserRequest) Reset ¶
func (x *FetchUserRequest) Reset()
func (*FetchUserRequest) String ¶
func (x *FetchUserRequest) String() string
type FetchUserResponse ¶
type FetchUserResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Users map[int64]*User `` /* 152-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchUserResponse) Descriptor
deprecated
func (*FetchUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchUserResponse.ProtoReflect.Descriptor instead.
func (*FetchUserResponse) GetBaseResponse ¶
func (x *FetchUserResponse) GetBaseResponse() *BaseResponse
func (*FetchUserResponse) GetUsers ¶
func (x *FetchUserResponse) GetUsers() map[int64]*User
func (*FetchUserResponse) ProtoMessage ¶
func (*FetchUserResponse) ProtoMessage()
func (*FetchUserResponse) ProtoReflect ¶
func (x *FetchUserResponse) ProtoReflect() protoreflect.Message
func (*FetchUserResponse) Reset ¶
func (x *FetchUserResponse) Reset()
func (*FetchUserResponse) String ¶
func (x *FetchUserResponse) String() string
type FetchVoiceStatesRequest ¶
type FetchVoiceStatesRequest struct {
GuildIds []int64 `protobuf:"varint,1,rep,packed,name=guild_ids,json=guildIds,proto3" json:"guild_ids,omitempty"`
// contains filtered or unexported fields
}
func (*FetchVoiceStatesRequest) Descriptor
deprecated
func (*FetchVoiceStatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchVoiceStatesRequest.ProtoReflect.Descriptor instead.
func (*FetchVoiceStatesRequest) GetGuildIds ¶
func (x *FetchVoiceStatesRequest) GetGuildIds() []int64
func (*FetchVoiceStatesRequest) ProtoMessage ¶
func (*FetchVoiceStatesRequest) ProtoMessage()
func (*FetchVoiceStatesRequest) ProtoReflect ¶
func (x *FetchVoiceStatesRequest) ProtoReflect() protoreflect.Message
func (*FetchVoiceStatesRequest) Reset ¶
func (x *FetchVoiceStatesRequest) Reset()
func (*FetchVoiceStatesRequest) String ¶
func (x *FetchVoiceStatesRequest) String() string
type FetchVoiceStatesResponse ¶
type FetchVoiceStatesResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
VoiceStates map[int64]*VoiceState `` /* 183-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FetchVoiceStatesResponse) Descriptor
deprecated
func (*FetchVoiceStatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchVoiceStatesResponse.ProtoReflect.Descriptor instead.
func (*FetchVoiceStatesResponse) GetBaseResponse ¶
func (x *FetchVoiceStatesResponse) GetBaseResponse() *BaseResponse
func (*FetchVoiceStatesResponse) GetVoiceStates ¶
func (x *FetchVoiceStatesResponse) GetVoiceStates() map[int64]*VoiceState
func (*FetchVoiceStatesResponse) ProtoMessage ¶
func (*FetchVoiceStatesResponse) ProtoMessage()
func (*FetchVoiceStatesResponse) ProtoReflect ¶
func (x *FetchVoiceStatesResponse) ProtoReflect() protoreflect.Message
func (*FetchVoiceStatesResponse) Reset ¶
func (x *FetchVoiceStatesResponse) Reset()
func (*FetchVoiceStatesResponse) String ¶
func (x *FetchVoiceStatesResponse) String() string
type ForumTag ¶
type ForumTag struct {
EmojiID int64 `protobuf:"varint,1,opt,name=EmojiID,proto3" json:"EmojiID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
EmojiName string `protobuf:"bytes,3,opt,name=EmojiName,proto3" json:"EmojiName,omitempty"`
ID int64 `protobuf:"varint,4,opt,name=ID,proto3" json:"ID,omitempty"`
Moderated bool `protobuf:"varint,5,opt,name=Moderated,proto3" json:"Moderated,omitempty"`
// contains filtered or unexported fields
}
func (*ForumTag) Descriptor
deprecated
func (*ForumTag) GetEmojiID ¶
func (*ForumTag) GetEmojiName ¶
func (*ForumTag) GetModerated ¶
func (*ForumTag) ProtoMessage ¶
func (*ForumTag) ProtoMessage()
func (*ForumTag) ProtoReflect ¶
func (x *ForumTag) ProtoReflect() protoreflect.Message
type Gateway ¶
type Gateway struct {
URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
// contains filtered or unexported fields
}
func (*Gateway) Descriptor
deprecated
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
type GatewayBot ¶
type GatewayBot struct {
URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
Shards int32 `protobuf:"varint,2,opt,name=Shards,proto3" json:"Shards,omitempty"`
Total int32 `protobuf:"varint,3,opt,name=Total,proto3" json:"Total,omitempty"`
Remaining int32 `protobuf:"varint,4,opt,name=Remaining,proto3" json:"Remaining,omitempty"`
ResetAfter int32 `protobuf:"varint,5,opt,name=ResetAfter,proto3" json:"ResetAfter,omitempty"`
MaxConcurrency int32 `protobuf:"varint,6,opt,name=MaxConcurrency,proto3" json:"MaxConcurrency,omitempty"`
// contains filtered or unexported fields
}
func (*GatewayBot) Descriptor
deprecated
func (*GatewayBot) Descriptor() ([]byte, []int)
Deprecated: Use GatewayBot.ProtoReflect.Descriptor instead.
func (*GatewayBot) GetMaxConcurrency ¶
func (x *GatewayBot) GetMaxConcurrency() int32
func (*GatewayBot) GetRemaining ¶
func (x *GatewayBot) GetRemaining() int32
func (*GatewayBot) GetResetAfter ¶
func (x *GatewayBot) GetResetAfter() int32
func (*GatewayBot) GetShards ¶
func (x *GatewayBot) GetShards() int32
func (*GatewayBot) GetTotal ¶
func (x *GatewayBot) GetTotal() int32
func (*GatewayBot) GetURL ¶
func (x *GatewayBot) GetURL() string
func (*GatewayBot) ProtoMessage ¶
func (*GatewayBot) ProtoMessage()
func (*GatewayBot) ProtoReflect ¶
func (x *GatewayBot) ProtoReflect() protoreflect.Message
func (*GatewayBot) Reset ¶
func (x *GatewayBot) Reset()
func (*GatewayBot) String ¶
func (x *GatewayBot) String() string
type Guild ¶
type Guild struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=Icon,proto3" json:"Icon,omitempty"`
IconHash string `protobuf:"bytes,4,opt,name=IconHash,proto3" json:"IconHash,omitempty"`
Splash string `protobuf:"bytes,5,opt,name=Splash,proto3" json:"Splash,omitempty"`
DiscoverySplash string `protobuf:"bytes,6,opt,name=DiscoverySplash,proto3" json:"DiscoverySplash,omitempty"`
Owner bool `protobuf:"varint,7,opt,name=Owner,proto3" json:"Owner,omitempty"`
OwnerID int64 `protobuf:"varint,8,opt,name=OwnerID,proto3" json:"OwnerID,omitempty"`
Permissions int64 `protobuf:"varint,9,opt,name=Permissions,proto3" json:"Permissions,omitempty"`
Region string `protobuf:"bytes,10,opt,name=Region,proto3" json:"Region,omitempty"`
AFKChannelID int64 `protobuf:"varint,11,opt,name=AFKChannelID,proto3" json:"AFKChannelID,omitempty"`
AFKTimeout int32 `protobuf:"varint,12,opt,name=AFKTimeout,proto3" json:"AFKTimeout,omitempty"`
WidgetEnabled bool `protobuf:"varint,13,opt,name=WidgetEnabled,proto3" json:"WidgetEnabled,omitempty"`
WidgetChannelID int64 `protobuf:"varint,14,opt,name=WidgetChannelID,proto3" json:"WidgetChannelID,omitempty"`
VerificationLevel uint32 `protobuf:"varint,15,opt,name=VerificationLevel,proto3" json:"VerificationLevel,omitempty"`
DefaultMessageNotifications int32 `protobuf:"varint,16,opt,name=DefaultMessageNotifications,proto3" json:"DefaultMessageNotifications,omitempty"`
ExplicitContentFilter int32 `protobuf:"varint,17,opt,name=ExplicitContentFilter,proto3" json:"ExplicitContentFilter,omitempty"`
Roles []*Role `protobuf:"bytes,18,rep,name=Roles,proto3" json:"Roles,omitempty"`
Emojis []*Emoji `protobuf:"bytes,19,rep,name=Emojis,proto3" json:"Emojis,omitempty"`
Features []string `protobuf:"bytes,20,rep,name=Features,proto3" json:"Features,omitempty"`
MFALevel uint32 `protobuf:"varint,21,opt,name=MFALevel,proto3" json:"MFALevel,omitempty"`
ApplicationID int64 `protobuf:"varint,22,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
SystemChannelID int64 `protobuf:"varint,23,opt,name=SystemChannelID,proto3" json:"SystemChannelID,omitempty"`
SystemChannelFlags uint32 `protobuf:"varint,24,opt,name=SystemChannelFlags,proto3" json:"SystemChannelFlags,omitempty"`
RulesChannelID int64 `protobuf:"varint,25,opt,name=RulesChannelID,proto3" json:"RulesChannelID,omitempty"`
JoinedAt string `protobuf:"bytes,26,opt,name=JoinedAt,proto3" json:"JoinedAt,omitempty"`
Large bool `protobuf:"varint,27,opt,name=Large,proto3" json:"Large,omitempty"`
MemberCount int32 `protobuf:"varint,29,opt,name=MemberCount,proto3" json:"MemberCount,omitempty"`
VoiceStates []*VoiceState `protobuf:"bytes,30,rep,name=VoiceStates,proto3" json:"VoiceStates,omitempty"`
Members []*GuildMember `protobuf:"bytes,31,rep,name=Members,proto3" json:"Members,omitempty"`
Channels []*Channel `protobuf:"bytes,32,rep,name=Channels,proto3" json:"Channels,omitempty"`
Presences []*Activity `protobuf:"bytes,33,rep,name=Presences,proto3" json:"Presences,omitempty"`
MaxPresences int32 `protobuf:"varint,34,opt,name=MaxPresences,proto3" json:"MaxPresences,omitempty"`
MaxMembers int32 `protobuf:"varint,35,opt,name=MaxMembers,proto3" json:"MaxMembers,omitempty"`
VanityURLCode string `protobuf:"bytes,36,opt,name=VanityURLCode,proto3" json:"VanityURLCode,omitempty"`
Description string `protobuf:"bytes,37,opt,name=Description,proto3" json:"Description,omitempty"`
Banner string `protobuf:"bytes,38,opt,name=Banner,proto3" json:"Banner,omitempty"`
PremiumTier uint32 `protobuf:"varint,39,opt,name=PremiumTier,proto3" json:"PremiumTier,omitempty"`
PremiumSubscriptionCount int32 `protobuf:"varint,40,opt,name=PremiumSubscriptionCount,proto3" json:"PremiumSubscriptionCount,omitempty"`
PreferredLocale string `protobuf:"bytes,41,opt,name=PreferredLocale,proto3" json:"PreferredLocale,omitempty"`
PublicUpdatesChannelID int64 `protobuf:"varint,42,opt,name=PublicUpdatesChannelID,proto3" json:"PublicUpdatesChannelID,omitempty"`
MaxVideoChannelUsers int32 `protobuf:"varint,43,opt,name=MaxVideoChannelUsers,proto3" json:"MaxVideoChannelUsers,omitempty"`
ApproximateMemberCount int32 `protobuf:"varint,44,opt,name=ApproximateMemberCount,proto3" json:"ApproximateMemberCount,omitempty"`
ApproximatePresenceCount int32 `protobuf:"varint,45,opt,name=ApproximatePresenceCount,proto3" json:"ApproximatePresenceCount,omitempty"`
NSFWLevel uint32 `protobuf:"varint,46,opt,name=NSFWLevel,proto3" json:"NSFWLevel,omitempty"`
StageInstances []*StageInstance `protobuf:"bytes,47,rep,name=StageInstances,proto3" json:"StageInstances,omitempty"`
Stickers []*Sticker `protobuf:"bytes,48,rep,name=Stickers,proto3" json:"Stickers,omitempty"`
GuildScheduledEvents []*ScheduledEvent `protobuf:"bytes,49,rep,name=GuildScheduledEvents,proto3" json:"GuildScheduledEvents,omitempty"`
PremiumProgressBarEnabled bool `protobuf:"varint,50,opt,name=PremiumProgressBarEnabled,proto3" json:"PremiumProgressBarEnabled,omitempty"`
SafetyAlertsChannelID int64 `protobuf:"varint,51,opt,name=SafetyAlertsChannelID,proto3" json:"SafetyAlertsChannelID,omitempty"`
HomeHeader string `protobuf:"bytes,52,opt,name=HomeHeader,proto3" json:"HomeHeader,omitempty"`
MaxStageVideoChannelUsers int32 `protobuf:"varint,53,opt,name=MaxStageVideoChannelUsers,proto3" json:"MaxStageVideoChannelUsers,omitempty"`
PremiumProgressBarEnabledUserUpdatedAt string `` /* 130-byte string literal not displayed */
NSFW bool `protobuf:"varint,55,opt,name=NSFW,proto3" json:"NSFW,omitempty"`
// contains filtered or unexported fields
}
func (*Guild) Descriptor
deprecated
func (*Guild) GetAFKChannelID ¶
func (*Guild) GetAFKTimeout ¶
func (*Guild) GetApplicationID ¶
func (*Guild) GetApproximateMemberCount ¶
func (*Guild) GetApproximatePresenceCount ¶
func (*Guild) GetChannels ¶
func (*Guild) GetDefaultMessageNotifications ¶
func (*Guild) GetDescription ¶
func (*Guild) GetDiscoverySplash ¶
func (*Guild) GetExplicitContentFilter ¶
func (*Guild) GetFeatures ¶
func (*Guild) GetGuildScheduledEvents ¶
func (x *Guild) GetGuildScheduledEvents() []*ScheduledEvent
func (*Guild) GetHomeHeader ¶
func (*Guild) GetIconHash ¶
func (*Guild) GetJoinedAt ¶
func (*Guild) GetMFALevel ¶
func (*Guild) GetMaxMembers ¶
func (*Guild) GetMaxPresences ¶
func (*Guild) GetMaxStageVideoChannelUsers ¶
func (*Guild) GetMaxVideoChannelUsers ¶
func (*Guild) GetMemberCount ¶
func (*Guild) GetMembers ¶
func (x *Guild) GetMembers() []*GuildMember
func (*Guild) GetNSFWLevel ¶
func (*Guild) GetOwnerID ¶
func (*Guild) GetPermissions ¶
func (*Guild) GetPreferredLocale ¶
func (*Guild) GetPremiumProgressBarEnabled ¶
func (*Guild) GetPremiumProgressBarEnabledUserUpdatedAt ¶
func (*Guild) GetPremiumSubscriptionCount ¶
func (*Guild) GetPremiumTier ¶
func (*Guild) GetPresences ¶
func (*Guild) GetPublicUpdatesChannelID ¶
func (*Guild) GetRulesChannelID ¶
func (*Guild) GetSafetyAlertsChannelID ¶
func (*Guild) GetStageInstances ¶
func (x *Guild) GetStageInstances() []*StageInstance
func (*Guild) GetStickers ¶
func (*Guild) GetSystemChannelFlags ¶
func (*Guild) GetSystemChannelID ¶
func (*Guild) GetUnavailable ¶
func (*Guild) GetVanityURLCode ¶
func (*Guild) GetVerificationLevel ¶
func (*Guild) GetVoiceStates ¶
func (x *Guild) GetVoiceStates() []*VoiceState
func (*Guild) GetWidgetChannelID ¶
func (*Guild) GetWidgetEnabled ¶
func (*Guild) ProtoMessage ¶
func (*Guild) ProtoMessage()
func (*Guild) ProtoReflect ¶
func (x *Guild) ProtoReflect() protoreflect.Message
type GuildApplicationCommandPermissions ¶
type GuildApplicationCommandPermissions struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
ApplicationID int64 `protobuf:"varint,2,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Permissions []*ApplicationCommandPermissions `protobuf:"bytes,4,rep,name=Permissions,proto3" json:"Permissions,omitempty"`
// contains filtered or unexported fields
}
func (*GuildApplicationCommandPermissions) Descriptor
deprecated
func (*GuildApplicationCommandPermissions) Descriptor() ([]byte, []int)
Deprecated: Use GuildApplicationCommandPermissions.ProtoReflect.Descriptor instead.
func (*GuildApplicationCommandPermissions) GetApplicationID ¶
func (x *GuildApplicationCommandPermissions) GetApplicationID() int64
func (*GuildApplicationCommandPermissions) GetGuildID ¶
func (x *GuildApplicationCommandPermissions) GetGuildID() int64
func (*GuildApplicationCommandPermissions) GetID ¶
func (x *GuildApplicationCommandPermissions) GetID() int64
func (*GuildApplicationCommandPermissions) GetPermissions ¶
func (x *GuildApplicationCommandPermissions) GetPermissions() []*ApplicationCommandPermissions
func (*GuildApplicationCommandPermissions) ProtoMessage ¶
func (*GuildApplicationCommandPermissions) ProtoMessage()
func (*GuildApplicationCommandPermissions) ProtoReflect ¶
func (x *GuildApplicationCommandPermissions) ProtoReflect() protoreflect.Message
func (*GuildApplicationCommandPermissions) Reset ¶
func (x *GuildApplicationCommandPermissions) Reset()
func (*GuildApplicationCommandPermissions) String ¶
func (x *GuildApplicationCommandPermissions) String() string
type GuildMember ¶
type GuildMember struct {
User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Nick string `protobuf:"bytes,3,opt,name=Nick,proto3" json:"Nick,omitempty"`
Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
Roles []int64 `protobuf:"varint,5,rep,packed,name=Roles,proto3" json:"Roles,omitempty"`
JoinedAt string `protobuf:"bytes,6,opt,name=JoinedAt,proto3" json:"JoinedAt,omitempty"`
PremiumSince string `protobuf:"bytes,7,opt,name=PremiumSince,proto3" json:"PremiumSince,omitempty"`
Deaf bool `protobuf:"varint,8,opt,name=Deaf,proto3" json:"Deaf,omitempty"`
Mute bool `protobuf:"varint,9,opt,name=Mute,proto3" json:"Mute,omitempty"`
Pending bool `protobuf:"varint,10,opt,name=Pending,proto3" json:"Pending,omitempty"`
Permissions int64 `protobuf:"varint,11,opt,name=Permissions,proto3" json:"Permissions,omitempty"`
CommunicationDisabledUntil string `protobuf:"bytes,12,opt,name=CommunicationDisabledUntil,proto3" json:"CommunicationDisabledUntil,omitempty"`
Banner string `protobuf:"bytes,13,opt,name=Banner,proto3" json:"Banner,omitempty"`
Flags int32 `protobuf:"varint,14,opt,name=Flags,proto3" json:"Flags,omitempty"`
// contains filtered or unexported fields
}
func GuildMemberToPB ¶
func GuildMemberToPB(guildMember *discord.GuildMember) *GuildMember
func GuildMembersToPB ¶
func GuildMembersToPB(members []discord.GuildMember) []*GuildMember
func (*GuildMember) Descriptor
deprecated
func (*GuildMember) Descriptor() ([]byte, []int)
Deprecated: Use GuildMember.ProtoReflect.Descriptor instead.
func (*GuildMember) GetAvatar ¶
func (x *GuildMember) GetAvatar() string
func (*GuildMember) GetBanner ¶
func (x *GuildMember) GetBanner() string
func (*GuildMember) GetCommunicationDisabledUntil ¶
func (x *GuildMember) GetCommunicationDisabledUntil() string
func (*GuildMember) GetDeaf ¶
func (x *GuildMember) GetDeaf() bool
func (*GuildMember) GetFlags ¶
func (x *GuildMember) GetFlags() int32
func (*GuildMember) GetGuildID ¶
func (x *GuildMember) GetGuildID() int64
func (*GuildMember) GetJoinedAt ¶
func (x *GuildMember) GetJoinedAt() string
func (*GuildMember) GetMute ¶
func (x *GuildMember) GetMute() bool
func (*GuildMember) GetNick ¶
func (x *GuildMember) GetNick() string
func (*GuildMember) GetPending ¶
func (x *GuildMember) GetPending() bool
func (*GuildMember) GetPermissions ¶
func (x *GuildMember) GetPermissions() int64
func (*GuildMember) GetPremiumSince ¶
func (x *GuildMember) GetPremiumSince() string
func (*GuildMember) GetRoles ¶
func (x *GuildMember) GetRoles() []int64
func (*GuildMember) GetUser ¶
func (x *GuildMember) GetUser() *User
func (*GuildMember) ProtoMessage ¶
func (*GuildMember) ProtoMessage()
func (*GuildMember) ProtoReflect ¶
func (x *GuildMember) ProtoReflect() protoreflect.Message
func (*GuildMember) Reset ¶
func (x *GuildMember) Reset()
func (*GuildMember) String ¶
func (x *GuildMember) String() string
type Integration ¶
type Integration struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"`
Enabled bool `protobuf:"varint,5,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
Syncing bool `protobuf:"varint,6,opt,name=Syncing,proto3" json:"Syncing,omitempty"`
RoleID int64 `protobuf:"varint,7,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
EnableEmoticons bool `protobuf:"varint,8,opt,name=EnableEmoticons,proto3" json:"EnableEmoticons,omitempty"`
ExpireBehavior uint32 `protobuf:"varint,9,opt,name=ExpireBehavior,proto3" json:"ExpireBehavior,omitempty"`
ExpireGracePeriod int32 `protobuf:"varint,10,opt,name=ExpireGracePeriod,proto3" json:"ExpireGracePeriod,omitempty"`
User *User `protobuf:"bytes,11,opt,name=User,proto3" json:"User,omitempty"`
Account *IntegrationAccount `protobuf:"bytes,12,opt,name=Account,proto3" json:"Account,omitempty"`
SyncedAt string `protobuf:"bytes,13,opt,name=SyncedAt,proto3" json:"SyncedAt,omitempty"`
SubscriberCount int32 `protobuf:"varint,14,opt,name=SubscriberCount,proto3" json:"SubscriberCount,omitempty"`
Revoked bool `protobuf:"varint,15,opt,name=Revoked,proto3" json:"Revoked,omitempty"`
Application *Application `protobuf:"bytes,16,opt,name=Application,proto3" json:"Application,omitempty"`
// contains filtered or unexported fields
}
func (*Integration) Descriptor
deprecated
func (*Integration) Descriptor() ([]byte, []int)
Deprecated: Use Integration.ProtoReflect.Descriptor instead.
func (*Integration) GetAccount ¶
func (x *Integration) GetAccount() *IntegrationAccount
func (*Integration) GetApplication ¶
func (x *Integration) GetApplication() *Application
func (*Integration) GetEnableEmoticons ¶
func (x *Integration) GetEnableEmoticons() bool
func (*Integration) GetEnabled ¶
func (x *Integration) GetEnabled() bool
func (*Integration) GetExpireBehavior ¶
func (x *Integration) GetExpireBehavior() uint32
func (*Integration) GetExpireGracePeriod ¶
func (x *Integration) GetExpireGracePeriod() int32
func (*Integration) GetGuildID ¶
func (x *Integration) GetGuildID() int64
func (*Integration) GetID ¶
func (x *Integration) GetID() int64
func (*Integration) GetName ¶
func (x *Integration) GetName() string
func (*Integration) GetRevoked ¶
func (x *Integration) GetRevoked() bool
func (*Integration) GetRoleID ¶
func (x *Integration) GetRoleID() int64
func (*Integration) GetSubscriberCount ¶
func (x *Integration) GetSubscriberCount() int32
func (*Integration) GetSyncedAt ¶
func (x *Integration) GetSyncedAt() string
func (*Integration) GetSyncing ¶
func (x *Integration) GetSyncing() bool
func (*Integration) GetType ¶
func (x *Integration) GetType() string
func (*Integration) GetUser ¶
func (x *Integration) GetUser() *User
func (*Integration) ProtoMessage ¶
func (*Integration) ProtoMessage()
func (*Integration) ProtoReflect ¶
func (x *Integration) ProtoReflect() protoreflect.Message
func (*Integration) Reset ¶
func (x *Integration) Reset()
func (*Integration) String ¶
func (x *Integration) String() string
type IntegrationAccount ¶
type IntegrationAccount struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
// contains filtered or unexported fields
}
func (*IntegrationAccount) Descriptor
deprecated
func (*IntegrationAccount) Descriptor() ([]byte, []int)
Deprecated: Use IntegrationAccount.ProtoReflect.Descriptor instead.
func (*IntegrationAccount) GetID ¶
func (x *IntegrationAccount) GetID() string
func (*IntegrationAccount) GetName ¶
func (x *IntegrationAccount) GetName() string
func (*IntegrationAccount) ProtoMessage ¶
func (*IntegrationAccount) ProtoMessage()
func (*IntegrationAccount) ProtoReflect ¶
func (x *IntegrationAccount) ProtoReflect() protoreflect.Message
func (*IntegrationAccount) Reset ¶
func (x *IntegrationAccount) Reset()
func (*IntegrationAccount) String ¶
func (x *IntegrationAccount) String() string
type Interaction ¶
type Interaction struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
ApplicationID int64 `protobuf:"varint,2,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
Data *InteractionData `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
GuildID int64 `protobuf:"varint,5,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
ChannelID int64 `protobuf:"varint,6,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
Member *GuildMember `protobuf:"bytes,7,opt,name=Member,proto3" json:"Member,omitempty"`
User *User `protobuf:"bytes,8,opt,name=User,proto3" json:"User,omitempty"`
Token string `protobuf:"bytes,9,opt,name=Token,proto3" json:"Token,omitempty"`
Version int32 `protobuf:"varint,10,opt,name=Version,proto3" json:"Version,omitempty"`
Message *Message `protobuf:"bytes,11,opt,name=Message,proto3" json:"Message,omitempty"`
Locale string `protobuf:"bytes,12,opt,name=Locale,proto3" json:"Locale,omitempty"`
GuildLocale string `protobuf:"bytes,13,opt,name=GuildLocale,proto3" json:"GuildLocale,omitempty"`
// contains filtered or unexported fields
}
func (*Interaction) Descriptor
deprecated
func (*Interaction) Descriptor() ([]byte, []int)
Deprecated: Use Interaction.ProtoReflect.Descriptor instead.
func (*Interaction) GetApplicationID ¶
func (x *Interaction) GetApplicationID() int64
func (*Interaction) GetChannelID ¶
func (x *Interaction) GetChannelID() int64
func (*Interaction) GetData ¶
func (x *Interaction) GetData() *InteractionData
func (*Interaction) GetGuildID ¶
func (x *Interaction) GetGuildID() int64
func (*Interaction) GetGuildLocale ¶
func (x *Interaction) GetGuildLocale() string
func (*Interaction) GetID ¶
func (x *Interaction) GetID() int64
func (*Interaction) GetLocale ¶
func (x *Interaction) GetLocale() string
func (*Interaction) GetMember ¶
func (x *Interaction) GetMember() *GuildMember
func (*Interaction) GetMessage ¶
func (x *Interaction) GetMessage() *Message
func (*Interaction) GetToken ¶
func (x *Interaction) GetToken() string
func (*Interaction) GetType ¶
func (x *Interaction) GetType() uint32
func (*Interaction) GetUser ¶
func (x *Interaction) GetUser() *User
func (*Interaction) GetVersion ¶
func (x *Interaction) GetVersion() int32
func (*Interaction) ProtoMessage ¶
func (*Interaction) ProtoMessage()
func (*Interaction) ProtoReflect ¶
func (x *Interaction) ProtoReflect() protoreflect.Message
func (*Interaction) Reset ¶
func (x *Interaction) Reset()
func (*Interaction) String ¶
func (x *Interaction) String() string
type InteractionComponent ¶
type InteractionComponent struct {
Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
CustomID string `protobuf:"bytes,2,opt,name=CustomID,proto3" json:"CustomID,omitempty"`
Disabled bool `protobuf:"varint,3,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
Style uint32 `protobuf:"varint,4,opt,name=Style,proto3" json:"Style,omitempty"`
Label string `protobuf:"bytes,5,opt,name=Label,proto3" json:"Label,omitempty"`
Emoji *Emoji `protobuf:"bytes,6,opt,name=Emoji,proto3" json:"Emoji,omitempty"`
URL string `protobuf:"bytes,7,opt,name=URL,proto3" json:"URL,omitempty"`
Options []*ApplicationSelectOption `protobuf:"bytes,8,rep,name=Options,proto3" json:"Options,omitempty"`
Placeholder string `protobuf:"bytes,9,opt,name=Placeholder,proto3" json:"Placeholder,omitempty"`
MinValues int32 `protobuf:"varint,10,opt,name=MinValues,proto3" json:"MinValues,omitempty"`
MaxValues int32 `protobuf:"varint,11,opt,name=MaxValues,proto3" json:"MaxValues,omitempty"`
Components []*InteractionComponent `protobuf:"bytes,12,rep,name=Components,proto3" json:"Components,omitempty"`
// contains filtered or unexported fields
}
func (*InteractionComponent) Descriptor
deprecated
func (*InteractionComponent) Descriptor() ([]byte, []int)
Deprecated: Use InteractionComponent.ProtoReflect.Descriptor instead.
func (*InteractionComponent) GetComponents ¶
func (x *InteractionComponent) GetComponents() []*InteractionComponent
func (*InteractionComponent) GetCustomID ¶
func (x *InteractionComponent) GetCustomID() string
func (*InteractionComponent) GetDisabled ¶
func (x *InteractionComponent) GetDisabled() bool
func (*InteractionComponent) GetEmoji ¶
func (x *InteractionComponent) GetEmoji() *Emoji
func (*InteractionComponent) GetLabel ¶
func (x *InteractionComponent) GetLabel() string
func (*InteractionComponent) GetMaxValues ¶
func (x *InteractionComponent) GetMaxValues() int32
func (*InteractionComponent) GetMinValues ¶
func (x *InteractionComponent) GetMinValues() int32
func (*InteractionComponent) GetOptions ¶
func (x *InteractionComponent) GetOptions() []*ApplicationSelectOption
func (*InteractionComponent) GetPlaceholder ¶
func (x *InteractionComponent) GetPlaceholder() string
func (*InteractionComponent) GetStyle ¶
func (x *InteractionComponent) GetStyle() uint32
func (*InteractionComponent) GetType ¶
func (x *InteractionComponent) GetType() uint32
func (*InteractionComponent) GetURL ¶
func (x *InteractionComponent) GetURL() string
func (*InteractionComponent) ProtoMessage ¶
func (*InteractionComponent) ProtoMessage()
func (*InteractionComponent) ProtoReflect ¶
func (x *InteractionComponent) ProtoReflect() protoreflect.Message
func (*InteractionComponent) Reset ¶
func (x *InteractionComponent) Reset()
func (*InteractionComponent) String ¶
func (x *InteractionComponent) String() string
type InteractionData ¶
type InteractionData struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
Resolved *InteractionResolvedData `protobuf:"bytes,4,opt,name=Resolved,proto3" json:"Resolved,omitempty"`
Options []*InteractionDataOption `protobuf:"bytes,5,rep,name=Options,proto3" json:"Options,omitempty"`
CustomID string `protobuf:"bytes,6,opt,name=CustomID,proto3" json:"CustomID,omitempty"`
ComponentType uint32 `protobuf:"varint,7,opt,name=ComponentType,proto3" json:"ComponentType,omitempty"`
Values []*ApplicationSelectOption `protobuf:"bytes,8,rep,name=Values,proto3" json:"Values,omitempty"`
TargetID int64 `protobuf:"varint,9,opt,name=TargetID,proto3" json:"TargetID,omitempty"`
// contains filtered or unexported fields
}
func (*InteractionData) Descriptor
deprecated
func (*InteractionData) Descriptor() ([]byte, []int)
Deprecated: Use InteractionData.ProtoReflect.Descriptor instead.
func (*InteractionData) GetComponentType ¶
func (x *InteractionData) GetComponentType() uint32
func (*InteractionData) GetCustomID ¶
func (x *InteractionData) GetCustomID() string
func (*InteractionData) GetID ¶
func (x *InteractionData) GetID() int64
func (*InteractionData) GetName ¶
func (x *InteractionData) GetName() string
func (*InteractionData) GetOptions ¶
func (x *InteractionData) GetOptions() []*InteractionDataOption
func (*InteractionData) GetResolved ¶
func (x *InteractionData) GetResolved() *InteractionResolvedData
func (*InteractionData) GetTargetID ¶
func (x *InteractionData) GetTargetID() int64
func (*InteractionData) GetType ¶
func (x *InteractionData) GetType() uint32
func (*InteractionData) GetValues ¶
func (x *InteractionData) GetValues() []*ApplicationSelectOption
func (*InteractionData) ProtoMessage ¶
func (*InteractionData) ProtoMessage()
func (*InteractionData) ProtoReflect ¶
func (x *InteractionData) ProtoReflect() protoreflect.Message
func (*InteractionData) Reset ¶
func (x *InteractionData) Reset()
func (*InteractionData) String ¶
func (x *InteractionData) String() string
type InteractionDataOption ¶
type InteractionDataOption struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
Options []*InteractionDataOption `protobuf:"bytes,4,rep,name=Options,proto3" json:"Options,omitempty"`
Focused bool `protobuf:"varint,5,opt,name=Focused,proto3" json:"Focused,omitempty"`
// contains filtered or unexported fields
}
func (*InteractionDataOption) Descriptor
deprecated
func (*InteractionDataOption) Descriptor() ([]byte, []int)
Deprecated: Use InteractionDataOption.ProtoReflect.Descriptor instead.
func (*InteractionDataOption) GetFocused ¶
func (x *InteractionDataOption) GetFocused() bool
func (*InteractionDataOption) GetName ¶
func (x *InteractionDataOption) GetName() string
func (*InteractionDataOption) GetOptions ¶
func (x *InteractionDataOption) GetOptions() []*InteractionDataOption
func (*InteractionDataOption) GetType ¶
func (x *InteractionDataOption) GetType() uint32
func (*InteractionDataOption) GetValue ¶
func (x *InteractionDataOption) GetValue() []byte
func (*InteractionDataOption) ProtoMessage ¶
func (*InteractionDataOption) ProtoMessage()
func (*InteractionDataOption) ProtoReflect ¶
func (x *InteractionDataOption) ProtoReflect() protoreflect.Message
func (*InteractionDataOption) Reset ¶
func (x *InteractionDataOption) Reset()
func (*InteractionDataOption) String ¶
func (x *InteractionDataOption) String() string
type InteractionResolvedData ¶
type InteractionResolvedData struct {
Users []*User `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users,omitempty"`
Members []*GuildMember `protobuf:"bytes,2,rep,name=Members,proto3" json:"Members,omitempty"`
Roles []*Role `protobuf:"bytes,3,rep,name=Roles,proto3" json:"Roles,omitempty"`
Channels []*Channel `protobuf:"bytes,4,rep,name=Channels,proto3" json:"Channels,omitempty"`
Messages []*Message `protobuf:"bytes,5,rep,name=Messages,proto3" json:"Messages,omitempty"`
// contains filtered or unexported fields
}
func (*InteractionResolvedData) Descriptor
deprecated
func (*InteractionResolvedData) Descriptor() ([]byte, []int)
Deprecated: Use InteractionResolvedData.ProtoReflect.Descriptor instead.
func (*InteractionResolvedData) GetChannels ¶
func (x *InteractionResolvedData) GetChannels() []*Channel
func (*InteractionResolvedData) GetMembers ¶
func (x *InteractionResolvedData) GetMembers() []*GuildMember
func (*InteractionResolvedData) GetMessages ¶
func (x *InteractionResolvedData) GetMessages() []*Message
func (*InteractionResolvedData) GetRoles ¶
func (x *InteractionResolvedData) GetRoles() []*Role
func (*InteractionResolvedData) GetUsers ¶
func (x *InteractionResolvedData) GetUsers() []*User
func (*InteractionResolvedData) ProtoMessage ¶
func (*InteractionResolvedData) ProtoMessage()
func (*InteractionResolvedData) ProtoReflect ¶
func (x *InteractionResolvedData) ProtoReflect() protoreflect.Message
func (*InteractionResolvedData) Reset ¶
func (x *InteractionResolvedData) Reset()
func (*InteractionResolvedData) String ¶
func (x *InteractionResolvedData) String() string
type Invite ¶
type Invite struct {
Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
Guild *Guild `protobuf:"bytes,2,opt,name=Guild,proto3" json:"Guild,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Channel *Channel `protobuf:"bytes,4,opt,name=Channel,proto3" json:"Channel,omitempty"`
Inviter *User `protobuf:"bytes,5,opt,name=Inviter,proto3" json:"Inviter,omitempty"`
TargetType uint32 `protobuf:"varint,6,opt,name=TargetType,proto3" json:"TargetType,omitempty"`
TargetUser *User `protobuf:"bytes,7,opt,name=TargetUser,proto3" json:"TargetUser,omitempty"`
TargetApplication *Application `protobuf:"bytes,8,opt,name=TargetApplication,proto3" json:"TargetApplication,omitempty"`
ApproximatePresenceCount int32 `protobuf:"varint,9,opt,name=ApproximatePresenceCount,proto3" json:"ApproximatePresenceCount,omitempty"`
ApproximateMemberCount int32 `protobuf:"varint,10,opt,name=ApproximateMemberCount,proto3" json:"ApproximateMemberCount,omitempty"`
ExpiresAt string `protobuf:"bytes,11,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
StageInstance *InviteStageInstance `protobuf:"bytes,12,opt,name=StageInstance,proto3" json:"StageInstance,omitempty"`
ScheduledEvent *ScheduledEvent `protobuf:"bytes,13,opt,name=ScheduledEvent,proto3" json:"ScheduledEvent,omitempty"`
Uses int32 `protobuf:"varint,14,opt,name=Uses,proto3" json:"Uses,omitempty"`
MaxUses int32 `protobuf:"varint,15,opt,name=MaxUses,proto3" json:"MaxUses,omitempty"`
MaxAge int32 `protobuf:"varint,16,opt,name=MaxAge,proto3" json:"MaxAge,omitempty"`
Temporary bool `protobuf:"varint,17,opt,name=Temporary,proto3" json:"Temporary,omitempty"`
CreatedAt string `protobuf:"bytes,18,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*Invite) Descriptor
deprecated
func (*Invite) GetApproximateMemberCount ¶
func (*Invite) GetApproximatePresenceCount ¶
func (*Invite) GetChannel ¶
func (*Invite) GetCreatedAt ¶
func (*Invite) GetExpiresAt ¶
func (*Invite) GetGuildID ¶
func (*Invite) GetInviter ¶
func (*Invite) GetMaxUses ¶
func (*Invite) GetScheduledEvent ¶
func (x *Invite) GetScheduledEvent() *ScheduledEvent
func (*Invite) GetStageInstance ¶
func (x *Invite) GetStageInstance() *InviteStageInstance
func (*Invite) GetTargetApplication ¶
func (x *Invite) GetTargetApplication() *Application
func (*Invite) GetTargetType ¶
func (*Invite) GetTargetUser ¶
func (*Invite) GetTemporary ¶
func (*Invite) ProtoMessage ¶
func (*Invite) ProtoMessage()
func (*Invite) ProtoReflect ¶
func (x *Invite) ProtoReflect() protoreflect.Message
type InviteStageInstance ¶
type InviteStageInstance struct {
Members []*GuildMember `protobuf:"bytes,1,rep,name=Members,proto3" json:"Members,omitempty"`
ParticipantCount int32 `protobuf:"varint,2,opt,name=ParticipantCount,proto3" json:"ParticipantCount,omitempty"`
SpeakerCount int32 `protobuf:"varint,3,opt,name=SpeakerCount,proto3" json:"SpeakerCount,omitempty"`
Topic string `protobuf:"bytes,4,opt,name=Topic,proto3" json:"Topic,omitempty"`
// contains filtered or unexported fields
}
func (*InviteStageInstance) Descriptor
deprecated
func (*InviteStageInstance) Descriptor() ([]byte, []int)
Deprecated: Use InviteStageInstance.ProtoReflect.Descriptor instead.
func (*InviteStageInstance) GetMembers ¶
func (x *InviteStageInstance) GetMembers() []*GuildMember
func (*InviteStageInstance) GetParticipantCount ¶
func (x *InviteStageInstance) GetParticipantCount() int32
func (*InviteStageInstance) GetSpeakerCount ¶
func (x *InviteStageInstance) GetSpeakerCount() int32
func (*InviteStageInstance) GetTopic ¶
func (x *InviteStageInstance) GetTopic() string
func (*InviteStageInstance) ProtoMessage ¶
func (*InviteStageInstance) ProtoMessage()
func (*InviteStageInstance) ProtoReflect ¶
func (x *InviteStageInstance) ProtoReflect() protoreflect.Message
func (*InviteStageInstance) Reset ¶
func (x *InviteStageInstance) Reset()
func (*InviteStageInstance) String ¶
func (x *InviteStageInstance) String() string
type ListenRequest ¶
type ListenRequest struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
// contains filtered or unexported fields
}
func (*ListenRequest) Descriptor
deprecated
func (*ListenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListenRequest.ProtoReflect.Descriptor instead.
func (*ListenRequest) GetIdentifier ¶
func (x *ListenRequest) GetIdentifier() string
func (*ListenRequest) ProtoMessage ¶
func (*ListenRequest) ProtoMessage()
func (*ListenRequest) ProtoReflect ¶
func (x *ListenRequest) ProtoReflect() protoreflect.Message
func (*ListenRequest) Reset ¶
func (x *ListenRequest) Reset()
func (*ListenRequest) String ¶
func (x *ListenRequest) String() string
type ListenResponse ¶
type ListenResponse struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ListenResponse) Descriptor
deprecated
func (*ListenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListenResponse.ProtoReflect.Descriptor instead.
func (*ListenResponse) GetData ¶
func (x *ListenResponse) GetData() []byte
func (*ListenResponse) GetTimestamp ¶
func (x *ListenResponse) GetTimestamp() int64
func (*ListenResponse) ProtoMessage ¶
func (*ListenResponse) ProtoMessage()
func (*ListenResponse) ProtoReflect ¶
func (x *ListenResponse) ProtoReflect() protoreflect.Message
func (*ListenResponse) Reset ¶
func (x *ListenResponse) Reset()
func (*ListenResponse) String ¶
func (x *ListenResponse) String() string
type Message ¶
type Message struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
ChannelID int64 `protobuf:"varint,2,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Author *User `protobuf:"bytes,4,opt,name=Author,proto3" json:"Author,omitempty"`
Member *GuildMember `protobuf:"bytes,5,opt,name=Member,proto3" json:"Member,omitempty"`
Content string `protobuf:"bytes,6,opt,name=Content,proto3" json:"Content,omitempty"`
Timestamp string `protobuf:"bytes,7,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
EditedTimestamp string `protobuf:"bytes,8,opt,name=EditedTimestamp,proto3" json:"EditedTimestamp,omitempty"`
TTS bool `protobuf:"varint,9,opt,name=TTS,proto3" json:"TTS,omitempty"`
MentionEveryone bool `protobuf:"varint,10,opt,name=MentionEveryone,proto3" json:"MentionEveryone,omitempty"`
Mentions []*User `protobuf:"bytes,11,rep,name=Mentions,proto3" json:"Mentions,omitempty"`
MentionRoles []int64 `protobuf:"varint,12,rep,packed,name=MentionRoles,proto3" json:"MentionRoles,omitempty"`
MentionChannels []*MessageChannelMention `protobuf:"bytes,13,rep,name=MentionChannels,proto3" json:"MentionChannels,omitempty"`
Attachments []*MessageAttachment `protobuf:"bytes,14,rep,name=Attachments,proto3" json:"Attachments,omitempty"`
Embeds []*Embed `protobuf:"bytes,15,rep,name=Embeds,proto3" json:"Embeds,omitempty"`
Reactions []*MessageReaction `protobuf:"bytes,16,rep,name=Reactions,proto3" json:"Reactions,omitempty"`
// string Nonce = 17;
Pinned bool `protobuf:"varint,18,opt,name=Pinned,proto3" json:"Pinned,omitempty"`
WebhookID int64 `protobuf:"varint,19,opt,name=WebhookID,proto3" json:"WebhookID,omitempty"`
Type uint32 `protobuf:"varint,20,opt,name=Type,proto3" json:"Type,omitempty"`
Activity *MessageActivity `protobuf:"bytes,21,opt,name=Activity,proto3" json:"Activity,omitempty"`
Application *Application `protobuf:"bytes,22,opt,name=Application,proto3" json:"Application,omitempty"`
MessageReference []*MessageReference `protobuf:"bytes,23,rep,name=MessageReference,proto3" json:"MessageReference,omitempty"`
Flags uint32 `protobuf:"varint,24,opt,name=Flags,proto3" json:"Flags,omitempty"`
ReferencedMessage *Message `protobuf:"bytes,25,opt,name=ReferencedMessage,proto3" json:"ReferencedMessage,omitempty"`
Interaction *MessageInteraction `protobuf:"bytes,26,opt,name=Interaction,proto3" json:"Interaction,omitempty"`
Thread *Channel `protobuf:"bytes,27,opt,name=Thread,proto3" json:"Thread,omitempty"`
Components []*InteractionComponent `protobuf:"bytes,28,rep,name=Components,proto3" json:"Components,omitempty"`
StickerItems []*MessageSticker `protobuf:"bytes,29,rep,name=StickerItems,proto3" json:"StickerItems,omitempty"`
// contains filtered or unexported fields
}
func (*Message) Descriptor
deprecated
func (*Message) GetActivity ¶
func (x *Message) GetActivity() *MessageActivity
func (*Message) GetApplication ¶
func (x *Message) GetApplication() *Application
func (*Message) GetAttachments ¶
func (x *Message) GetAttachments() []*MessageAttachment
func (*Message) GetChannelID ¶
func (*Message) GetComponents ¶
func (x *Message) GetComponents() []*InteractionComponent
func (*Message) GetContent ¶
func (*Message) GetEditedTimestamp ¶
func (*Message) GetGuildID ¶
func (*Message) GetInteraction ¶
func (x *Message) GetInteraction() *MessageInteraction
func (*Message) GetMember ¶
func (x *Message) GetMember() *GuildMember
func (*Message) GetMentionChannels ¶
func (x *Message) GetMentionChannels() []*MessageChannelMention
func (*Message) GetMentionEveryone ¶
func (*Message) GetMentionRoles ¶
func (*Message) GetMentions ¶
func (*Message) GetMessageReference ¶
func (x *Message) GetMessageReference() []*MessageReference
func (*Message) GetReactions ¶
func (x *Message) GetReactions() []*MessageReaction
func (*Message) GetReferencedMessage ¶
func (*Message) GetStickerItems ¶
func (x *Message) GetStickerItems() []*MessageSticker
func (*Message) GetTimestamp ¶
func (*Message) GetWebhookID ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageActivity ¶
type MessageActivity struct {
Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
PartyID string `protobuf:"bytes,2,opt,name=PartyID,proto3" json:"PartyID,omitempty"`
// contains filtered or unexported fields
}
func (*MessageActivity) Descriptor
deprecated
func (*MessageActivity) Descriptor() ([]byte, []int)
Deprecated: Use MessageActivity.ProtoReflect.Descriptor instead.
func (*MessageActivity) GetPartyID ¶
func (x *MessageActivity) GetPartyID() string
func (*MessageActivity) GetType ¶
func (x *MessageActivity) GetType() uint32
func (*MessageActivity) ProtoMessage ¶
func (*MessageActivity) ProtoMessage()
func (*MessageActivity) ProtoReflect ¶
func (x *MessageActivity) ProtoReflect() protoreflect.Message
func (*MessageActivity) Reset ¶
func (x *MessageActivity) Reset()
func (*MessageActivity) String ¶
func (x *MessageActivity) String() string
type MessageAllowedMentions ¶
type MessageAllowedMentions struct {
Parse []string `protobuf:"bytes,1,rep,name=Parse,proto3" json:"Parse,omitempty"`
Roles []int64 `protobuf:"varint,2,rep,packed,name=Roles,proto3" json:"Roles,omitempty"`
Users []int64 `protobuf:"varint,3,rep,packed,name=Users,proto3" json:"Users,omitempty"`
RepliedUser bool `protobuf:"varint,4,opt,name=RepliedUser,proto3" json:"RepliedUser,omitempty"`
// contains filtered or unexported fields
}
func (*MessageAllowedMentions) Descriptor
deprecated
func (*MessageAllowedMentions) Descriptor() ([]byte, []int)
Deprecated: Use MessageAllowedMentions.ProtoReflect.Descriptor instead.
func (*MessageAllowedMentions) GetParse ¶
func (x *MessageAllowedMentions) GetParse() []string
func (*MessageAllowedMentions) GetRepliedUser ¶
func (x *MessageAllowedMentions) GetRepliedUser() bool
func (*MessageAllowedMentions) GetRoles ¶
func (x *MessageAllowedMentions) GetRoles() []int64
func (*MessageAllowedMentions) GetUsers ¶
func (x *MessageAllowedMentions) GetUsers() []int64
func (*MessageAllowedMentions) ProtoMessage ¶
func (*MessageAllowedMentions) ProtoMessage()
func (*MessageAllowedMentions) ProtoReflect ¶
func (x *MessageAllowedMentions) ProtoReflect() protoreflect.Message
func (*MessageAllowedMentions) Reset ¶
func (x *MessageAllowedMentions) Reset()
func (*MessageAllowedMentions) String ¶
func (x *MessageAllowedMentions) String() string
type MessageAttachment ¶
type MessageAttachment struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Filename string `protobuf:"bytes,2,opt,name=Filename,proto3" json:"Filename,omitempty"`
Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
URL string `protobuf:"bytes,4,opt,name=URL,proto3" json:"URL,omitempty"`
ProxyURL string `protobuf:"bytes,5,opt,name=ProxyURL,proto3" json:"ProxyURL,omitempty"`
Height int32 `protobuf:"varint,6,opt,name=Height,proto3" json:"Height,omitempty"`
Width int32 `protobuf:"varint,7,opt,name=Width,proto3" json:"Width,omitempty"`
// contains filtered or unexported fields
}
func (*MessageAttachment) Descriptor
deprecated
func (*MessageAttachment) Descriptor() ([]byte, []int)
Deprecated: Use MessageAttachment.ProtoReflect.Descriptor instead.
func (*MessageAttachment) GetFilename ¶
func (x *MessageAttachment) GetFilename() string
func (*MessageAttachment) GetHeight ¶
func (x *MessageAttachment) GetHeight() int32
func (*MessageAttachment) GetID ¶
func (x *MessageAttachment) GetID() int64
func (*MessageAttachment) GetProxyURL ¶
func (x *MessageAttachment) GetProxyURL() string
func (*MessageAttachment) GetSize ¶
func (x *MessageAttachment) GetSize() int32
func (*MessageAttachment) GetURL ¶
func (x *MessageAttachment) GetURL() string
func (*MessageAttachment) GetWidth ¶
func (x *MessageAttachment) GetWidth() int32
func (*MessageAttachment) ProtoMessage ¶
func (*MessageAttachment) ProtoMessage()
func (*MessageAttachment) ProtoReflect ¶
func (x *MessageAttachment) ProtoReflect() protoreflect.Message
func (*MessageAttachment) Reset ¶
func (x *MessageAttachment) Reset()
func (*MessageAttachment) String ¶
func (x *MessageAttachment) String() string
type MessageChannelMention ¶
type MessageChannelMention struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
// contains filtered or unexported fields
}
func (*MessageChannelMention) Descriptor
deprecated
func (*MessageChannelMention) Descriptor() ([]byte, []int)
Deprecated: Use MessageChannelMention.ProtoReflect.Descriptor instead.
func (*MessageChannelMention) GetGuildID ¶
func (x *MessageChannelMention) GetGuildID() int64
func (*MessageChannelMention) GetID ¶
func (x *MessageChannelMention) GetID() int64
func (*MessageChannelMention) GetName ¶
func (x *MessageChannelMention) GetName() string
func (*MessageChannelMention) GetType ¶
func (x *MessageChannelMention) GetType() uint32
func (*MessageChannelMention) ProtoMessage ¶
func (*MessageChannelMention) ProtoMessage()
func (*MessageChannelMention) ProtoReflect ¶
func (x *MessageChannelMention) ProtoReflect() protoreflect.Message
func (*MessageChannelMention) Reset ¶
func (x *MessageChannelMention) Reset()
func (*MessageChannelMention) String ¶
func (x *MessageChannelMention) String() string
type MessageInteraction ¶
type MessageInteraction struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
User *User `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"`
// contains filtered or unexported fields
}
func (*MessageInteraction) Descriptor
deprecated
func (*MessageInteraction) Descriptor() ([]byte, []int)
Deprecated: Use MessageInteraction.ProtoReflect.Descriptor instead.
func (*MessageInteraction) GetID ¶
func (x *MessageInteraction) GetID() int64
func (*MessageInteraction) GetName ¶
func (x *MessageInteraction) GetName() string
func (*MessageInteraction) GetType ¶
func (x *MessageInteraction) GetType() uint32
func (*MessageInteraction) GetUser ¶
func (x *MessageInteraction) GetUser() *User
func (*MessageInteraction) ProtoMessage ¶
func (*MessageInteraction) ProtoMessage()
func (*MessageInteraction) ProtoReflect ¶
func (x *MessageInteraction) ProtoReflect() protoreflect.Message
func (*MessageInteraction) Reset ¶
func (x *MessageInteraction) Reset()
func (*MessageInteraction) String ¶
func (x *MessageInteraction) String() string
type MessageReaction ¶
type MessageReaction struct {
Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
Me bool `protobuf:"varint,2,opt,name=Me,proto3" json:"Me,omitempty"`
Emoji *Emoji `protobuf:"bytes,3,opt,name=Emoji,proto3" json:"Emoji,omitempty"`
// contains filtered or unexported fields
}
func (*MessageReaction) Descriptor
deprecated
func (*MessageReaction) Descriptor() ([]byte, []int)
Deprecated: Use MessageReaction.ProtoReflect.Descriptor instead.
func (*MessageReaction) GetCount ¶
func (x *MessageReaction) GetCount() int32
func (*MessageReaction) GetEmoji ¶
func (x *MessageReaction) GetEmoji() *Emoji
func (*MessageReaction) GetMe ¶
func (x *MessageReaction) GetMe() bool
func (*MessageReaction) ProtoMessage ¶
func (*MessageReaction) ProtoMessage()
func (*MessageReaction) ProtoReflect ¶
func (x *MessageReaction) ProtoReflect() protoreflect.Message
func (*MessageReaction) Reset ¶
func (x *MessageReaction) Reset()
func (*MessageReaction) String ¶
func (x *MessageReaction) String() string
type MessageReference ¶
type MessageReference struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
ChannelID int64 `protobuf:"varint,2,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
FailIfNotExists bool `protobuf:"varint,4,opt,name=FailIfNotExists,proto3" json:"FailIfNotExists,omitempty"`
// contains filtered or unexported fields
}
func (*MessageReference) Descriptor
deprecated
func (*MessageReference) Descriptor() ([]byte, []int)
Deprecated: Use MessageReference.ProtoReflect.Descriptor instead.
func (*MessageReference) GetChannelID ¶
func (x *MessageReference) GetChannelID() int64
func (*MessageReference) GetFailIfNotExists ¶
func (x *MessageReference) GetFailIfNotExists() bool
func (*MessageReference) GetGuildID ¶
func (x *MessageReference) GetGuildID() int64
func (*MessageReference) GetID ¶
func (x *MessageReference) GetID() int64
func (*MessageReference) ProtoMessage ¶
func (*MessageReference) ProtoMessage()
func (*MessageReference) ProtoReflect ¶
func (x *MessageReference) ProtoReflect() protoreflect.Message
func (*MessageReference) Reset ¶
func (x *MessageReference) Reset()
func (*MessageReference) String ¶
func (x *MessageReference) String() string
type MessageSticker ¶
type MessageSticker struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
FormatType uint32 `protobuf:"varint,3,opt,name=FormatType,proto3" json:"FormatType,omitempty"`
// contains filtered or unexported fields
}
func (*MessageSticker) Descriptor
deprecated
func (*MessageSticker) Descriptor() ([]byte, []int)
Deprecated: Use MessageSticker.ProtoReflect.Descriptor instead.
func (*MessageSticker) GetFormatType ¶
func (x *MessageSticker) GetFormatType() uint32
func (*MessageSticker) GetID ¶
func (x *MessageSticker) GetID() int64
func (*MessageSticker) GetName ¶
func (x *MessageSticker) GetName() string
func (*MessageSticker) ProtoMessage ¶
func (*MessageSticker) ProtoMessage()
func (*MessageSticker) ProtoReflect ¶
func (x *MessageSticker) ProtoReflect() protoreflect.Message
func (*MessageSticker) Reset ¶
func (x *MessageSticker) Reset()
func (*MessageSticker) String ¶
func (x *MessageSticker) String() string
type Party ¶
type Party struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Size []int32 `protobuf:"varint,2,rep,packed,name=Size,proto3" json:"Size,omitempty"`
// contains filtered or unexported fields
}
func (*Party) Descriptor
deprecated
func (*Party) ProtoMessage ¶
func (*Party) ProtoMessage()
func (*Party) ProtoReflect ¶
func (x *Party) ProtoReflect() protoreflect.Message
type RelayMessageRequest ¶
type RelayMessageRequest struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*RelayMessageRequest) Descriptor
deprecated
func (*RelayMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelayMessageRequest.ProtoReflect.Descriptor instead.
func (*RelayMessageRequest) GetData ¶
func (x *RelayMessageRequest) GetData() []byte
func (*RelayMessageRequest) GetIdentifier ¶
func (x *RelayMessageRequest) GetIdentifier() string
func (*RelayMessageRequest) GetType ¶
func (x *RelayMessageRequest) GetType() string
func (*RelayMessageRequest) ProtoMessage ¶
func (*RelayMessageRequest) ProtoMessage()
func (*RelayMessageRequest) ProtoReflect ¶
func (x *RelayMessageRequest) ProtoReflect() protoreflect.Message
func (*RelayMessageRequest) Reset ¶
func (x *RelayMessageRequest) Reset()
func (*RelayMessageRequest) String ¶
func (x *RelayMessageRequest) String() string
type RequestGuildChunkRequest ¶
type RequestGuildChunkRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
AlwaysChunk bool `protobuf:"varint,2,opt,name=always_chunk,json=alwaysChunk,proto3" json:"always_chunk,omitempty"`
// contains filtered or unexported fields
}
func (*RequestGuildChunkRequest) Descriptor
deprecated
func (*RequestGuildChunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestGuildChunkRequest.ProtoReflect.Descriptor instead.
func (*RequestGuildChunkRequest) GetAlwaysChunk ¶
func (x *RequestGuildChunkRequest) GetAlwaysChunk() bool
func (*RequestGuildChunkRequest) GetGuildId ¶
func (x *RequestGuildChunkRequest) GetGuildId() int64
func (*RequestGuildChunkRequest) ProtoMessage ¶
func (*RequestGuildChunkRequest) ProtoMessage()
func (*RequestGuildChunkRequest) ProtoReflect ¶
func (x *RequestGuildChunkRequest) ProtoReflect() protoreflect.Message
func (*RequestGuildChunkRequest) Reset ¶
func (x *RequestGuildChunkRequest) Reset()
func (*RequestGuildChunkRequest) String ¶
func (x *RequestGuildChunkRequest) String() string
type Role ¶
type Role struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Color int32 `protobuf:"varint,4,opt,name=Color,proto3" json:"Color,omitempty"`
Hoist bool `protobuf:"varint,5,opt,name=Hoist,proto3" json:"Hoist,omitempty"`
Icon string `protobuf:"bytes,6,opt,name=Icon,proto3" json:"Icon,omitempty"`
UnicodeEmoji string `protobuf:"bytes,7,opt,name=UnicodeEmoji,proto3" json:"UnicodeEmoji,omitempty"`
Position int32 `protobuf:"varint,8,opt,name=Position,proto3" json:"Position,omitempty"`
Permissions int64 `protobuf:"varint,9,opt,name=Permissions,proto3" json:"Permissions,omitempty"`
Managed bool `protobuf:"varint,10,opt,name=Managed,proto3" json:"Managed,omitempty"`
Mentionable bool `protobuf:"varint,11,opt,name=Mentionable,proto3" json:"Mentionable,omitempty"`
Tags *RoleTag `protobuf:"bytes,12,opt,name=Tags,proto3" json:"Tags,omitempty"`
Description string `protobuf:"bytes,13,opt,name=Description,proto3" json:"Description,omitempty"`
Flags int32 `protobuf:"varint,14,opt,name=Flags,proto3" json:"Flags,omitempty"`
Colors *RoleColors `protobuf:"bytes,15,opt,name=Colors,proto3" json:"Colors,omitempty"`
// contains filtered or unexported fields
}
func (*Role) Descriptor
deprecated
func (*Role) GetColors ¶
func (x *Role) GetColors() *RoleColors
func (*Role) GetDescription ¶
func (*Role) GetGuildID ¶
func (*Role) GetManaged ¶
func (*Role) GetMentionable ¶
func (*Role) GetPermissions ¶
func (*Role) GetPosition ¶
func (*Role) GetUnicodeEmoji ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleColors ¶
type RoleColors struct {
PrimaryColor int32 `protobuf:"varint,1,opt,name=PrimaryColor,proto3" json:"PrimaryColor,omitempty"`
SecondaryColor int32 `protobuf:"varint,2,opt,name=SecondaryColor,proto3" json:"SecondaryColor,omitempty"`
TertiaryColor int32 `protobuf:"varint,3,opt,name=TertiaryColor,proto3" json:"TertiaryColor,omitempty"`
// contains filtered or unexported fields
}
func (*RoleColors) Descriptor
deprecated
func (*RoleColors) Descriptor() ([]byte, []int)
Deprecated: Use RoleColors.ProtoReflect.Descriptor instead.
func (*RoleColors) GetPrimaryColor ¶
func (x *RoleColors) GetPrimaryColor() int32
func (*RoleColors) GetSecondaryColor ¶
func (x *RoleColors) GetSecondaryColor() int32
func (*RoleColors) GetTertiaryColor ¶
func (x *RoleColors) GetTertiaryColor() int32
func (*RoleColors) ProtoMessage ¶
func (*RoleColors) ProtoMessage()
func (*RoleColors) ProtoReflect ¶
func (x *RoleColors) ProtoReflect() protoreflect.Message
func (*RoleColors) Reset ¶
func (x *RoleColors) Reset()
func (*RoleColors) String ¶
func (x *RoleColors) String() string
type RoleTag ¶
type RoleTag struct {
PremiumSubscriber bool `protobuf:"varint,1,opt,name=PremiumSubscriber,proto3" json:"PremiumSubscriber,omitempty"`
BotID int64 `protobuf:"varint,2,opt,name=BotID,proto3" json:"BotID,omitempty"`
IntegrationID int64 `protobuf:"varint,3,opt,name=IntegrationID,proto3" json:"IntegrationID,omitempty"`
SubscriptionListingID int64 `protobuf:"varint,4,opt,name=SubscriptionListingID,proto3" json:"SubscriptionListingID,omitempty"`
AvailableForPurchase bool `protobuf:"varint,5,opt,name=AvailableForPurchase,proto3" json:"AvailableForPurchase,omitempty"`
GuildConnections bool `protobuf:"varint,6,opt,name=GuildConnections,proto3" json:"GuildConnections,omitempty"`
// contains filtered or unexported fields
}
func (*RoleTag) Descriptor
deprecated
func (*RoleTag) GetAvailableForPurchase ¶
func (*RoleTag) GetGuildConnections ¶
func (*RoleTag) GetIntegrationID ¶
func (*RoleTag) GetPremiumSubscriber ¶
func (*RoleTag) GetSubscriptionListingID ¶
func (*RoleTag) ProtoMessage ¶
func (*RoleTag) ProtoMessage()
func (*RoleTag) ProtoReflect ¶
func (x *RoleTag) ProtoReflect() protoreflect.Message
type SandwichApplication ¶
type SandwichApplication struct {
ApplicationIdentifier string `protobuf:"bytes,1,opt,name=application_identifier,json=applicationIdentifier,proto3" json:"application_identifier,omitempty"`
ProducerIdentifier string `protobuf:"bytes,2,opt,name=producer_identifier,json=producerIdentifier,proto3" json:"producer_identifier,omitempty"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
BotToken string `protobuf:"bytes,4,opt,name=bot_token,json=botToken,proto3" json:"bot_token,omitempty"`
ShardCount int32 `protobuf:"varint,5,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
AutoSharded bool `protobuf:"varint,7,opt,name=auto_sharded,json=autoSharded,proto3" json:"auto_sharded,omitempty"`
Status int32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
StartedAt int64 `protobuf:"varint,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
UserId int64 `protobuf:"varint,10,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Values []byte `protobuf:"bytes,11,opt,name=values,proto3" json:"values,omitempty"`
Shards map[int32]*Shard `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SandwichApplication) Descriptor
deprecated
func (*SandwichApplication) Descriptor() ([]byte, []int)
Deprecated: Use SandwichApplication.ProtoReflect.Descriptor instead.
func (*SandwichApplication) GetApplicationIdentifier ¶
func (x *SandwichApplication) GetApplicationIdentifier() string
func (*SandwichApplication) GetAutoSharded ¶
func (x *SandwichApplication) GetAutoSharded() bool
func (*SandwichApplication) GetBotToken ¶
func (x *SandwichApplication) GetBotToken() string
func (*SandwichApplication) GetDisplayName ¶
func (x *SandwichApplication) GetDisplayName() string
func (*SandwichApplication) GetProducerIdentifier ¶
func (x *SandwichApplication) GetProducerIdentifier() string
func (*SandwichApplication) GetShardCount ¶
func (x *SandwichApplication) GetShardCount() int32
func (*SandwichApplication) GetShards ¶
func (x *SandwichApplication) GetShards() map[int32]*Shard
func (*SandwichApplication) GetStartedAt ¶
func (x *SandwichApplication) GetStartedAt() int64
func (*SandwichApplication) GetStatus ¶
func (x *SandwichApplication) GetStatus() int32
func (*SandwichApplication) GetUserId ¶
func (x *SandwichApplication) GetUserId() int64
func (*SandwichApplication) GetValues ¶
func (x *SandwichApplication) GetValues() []byte
func (*SandwichApplication) ProtoMessage ¶
func (*SandwichApplication) ProtoMessage()
func (*SandwichApplication) ProtoReflect ¶
func (x *SandwichApplication) ProtoReflect() protoreflect.Message
func (*SandwichApplication) Reset ¶
func (x *SandwichApplication) Reset()
func (*SandwichApplication) String ¶
func (x *SandwichApplication) String() string
type SandwichClient ¶
type SandwichClient interface {
// Listen delivers information to consumers.
Listen(ctx context.Context, in *ListenRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListenResponse], error)
// RelayMessage creates a new event and sends it immediately back to Applications.
RelayMessage(ctx context.Context, in *RelayMessageRequest, opts ...grpc.CallOption) (*BaseResponse, error)
// ReloadConfiguration reloads the configuration.
ReloadConfiguration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BaseResponse, error)
// FetchApplication returns the Application Configuration.
FetchApplication(ctx context.Context, in *ApplicationIdentifier, opts ...grpc.CallOption) (*FetchApplicationResponse, error)
// StartApplication starts a Application.
StartApplication(ctx context.Context, in *ApplicationIdentifierWithBlocking, opts ...grpc.CallOption) (*BaseResponse, error)
// StopApplication stops a Application.
StopApplication(ctx context.Context, in *ApplicationIdentifierWithBlocking, opts ...grpc.CallOption) (*BaseResponse, error)
// CreateApplication creates a new Application.
CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*SandwichApplication, error)
// DeleteApplication deletes a Application.
DeleteApplication(ctx context.Context, in *ApplicationIdentifier, opts ...grpc.CallOption) (*BaseResponse, error)
// RequestGuildChunk requests a guild chunk.
RequestGuildChunk(ctx context.Context, in *RequestGuildChunkRequest, opts ...grpc.CallOption) (*BaseResponse, error)
// SendWebsocketMessage sends a websocket message to discord from a specific shard.
SendWebsocketMessage(ctx context.Context, in *SendWebsocketMessageRequest, opts ...grpc.CallOption) (*BaseResponse, error)
// WhereIsGuild returns a list of WhereIsGuildLocations based on guildId.
WhereIsGuild(ctx context.Context, in *WhereIsGuildRequest, opts ...grpc.CallOption) (*WhereIsGuildResponse, error)
FetchAllGuildIDs(ctx context.Context, in *FetchGuildIDsRequest, opts ...grpc.CallOption) (*FetchGuildIDsResponse, error)
FetchGuild(ctx context.Context, in *FetchGuildRequest, opts ...grpc.CallOption) (*FetchGuildResponse, error)
FetchGuildMember(ctx context.Context, in *FetchGuildMemberRequest, opts ...grpc.CallOption) (*FetchGuildMemberResponse, error)
FetchGuildChannel(ctx context.Context, in *FetchGuildChannelRequest, opts ...grpc.CallOption) (*FetchGuildChannelResponse, error)
FetchGuildRole(ctx context.Context, in *FetchGuildRoleRequest, opts ...grpc.CallOption) (*FetchGuildRoleResponse, error)
FetchGuildEmoji(ctx context.Context, in *FetchGuildEmojiRequest, opts ...grpc.CallOption) (*FetchGuildEmojiResponse, error)
FetchGuildSticker(ctx context.Context, in *FetchGuildStickerRequest, opts ...grpc.CallOption) (*FetchGuildStickerResponse, error)
FetchGuildVoiceState(ctx context.Context, in *FetchGuildVoiceStateRequest, opts ...grpc.CallOption) (*FetchGuildVoiceStateResponse, error)
FetchUser(ctx context.Context, in *FetchUserRequest, opts ...grpc.CallOption) (*FetchUserResponse, error)
FetchUserMutualGuilds(ctx context.Context, in *FetchUserMutualGuildsRequest, opts ...grpc.CallOption) (*FetchUserMutualGuildsResponse, error)
FetchVoiceStates(ctx context.Context, in *FetchVoiceStatesRequest, opts ...grpc.CallOption) (*FetchVoiceStatesResponse, error)
}
SandwichClient is the client API for Sandwich service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSandwichClient ¶
func NewSandwichClient(cc grpc.ClientConnInterface) SandwichClient
type SandwichServer ¶
type SandwichServer interface {
// Listen delivers information to consumers.
Listen(*ListenRequest, grpc.ServerStreamingServer[ListenResponse]) error
// RelayMessage creates a new event and sends it immediately back to Applications.
RelayMessage(context.Context, *RelayMessageRequest) (*BaseResponse, error)
// ReloadConfiguration reloads the configuration.
ReloadConfiguration(context.Context, *emptypb.Empty) (*BaseResponse, error)
// FetchApplication returns the Application Configuration.
FetchApplication(context.Context, *ApplicationIdentifier) (*FetchApplicationResponse, error)
// StartApplication starts a Application.
StartApplication(context.Context, *ApplicationIdentifierWithBlocking) (*BaseResponse, error)
// StopApplication stops a Application.
StopApplication(context.Context, *ApplicationIdentifierWithBlocking) (*BaseResponse, error)
// CreateApplication creates a new Application.
CreateApplication(context.Context, *CreateApplicationRequest) (*SandwichApplication, error)
// DeleteApplication deletes a Application.
DeleteApplication(context.Context, *ApplicationIdentifier) (*BaseResponse, error)
// RequestGuildChunk requests a guild chunk.
RequestGuildChunk(context.Context, *RequestGuildChunkRequest) (*BaseResponse, error)
// SendWebsocketMessage sends a websocket message to discord from a specific shard.
SendWebsocketMessage(context.Context, *SendWebsocketMessageRequest) (*BaseResponse, error)
// WhereIsGuild returns a list of WhereIsGuildLocations based on guildId.
WhereIsGuild(context.Context, *WhereIsGuildRequest) (*WhereIsGuildResponse, error)
FetchAllGuildIDs(context.Context, *FetchGuildIDsRequest) (*FetchGuildIDsResponse, error)
FetchGuild(context.Context, *FetchGuildRequest) (*FetchGuildResponse, error)
FetchGuildMember(context.Context, *FetchGuildMemberRequest) (*FetchGuildMemberResponse, error)
FetchGuildChannel(context.Context, *FetchGuildChannelRequest) (*FetchGuildChannelResponse, error)
FetchGuildRole(context.Context, *FetchGuildRoleRequest) (*FetchGuildRoleResponse, error)
FetchGuildEmoji(context.Context, *FetchGuildEmojiRequest) (*FetchGuildEmojiResponse, error)
FetchGuildSticker(context.Context, *FetchGuildStickerRequest) (*FetchGuildStickerResponse, error)
FetchGuildVoiceState(context.Context, *FetchGuildVoiceStateRequest) (*FetchGuildVoiceStateResponse, error)
FetchUser(context.Context, *FetchUserRequest) (*FetchUserResponse, error)
FetchUserMutualGuilds(context.Context, *FetchUserMutualGuildsRequest) (*FetchUserMutualGuildsResponse, error)
FetchVoiceStates(context.Context, *FetchVoiceStatesRequest) (*FetchVoiceStatesResponse, error)
// contains filtered or unexported methods
}
SandwichServer is the server API for Sandwich service. All implementations must embed UnimplementedSandwichServer for forward compatibility.
type Sandwich_ListenClient ¶
type Sandwich_ListenClient = grpc.ServerStreamingClient[ListenResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Sandwich_ListenServer ¶
type Sandwich_ListenServer = grpc.ServerStreamingServer[ListenResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ScheduledEvent ¶
type ScheduledEvent struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
ChannelID int64 `protobuf:"varint,3,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
CreatorID int64 `protobuf:"varint,4,opt,name=CreatorID,proto3" json:"CreatorID,omitempty"`
Name string `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,6,opt,name=Description,proto3" json:"Description,omitempty"`
ScheduledStartTime string `protobuf:"bytes,7,opt,name=ScheduledStartTime,proto3" json:"ScheduledStartTime,omitempty"`
ScheduledEndTime string `protobuf:"bytes,8,opt,name=ScheduledEndTime,proto3" json:"ScheduledEndTime,omitempty"`
PrivacyLevel uint32 `protobuf:"varint,9,opt,name=PrivacyLevel,proto3" json:"PrivacyLevel,omitempty"`
Status uint32 `protobuf:"varint,10,opt,name=Status,proto3" json:"Status,omitempty"`
EntityType uint32 `protobuf:"varint,11,opt,name=EntityType,proto3" json:"EntityType,omitempty"`
EntityID int64 `protobuf:"varint,12,opt,name=EntityID,proto3" json:"EntityID,omitempty"`
EntityMetadata *EventMetadata `protobuf:"bytes,13,opt,name=EntityMetadata,proto3" json:"EntityMetadata,omitempty"`
Creator *User `protobuf:"bytes,14,opt,name=Creator,proto3" json:"Creator,omitempty"`
UserCount int32 `protobuf:"varint,15,opt,name=UserCount,proto3" json:"UserCount,omitempty"`
Image string `protobuf:"bytes,16,opt,name=Image,proto3" json:"Image,omitempty"`
// contains filtered or unexported fields
}
func ScheduledEventsToPB ¶
func ScheduledEventsToPB(events []discord.ScheduledEvent) []*ScheduledEvent
func (*ScheduledEvent) Descriptor
deprecated
func (*ScheduledEvent) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledEvent.ProtoReflect.Descriptor instead.
func (*ScheduledEvent) GetChannelID ¶
func (x *ScheduledEvent) GetChannelID() int64
func (*ScheduledEvent) GetCreator ¶
func (x *ScheduledEvent) GetCreator() *User
func (*ScheduledEvent) GetCreatorID ¶
func (x *ScheduledEvent) GetCreatorID() int64
func (*ScheduledEvent) GetDescription ¶
func (x *ScheduledEvent) GetDescription() string
func (*ScheduledEvent) GetEntityID ¶
func (x *ScheduledEvent) GetEntityID() int64
func (*ScheduledEvent) GetEntityMetadata ¶
func (x *ScheduledEvent) GetEntityMetadata() *EventMetadata
func (*ScheduledEvent) GetEntityType ¶
func (x *ScheduledEvent) GetEntityType() uint32
func (*ScheduledEvent) GetGuildID ¶
func (x *ScheduledEvent) GetGuildID() int64
func (*ScheduledEvent) GetID ¶
func (x *ScheduledEvent) GetID() int64
func (*ScheduledEvent) GetImage ¶
func (x *ScheduledEvent) GetImage() string
func (*ScheduledEvent) GetName ¶
func (x *ScheduledEvent) GetName() string
func (*ScheduledEvent) GetPrivacyLevel ¶
func (x *ScheduledEvent) GetPrivacyLevel() uint32
func (*ScheduledEvent) GetScheduledEndTime ¶
func (x *ScheduledEvent) GetScheduledEndTime() string
func (*ScheduledEvent) GetScheduledStartTime ¶
func (x *ScheduledEvent) GetScheduledStartTime() string
func (*ScheduledEvent) GetStatus ¶
func (x *ScheduledEvent) GetStatus() uint32
func (*ScheduledEvent) GetUserCount ¶
func (x *ScheduledEvent) GetUserCount() int32
func (*ScheduledEvent) ProtoMessage ¶
func (*ScheduledEvent) ProtoMessage()
func (*ScheduledEvent) ProtoReflect ¶
func (x *ScheduledEvent) ProtoReflect() protoreflect.Message
func (*ScheduledEvent) Reset ¶
func (x *ScheduledEvent) Reset()
func (*ScheduledEvent) String ¶
func (x *ScheduledEvent) String() string
type ScheduledEventUser ¶
type ScheduledEventUser struct {
EventID int64 `protobuf:"varint,1,opt,name=EventID,proto3" json:"EventID,omitempty"`
User *User `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"`
Member *GuildMember `protobuf:"bytes,3,opt,name=Member,proto3" json:"Member,omitempty"`
// contains filtered or unexported fields
}
func (*ScheduledEventUser) Descriptor
deprecated
func (*ScheduledEventUser) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledEventUser.ProtoReflect.Descriptor instead.
func (*ScheduledEventUser) GetEventID ¶
func (x *ScheduledEventUser) GetEventID() int64
func (*ScheduledEventUser) GetMember ¶
func (x *ScheduledEventUser) GetMember() *GuildMember
func (*ScheduledEventUser) GetUser ¶
func (x *ScheduledEventUser) GetUser() *User
func (*ScheduledEventUser) ProtoMessage ¶
func (*ScheduledEventUser) ProtoMessage()
func (*ScheduledEventUser) ProtoReflect ¶
func (x *ScheduledEventUser) ProtoReflect() protoreflect.Message
func (*ScheduledEventUser) Reset ¶
func (x *ScheduledEventUser) Reset()
func (*ScheduledEventUser) String ¶
func (x *ScheduledEventUser) String() string
type Secrets ¶
type Secrets struct {
Join string `protobuf:"bytes,1,opt,name=Join,proto3" json:"Join,omitempty"`
Spectate string `protobuf:"bytes,2,opt,name=Spectate,proto3" json:"Spectate,omitempty"`
Match string `protobuf:"bytes,3,opt,name=Match,proto3" json:"Match,omitempty"`
// contains filtered or unexported fields
}
func (*Secrets) Descriptor
deprecated
func (*Secrets) GetSpectate ¶
func (*Secrets) ProtoMessage ¶
func (*Secrets) ProtoMessage()
func (*Secrets) ProtoReflect ¶
func (x *Secrets) ProtoReflect() protoreflect.Message
type SendWebsocketMessageRequest ¶
type SendWebsocketMessageRequest struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Shard int32 `protobuf:"varint,2,opt,name=shard,proto3" json:"shard,omitempty"`
GatewayOpCode int32 `protobuf:"varint,3,opt,name=gateway_op_code,json=gatewayOpCode,proto3" json:"gateway_op_code,omitempty"`
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*SendWebsocketMessageRequest) Descriptor
deprecated
func (*SendWebsocketMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendWebsocketMessageRequest.ProtoReflect.Descriptor instead.
func (*SendWebsocketMessageRequest) GetData ¶
func (x *SendWebsocketMessageRequest) GetData() []byte
func (*SendWebsocketMessageRequest) GetGatewayOpCode ¶
func (x *SendWebsocketMessageRequest) GetGatewayOpCode() int32
func (*SendWebsocketMessageRequest) GetIdentifier ¶
func (x *SendWebsocketMessageRequest) GetIdentifier() string
func (*SendWebsocketMessageRequest) GetShard ¶
func (x *SendWebsocketMessageRequest) GetShard() int32
func (*SendWebsocketMessageRequest) ProtoMessage ¶
func (*SendWebsocketMessageRequest) ProtoMessage()
func (*SendWebsocketMessageRequest) ProtoReflect ¶
func (x *SendWebsocketMessageRequest) ProtoReflect() protoreflect.Message
func (*SendWebsocketMessageRequest) Reset ¶
func (x *SendWebsocketMessageRequest) Reset()
func (*SendWebsocketMessageRequest) String ¶
func (x *SendWebsocketMessageRequest) String() string
type Shard ¶
type Shard struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
LazyGuilds int32 `protobuf:"varint,5,opt,name=lazy_guilds,json=lazyGuilds,proto3" json:"lazy_guilds,omitempty"`
Guilds int32 `protobuf:"varint,6,opt,name=guilds,proto3" json:"guilds,omitempty"`
Sequence int32 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"`
LastHeartbeatSent int64 `protobuf:"varint,8,opt,name=last_heartbeat_sent,json=lastHeartbeatSent,proto3" json:"last_heartbeat_sent,omitempty"`
LastHeartbeatAck int64 `protobuf:"varint,9,opt,name=last_heartbeat_ack,json=lastHeartbeatAck,proto3" json:"last_heartbeat_ack,omitempty"`
GatewayLatency int64 `protobuf:"varint,10,opt,name=gateway_latency,json=gatewayLatency,proto3" json:"gateway_latency,omitempty"`
// contains filtered or unexported fields
}
func (*Shard) Descriptor
deprecated
func (*Shard) GetGatewayLatency ¶
func (*Shard) GetLastHeartbeatAck ¶
func (*Shard) GetLastHeartbeatSent ¶
func (*Shard) GetLazyGuilds ¶
func (*Shard) GetSequence ¶
func (*Shard) GetStartedAt ¶
func (*Shard) GetUnavailableGuilds ¶
func (*Shard) ProtoMessage ¶
func (*Shard) ProtoMessage()
func (*Shard) ProtoReflect ¶
func (x *Shard) ProtoReflect() protoreflect.Message
type StageInstance ¶
type StageInstance struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
GuildID int64 `protobuf:"varint,2,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
ChannelID int64 `protobuf:"varint,3,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
Topic string `protobuf:"bytes,4,opt,name=Topic,proto3" json:"Topic,omitempty"`
PrivacyLabel uint32 `protobuf:"varint,5,opt,name=PrivacyLabel,proto3" json:"PrivacyLabel,omitempty"`
DiscoverableDisabled bool `protobuf:"varint,6,opt,name=DiscoverableDisabled,proto3" json:"DiscoverableDisabled,omitempty"`
GuildScheduledEventID int64 `protobuf:"varint,7,opt,name=GuildScheduledEventID,proto3" json:"GuildScheduledEventID,omitempty"`
// contains filtered or unexported fields
}
func (*StageInstance) Descriptor
deprecated
func (*StageInstance) Descriptor() ([]byte, []int)
Deprecated: Use StageInstance.ProtoReflect.Descriptor instead.
func (*StageInstance) GetChannelID ¶
func (x *StageInstance) GetChannelID() int64
func (*StageInstance) GetDiscoverableDisabled ¶
func (x *StageInstance) GetDiscoverableDisabled() bool
func (*StageInstance) GetGuildID ¶
func (x *StageInstance) GetGuildID() int64
func (*StageInstance) GetGuildScheduledEventID ¶
func (x *StageInstance) GetGuildScheduledEventID() int64
func (*StageInstance) GetID ¶
func (x *StageInstance) GetID() int64
func (*StageInstance) GetPrivacyLabel ¶
func (x *StageInstance) GetPrivacyLabel() uint32
func (*StageInstance) GetTopic ¶
func (x *StageInstance) GetTopic() string
func (*StageInstance) ProtoMessage ¶
func (*StageInstance) ProtoMessage()
func (*StageInstance) ProtoReflect ¶
func (x *StageInstance) ProtoReflect() protoreflect.Message
func (*StageInstance) Reset ¶
func (x *StageInstance) Reset()
func (*StageInstance) String ¶
func (x *StageInstance) String() string
type Sticker ¶
type Sticker struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
PackID int64 `protobuf:"varint,2,opt,name=PackID,proto3" json:"PackID,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"`
Tags string `protobuf:"bytes,5,opt,name=Tags,proto3" json:"Tags,omitempty"`
Type uint32 `protobuf:"varint,6,opt,name=Type,proto3" json:"Type,omitempty"`
FormatType uint32 `protobuf:"varint,7,opt,name=FormatType,proto3" json:"FormatType,omitempty"`
Available bool `protobuf:"varint,8,opt,name=Available,proto3" json:"Available,omitempty"`
GuildID int64 `protobuf:"varint,9,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
User *User `protobuf:"bytes,10,opt,name=User,proto3" json:"User,omitempty"`
SortValue int32 `protobuf:"varint,11,opt,name=SortValue,proto3" json:"SortValue,omitempty"`
// contains filtered or unexported fields
}
func StickerToPB ¶
func StickersToPB ¶
func (*Sticker) Descriptor
deprecated
func (*Sticker) GetAvailable ¶
func (*Sticker) GetDescription ¶
func (*Sticker) GetFormatType ¶
func (*Sticker) GetGuildID ¶
func (*Sticker) GetSortValue ¶
func (*Sticker) ProtoMessage ¶
func (*Sticker) ProtoMessage()
func (*Sticker) ProtoReflect ¶
func (x *Sticker) ProtoReflect() protoreflect.Message
type ThreadMember ¶
type ThreadMember struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
UserID int64 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
JoinTimestamp string `protobuf:"bytes,4,opt,name=JoinTimestamp,proto3" json:"JoinTimestamp,omitempty"`
Flags int32 `protobuf:"varint,5,opt,name=Flags,proto3" json:"Flags,omitempty"`
// contains filtered or unexported fields
}
func ThreadMemberToPB ¶
func ThreadMemberToPB(member *discord.ThreadMember) *ThreadMember
func (*ThreadMember) Descriptor
deprecated
func (*ThreadMember) Descriptor() ([]byte, []int)
Deprecated: Use ThreadMember.ProtoReflect.Descriptor instead.
func (*ThreadMember) GetFlags ¶
func (x *ThreadMember) GetFlags() int32
func (*ThreadMember) GetGuildID ¶
func (x *ThreadMember) GetGuildID() int64
func (*ThreadMember) GetID ¶
func (x *ThreadMember) GetID() int64
func (*ThreadMember) GetJoinTimestamp ¶
func (x *ThreadMember) GetJoinTimestamp() string
func (*ThreadMember) GetUserID ¶
func (x *ThreadMember) GetUserID() int64
func (*ThreadMember) ProtoMessage ¶
func (*ThreadMember) ProtoMessage()
func (*ThreadMember) ProtoReflect ¶
func (x *ThreadMember) ProtoReflect() protoreflect.Message
func (*ThreadMember) Reset ¶
func (x *ThreadMember) Reset()
func (*ThreadMember) String ¶
func (x *ThreadMember) String() string
type ThreadMetadata ¶
type ThreadMetadata struct {
Archived bool `protobuf:"varint,1,opt,name=Archived,proto3" json:"Archived,omitempty"`
AutoArchiveDuration int32 `protobuf:"varint,2,opt,name=AutoArchiveDuration,proto3" json:"AutoArchiveDuration,omitempty"`
ArchiveTimestamp string `protobuf:"bytes,3,opt,name=ArchiveTimestamp,proto3" json:"ArchiveTimestamp,omitempty"`
Locked bool `protobuf:"varint,4,opt,name=Locked,proto3" json:"Locked,omitempty"`
// contains filtered or unexported fields
}
func ThreadMetadataToPB ¶
func ThreadMetadataToPB(metadata *discord.ThreadMetadata) *ThreadMetadata
func (*ThreadMetadata) Descriptor
deprecated
func (*ThreadMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ThreadMetadata.ProtoReflect.Descriptor instead.
func (*ThreadMetadata) GetArchiveTimestamp ¶
func (x *ThreadMetadata) GetArchiveTimestamp() string
func (*ThreadMetadata) GetArchived ¶
func (x *ThreadMetadata) GetArchived() bool
func (*ThreadMetadata) GetAutoArchiveDuration ¶
func (x *ThreadMetadata) GetAutoArchiveDuration() int32
func (*ThreadMetadata) GetLocked ¶
func (x *ThreadMetadata) GetLocked() bool
func (*ThreadMetadata) ProtoMessage ¶
func (*ThreadMetadata) ProtoMessage()
func (*ThreadMetadata) ProtoReflect ¶
func (x *ThreadMetadata) ProtoReflect() protoreflect.Message
func (*ThreadMetadata) Reset ¶
func (x *ThreadMetadata) Reset()
func (*ThreadMetadata) String ¶
func (x *ThreadMetadata) String() string
type Timestamps ¶
type Timestamps struct {
Start int32 `protobuf:"varint,1,opt,name=Start,proto3" json:"Start,omitempty"`
End int32 `protobuf:"varint,2,opt,name=End,proto3" json:"End,omitempty"`
// contains filtered or unexported fields
}
func (*Timestamps) Descriptor
deprecated
func (*Timestamps) Descriptor() ([]byte, []int)
Deprecated: Use Timestamps.ProtoReflect.Descriptor instead.
func (*Timestamps) GetEnd ¶
func (x *Timestamps) GetEnd() int32
func (*Timestamps) GetStart ¶
func (x *Timestamps) GetStart() int32
func (*Timestamps) ProtoMessage ¶
func (*Timestamps) ProtoMessage()
func (*Timestamps) ProtoReflect ¶
func (x *Timestamps) ProtoReflect() protoreflect.Message
func (*Timestamps) Reset ¶
func (x *Timestamps) Reset()
func (*Timestamps) String ¶
func (x *Timestamps) String() string
type TooManyRequests ¶
type TooManyRequests struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
RetryAfter int32 `protobuf:"varint,2,opt,name=RetryAfter,proto3" json:"RetryAfter,omitempty"`
Global bool `protobuf:"varint,3,opt,name=Global,proto3" json:"Global,omitempty"`
// contains filtered or unexported fields
}
func (*TooManyRequests) Descriptor
deprecated
func (*TooManyRequests) Descriptor() ([]byte, []int)
Deprecated: Use TooManyRequests.ProtoReflect.Descriptor instead.
func (*TooManyRequests) GetGlobal ¶
func (x *TooManyRequests) GetGlobal() bool
func (*TooManyRequests) GetMessage ¶
func (x *TooManyRequests) GetMessage() string
func (*TooManyRequests) GetRetryAfter ¶
func (x *TooManyRequests) GetRetryAfter() int32
func (*TooManyRequests) ProtoMessage ¶
func (*TooManyRequests) ProtoMessage()
func (*TooManyRequests) ProtoReflect ¶
func (x *TooManyRequests) ProtoReflect() protoreflect.Message
func (*TooManyRequests) Reset ¶
func (x *TooManyRequests) Reset()
func (*TooManyRequests) String ¶
func (x *TooManyRequests) String() string
type UnavailableGuild ¶
type UnavailableGuild struct {
// contains filtered or unexported fields
}
func (*UnavailableGuild) Descriptor
deprecated
func (*UnavailableGuild) Descriptor() ([]byte, []int)
Deprecated: Use UnavailableGuild.ProtoReflect.Descriptor instead.
func (*UnavailableGuild) GetID ¶
func (x *UnavailableGuild) GetID() int64
func (*UnavailableGuild) GetUnavailable ¶
func (x *UnavailableGuild) GetUnavailable() bool
func (*UnavailableGuild) ProtoMessage ¶
func (*UnavailableGuild) ProtoMessage()
func (*UnavailableGuild) ProtoReflect ¶
func (x *UnavailableGuild) ProtoReflect() protoreflect.Message
func (*UnavailableGuild) Reset ¶
func (x *UnavailableGuild) Reset()
func (*UnavailableGuild) String ¶
func (x *UnavailableGuild) String() string
type UnimplementedSandwichServer ¶
type UnimplementedSandwichServer struct{}
UnimplementedSandwichServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSandwichServer) CreateApplication ¶
func (UnimplementedSandwichServer) CreateApplication(context.Context, *CreateApplicationRequest) (*SandwichApplication, error)
func (UnimplementedSandwichServer) DeleteApplication ¶
func (UnimplementedSandwichServer) DeleteApplication(context.Context, *ApplicationIdentifier) (*BaseResponse, error)
func (UnimplementedSandwichServer) FetchAllGuildIDs ¶
func (UnimplementedSandwichServer) FetchAllGuildIDs(context.Context, *FetchGuildIDsRequest) (*FetchGuildIDsResponse, error)
func (UnimplementedSandwichServer) FetchApplication ¶
func (UnimplementedSandwichServer) FetchApplication(context.Context, *ApplicationIdentifier) (*FetchApplicationResponse, error)
func (UnimplementedSandwichServer) FetchGuild ¶
func (UnimplementedSandwichServer) FetchGuild(context.Context, *FetchGuildRequest) (*FetchGuildResponse, error)
func (UnimplementedSandwichServer) FetchGuildChannel ¶
func (UnimplementedSandwichServer) FetchGuildChannel(context.Context, *FetchGuildChannelRequest) (*FetchGuildChannelResponse, error)
func (UnimplementedSandwichServer) FetchGuildEmoji ¶
func (UnimplementedSandwichServer) FetchGuildEmoji(context.Context, *FetchGuildEmojiRequest) (*FetchGuildEmojiResponse, error)
func (UnimplementedSandwichServer) FetchGuildMember ¶
func (UnimplementedSandwichServer) FetchGuildMember(context.Context, *FetchGuildMemberRequest) (*FetchGuildMemberResponse, error)
func (UnimplementedSandwichServer) FetchGuildRole ¶
func (UnimplementedSandwichServer) FetchGuildRole(context.Context, *FetchGuildRoleRequest) (*FetchGuildRoleResponse, error)
func (UnimplementedSandwichServer) FetchGuildSticker ¶
func (UnimplementedSandwichServer) FetchGuildSticker(context.Context, *FetchGuildStickerRequest) (*FetchGuildStickerResponse, error)
func (UnimplementedSandwichServer) FetchGuildVoiceState ¶
func (UnimplementedSandwichServer) FetchGuildVoiceState(context.Context, *FetchGuildVoiceStateRequest) (*FetchGuildVoiceStateResponse, error)
func (UnimplementedSandwichServer) FetchUser ¶
func (UnimplementedSandwichServer) FetchUser(context.Context, *FetchUserRequest) (*FetchUserResponse, error)
func (UnimplementedSandwichServer) FetchUserMutualGuilds ¶
func (UnimplementedSandwichServer) FetchUserMutualGuilds(context.Context, *FetchUserMutualGuildsRequest) (*FetchUserMutualGuildsResponse, error)
func (UnimplementedSandwichServer) FetchVoiceStates ¶
func (UnimplementedSandwichServer) FetchVoiceStates(context.Context, *FetchVoiceStatesRequest) (*FetchVoiceStatesResponse, error)
func (UnimplementedSandwichServer) Listen ¶
func (UnimplementedSandwichServer) Listen(*ListenRequest, grpc.ServerStreamingServer[ListenResponse]) error
func (UnimplementedSandwichServer) RelayMessage ¶
func (UnimplementedSandwichServer) RelayMessage(context.Context, *RelayMessageRequest) (*BaseResponse, error)
func (UnimplementedSandwichServer) ReloadConfiguration ¶
func (UnimplementedSandwichServer) ReloadConfiguration(context.Context, *emptypb.Empty) (*BaseResponse, error)
func (UnimplementedSandwichServer) RequestGuildChunk ¶
func (UnimplementedSandwichServer) RequestGuildChunk(context.Context, *RequestGuildChunkRequest) (*BaseResponse, error)
func (UnimplementedSandwichServer) SendWebsocketMessage ¶
func (UnimplementedSandwichServer) SendWebsocketMessage(context.Context, *SendWebsocketMessageRequest) (*BaseResponse, error)
func (UnimplementedSandwichServer) StartApplication ¶
func (UnimplementedSandwichServer) StartApplication(context.Context, *ApplicationIdentifierWithBlocking) (*BaseResponse, error)
func (UnimplementedSandwichServer) StopApplication ¶
func (UnimplementedSandwichServer) StopApplication(context.Context, *ApplicationIdentifierWithBlocking) (*BaseResponse, error)
func (UnimplementedSandwichServer) WhereIsGuild ¶
func (UnimplementedSandwichServer) WhereIsGuild(context.Context, *WhereIsGuildRequest) (*WhereIsGuildResponse, error)
type UnsafeSandwichServer ¶
type UnsafeSandwichServer interface {
// contains filtered or unexported methods
}
UnsafeSandwichServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SandwichServer will result in compilation errors.
type User ¶
type User struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"`
Discriminator string `protobuf:"bytes,3,opt,name=Discriminator,proto3" json:"Discriminator,omitempty"`
GlobalName string `protobuf:"bytes,4,opt,name=GlobalName,proto3" json:"GlobalName,omitempty"`
Avatar string `protobuf:"bytes,5,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
Bot bool `protobuf:"varint,6,opt,name=Bot,proto3" json:"Bot,omitempty"`
System bool `protobuf:"varint,7,opt,name=System,proto3" json:"System,omitempty"`
MFAEnabled bool `protobuf:"varint,8,opt,name=MFAEnabled,proto3" json:"MFAEnabled,omitempty"`
Banner string `protobuf:"bytes,9,opt,name=Banner,proto3" json:"Banner,omitempty"`
AccentColour int32 `protobuf:"varint,10,opt,name=AccentColour,proto3" json:"AccentColour,omitempty"`
Locale string `protobuf:"bytes,11,opt,name=Locale,proto3" json:"Locale,omitempty"`
Verified bool `protobuf:"varint,12,opt,name=Verified,proto3" json:"Verified,omitempty"`
Email string `protobuf:"bytes,13,opt,name=Email,proto3" json:"Email,omitempty"`
Flags int32 `protobuf:"varint,14,opt,name=Flags,proto3" json:"Flags,omitempty"`
PremiumType int32 `protobuf:"varint,15,opt,name=PremiumType,proto3" json:"PremiumType,omitempty"`
PublicFlags int32 `protobuf:"varint,16,opt,name=PublicFlags,proto3" json:"PublicFlags,omitempty"`
DMChannelID int64 `protobuf:"varint,17,opt,name=DMChannelID,proto3" json:"DMChannelID,omitempty"`
AvatarDecorationData *AvatarDecorationData `protobuf:"bytes,18,opt,name=AvatarDecorationData,proto3" json:"AvatarDecorationData,omitempty"`
PrimaryGuild *UserPrimaryGuild `protobuf:"bytes,19,opt,name=PrimaryGuild,proto3" json:"PrimaryGuild,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetAccentColour ¶
func (*User) GetAvatarDecorationData ¶
func (x *User) GetAvatarDecorationData() *AvatarDecorationData
func (*User) GetDMChannelID ¶
func (*User) GetDiscriminator ¶
func (*User) GetGlobalName ¶
func (*User) GetMFAEnabled ¶
func (*User) GetPremiumType ¶
func (*User) GetPrimaryGuild ¶
func (x *User) GetPrimaryGuild() *UserPrimaryGuild
func (*User) GetPublicFlags ¶
func (*User) GetUsername ¶
func (*User) GetVerified ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserPrimaryGuild ¶
type UserPrimaryGuild struct {
IdentityGuildID int64 `protobuf:"varint,1,opt,name=IdentityGuildID,proto3" json:"IdentityGuildID,omitempty"`
IdentityEnabled bool `protobuf:"varint,2,opt,name=IdentityEnabled,proto3" json:"IdentityEnabled,omitempty"`
Tag string `protobuf:"bytes,3,opt,name=Tag,proto3" json:"Tag,omitempty"`
Badge string `protobuf:"bytes,4,opt,name=Badge,proto3" json:"Badge,omitempty"`
// contains filtered or unexported fields
}
func (*UserPrimaryGuild) Descriptor
deprecated
func (*UserPrimaryGuild) Descriptor() ([]byte, []int)
Deprecated: Use UserPrimaryGuild.ProtoReflect.Descriptor instead.
func (*UserPrimaryGuild) GetBadge ¶
func (x *UserPrimaryGuild) GetBadge() string
func (*UserPrimaryGuild) GetIdentityEnabled ¶
func (x *UserPrimaryGuild) GetIdentityEnabled() bool
func (*UserPrimaryGuild) GetIdentityGuildID ¶
func (x *UserPrimaryGuild) GetIdentityGuildID() int64
func (*UserPrimaryGuild) GetTag ¶
func (x *UserPrimaryGuild) GetTag() string
func (*UserPrimaryGuild) ProtoMessage ¶
func (*UserPrimaryGuild) ProtoMessage()
func (*UserPrimaryGuild) ProtoReflect ¶
func (x *UserPrimaryGuild) ProtoReflect() protoreflect.Message
func (*UserPrimaryGuild) Reset ¶
func (x *UserPrimaryGuild) Reset()
func (*UserPrimaryGuild) String ¶
func (x *UserPrimaryGuild) String() string
type VoiceState ¶
type VoiceState struct {
UserID int64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
ChannelID int64 `protobuf:"varint,2,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
Member *GuildMember `protobuf:"bytes,4,opt,name=Member,proto3" json:"Member,omitempty"`
SessionID string `protobuf:"bytes,5,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
Deaf bool `protobuf:"varint,6,opt,name=Deaf,proto3" json:"Deaf,omitempty"`
Mute bool `protobuf:"varint,7,opt,name=Mute,proto3" json:"Mute,omitempty"`
SelfDeaf bool `protobuf:"varint,8,opt,name=SelfDeaf,proto3" json:"SelfDeaf,omitempty"`
SelfMute bool `protobuf:"varint,9,opt,name=SelfMute,proto3" json:"SelfMute,omitempty"`
SelfStream bool `protobuf:"varint,10,opt,name=SelfStream,proto3" json:"SelfStream,omitempty"`
SelfVideo bool `protobuf:"varint,11,opt,name=SelfVideo,proto3" json:"SelfVideo,omitempty"`
Suppress bool `protobuf:"varint,12,opt,name=Suppress,proto3" json:"Suppress,omitempty"`
RequestToSpeakTimestamp string `protobuf:"bytes,13,opt,name=RequestToSpeakTimestamp,proto3" json:"RequestToSpeakTimestamp,omitempty"`
// contains filtered or unexported fields
}
func VoiceStateToPB ¶
func VoiceStateToPB(state *discord.VoiceState) *VoiceState
func VoiceStatesToPB ¶
func VoiceStatesToPB(states []discord.VoiceState) []*VoiceState
func (*VoiceState) Descriptor
deprecated
func (*VoiceState) Descriptor() ([]byte, []int)
Deprecated: Use VoiceState.ProtoReflect.Descriptor instead.
func (*VoiceState) GetChannelID ¶
func (x *VoiceState) GetChannelID() int64
func (*VoiceState) GetDeaf ¶
func (x *VoiceState) GetDeaf() bool
func (*VoiceState) GetGuildID ¶
func (x *VoiceState) GetGuildID() int64
func (*VoiceState) GetMember ¶
func (x *VoiceState) GetMember() *GuildMember
func (*VoiceState) GetMute ¶
func (x *VoiceState) GetMute() bool
func (*VoiceState) GetRequestToSpeakTimestamp ¶
func (x *VoiceState) GetRequestToSpeakTimestamp() string
func (*VoiceState) GetSelfDeaf ¶
func (x *VoiceState) GetSelfDeaf() bool
func (*VoiceState) GetSelfMute ¶
func (x *VoiceState) GetSelfMute() bool
func (*VoiceState) GetSelfStream ¶
func (x *VoiceState) GetSelfStream() bool
func (*VoiceState) GetSelfVideo ¶
func (x *VoiceState) GetSelfVideo() bool
func (*VoiceState) GetSessionID ¶
func (x *VoiceState) GetSessionID() string
func (*VoiceState) GetSuppress ¶
func (x *VoiceState) GetSuppress() bool
func (*VoiceState) GetUserID ¶
func (x *VoiceState) GetUserID() int64
func (*VoiceState) ProtoMessage ¶
func (*VoiceState) ProtoMessage()
func (*VoiceState) ProtoReflect ¶
func (x *VoiceState) ProtoReflect() protoreflect.Message
func (*VoiceState) Reset ¶
func (x *VoiceState) Reset()
func (*VoiceState) String ¶
func (x *VoiceState) String() string
type Webhook ¶
type Webhook struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
GuildID int64 `protobuf:"varint,3,opt,name=GuildID,proto3" json:"GuildID,omitempty"`
ChannelID int64 `protobuf:"varint,4,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
User *User `protobuf:"bytes,5,opt,name=User,proto3" json:"User,omitempty"`
Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"`
Avatar string `protobuf:"bytes,7,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
Token string `protobuf:"bytes,8,opt,name=Token,proto3" json:"Token,omitempty"`
ApplicationID int64 `protobuf:"varint,9,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
// contains filtered or unexported fields
}
func (*Webhook) Descriptor
deprecated
func (*Webhook) GetApplicationID ¶
func (*Webhook) GetChannelID ¶
func (*Webhook) GetGuildID ¶
func (*Webhook) ProtoMessage ¶
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶
func (x *Webhook) ProtoReflect() protoreflect.Message
type WebhookMessage ¶
type WebhookMessage struct {
Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"`
AvatarURL string `protobuf:"bytes,3,opt,name=AvatarURL,proto3" json:"AvatarURL,omitempty"`
TTS bool `protobuf:"varint,4,opt,name=TTS,proto3" json:"TTS,omitempty"`
Embeds []*Embed `protobuf:"bytes,5,rep,name=Embeds,proto3" json:"Embeds,omitempty"`
AllowedMentions []*MessageAllowedMentions `protobuf:"bytes,6,rep,name=AllowedMentions,proto3" json:"AllowedMentions,omitempty"`
Components []*InteractionComponent `protobuf:"bytes,7,rep,name=Components,proto3" json:"Components,omitempty"`
PayloadJSON []byte `protobuf:"bytes,8,opt,name=PayloadJSON,proto3" json:"PayloadJSON,omitempty"`
// contains filtered or unexported fields
}
func (*WebhookMessage) Descriptor
deprecated
func (*WebhookMessage) Descriptor() ([]byte, []int)
Deprecated: Use WebhookMessage.ProtoReflect.Descriptor instead.
func (*WebhookMessage) GetAllowedMentions ¶
func (x *WebhookMessage) GetAllowedMentions() []*MessageAllowedMentions
func (*WebhookMessage) GetAvatarURL ¶
func (x *WebhookMessage) GetAvatarURL() string
func (*WebhookMessage) GetComponents ¶
func (x *WebhookMessage) GetComponents() []*InteractionComponent
func (*WebhookMessage) GetContent ¶
func (x *WebhookMessage) GetContent() string
func (*WebhookMessage) GetEmbeds ¶
func (x *WebhookMessage) GetEmbeds() []*Embed
func (*WebhookMessage) GetPayloadJSON ¶
func (x *WebhookMessage) GetPayloadJSON() []byte
func (*WebhookMessage) GetTTS ¶
func (x *WebhookMessage) GetTTS() bool
func (*WebhookMessage) GetUsername ¶
func (x *WebhookMessage) GetUsername() string
func (*WebhookMessage) ProtoMessage ¶
func (*WebhookMessage) ProtoMessage()
func (*WebhookMessage) ProtoReflect ¶
func (x *WebhookMessage) ProtoReflect() protoreflect.Message
func (*WebhookMessage) Reset ¶
func (x *WebhookMessage) Reset()
func (*WebhookMessage) String ¶
func (x *WebhookMessage) String() string
type WhereIsGuildLocation ¶
type WhereIsGuildLocation struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
ShardId int32 `protobuf:"varint,2,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
GuildMember *GuildMember `protobuf:"bytes,3,opt,name=guild_member,json=guildMember,proto3" json:"guild_member,omitempty"`
// contains filtered or unexported fields
}
func (*WhereIsGuildLocation) Descriptor
deprecated
func (*WhereIsGuildLocation) Descriptor() ([]byte, []int)
Deprecated: Use WhereIsGuildLocation.ProtoReflect.Descriptor instead.
func (*WhereIsGuildLocation) GetGuildMember ¶
func (x *WhereIsGuildLocation) GetGuildMember() *GuildMember
func (*WhereIsGuildLocation) GetIdentifier ¶
func (x *WhereIsGuildLocation) GetIdentifier() string
func (*WhereIsGuildLocation) GetShardId ¶
func (x *WhereIsGuildLocation) GetShardId() int32
func (*WhereIsGuildLocation) ProtoMessage ¶
func (*WhereIsGuildLocation) ProtoMessage()
func (*WhereIsGuildLocation) ProtoReflect ¶
func (x *WhereIsGuildLocation) ProtoReflect() protoreflect.Message
func (*WhereIsGuildLocation) Reset ¶
func (x *WhereIsGuildLocation) Reset()
func (*WhereIsGuildLocation) String ¶
func (x *WhereIsGuildLocation) String() string
type WhereIsGuildRequest ¶
type WhereIsGuildRequest struct {
GuildId int64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
// contains filtered or unexported fields
}
func (*WhereIsGuildRequest) Descriptor
deprecated
func (*WhereIsGuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use WhereIsGuildRequest.ProtoReflect.Descriptor instead.
func (*WhereIsGuildRequest) GetGuildId ¶
func (x *WhereIsGuildRequest) GetGuildId() int64
func (*WhereIsGuildRequest) ProtoMessage ¶
func (*WhereIsGuildRequest) ProtoMessage()
func (*WhereIsGuildRequest) ProtoReflect ¶
func (x *WhereIsGuildRequest) ProtoReflect() protoreflect.Message
func (*WhereIsGuildRequest) Reset ¶
func (x *WhereIsGuildRequest) Reset()
func (*WhereIsGuildRequest) String ¶
func (x *WhereIsGuildRequest) String() string
type WhereIsGuildResponse ¶
type WhereIsGuildResponse struct {
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3" json:"base_response,omitempty"`
Locations map[int64]*WhereIsGuildLocation `` /* 160-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*WhereIsGuildResponse) Descriptor
deprecated
func (*WhereIsGuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use WhereIsGuildResponse.ProtoReflect.Descriptor instead.
func (*WhereIsGuildResponse) GetBaseResponse ¶
func (x *WhereIsGuildResponse) GetBaseResponse() *BaseResponse
func (*WhereIsGuildResponse) GetLocations ¶
func (x *WhereIsGuildResponse) GetLocations() map[int64]*WhereIsGuildLocation
func (*WhereIsGuildResponse) ProtoMessage ¶
func (*WhereIsGuildResponse) ProtoMessage()
func (*WhereIsGuildResponse) ProtoReflect ¶
func (x *WhereIsGuildResponse) ProtoReflect() protoreflect.Message
func (*WhereIsGuildResponse) Reset ¶
func (x *WhereIsGuildResponse) Reset()
func (*WhereIsGuildResponse) String ¶
func (x *WhereIsGuildResponse) String() string