Documentation ¶
Index ¶
- Variables
- type ActionsRow
- type ApplicationCommand
- func (*ApplicationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationCommand) GetApplicationId() string
- func (x *ApplicationCommand) GetDefaultMemberPermissions() int64
- func (x *ApplicationCommand) GetDefaultPermission() bool
- func (x *ApplicationCommand) GetDescription() string
- func (x *ApplicationCommand) GetDescriptionLocalizations() map[string]string
- func (x *ApplicationCommand) GetDmPermission() bool
- func (x *ApplicationCommand) GetGuildId() string
- func (x *ApplicationCommand) GetId() string
- func (x *ApplicationCommand) GetName() string
- func (x *ApplicationCommand) GetNameLocalizations() map[string]string
- func (x *ApplicationCommand) GetNsfw() bool
- func (x *ApplicationCommand) GetOptions() []*ApplicationCommandOption
- func (x *ApplicationCommand) GetType() uint32
- func (x *ApplicationCommand) GetVersion() string
- 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() []int32
- func (x *ApplicationCommandOption) GetChoices() []*ApplicationCommandOptionChoice
- func (x *ApplicationCommandOption) GetDescription() string
- func (x *ApplicationCommandOption) GetDescriptionLocalizations() map[string]string
- func (x *ApplicationCommandOption) GetMaxLength() int32
- func (x *ApplicationCommandOption) GetMaxValue() float64
- func (x *ApplicationCommandOption) GetMinLength() int32
- func (x *ApplicationCommandOption) GetMinValue() float64
- func (x *ApplicationCommandOption) GetName() string
- func (x *ApplicationCommandOption) GetNameLocalizations() map[string]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) GetNameLocalizations() map[string]string
- func (x *ApplicationCommandOptionChoice) GetValue() *structpb.Value
- func (*ApplicationCommandOptionChoice) ProtoMessage()
- func (x *ApplicationCommandOptionChoice) ProtoReflect() protoreflect.Message
- func (x *ApplicationCommandOptionChoice) Reset()
- func (x *ApplicationCommandOptionChoice) String() string
- type Button
- func (*Button) Descriptor() ([]byte, []int)deprecated
- func (x *Button) GetCustomId() string
- func (x *Button) GetDisabled() bool
- func (x *Button) GetEmoji() *ComponentEmoji
- func (x *Button) GetLabel() string
- func (x *Button) GetStyle() uint32
- func (x *Button) GetUrl() string
- func (*Button) ProtoMessage()
- func (x *Button) ProtoReflect() protoreflect.Message
- func (x *Button) Reset()
- func (x *Button) String() string
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetApplicationId() string
- func (x *Channel) GetAppliedTags() []string
- func (x *Channel) GetAvailableTags() []*ForumTag
- func (x *Channel) GetBitrate() int32
- func (x *Channel) GetDefaultForumLayout() int32
- func (x *Channel) GetDefaultReactionEmoji() *ForumDefaultReaction
- func (x *Channel) GetDefaultSortOrder() int32
- func (x *Channel) GetDefaultThreadRateLimitPerUser() int32
- func (x *Channel) GetFlags() int32
- func (x *Channel) GetGuildId() string
- func (x *Channel) GetIcon() string
- func (x *Channel) GetId() string
- func (x *Channel) GetLastMessageId() string
- func (x *Channel) GetLastPinTimestamp() *timestamppb.Timestamp
- func (x *Channel) GetMember() *ThreadMember
- func (x *Channel) GetMemberCount() int32
- func (x *Channel) GetMembers() []*ThreadMember
- func (x *Channel) GetMessageCount() int32
- func (x *Channel) GetMessages() []*Message
- func (x *Channel) GetName() string
- func (x *Channel) GetNsfw() bool
- func (x *Channel) GetOwnerId() string
- func (x *Channel) GetParentId() string
- func (x *Channel) GetPermissionOverwrites() []*PermissionOverwrite
- func (x *Channel) GetPosition() int32
- func (x *Channel) GetRateLimitPerUser() int32
- func (x *Channel) GetRecipients() []*User
- func (x *Channel) GetThreadMetadata() *ThreadMetadata
- func (x *Channel) GetTopic() string
- func (x *Channel) GetType() int32
- func (x *Channel) GetUserLimit() int32
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ComponentEmoji
- func (*ComponentEmoji) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentEmoji) GetAnimated() bool
- func (x *ComponentEmoji) GetId() string
- func (x *ComponentEmoji) GetName() string
- func (*ComponentEmoji) ProtoMessage()
- func (x *ComponentEmoji) ProtoReflect() protoreflect.Message
- func (x *ComponentEmoji) Reset()
- func (x *ComponentEmoji) String() string
- type Emoji
- func (*Emoji) Descriptor() ([]byte, []int)deprecated
- func (x *Emoji) GetAnimated() bool
- func (x *Emoji) GetAvailable() bool
- func (x *Emoji) GetId() string
- func (x *Emoji) GetManaged() bool
- func (x *Emoji) GetName() string
- func (x *Emoji) GetRequireColons() bool
- func (x *Emoji) GetRoles() []string
- func (x *Emoji) GetUser() *User
- func (*Emoji) ProtoMessage()
- func (x *Emoji) ProtoReflect() protoreflect.Message
- func (x *Emoji) Reset()
- func (x *Emoji) String() string
- type File
- type ForumDefaultReaction
- func (*ForumDefaultReaction) Descriptor() ([]byte, []int)deprecated
- func (x *ForumDefaultReaction) GetEmojiId() string
- func (x *ForumDefaultReaction) GetEmojiName() string
- func (*ForumDefaultReaction) ProtoMessage()
- func (x *ForumDefaultReaction) ProtoReflect() protoreflect.Message
- func (x *ForumDefaultReaction) Reset()
- func (x *ForumDefaultReaction) String() string
- type ForumTag
- func (*ForumTag) Descriptor() ([]byte, []int)deprecated
- func (x *ForumTag) GetEmojiId() string
- func (x *ForumTag) GetEmojiName() string
- func (x *ForumTag) GetId() string
- 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 Member
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetAvatar() string
- func (x *Member) GetCommunicationDisabledUntil() *timestamppb.Timestamp
- func (x *Member) GetDeaf() bool
- func (x *Member) GetGuildId() string
- func (x *Member) GetJoinedAt() *timestamppb.Timestamp
- func (x *Member) GetMute() bool
- func (x *Member) GetNick() string
- func (x *Member) GetPending() bool
- func (x *Member) GetPermissions() int64
- func (x *Member) GetPremiumSince() *timestamppb.Timestamp
- func (x *Member) GetRoles() []string
- func (x *Member) GetUser() *User
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (x *Member) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetActivity() *MessageActivity
- func (x *Message) GetApplication() *MessageApplication
- func (x *Message) GetAttachments() []*MessageAttachment
- func (x *Message) GetAuthor() *User
- func (x *Message) GetChannelId() string
- func (x *Message) GetComponents() []*MessageComponent
- func (x *Message) GetContent() string
- func (x *Message) GetEditedTimestamp() *timestamppb.Timestamp
- func (x *Message) GetEmbeds() []*MessageEmbed
- func (x *Message) GetFlags() int32
- func (x *Message) GetGuildId() string
- func (x *Message) GetId() string
- func (x *Message) GetInteraction() *MessageInteraction
- func (x *Message) GetMember() *Member
- func (x *Message) GetMentionChannels() []*Channel
- func (x *Message) GetMentionEveryone() bool
- func (x *Message) GetMentionRoles() []string
- func (x *Message) GetMentions() []*User
- func (x *Message) GetMessageReference() *MessageReference
- func (x *Message) GetPinned() bool
- func (x *Message) GetReactions() []*MessageReactions
- func (x *Message) GetReferencedMessage() *Message
- func (x *Message) GetStickerItems() []*Sticker
- func (x *Message) GetThread() *Channel
- func (x *Message) GetTimestamp() *timestamppb.Timestamp
- func (x *Message) GetTts() bool
- func (x *Message) GetType() int32
- func (x *Message) GetWebhookId() string
- 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() int32
- 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() []string
- func (x *MessageAllowedMentions) GetUsers() []string
- func (*MessageAllowedMentions) ProtoMessage()
- func (x *MessageAllowedMentions) ProtoReflect() protoreflect.Message
- func (x *MessageAllowedMentions) Reset()
- func (x *MessageAllowedMentions) String() string
- type MessageApplication
- func (*MessageApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication) GetCoverImage() string
- func (x *MessageApplication) GetDescription() string
- func (x *MessageApplication) GetIcon() string
- func (x *MessageApplication) GetId() string
- func (x *MessageApplication) GetName() string
- func (*MessageApplication) ProtoMessage()
- func (x *MessageApplication) ProtoReflect() protoreflect.Message
- func (x *MessageApplication) Reset()
- func (x *MessageApplication) String() string
- type MessageAttachment
- func (*MessageAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAttachment) GetContentType() string
- func (x *MessageAttachment) GetEphemeral() bool
- func (x *MessageAttachment) GetFilename() string
- func (x *MessageAttachment) GetHeight() int32
- func (x *MessageAttachment) GetId() string
- 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 MessageComponent
- func (*MessageComponent) Descriptor() ([]byte, []int)deprecated
- func (x *MessageComponent) GetActionsRow() *ActionsRow
- func (x *MessageComponent) GetButton() *Button
- func (m *MessageComponent) GetComponent() isMessageComponent_Component
- func (x *MessageComponent) GetSelectMenu() *SelectMenu
- func (x *MessageComponent) GetTextInput() *TextInput
- func (*MessageComponent) ProtoMessage()
- func (x *MessageComponent) ProtoReflect() protoreflect.Message
- func (x *MessageComponent) Reset()
- func (x *MessageComponent) String() string
- type MessageComponent_ActionsRow
- type MessageComponent_Button
- type MessageComponent_SelectMenu
- type MessageComponent_TextInput
- type MessageEmbed
- func (*MessageEmbed) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbed) GetAuthor() *MessageEmbedAuthor
- func (x *MessageEmbed) GetColor() int32
- func (x *MessageEmbed) GetDescription() string
- func (x *MessageEmbed) GetFields() []*MessageEmbedField
- func (x *MessageEmbed) GetFooter() *MessageEmbedFooter
- func (x *MessageEmbed) GetImage() *MessageEmbedImage
- func (x *MessageEmbed) GetProvider() *MessageEmbedProvider
- func (x *MessageEmbed) GetThumbnail() *MessageEmbedThumbnail
- func (x *MessageEmbed) GetTimestamp() string
- func (x *MessageEmbed) GetTitle() string
- func (x *MessageEmbed) GetType() string
- func (x *MessageEmbed) GetUrl() string
- func (x *MessageEmbed) GetVideo() *MessageEmbedVideo
- func (*MessageEmbed) ProtoMessage()
- func (x *MessageEmbed) ProtoReflect() protoreflect.Message
- func (x *MessageEmbed) Reset()
- func (x *MessageEmbed) String() string
- type MessageEmbedAuthor
- func (*MessageEmbedAuthor) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedAuthor) GetIconUrl() string
- func (x *MessageEmbedAuthor) GetName() string
- func (x *MessageEmbedAuthor) GetProxyIconUrl() string
- func (x *MessageEmbedAuthor) GetUrl() string
- func (*MessageEmbedAuthor) ProtoMessage()
- func (x *MessageEmbedAuthor) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedAuthor) Reset()
- func (x *MessageEmbedAuthor) String() string
- type MessageEmbedField
- func (*MessageEmbedField) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedField) GetInline() bool
- func (x *MessageEmbedField) GetName() string
- func (x *MessageEmbedField) GetValue() string
- func (*MessageEmbedField) ProtoMessage()
- func (x *MessageEmbedField) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedField) Reset()
- func (x *MessageEmbedField) String() string
- type MessageEmbedFooter
- func (*MessageEmbedFooter) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedFooter) GetIconUrl() string
- func (x *MessageEmbedFooter) GetProxyIconUrl() string
- func (x *MessageEmbedFooter) GetText() string
- func (*MessageEmbedFooter) ProtoMessage()
- func (x *MessageEmbedFooter) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedFooter) Reset()
- func (x *MessageEmbedFooter) String() string
- type MessageEmbedImage
- func (*MessageEmbedImage) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedImage) GetHeight() int32
- func (x *MessageEmbedImage) GetProxyUrl() string
- func (x *MessageEmbedImage) GetUrl() string
- func (x *MessageEmbedImage) GetWidth() int32
- func (*MessageEmbedImage) ProtoMessage()
- func (x *MessageEmbedImage) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedImage) Reset()
- func (x *MessageEmbedImage) String() string
- type MessageEmbedProvider
- func (*MessageEmbedProvider) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedProvider) GetName() string
- func (x *MessageEmbedProvider) GetUrl() string
- func (*MessageEmbedProvider) ProtoMessage()
- func (x *MessageEmbedProvider) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedProvider) Reset()
- func (x *MessageEmbedProvider) String() string
- type MessageEmbedThumbnail
- func (*MessageEmbedThumbnail) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedThumbnail) GetHeight() int32
- func (x *MessageEmbedThumbnail) GetProxyUrl() string
- func (x *MessageEmbedThumbnail) GetUrl() string
- func (x *MessageEmbedThumbnail) GetWidth() int32
- func (*MessageEmbedThumbnail) ProtoMessage()
- func (x *MessageEmbedThumbnail) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedThumbnail) Reset()
- func (x *MessageEmbedThumbnail) String() string
- type MessageEmbedVideo
- func (*MessageEmbedVideo) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEmbedVideo) GetHeight() int32
- func (x *MessageEmbedVideo) GetUrl() string
- func (x *MessageEmbedVideo) GetWidth() int32
- func (*MessageEmbedVideo) ProtoMessage()
- func (x *MessageEmbedVideo) ProtoReflect() protoreflect.Message
- func (x *MessageEmbedVideo) Reset()
- func (x *MessageEmbedVideo) String() string
- type MessageInteraction
- func (*MessageInteraction) Descriptor() ([]byte, []int)deprecated
- func (x *MessageInteraction) GetId() string
- func (x *MessageInteraction) GetMember() *Member
- 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 MessageReactions
- func (*MessageReactions) Descriptor() ([]byte, []int)deprecated
- func (x *MessageReactions) GetCount() int32
- func (x *MessageReactions) GetEmoji() *Emoji
- func (x *MessageReactions) GetMe() bool
- func (*MessageReactions) ProtoMessage()
- func (x *MessageReactions) ProtoReflect() protoreflect.Message
- func (x *MessageReactions) Reset()
- func (x *MessageReactions) String() string
- type MessageReference
- func (*MessageReference) Descriptor() ([]byte, []int)deprecated
- func (x *MessageReference) GetChannelId() string
- func (x *MessageReference) GetGuildId() string
- func (x *MessageReference) GetMessageId() string
- func (*MessageReference) ProtoMessage()
- func (x *MessageReference) ProtoReflect() protoreflect.Message
- func (x *MessageReference) Reset()
- func (x *MessageReference) String() string
- type PermissionOverwrite
- func (*PermissionOverwrite) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionOverwrite) GetAllow() int64
- func (x *PermissionOverwrite) GetDeny() int64
- func (x *PermissionOverwrite) GetId() string
- func (x *PermissionOverwrite) GetType() int32
- func (*PermissionOverwrite) ProtoMessage()
- func (x *PermissionOverwrite) ProtoReflect() protoreflect.Message
- func (x *PermissionOverwrite) Reset()
- func (x *PermissionOverwrite) String() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetColor() int32
- func (x *Role) GetHoist() bool
- func (x *Role) GetId() 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 (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type SelectMenu
- func (*SelectMenu) Descriptor() ([]byte, []int)deprecated
- func (x *SelectMenu) GetChannelTypes() []int32
- func (x *SelectMenu) GetCustomId() string
- func (x *SelectMenu) GetDisabled() bool
- func (x *SelectMenu) GetMaxValues() int32
- func (x *SelectMenu) GetMenuType() uint32
- func (x *SelectMenu) GetMinValues() int32
- func (x *SelectMenu) GetOptions() []*SelectMenuOption
- func (x *SelectMenu) GetPlaceholder() string
- func (*SelectMenu) ProtoMessage()
- func (x *SelectMenu) ProtoReflect() protoreflect.Message
- func (x *SelectMenu) Reset()
- func (x *SelectMenu) String() string
- type SelectMenuOption
- func (*SelectMenuOption) Descriptor() ([]byte, []int)deprecated
- func (x *SelectMenuOption) GetDefault() bool
- func (x *SelectMenuOption) GetDescription() string
- func (x *SelectMenuOption) GetEmoji() *ComponentEmoji
- func (x *SelectMenuOption) GetLabel() string
- func (x *SelectMenuOption) GetValue() string
- func (*SelectMenuOption) ProtoMessage()
- func (x *SelectMenuOption) ProtoReflect() protoreflect.Message
- func (x *SelectMenuOption) Reset()
- func (x *SelectMenuOption) String() string
- type Sticker
- func (*Sticker) Descriptor() ([]byte, []int)deprecated
- func (x *Sticker) GetAvailable() bool
- func (x *Sticker) GetDescription() string
- func (x *Sticker) GetFormatType() int32
- func (x *Sticker) GetGuildId() string
- func (x *Sticker) GetId() string
- func (x *Sticker) GetName() string
- func (x *Sticker) GetPackId() string
- func (x *Sticker) GetSortValue() int32
- func (x *Sticker) GetTags() string
- func (x *Sticker) GetType() int32
- func (x *Sticker) GetUser() *User
- func (*Sticker) ProtoMessage()
- func (x *Sticker) ProtoReflect() protoreflect.Message
- func (x *Sticker) Reset()
- func (x *Sticker) String() string
- type TextInput
- func (*TextInput) Descriptor() ([]byte, []int)deprecated
- func (x *TextInput) GetCustomId() string
- func (x *TextInput) GetLabel() string
- func (x *TextInput) GetMaxLength() int32
- func (x *TextInput) GetMinLength() int32
- func (x *TextInput) GetPlaceholder() string
- func (x *TextInput) GetRequired() bool
- func (x *TextInput) GetStyle() uint32
- func (x *TextInput) GetValue() string
- func (*TextInput) ProtoMessage()
- func (x *TextInput) ProtoReflect() protoreflect.Message
- func (x *TextInput) Reset()
- func (x *TextInput) String() string
- type ThreadMember
- func (*ThreadMember) Descriptor() ([]byte, []int)deprecated
- func (x *ThreadMember) GetFlags() int32
- func (x *ThreadMember) GetId() string
- func (x *ThreadMember) GetJoinTimestamp() *timestamppb.Timestamp
- func (x *ThreadMember) GetUserId() string
- 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() *timestamppb.Timestamp
- func (x *ThreadMetadata) GetArchived() bool
- func (x *ThreadMetadata) GetAutoArchiveDuration() int32
- func (x *ThreadMetadata) GetInvitable() bool
- func (x *ThreadMetadata) GetLocked() bool
- func (*ThreadMetadata) ProtoMessage()
- func (x *ThreadMetadata) ProtoReflect() protoreflect.Message
- func (x *ThreadMetadata) Reset()
- func (x *ThreadMetadata) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccentColor() int32
- func (x *User) GetAvatar() string
- func (x *User) GetBanner() string
- func (x *User) GetBot() bool
- func (x *User) GetDiscriminator() string
- func (x *User) GetEmail() string
- func (x *User) GetFlags() int32
- func (x *User) GetId() string
- func (x *User) GetLocale() string
- func (x *User) GetMfaEnabled() bool
- func (x *User) GetPremiumType() int32
- func (x *User) GetPublicFlags() int32
- func (x *User) GetSystem() bool
- func (x *User) GetToken() string
- 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
Constants ¶
This section is empty.
Variables ¶
var File_proto_discordgo_channel_proto protoreflect.FileDescriptor
var File_proto_discordgo_command_proto protoreflect.FileDescriptor
var File_proto_discordgo_component_proto protoreflect.FileDescriptor
var File_proto_discordgo_message_proto protoreflect.FileDescriptor
var File_proto_discordgo_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActionsRow ¶
type ActionsRow struct { Components []*MessageComponent `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
func (*ActionsRow) Descriptor
deprecated
func (*ActionsRow) Descriptor() ([]byte, []int)
Deprecated: Use ActionsRow.ProtoReflect.Descriptor instead.
func (*ActionsRow) GetComponents ¶
func (x *ActionsRow) GetComponents() []*MessageComponent
func (*ActionsRow) ProtoMessage ¶
func (*ActionsRow) ProtoMessage()
func (*ActionsRow) ProtoReflect ¶
func (x *ActionsRow) ProtoReflect() protoreflect.Message
func (*ActionsRow) Reset ¶
func (x *ActionsRow) Reset()
func (*ActionsRow) String ¶
func (x *ActionsRow) String() string
type ApplicationCommand ¶
type ApplicationCommand struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` GuildId string `protobuf:"bytes,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Type uint32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` NameLocalizations map[string]string `` /* 200-byte string literal not displayed */ DefaultPermission *bool `protobuf:"varint,8,opt,name=default_permission,json=defaultPermission,proto3,oneof" json:"default_permission,omitempty"` DefaultMemberPermissions *int64 `` /* 142-byte string literal not displayed */ DmPermission *bool `protobuf:"varint,10,opt,name=dm_permission,json=dmPermission,proto3,oneof" json:"dm_permission,omitempty"` Nsfw *bool `protobuf:"varint,11,opt,name=nsfw,proto3,oneof" json:"nsfw,omitempty"` Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` DescriptionLocalizations map[string]string `` /* 222-byte string literal not displayed */ Options []*ApplicationCommandOption `protobuf:"bytes,14,rep,name=options,proto3" json:"options,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() string
func (*ApplicationCommand) GetDefaultMemberPermissions ¶
func (x *ApplicationCommand) GetDefaultMemberPermissions() int64
func (*ApplicationCommand) GetDefaultPermission ¶
func (x *ApplicationCommand) GetDefaultPermission() bool
func (*ApplicationCommand) GetDescription ¶
func (x *ApplicationCommand) GetDescription() string
func (*ApplicationCommand) GetDescriptionLocalizations ¶
func (x *ApplicationCommand) GetDescriptionLocalizations() map[string]string
func (*ApplicationCommand) GetDmPermission ¶
func (x *ApplicationCommand) GetDmPermission() bool
func (*ApplicationCommand) GetGuildId ¶
func (x *ApplicationCommand) GetGuildId() string
func (*ApplicationCommand) GetId ¶
func (x *ApplicationCommand) GetId() string
func (*ApplicationCommand) GetName ¶
func (x *ApplicationCommand) GetName() string
func (*ApplicationCommand) GetNameLocalizations ¶
func (x *ApplicationCommand) GetNameLocalizations() map[string]string
func (*ApplicationCommand) GetNsfw ¶
func (x *ApplicationCommand) GetNsfw() bool
func (*ApplicationCommand) GetOptions ¶
func (x *ApplicationCommand) GetOptions() []*ApplicationCommandOption
func (*ApplicationCommand) GetType ¶
func (x *ApplicationCommand) GetType() uint32
func (*ApplicationCommand) GetVersion ¶
func (x *ApplicationCommand) GetVersion() string
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"` NameLocalizations map[string]string `` /* 200-byte string literal not displayed */ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` DescriptionLocalizations map[string]string `` /* 221-byte string literal not displayed */ ChannelTypes []int32 `protobuf:"varint,6,rep,packed,name=channel_types,json=channelTypes,proto3" json:"channel_types,omitempty"` Required bool `protobuf:"varint,7,opt,name=required,proto3" json:"required,omitempty"` Options []*ApplicationCommandOption `protobuf:"bytes,8,rep,name=options,proto3" json:"options,omitempty"` Autocomplete bool `protobuf:"varint,9,opt,name=autocomplete,proto3" json:"autocomplete,omitempty"` Choices []*ApplicationCommandOptionChoice `protobuf:"bytes,10,rep,name=choices,proto3" json:"choices,omitempty"` MinValue *float64 `protobuf:"fixed64,11,opt,name=min_value,json=minValue,proto3,oneof" json:"min_value,omitempty"` MaxValue float64 `protobuf:"fixed64,12,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` MinLength *int32 `protobuf:"varint,13,opt,name=min_length,json=minLength,proto3,oneof" json:"min_length,omitempty"` MaxLength int32 `protobuf:"varint,14,opt,name=max_length,json=maxLength,proto3" json:"max_length,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() []int32
func (*ApplicationCommandOption) GetChoices ¶
func (x *ApplicationCommandOption) GetChoices() []*ApplicationCommandOptionChoice
func (*ApplicationCommandOption) GetDescription ¶
func (x *ApplicationCommandOption) GetDescription() string
func (*ApplicationCommandOption) GetDescriptionLocalizations ¶
func (x *ApplicationCommandOption) GetDescriptionLocalizations() map[string]string
func (*ApplicationCommandOption) GetMaxLength ¶
func (x *ApplicationCommandOption) GetMaxLength() int32
func (*ApplicationCommandOption) GetMaxValue ¶
func (x *ApplicationCommandOption) GetMaxValue() float64
func (*ApplicationCommandOption) GetMinLength ¶
func (x *ApplicationCommandOption) GetMinLength() int32
func (*ApplicationCommandOption) GetMinValue ¶
func (x *ApplicationCommandOption) GetMinValue() float64
func (*ApplicationCommandOption) GetName ¶
func (x *ApplicationCommandOption) GetName() string
func (*ApplicationCommandOption) GetNameLocalizations ¶
func (x *ApplicationCommandOption) GetNameLocalizations() map[string]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"` NameLocalizations map[string]string `` /* 200-byte string literal not displayed */ Value *structpb.Value `protobuf:"bytes,3,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) GetNameLocalizations ¶
func (x *ApplicationCommandOptionChoice) GetNameLocalizations() map[string]string
func (*ApplicationCommandOptionChoice) GetValue ¶
func (x *ApplicationCommandOptionChoice) GetValue() *structpb.Value
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 Button ¶
type Button struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Style uint32 `protobuf:"varint,2,opt,name=style,proto3" json:"style,omitempty"` Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` Emoji *ComponentEmoji `protobuf:"bytes,4,opt,name=emoji,proto3" json:"emoji,omitempty"` Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` CustomId string `protobuf:"bytes,6,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"` // contains filtered or unexported fields }
func (*Button) Descriptor
deprecated
func (*Button) GetCustomId ¶
func (*Button) GetDisabled ¶
func (*Button) GetEmoji ¶
func (x *Button) GetEmoji() *ComponentEmoji
func (*Button) ProtoMessage ¶
func (*Button) ProtoMessage()
func (*Button) ProtoReflect ¶
func (x *Button) ProtoReflect() protoreflect.Message
type Channel ¶
type Channel struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` GuildId string `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Topic string `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"` Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` LastMessageId string `protobuf:"bytes,6,opt,name=last_message_id,json=lastMessageId,proto3" json:"last_message_id,omitempty"` LastPinTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_pin_timestamp,json=lastPinTimestamp,proto3" json:"last_pin_timestamp,omitempty"` MessageCount int32 `protobuf:"varint,8,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"` MemberCount int32 `protobuf:"varint,9,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"` Nsfw bool `protobuf:"varint,10,opt,name=nsfw,proto3" json:"nsfw,omitempty"` Icon string `protobuf:"bytes,11,opt,name=icon,proto3" json:"icon,omitempty"` Position int32 `protobuf:"varint,12,opt,name=position,proto3" json:"position,omitempty"` Bitrate int32 `protobuf:"varint,13,opt,name=bitrate,proto3" json:"bitrate,omitempty"` Recipients []*User `protobuf:"bytes,14,rep,name=recipients,proto3" json:"recipients,omitempty"` Messages []*Message `protobuf:"bytes,15,rep,name=messages,proto3" json:"messages,omitempty"` PermissionOverwrites []*PermissionOverwrite `protobuf:"bytes,16,rep,name=permission_overwrites,json=permissionOverwrites,proto3" json:"permission_overwrites,omitempty"` UserLimit int32 `protobuf:"varint,17,opt,name=user_limit,json=userLimit,proto3" json:"user_limit,omitempty"` ParentId string `protobuf:"bytes,18,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` RateLimitPerUser int32 `protobuf:"varint,19,opt,name=rate_limit_per_user,json=rateLimitPerUser,proto3" json:"rate_limit_per_user,omitempty"` OwnerId string `protobuf:"bytes,20,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` ApplicationId string `protobuf:"bytes,21,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` ThreadMetadata *ThreadMetadata `protobuf:"bytes,22,opt,name=thread_metadata,json=threadMetadata,proto3" json:"thread_metadata,omitempty"` Member *ThreadMember `protobuf:"bytes,23,opt,name=member,proto3" json:"member,omitempty"` Members []*ThreadMember `protobuf:"bytes,24,rep,name=members,proto3" json:"members,omitempty"` Flags int32 `protobuf:"varint,25,opt,name=flags,proto3" json:"flags,omitempty"` AvailableTags []*ForumTag `protobuf:"bytes,26,rep,name=available_tags,json=availableTags,proto3" json:"available_tags,omitempty"` AppliedTags []string `protobuf:"bytes,27,rep,name=applied_tags,json=appliedTags,proto3" json:"applied_tags,omitempty"` DefaultReactionEmoji *ForumDefaultReaction `protobuf:"bytes,28,opt,name=default_reaction_emoji,json=defaultReactionEmoji,proto3" json:"default_reaction_emoji,omitempty"` DefaultThreadRateLimitPerUser int32 `` /* 158-byte string literal not displayed */ DefaultSortOrder *int32 `protobuf:"varint,30,opt,name=default_sort_order,json=defaultSortOrder,proto3,oneof" json:"default_sort_order,omitempty"` DefaultForumLayout int32 `protobuf:"varint,31,opt,name=default_forum_layout,json=defaultForumLayout,proto3" json:"default_forum_layout,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetApplicationId ¶
func (*Channel) GetAppliedTags ¶
func (*Channel) GetAvailableTags ¶
func (*Channel) GetBitrate ¶
func (*Channel) GetDefaultForumLayout ¶
func (*Channel) GetDefaultReactionEmoji ¶
func (x *Channel) GetDefaultReactionEmoji() *ForumDefaultReaction
func (*Channel) GetDefaultSortOrder ¶
func (*Channel) GetDefaultThreadRateLimitPerUser ¶
func (*Channel) GetGuildId ¶
func (*Channel) GetLastMessageId ¶
func (*Channel) GetLastPinTimestamp ¶
func (x *Channel) GetLastPinTimestamp() *timestamppb.Timestamp
func (*Channel) GetMember ¶
func (x *Channel) GetMember() *ThreadMember
func (*Channel) GetMemberCount ¶
func (*Channel) GetMembers ¶
func (x *Channel) GetMembers() []*ThreadMember
func (*Channel) GetMessageCount ¶
func (*Channel) GetMessages ¶
func (*Channel) GetOwnerId ¶
func (*Channel) GetParentId ¶
func (*Channel) GetPermissionOverwrites ¶
func (x *Channel) GetPermissionOverwrites() []*PermissionOverwrite
func (*Channel) GetPosition ¶
func (*Channel) GetRateLimitPerUser ¶
func (*Channel) GetRecipients ¶
func (*Channel) GetThreadMetadata ¶
func (x *Channel) GetThreadMetadata() *ThreadMetadata
func (*Channel) GetUserLimit ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ComponentEmoji ¶
type ComponentEmoji struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Animated bool `protobuf:"varint,3,opt,name=animated,proto3" json:"animated,omitempty"` // contains filtered or unexported fields }
func (*ComponentEmoji) Descriptor
deprecated
func (*ComponentEmoji) Descriptor() ([]byte, []int)
Deprecated: Use ComponentEmoji.ProtoReflect.Descriptor instead.
func (*ComponentEmoji) GetAnimated ¶
func (x *ComponentEmoji) GetAnimated() bool
func (*ComponentEmoji) GetId ¶
func (x *ComponentEmoji) GetId() string
func (*ComponentEmoji) GetName ¶
func (x *ComponentEmoji) GetName() string
func (*ComponentEmoji) ProtoMessage ¶
func (*ComponentEmoji) ProtoMessage()
func (*ComponentEmoji) ProtoReflect ¶
func (x *ComponentEmoji) ProtoReflect() protoreflect.Message
func (*ComponentEmoji) Reset ¶
func (x *ComponentEmoji) Reset()
func (*ComponentEmoji) String ¶
func (x *ComponentEmoji) String() string
type Emoji ¶
type Emoji 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"` Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` RequireColons bool `protobuf:"varint,5,opt,name=require_colons,json=requireColons,proto3" json:"require_colons,omitempty"` Managed bool `protobuf:"varint,6,opt,name=managed,proto3" json:"managed,omitempty"` Animated bool `protobuf:"varint,7,opt,name=animated,proto3" json:"animated,omitempty"` Available bool `protobuf:"varint,8,opt,name=available,proto3" json:"available,omitempty"` // contains filtered or unexported fields }
func (*Emoji) Descriptor
deprecated
func (*Emoji) GetAnimated ¶
func (*Emoji) GetAvailable ¶
func (*Emoji) GetManaged ¶
func (*Emoji) GetRequireColons ¶
func (*Emoji) ProtoMessage ¶
func (*Emoji) ProtoMessage()
func (*Emoji) ProtoReflect ¶
func (x *Emoji) ProtoReflect() protoreflect.Message
type File ¶
type File struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetContent ¶
func (*File) GetContentType ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type ForumDefaultReaction ¶
type ForumDefaultReaction struct { EmojiId string `protobuf:"bytes,1,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"` EmojiName string `protobuf:"bytes,2,opt,name=emoji_name,json=emojiName,proto3" json:"emoji_name,omitempty"` // contains filtered or unexported fields }
func (*ForumDefaultReaction) Descriptor
deprecated
func (*ForumDefaultReaction) Descriptor() ([]byte, []int)
Deprecated: Use ForumDefaultReaction.ProtoReflect.Descriptor instead.
func (*ForumDefaultReaction) GetEmojiId ¶
func (x *ForumDefaultReaction) GetEmojiId() string
func (*ForumDefaultReaction) GetEmojiName ¶
func (x *ForumDefaultReaction) GetEmojiName() string
func (*ForumDefaultReaction) ProtoMessage ¶
func (*ForumDefaultReaction) ProtoMessage()
func (*ForumDefaultReaction) ProtoReflect ¶
func (x *ForumDefaultReaction) ProtoReflect() protoreflect.Message
func (*ForumDefaultReaction) Reset ¶
func (x *ForumDefaultReaction) Reset()
func (*ForumDefaultReaction) String ¶
func (x *ForumDefaultReaction) String() string
type ForumTag ¶
type ForumTag 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"` Moderated bool `protobuf:"varint,3,opt,name=moderated,proto3" json:"moderated,omitempty"` EmojiId string `protobuf:"bytes,4,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"` EmojiName string `protobuf:"bytes,5,opt,name=emoji_name,json=emojiName,proto3" json:"emoji_name,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 Member ¶
type Member struct { GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` JoinedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` Nick string `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"` Deaf bool `protobuf:"varint,4,opt,name=deaf,proto3" json:"deaf,omitempty"` Mute bool `protobuf:"varint,5,opt,name=mute,proto3" json:"mute,omitempty"` Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` User *User `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"` Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"` PremiumSince *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=premium_since,json=premiumSince,proto3" json:"premium_since,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 *timestamppb.Timestamp `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Member) Descriptor
deprecated
func (*Member) GetCommunicationDisabledUntil ¶
func (x *Member) GetCommunicationDisabledUntil() *timestamppb.Timestamp
func (*Member) GetGuildId ¶
func (*Member) GetJoinedAt ¶
func (x *Member) GetJoinedAt() *timestamppb.Timestamp
func (*Member) GetPending ¶
func (*Member) GetPermissions ¶
func (*Member) GetPremiumSince ¶
func (x *Member) GetPremiumSince() *timestamppb.Timestamp
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` GuildId string `protobuf:"bytes,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` EditedTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=edited_timestamp,json=editedTimestamp,proto3" json:"edited_timestamp,omitempty"` MentionRoles []string `protobuf:"bytes,7,rep,name=mention_roles,json=mentionRoles,proto3" json:"mention_roles,omitempty"` Tts bool `protobuf:"varint,8,opt,name=tts,proto3" json:"tts,omitempty"` MentionEveryone bool `protobuf:"varint,9,opt,name=mention_everyone,json=mentionEveryone,proto3" json:"mention_everyone,omitempty"` Author *User `protobuf:"bytes,10,opt,name=author,proto3" json:"author,omitempty"` Attachments []*MessageAttachment `protobuf:"bytes,11,rep,name=attachments,proto3" json:"attachments,omitempty"` Components []*MessageComponent `protobuf:"bytes,12,rep,name=components,proto3" json:"components,omitempty"` Embeds []*MessageEmbed `protobuf:"bytes,13,rep,name=embeds,proto3" json:"embeds,omitempty"` Mentions []*User `protobuf:"bytes,14,rep,name=mentions,proto3" json:"mentions,omitempty"` Reactions []*MessageReactions `protobuf:"bytes,15,rep,name=reactions,proto3" json:"reactions,omitempty"` Pinned bool `protobuf:"varint,16,opt,name=pinned,proto3" json:"pinned,omitempty"` Type int32 `protobuf:"varint,17,opt,name=type,proto3" json:"type,omitempty"` WebhookId string `protobuf:"bytes,18,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` Member *Member `protobuf:"bytes,19,opt,name=member,proto3" json:"member,omitempty"` MentionChannels []*Channel `protobuf:"bytes,20,rep,name=mention_channels,json=mentionChannels,proto3" json:"mention_channels,omitempty"` Activity *MessageActivity `protobuf:"bytes,21,opt,name=activity,proto3" json:"activity,omitempty"` Application *MessageApplication `protobuf:"bytes,22,opt,name=application,proto3" json:"application,omitempty"` MessageReference *MessageReference `protobuf:"bytes,23,opt,name=message_reference,json=messageReference,proto3" json:"message_reference,omitempty"` ReferencedMessage *Message `protobuf:"bytes,24,opt,name=referenced_message,json=referencedMessage,proto3" json:"referenced_message,omitempty"` Interaction *MessageInteraction `protobuf:"bytes,25,opt,name=interaction,proto3" json:"interaction,omitempty"` Flags int32 `protobuf:"varint,26,opt,name=flags,proto3" json:"flags,omitempty"` Thread *Channel `protobuf:"bytes,27,opt,name=thread,proto3" json:"thread,omitempty"` StickerItems []*Sticker `protobuf:"bytes,28,rep,name=sticker_items,json=stickerItems,proto3" json:"sticker_items,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() *MessageApplication
func (*Message) GetAttachments ¶
func (x *Message) GetAttachments() []*MessageAttachment
func (*Message) GetChannelId ¶
func (*Message) GetComponents ¶
func (x *Message) GetComponents() []*MessageComponent
func (*Message) GetContent ¶
func (*Message) GetEditedTimestamp ¶
func (x *Message) GetEditedTimestamp() *timestamppb.Timestamp
func (*Message) GetEmbeds ¶
func (x *Message) GetEmbeds() []*MessageEmbed
func (*Message) GetGuildId ¶
func (*Message) GetInteraction ¶
func (x *Message) GetInteraction() *MessageInteraction
func (*Message) GetMentionChannels ¶
func (*Message) GetMentionEveryone ¶
func (*Message) GetMentionRoles ¶
func (*Message) GetMentions ¶
func (*Message) GetMessageReference ¶
func (x *Message) GetMessageReference() *MessageReference
func (*Message) GetReactions ¶
func (x *Message) GetReactions() []*MessageReactions
func (*Message) GetReferencedMessage ¶
func (*Message) GetStickerItems ¶
func (*Message) GetTimestamp ¶
func (x *Message) GetTimestamp() *timestamppb.Timestamp
func (*Message) GetWebhookId ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageActivity ¶
type MessageActivity struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,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() int32
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 []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` Users []string `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` RepliedUser bool `protobuf:"varint,4,opt,name=replied_user,json=repliedUser,proto3" json:"replied_user,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() []string
func (*MessageAllowedMentions) GetUsers ¶
func (x *MessageAllowedMentions) GetUsers() []string
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 MessageApplication ¶
type MessageApplication struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CoverImage string `protobuf:"bytes,2,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication) Descriptor
deprecated
func (*MessageApplication) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication.ProtoReflect.Descriptor instead.
func (*MessageApplication) GetCoverImage ¶
func (x *MessageApplication) GetCoverImage() string
func (*MessageApplication) GetDescription ¶
func (x *MessageApplication) GetDescription() string
func (*MessageApplication) GetIcon ¶
func (x *MessageApplication) GetIcon() string
func (*MessageApplication) GetId ¶
func (x *MessageApplication) GetId() string
func (*MessageApplication) GetName ¶
func (x *MessageApplication) GetName() string
func (*MessageApplication) ProtoMessage ¶
func (*MessageApplication) ProtoMessage()
func (*MessageApplication) ProtoReflect ¶
func (x *MessageApplication) ProtoReflect() protoreflect.Message
func (*MessageApplication) Reset ¶
func (x *MessageApplication) Reset()
func (*MessageApplication) String ¶
func (x *MessageApplication) String() string
type MessageAttachment ¶
type MessageAttachment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` ProxyUrl string `protobuf:"bytes,3,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"` Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,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"` Size int32 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` Ephemeral bool `protobuf:"varint,9,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` // contains filtered or unexported fields }
func (*MessageAttachment) Descriptor
deprecated
func (*MessageAttachment) Descriptor() ([]byte, []int)
Deprecated: Use MessageAttachment.ProtoReflect.Descriptor instead.
func (*MessageAttachment) GetContentType ¶
func (x *MessageAttachment) GetContentType() string
func (*MessageAttachment) GetEphemeral ¶
func (x *MessageAttachment) GetEphemeral() bool
func (*MessageAttachment) GetFilename ¶
func (x *MessageAttachment) GetFilename() string
func (*MessageAttachment) GetHeight ¶
func (x *MessageAttachment) GetHeight() int32
func (*MessageAttachment) GetId ¶
func (x *MessageAttachment) GetId() string
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 MessageComponent ¶
type MessageComponent struct { // Types that are assignable to Component: // // *MessageComponent_ActionsRow // *MessageComponent_Button // *MessageComponent_SelectMenu // *MessageComponent_TextInput Component isMessageComponent_Component `protobuf_oneof:"component"` // contains filtered or unexported fields }
func (*MessageComponent) Descriptor
deprecated
func (*MessageComponent) Descriptor() ([]byte, []int)
Deprecated: Use MessageComponent.ProtoReflect.Descriptor instead.
func (*MessageComponent) GetActionsRow ¶
func (x *MessageComponent) GetActionsRow() *ActionsRow
func (*MessageComponent) GetButton ¶
func (x *MessageComponent) GetButton() *Button
func (*MessageComponent) GetComponent ¶
func (m *MessageComponent) GetComponent() isMessageComponent_Component
func (*MessageComponent) GetSelectMenu ¶
func (x *MessageComponent) GetSelectMenu() *SelectMenu
func (*MessageComponent) GetTextInput ¶
func (x *MessageComponent) GetTextInput() *TextInput
func (*MessageComponent) ProtoMessage ¶
func (*MessageComponent) ProtoMessage()
func (*MessageComponent) ProtoReflect ¶
func (x *MessageComponent) ProtoReflect() protoreflect.Message
func (*MessageComponent) Reset ¶
func (x *MessageComponent) Reset()
func (*MessageComponent) String ¶
func (x *MessageComponent) String() string
type MessageComponent_ActionsRow ¶
type MessageComponent_ActionsRow struct {
ActionsRow *ActionsRow `protobuf:"bytes,2,opt,name=actions_row,json=actionsRow,proto3,oneof"`
}
type MessageComponent_Button ¶
type MessageComponent_Button struct {
Button *Button `protobuf:"bytes,3,opt,name=button,proto3,oneof"`
}
type MessageComponent_SelectMenu ¶
type MessageComponent_SelectMenu struct {
SelectMenu *SelectMenu `protobuf:"bytes,4,opt,name=select_menu,json=selectMenu,proto3,oneof"`
}
type MessageComponent_TextInput ¶
type MessageComponent_TextInput struct {
TextInput *TextInput `protobuf:"bytes,5,opt,name=text_input,json=textInput,proto3,oneof"`
}
type MessageEmbed ¶
type MessageEmbed struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,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 *MessageEmbedImage `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"` Thumbnail *MessageEmbedThumbnail `protobuf:"bytes,9,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` Video *MessageEmbedVideo `protobuf:"bytes,10,opt,name=video,proto3" json:"video,omitempty"` Provider *MessageEmbedProvider `protobuf:"bytes,11,opt,name=provider,proto3" json:"provider,omitempty"` Author *MessageEmbedAuthor `protobuf:"bytes,12,opt,name=author,proto3" json:"author,omitempty"` Fields []*MessageEmbedField `protobuf:"bytes,13,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*MessageEmbed) Descriptor
deprecated
func (*MessageEmbed) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbed.ProtoReflect.Descriptor instead.
func (*MessageEmbed) GetAuthor ¶
func (x *MessageEmbed) GetAuthor() *MessageEmbedAuthor
func (*MessageEmbed) GetColor ¶
func (x *MessageEmbed) GetColor() int32
func (*MessageEmbed) GetDescription ¶
func (x *MessageEmbed) GetDescription() string
func (*MessageEmbed) GetFields ¶
func (x *MessageEmbed) GetFields() []*MessageEmbedField
func (*MessageEmbed) GetFooter ¶
func (x *MessageEmbed) GetFooter() *MessageEmbedFooter
func (*MessageEmbed) GetImage ¶
func (x *MessageEmbed) GetImage() *MessageEmbedImage
func (*MessageEmbed) GetProvider ¶
func (x *MessageEmbed) GetProvider() *MessageEmbedProvider
func (*MessageEmbed) GetThumbnail ¶
func (x *MessageEmbed) GetThumbnail() *MessageEmbedThumbnail
func (*MessageEmbed) GetTimestamp ¶
func (x *MessageEmbed) GetTimestamp() string
func (*MessageEmbed) GetTitle ¶
func (x *MessageEmbed) GetTitle() string
func (*MessageEmbed) GetType ¶
func (x *MessageEmbed) GetType() string
func (*MessageEmbed) GetUrl ¶
func (x *MessageEmbed) GetUrl() string
func (*MessageEmbed) GetVideo ¶
func (x *MessageEmbed) GetVideo() *MessageEmbedVideo
func (*MessageEmbed) ProtoMessage ¶
func (*MessageEmbed) ProtoMessage()
func (*MessageEmbed) ProtoReflect ¶
func (x *MessageEmbed) ProtoReflect() protoreflect.Message
func (*MessageEmbed) Reset ¶
func (x *MessageEmbed) Reset()
func (*MessageEmbed) String ¶
func (x *MessageEmbed) String() string
type MessageEmbedAuthor ¶
type MessageEmbedAuthor struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IconUrl string `protobuf:"bytes,3,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` ProxyIconUrl string `protobuf:"bytes,4,opt,name=proxy_icon_url,json=proxyIconUrl,proto3" json:"proxy_icon_url,omitempty"` // contains filtered or unexported fields }
func (*MessageEmbedAuthor) Descriptor
deprecated
func (*MessageEmbedAuthor) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedAuthor.ProtoReflect.Descriptor instead.
func (*MessageEmbedAuthor) GetIconUrl ¶
func (x *MessageEmbedAuthor) GetIconUrl() string
func (*MessageEmbedAuthor) GetName ¶
func (x *MessageEmbedAuthor) GetName() string
func (*MessageEmbedAuthor) GetProxyIconUrl ¶
func (x *MessageEmbedAuthor) GetProxyIconUrl() string
func (*MessageEmbedAuthor) GetUrl ¶
func (x *MessageEmbedAuthor) GetUrl() string
func (*MessageEmbedAuthor) ProtoMessage ¶
func (*MessageEmbedAuthor) ProtoMessage()
func (*MessageEmbedAuthor) ProtoReflect ¶
func (x *MessageEmbedAuthor) ProtoReflect() protoreflect.Message
func (*MessageEmbedAuthor) Reset ¶
func (x *MessageEmbedAuthor) Reset()
func (*MessageEmbedAuthor) String ¶
func (x *MessageEmbedAuthor) String() string
type MessageEmbedField ¶
type MessageEmbedField 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 (*MessageEmbedField) Descriptor
deprecated
func (*MessageEmbedField) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedField.ProtoReflect.Descriptor instead.
func (*MessageEmbedField) GetInline ¶
func (x *MessageEmbedField) GetInline() bool
func (*MessageEmbedField) GetName ¶
func (x *MessageEmbedField) GetName() string
func (*MessageEmbedField) GetValue ¶
func (x *MessageEmbedField) GetValue() string
func (*MessageEmbedField) ProtoMessage ¶
func (*MessageEmbedField) ProtoMessage()
func (*MessageEmbedField) ProtoReflect ¶
func (x *MessageEmbedField) ProtoReflect() protoreflect.Message
func (*MessageEmbedField) Reset ¶
func (x *MessageEmbedField) Reset()
func (*MessageEmbedField) String ¶
func (x *MessageEmbedField) String() string
type MessageEmbedFooter ¶
type MessageEmbedFooter struct { // contains filtered or unexported fields }
func (*MessageEmbedFooter) Descriptor
deprecated
func (*MessageEmbedFooter) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedFooter.ProtoReflect.Descriptor instead.
func (*MessageEmbedFooter) GetIconUrl ¶
func (x *MessageEmbedFooter) GetIconUrl() string
func (*MessageEmbedFooter) GetProxyIconUrl ¶
func (x *MessageEmbedFooter) GetProxyIconUrl() string
func (*MessageEmbedFooter) GetText ¶
func (x *MessageEmbedFooter) GetText() string
func (*MessageEmbedFooter) ProtoMessage ¶
func (*MessageEmbedFooter) ProtoMessage()
func (*MessageEmbedFooter) ProtoReflect ¶
func (x *MessageEmbedFooter) ProtoReflect() protoreflect.Message
func (*MessageEmbedFooter) Reset ¶
func (x *MessageEmbedFooter) Reset()
func (*MessageEmbedFooter) String ¶
func (x *MessageEmbedFooter) String() string
type MessageEmbedImage ¶
type MessageEmbedImage struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` ProxyUrl string `protobuf:"bytes,2,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"` Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*MessageEmbedImage) Descriptor
deprecated
func (*MessageEmbedImage) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedImage.ProtoReflect.Descriptor instead.
func (*MessageEmbedImage) GetHeight ¶
func (x *MessageEmbedImage) GetHeight() int32
func (*MessageEmbedImage) GetProxyUrl ¶
func (x *MessageEmbedImage) GetProxyUrl() string
func (*MessageEmbedImage) GetUrl ¶
func (x *MessageEmbedImage) GetUrl() string
func (*MessageEmbedImage) GetWidth ¶
func (x *MessageEmbedImage) GetWidth() int32
func (*MessageEmbedImage) ProtoMessage ¶
func (*MessageEmbedImage) ProtoMessage()
func (*MessageEmbedImage) ProtoReflect ¶
func (x *MessageEmbedImage) ProtoReflect() protoreflect.Message
func (*MessageEmbedImage) Reset ¶
func (x *MessageEmbedImage) Reset()
func (*MessageEmbedImage) String ¶
func (x *MessageEmbedImage) String() string
type MessageEmbedProvider ¶
type MessageEmbedProvider struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*MessageEmbedProvider) Descriptor
deprecated
func (*MessageEmbedProvider) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedProvider.ProtoReflect.Descriptor instead.
func (*MessageEmbedProvider) GetName ¶
func (x *MessageEmbedProvider) GetName() string
func (*MessageEmbedProvider) GetUrl ¶
func (x *MessageEmbedProvider) GetUrl() string
func (*MessageEmbedProvider) ProtoMessage ¶
func (*MessageEmbedProvider) ProtoMessage()
func (*MessageEmbedProvider) ProtoReflect ¶
func (x *MessageEmbedProvider) ProtoReflect() protoreflect.Message
func (*MessageEmbedProvider) Reset ¶
func (x *MessageEmbedProvider) Reset()
func (*MessageEmbedProvider) String ¶
func (x *MessageEmbedProvider) String() string
type MessageEmbedThumbnail ¶
type MessageEmbedThumbnail struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` ProxyUrl string `protobuf:"bytes,2,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"` Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*MessageEmbedThumbnail) Descriptor
deprecated
func (*MessageEmbedThumbnail) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedThumbnail.ProtoReflect.Descriptor instead.
func (*MessageEmbedThumbnail) GetHeight ¶
func (x *MessageEmbedThumbnail) GetHeight() int32
func (*MessageEmbedThumbnail) GetProxyUrl ¶
func (x *MessageEmbedThumbnail) GetProxyUrl() string
func (*MessageEmbedThumbnail) GetUrl ¶
func (x *MessageEmbedThumbnail) GetUrl() string
func (*MessageEmbedThumbnail) GetWidth ¶
func (x *MessageEmbedThumbnail) GetWidth() int32
func (*MessageEmbedThumbnail) ProtoMessage ¶
func (*MessageEmbedThumbnail) ProtoMessage()
func (*MessageEmbedThumbnail) ProtoReflect ¶
func (x *MessageEmbedThumbnail) ProtoReflect() protoreflect.Message
func (*MessageEmbedThumbnail) Reset ¶
func (x *MessageEmbedThumbnail) Reset()
func (*MessageEmbedThumbnail) String ¶
func (x *MessageEmbedThumbnail) String() string
type MessageEmbedVideo ¶
type MessageEmbedVideo struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*MessageEmbedVideo) Descriptor
deprecated
func (*MessageEmbedVideo) Descriptor() ([]byte, []int)
Deprecated: Use MessageEmbedVideo.ProtoReflect.Descriptor instead.
func (*MessageEmbedVideo) GetHeight ¶
func (x *MessageEmbedVideo) GetHeight() int32
func (*MessageEmbedVideo) GetUrl ¶
func (x *MessageEmbedVideo) GetUrl() string
func (*MessageEmbedVideo) GetWidth ¶
func (x *MessageEmbedVideo) GetWidth() int32
func (*MessageEmbedVideo) ProtoMessage ¶
func (*MessageEmbedVideo) ProtoMessage()
func (*MessageEmbedVideo) ProtoReflect ¶
func (x *MessageEmbedVideo) ProtoReflect() protoreflect.Message
func (*MessageEmbedVideo) Reset ¶
func (x *MessageEmbedVideo) Reset()
func (*MessageEmbedVideo) String ¶
func (x *MessageEmbedVideo) String() string
type MessageInteraction ¶
type MessageInteraction struct { Id string `protobuf:"bytes,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"` Member *Member `protobuf:"bytes,5,opt,name=member,proto3" json:"member,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() string
func (*MessageInteraction) GetMember ¶
func (x *MessageInteraction) GetMember() *Member
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 MessageReactions ¶
type MessageReactions 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 (*MessageReactions) Descriptor
deprecated
func (*MessageReactions) Descriptor() ([]byte, []int)
Deprecated: Use MessageReactions.ProtoReflect.Descriptor instead.
func (*MessageReactions) GetCount ¶
func (x *MessageReactions) GetCount() int32
func (*MessageReactions) GetEmoji ¶
func (x *MessageReactions) GetEmoji() *Emoji
func (*MessageReactions) GetMe ¶
func (x *MessageReactions) GetMe() bool
func (*MessageReactions) ProtoMessage ¶
func (*MessageReactions) ProtoMessage()
func (*MessageReactions) ProtoReflect ¶
func (x *MessageReactions) ProtoReflect() protoreflect.Message
func (*MessageReactions) Reset ¶
func (x *MessageReactions) Reset()
func (*MessageReactions) String ¶
func (x *MessageReactions) String() string
type MessageReference ¶
type MessageReference struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` GuildId string `protobuf:"bytes,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,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() string
func (*MessageReference) GetGuildId ¶
func (x *MessageReference) GetGuildId() string
func (*MessageReference) GetMessageId ¶
func (x *MessageReference) GetMessageId() string
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 PermissionOverwrite ¶
type PermissionOverwrite struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type int32 `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 (*PermissionOverwrite) Descriptor
deprecated
func (*PermissionOverwrite) Descriptor() ([]byte, []int)
Deprecated: Use PermissionOverwrite.ProtoReflect.Descriptor instead.
func (*PermissionOverwrite) GetAllow ¶
func (x *PermissionOverwrite) GetAllow() int64
func (*PermissionOverwrite) GetDeny ¶
func (x *PermissionOverwrite) GetDeny() int64
func (*PermissionOverwrite) GetId ¶
func (x *PermissionOverwrite) GetId() string
func (*PermissionOverwrite) GetType ¶
func (x *PermissionOverwrite) GetType() int32
func (*PermissionOverwrite) ProtoMessage ¶
func (*PermissionOverwrite) ProtoMessage()
func (*PermissionOverwrite) ProtoReflect ¶
func (x *PermissionOverwrite) ProtoReflect() protoreflect.Message
func (*PermissionOverwrite) Reset ¶
func (x *PermissionOverwrite) Reset()
func (*PermissionOverwrite) String ¶
func (x *PermissionOverwrite) String() string
type Role ¶
type Role 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"` Managed bool `protobuf:"varint,3,opt,name=managed,proto3" json:"managed,omitempty"` Mentionable bool `protobuf:"varint,4,opt,name=mentionable,proto3" json:"mentionable,omitempty"` Hoist bool `protobuf:"varint,5,opt,name=hoist,proto3" json:"hoist,omitempty"` Color int32 `protobuf:"varint,6,opt,name=color,proto3" json:"color,omitempty"` Position int32 `protobuf:"varint,7,opt,name=position,proto3" json:"position,omitempty"` Permissions int64 `protobuf:"varint,8,opt,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetManaged ¶
func (*Role) GetMentionable ¶
func (*Role) GetPermissions ¶
func (*Role) GetPosition ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type SelectMenu ¶
type SelectMenu struct { MenuType uint32 `protobuf:"varint,1,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` CustomId string `protobuf:"bytes,2,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"` Placeholder string `protobuf:"bytes,3,opt,name=placeholder,proto3" json:"placeholder,omitempty"` MinValues *int32 `protobuf:"varint,4,opt,name=min_values,json=minValues,proto3,oneof" json:"min_values,omitempty"` MaxValues int32 `protobuf:"varint,5,opt,name=max_values,json=maxValues,proto3" json:"max_values,omitempty"` Options []*SelectMenuOption `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"` Disabled bool `protobuf:"varint,7,opt,name=disabled,proto3" json:"disabled,omitempty"` ChannelTypes []int32 `protobuf:"varint,8,rep,packed,name=channel_types,json=channelTypes,proto3" json:"channel_types,omitempty"` // contains filtered or unexported fields }
func (*SelectMenu) Descriptor
deprecated
func (*SelectMenu) Descriptor() ([]byte, []int)
Deprecated: Use SelectMenu.ProtoReflect.Descriptor instead.
func (*SelectMenu) GetChannelTypes ¶
func (x *SelectMenu) GetChannelTypes() []int32
func (*SelectMenu) GetCustomId ¶
func (x *SelectMenu) GetCustomId() string
func (*SelectMenu) GetDisabled ¶
func (x *SelectMenu) GetDisabled() bool
func (*SelectMenu) GetMaxValues ¶
func (x *SelectMenu) GetMaxValues() int32
func (*SelectMenu) GetMenuType ¶
func (x *SelectMenu) GetMenuType() uint32
func (*SelectMenu) GetMinValues ¶
func (x *SelectMenu) GetMinValues() int32
func (*SelectMenu) GetOptions ¶
func (x *SelectMenu) GetOptions() []*SelectMenuOption
func (*SelectMenu) GetPlaceholder ¶
func (x *SelectMenu) GetPlaceholder() string
func (*SelectMenu) ProtoMessage ¶
func (*SelectMenu) ProtoMessage()
func (*SelectMenu) ProtoReflect ¶
func (x *SelectMenu) ProtoReflect() protoreflect.Message
func (*SelectMenu) Reset ¶
func (x *SelectMenu) Reset()
func (*SelectMenu) String ¶
func (x *SelectMenu) String() string
type SelectMenuOption ¶
type SelectMenuOption 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 *ComponentEmoji `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 (*SelectMenuOption) Descriptor
deprecated
func (*SelectMenuOption) Descriptor() ([]byte, []int)
Deprecated: Use SelectMenuOption.ProtoReflect.Descriptor instead.
func (*SelectMenuOption) GetDefault ¶
func (x *SelectMenuOption) GetDefault() bool
func (*SelectMenuOption) GetDescription ¶
func (x *SelectMenuOption) GetDescription() string
func (*SelectMenuOption) GetEmoji ¶
func (x *SelectMenuOption) GetEmoji() *ComponentEmoji
func (*SelectMenuOption) GetLabel ¶
func (x *SelectMenuOption) GetLabel() string
func (*SelectMenuOption) GetValue ¶
func (x *SelectMenuOption) GetValue() string
func (*SelectMenuOption) ProtoMessage ¶
func (*SelectMenuOption) ProtoMessage()
func (*SelectMenuOption) ProtoReflect ¶
func (x *SelectMenuOption) ProtoReflect() protoreflect.Message
func (*SelectMenuOption) Reset ¶
func (x *SelectMenuOption) Reset()
func (*SelectMenuOption) String ¶
func (x *SelectMenuOption) String() string
type Sticker ¶
type Sticker struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PackId string `protobuf:"bytes,2,opt,name=pack_id,json=packId,proto3" json:"pack_id,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 int32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"` FormatType int32 `protobuf:"varint,7,opt,name=format_type,json=formatType,proto3" json:"format_type,omitempty"` Available bool `protobuf:"varint,8,opt,name=available,proto3" json:"available,omitempty"` GuildId string `protobuf:"bytes,9,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` SortValue int32 `protobuf:"varint,11,opt,name=sort_value,json=sortValue,proto3" json:"sort_value,omitempty"` // contains filtered or unexported fields }
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 TextInput ¶
type TextInput struct { CustomId string `protobuf:"bytes,1,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Style uint32 `protobuf:"varint,3,opt,name=style,proto3" json:"style,omitempty"` Placeholder string `protobuf:"bytes,4,opt,name=placeholder,proto3" json:"placeholder,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"` MinLength int32 `protobuf:"varint,7,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` MaxLength int32 `protobuf:"varint,8,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` // contains filtered or unexported fields }
func (*TextInput) Descriptor
deprecated
func (*TextInput) GetCustomId ¶
func (*TextInput) GetMaxLength ¶
func (*TextInput) GetMinLength ¶
func (*TextInput) GetPlaceholder ¶
func (*TextInput) GetRequired ¶
func (*TextInput) ProtoMessage ¶
func (*TextInput) ProtoMessage()
func (*TextInput) ProtoReflect ¶
func (x *TextInput) ProtoReflect() protoreflect.Message
type ThreadMember ¶
type ThreadMember struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` JoinTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=join_timestamp,json=joinTimestamp,proto3" json:"join_timestamp,omitempty"` Flags int32 `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
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) GetId ¶
func (x *ThreadMember) GetId() string
func (*ThreadMember) GetJoinTimestamp ¶
func (x *ThreadMember) GetJoinTimestamp() *timestamppb.Timestamp
func (*ThreadMember) GetUserId ¶
func (x *ThreadMember) GetUserId() string
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=auto_archive_duration,json=autoArchiveDuration,proto3" json:"auto_archive_duration,omitempty"` ArchiveTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=archive_timestamp,json=archiveTimestamp,proto3" json:"archive_timestamp,omitempty"` Locked bool `protobuf:"varint,4,opt,name=locked,proto3" json:"locked,omitempty"` Invitable bool `protobuf:"varint,5,opt,name=invitable,proto3" json:"invitable,omitempty"` // contains filtered or unexported fields }
func (*ThreadMetadata) Descriptor
deprecated
func (*ThreadMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ThreadMetadata.ProtoReflect.Descriptor instead.
func (*ThreadMetadata) GetArchiveTimestamp ¶
func (x *ThreadMetadata) GetArchiveTimestamp() *timestamppb.Timestamp
func (*ThreadMetadata) GetArchived ¶
func (x *ThreadMetadata) GetArchived() bool
func (*ThreadMetadata) GetAutoArchiveDuration ¶
func (x *ThreadMetadata) GetAutoArchiveDuration() int32
func (*ThreadMetadata) GetInvitable ¶
func (x *ThreadMetadata) GetInvitable() bool
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 User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` Locale string `protobuf:"bytes,5,opt,name=locale,proto3" json:"locale,omitempty"` Discriminator string `protobuf:"bytes,6,opt,name=discriminator,proto3" json:"discriminator,omitempty"` Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"` Verified bool `protobuf:"varint,8,opt,name=verified,proto3" json:"verified,omitempty"` MfaEnabled bool `protobuf:"varint,9,opt,name=mfa_enabled,json=mfaEnabled,proto3" json:"mfa_enabled,omitempty"` Banner string `protobuf:"bytes,10,opt,name=banner,proto3" json:"banner,omitempty"` AccentColor int32 `protobuf:"varint,11,opt,name=accent_color,json=accentColor,proto3" json:"accent_color,omitempty"` Bot bool `protobuf:"varint,12,opt,name=bot,proto3" json:"bot,omitempty"` PublicFlags int32 `protobuf:"varint,13,opt,name=public_flags,json=publicFlags,proto3" json:"public_flags,omitempty"` PremiumType int32 `protobuf:"varint,14,opt,name=premium_type,json=premiumType,proto3" json:"premium_type,omitempty"` System bool `protobuf:"varint,15,opt,name=system,proto3" json:"system,omitempty"` Flags int32 `protobuf:"varint,16,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAccentColor ¶
func (*User) GetDiscriminator ¶
func (*User) GetMfaEnabled ¶
func (*User) GetPremiumType ¶
func (*User) GetPublicFlags ¶
func (*User) GetUsername ¶
func (*User) GetVerified ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message