discord_v1

package
v0.0.0-...-27d56bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Helper_ChannelMessageSend_FullMethodName        = "/discord_v1.Helper/ChannelMessageSend"
	Helper_ChannelMessageSendComplex_FullMethodName = "/discord_v1.Helper/ChannelMessageSendComplex"
	Helper_ChannelMessageSendEmbed_FullMethodName   = "/discord_v1.Helper/ChannelMessageSendEmbed"
	Helper_ChannelMessageSendEmbeds_FullMethodName  = "/discord_v1.Helper/ChannelMessageSendEmbeds"
	Helper_ChannelMessageEdit_FullMethodName        = "/discord_v1.Helper/ChannelMessageEdit"
	Helper_ChannelMessageEditComplex_FullMethodName = "/discord_v1.Helper/ChannelMessageEditComplex"
	Helper_ChannelMessageDelete_FullMethodName      = "/discord_v1.Helper/ChannelMessageDelete"
	Helper_ChannelMessages_FullMethodName           = "/discord_v1.Helper/ChannelMessages"
	Helper_ChannelMessage_FullMethodName            = "/discord_v1.Helper/ChannelMessage"
	Helper_Channel_FullMethodName                   = "/discord_v1.Helper/Channel"
	Helper_ChannelEdit_FullMethodName               = "/discord_v1.Helper/ChannelEdit"
	Helper_ChannelDelete_FullMethodName             = "/discord_v1.Helper/ChannelDelete"
	Helper_ChannelTyping_FullMethodName             = "/discord_v1.Helper/ChannelTyping"
	Helper_Guild_FullMethodName                     = "/discord_v1.Helper/Guild"
	Helper_GuildChannels_FullMethodName             = "/discord_v1.Helper/GuildChannels"
	Helper_GuildMembers_FullMethodName              = "/discord_v1.Helper/GuildMembers"
	Helper_GuildMember_FullMethodName               = "/discord_v1.Helper/GuildMember"
	Helper_GuildRoles_FullMethodName                = "/discord_v1.Helper/GuildRoles"
	Helper_User_FullMethodName                      = "/discord_v1.Helper/User"
	Helper_UserChannelCreate_FullMethodName         = "/discord_v1.Helper/UserChannelCreate"
	Helper_InteractionRespond_FullMethodName        = "/discord_v1.Helper/InteractionRespond"
	Helper_InteractionResponseEdit_FullMethodName   = "/discord_v1.Helper/InteractionResponseEdit"
	Helper_ApplicationCommandCreate_FullMethodName  = "/discord_v1.Helper/ApplicationCommandCreate"
	Helper_ApplicationCommandEdit_FullMethodName    = "/discord_v1.Helper/ApplicationCommandEdit"
	Helper_ApplicationCommandDelete_FullMethodName  = "/discord_v1.Helper/ApplicationCommandDelete"
	Helper_ApplicationCommands_FullMethodName       = "/discord_v1.Helper/ApplicationCommands"
	Helper_MessageReactionAdd_FullMethodName        = "/discord_v1.Helper/MessageReactionAdd"
	Helper_MessageReactionRemove_FullMethodName     = "/discord_v1.Helper/MessageReactionRemove"
	Helper_MessageReactionsRemoveAll_FullMethodName = "/discord_v1.Helper/MessageReactionsRemoveAll"
	Helper_ThreadStart_FullMethodName               = "/discord_v1.Helper/ThreadStart"
	Helper_ThreadJoin_FullMethodName                = "/discord_v1.Helper/ThreadJoin"
	Helper_ThreadLeave_FullMethodName               = "/discord_v1.Helper/ThreadLeave"
	Helper_ThreadMemberAdd_FullMethodName           = "/discord_v1.Helper/ThreadMemberAdd"
	Helper_ThreadMemberRemove_FullMethodName        = "/discord_v1.Helper/ThreadMemberRemove"
	Helper_VoiceRegions_FullMethodName              = "/discord_v1.Helper/VoiceRegions"
	Helper_WebhookCreate_FullMethodName             = "/discord_v1.Helper/WebhookCreate"
	Helper_WebhookExecute_FullMethodName            = "/discord_v1.Helper/WebhookExecute"
	Helper_UserChannelPermissions_FullMethodName    = "/discord_v1.Helper/UserChannelPermissions"
	Helper_Gateway_FullMethodName                   = "/discord_v1.Helper/Gateway"
	Helper_GatewayBot_FullMethodName                = "/discord_v1.Helper/GatewayBot"
)
View Source
const (
	Hook_OnInit_FullMethodName              = "/discord_v1.Hook/OnInit"
	Hook_OnCreateMessage_FullMethodName     = "/discord_v1.Hook/OnCreateMessage"
	Hook_OnCreateInteraction_FullMethodName = "/discord_v1.Hook/OnCreateInteraction"
	Hook_OnEvent_FullMethodName             = "/discord_v1.Hook/OnEvent"
)
View Source
const (
	VoiceStream_VoiceJoin_FullMethodName      = "/discord_v1.VoiceStream/VoiceJoin"
	VoiceStream_VoiceStream_FullMethodName    = "/discord_v1.VoiceStream/VoiceStream"
	VoiceStream_VoiceLeave_FullMethodName     = "/discord_v1.VoiceStream/VoiceLeave"
	VoiceStream_VoiceSpeaking_FullMethodName  = "/discord_v1.VoiceStream/VoiceSpeaking"
	VoiceStream_GetQueueStatus_FullMethodName = "/discord_v1.VoiceStream/GetQueueStatus"
)

Variables

View Source
var (
	MessageType_name = map[int32]string{
		0:  "MESSAGE_TYPE_DEFAULT",
		1:  "MESSAGE_TYPE_RECIPIENT_ADD",
		2:  "MESSAGE_TYPE_RECIPIENT_REMOVE",
		3:  "MESSAGE_TYPE_CALL",
		4:  "MESSAGE_TYPE_CHANNEL_NAME_CHANGE",
		5:  "MESSAGE_TYPE_CHANNEL_ICON_CHANGE",
		6:  "MESSAGE_TYPE_CHANNEL_PINNED_MESSAGE",
		7:  "MESSAGE_TYPE_GUILD_MEMBER_JOIN",
		8:  "MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION",
		9:  "MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_ONE",
		10: "MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_TWO",
		11: "MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_THREE",
		12: "MESSAGE_TYPE_CHANNEL_FOLLOW_ADD",
		14: "MESSAGE_TYPE_GUILD_DISCOVERY_DISQUALIFIED",
		15: "MESSAGE_TYPE_GUILD_DISCOVERY_REQUALIFIED",
		18: "MESSAGE_TYPE_THREAD_CREATED",
		19: "MESSAGE_TYPE_REPLY",
		20: "MESSAGE_TYPE_CHAT_INPUT_COMMAND",
		21: "MESSAGE_TYPE_THREAD_STARTER_MESSAGE",
		23: "MESSAGE_TYPE_CONTEXT_MENU_COMMAND",
	}
	MessageType_value = map[string]int32{
		"MESSAGE_TYPE_DEFAULT":                                    0,
		"MESSAGE_TYPE_RECIPIENT_ADD":                              1,
		"MESSAGE_TYPE_RECIPIENT_REMOVE":                           2,
		"MESSAGE_TYPE_CALL":                                       3,
		"MESSAGE_TYPE_CHANNEL_NAME_CHANGE":                        4,
		"MESSAGE_TYPE_CHANNEL_ICON_CHANGE":                        5,
		"MESSAGE_TYPE_CHANNEL_PINNED_MESSAGE":                     6,
		"MESSAGE_TYPE_GUILD_MEMBER_JOIN":                          7,
		"MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION":            8,
		"MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_ONE":   9,
		"MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_TWO":   10,
		"MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_THREE": 11,
		"MESSAGE_TYPE_CHANNEL_FOLLOW_ADD":                         12,
		"MESSAGE_TYPE_GUILD_DISCOVERY_DISQUALIFIED":               14,
		"MESSAGE_TYPE_GUILD_DISCOVERY_REQUALIFIED":                15,
		"MESSAGE_TYPE_THREAD_CREATED":                             18,
		"MESSAGE_TYPE_REPLY":                                      19,
		"MESSAGE_TYPE_CHAT_INPUT_COMMAND":                         20,
		"MESSAGE_TYPE_THREAD_STARTER_MESSAGE":                     21,
		"MESSAGE_TYPE_CONTEXT_MENU_COMMAND":                       23,
	}
)

Enum value maps for MessageType.

View Source
var (
	MessageFlags_name = map[int32]string{
		0:  "MESSAGE_FLAGS_CROSS_POSTED",
		1:  "MESSAGE_FLAGS_IS_CROSS_POSTED",
		2:  "MESSAGE_FLAGS_SUPPRESS_EMBEDS",
		3:  "MESSAGE_FLAGS_SOURCE_MESSAGE_DELETED",
		4:  "MESSAGE_FLAGS_URGENT",
		5:  "MESSAGE_FLAGS_HAS_THREAD",
		6:  "MESSAGE_FLAGS_EPHEMERAL",
		7:  "MESSAGE_FLAGS_LOADING",
		8:  "MESSAGE_FLAGS_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD",
		12: "MESSAGE_FLAGS_SUPPRESS_NOTIFICATIONS",
		13: "MESSAGE_FLAGS_IS_VOICE_MESSAGE",
	}
	MessageFlags_value = map[string]int32{
		"MESSAGE_FLAGS_CROSS_POSTED":                           0,
		"MESSAGE_FLAGS_IS_CROSS_POSTED":                        1,
		"MESSAGE_FLAGS_SUPPRESS_EMBEDS":                        2,
		"MESSAGE_FLAGS_SOURCE_MESSAGE_DELETED":                 3,
		"MESSAGE_FLAGS_URGENT":                                 4,
		"MESSAGE_FLAGS_HAS_THREAD":                             5,
		"MESSAGE_FLAGS_EPHEMERAL":                              6,
		"MESSAGE_FLAGS_LOADING":                                7,
		"MESSAGE_FLAGS_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD": 8,
		"MESSAGE_FLAGS_SUPPRESS_NOTIFICATIONS":                 12,
		"MESSAGE_FLAGS_IS_VOICE_MESSAGE":                       13,
	}
)

Enum value maps for MessageFlags.

View Source
var (
	AllowedMentionType_name = map[int32]string{
		0: "ALLOWED_MENTION_TYPE_ROLES",
		1: "ALLOWED_MENTION_TYPE_USERS",
		2: "ALLOWED_MENTION_TYPE_EVERYONE",
	}
	AllowedMentionType_value = map[string]int32{
		"ALLOWED_MENTION_TYPE_ROLES":    0,
		"ALLOWED_MENTION_TYPE_USERS":    1,
		"ALLOWED_MENTION_TYPE_EVERYONE": 2,
	}
)

Enum value maps for AllowedMentionType.

View Source
var (
	EmbedType_name = map[int32]string{
		0: "EMBED_TYPE_RICH",
		1: "EMBED_TYPE_IMAGE",
		2: "EMBED_TYPE_VIDEO",
		3: "EMBED_TYPE_GIFV",
		4: "EMBED_TYPE_ARTICLE",
		5: "EMBED_TYPE_LINK",
	}
	EmbedType_value = map[string]int32{
		"EMBED_TYPE_RICH":    0,
		"EMBED_TYPE_IMAGE":   1,
		"EMBED_TYPE_VIDEO":   2,
		"EMBED_TYPE_GIFV":    3,
		"EMBED_TYPE_ARTICLE": 4,
		"EMBED_TYPE_LINK":    5,
	}
)

Enum value maps for EmbedType.

View Source
var (
	MessageActivityType_name = map[int32]string{
		0: "MESSAGE_ACTIVITY_TYPE_JOIN",
		1: "MESSAGE_ACTIVITY_TYPE_SPECTATE",
		2: "MESSAGE_ACTIVITY_TYPE_LISTEN",
		3: "MESSAGE_ACTIVITY_TYPE_JOIN_REQUEST",
	}
	MessageActivityType_value = map[string]int32{
		"MESSAGE_ACTIVITY_TYPE_JOIN":         0,
		"MESSAGE_ACTIVITY_TYPE_SPECTATE":     1,
		"MESSAGE_ACTIVITY_TYPE_LISTEN":       2,
		"MESSAGE_ACTIVITY_TYPE_JOIN_REQUEST": 3,
	}
)

Enum value maps for MessageActivityType.

View Source
var (
	MessageReferenceType_name = map[int32]string{
		0: "MESSAGE_REFERENCE_TYPE_DEFAULT",
		1: "MESSAGE_REFERENCE_TYPE_FORWARD",
	}
	MessageReferenceType_value = map[string]int32{
		"MESSAGE_REFERENCE_TYPE_DEFAULT": 0,
		"MESSAGE_REFERENCE_TYPE_FORWARD": 1,
	}
)

Enum value maps for MessageReferenceType.

View Source
var (
	UserFlags_name = map[int32]string{
		0:       "USER_FLAG_UNSPECIFIED",
		1:       "USER_FLAG_DISCORD_EMPLOYEE",
		2:       "USER_FLAG_DISCORD_PARTNER",
		4:       "USER_FLAG_HYPE_SQUAD_EVENTS",
		8:       "USER_FLAG_BUG_HUNTER_LEVEL_1",
		64:      "USER_FLAG_HOUSE_BRAVERY",
		128:     "USER_FLAG_HOUSE_BRILLIANCE",
		256:     "USER_FLAG_HOUSE_BALANCE",
		512:     "USER_FLAG_EARLY_SUPPORTER",
		1024:    "USER_FLAG_TEAM_USER",
		4096:    "USER_FLAG_SYSTEM",
		16384:   "USER_FLAG_BUG_HUNTER_LEVEL_2",
		65536:   "USER_FLAG_VERIFIED_BOT",
		131072:  "USER_FLAG_VERIFIED_BOT_DEVELOPER",
		262144:  "USER_FLAG_DISCORD_CERTIFIED_MODERATOR",
		524288:  "USER_FLAG_BOT_HTTP_INTERACTIONS",
		4194304: "USER_FLAG_ACTIVE_BOT_DEVELOPER",
	}
	UserFlags_value = map[string]int32{
		"USER_FLAG_UNSPECIFIED":                 0,
		"USER_FLAG_DISCORD_EMPLOYEE":            1,
		"USER_FLAG_DISCORD_PARTNER":             2,
		"USER_FLAG_HYPE_SQUAD_EVENTS":           4,
		"USER_FLAG_BUG_HUNTER_LEVEL_1":          8,
		"USER_FLAG_HOUSE_BRAVERY":               64,
		"USER_FLAG_HOUSE_BRILLIANCE":            128,
		"USER_FLAG_HOUSE_BALANCE":               256,
		"USER_FLAG_EARLY_SUPPORTER":             512,
		"USER_FLAG_TEAM_USER":                   1024,
		"USER_FLAG_SYSTEM":                      4096,
		"USER_FLAG_BUG_HUNTER_LEVEL_2":          16384,
		"USER_FLAG_VERIFIED_BOT":                65536,
		"USER_FLAG_VERIFIED_BOT_DEVELOPER":      131072,
		"USER_FLAG_DISCORD_CERTIFIED_MODERATOR": 262144,
		"USER_FLAG_BOT_HTTP_INTERACTIONS":       524288,
		"USER_FLAG_ACTIVE_BOT_DEVELOPER":        4194304,
	}
)

Enum value maps for UserFlags.

View Source
var (
	UserPremiumType_name = map[int32]string{
		0: "USER_PREMIUM_TYPE_UNSPECIFIED",

		1: "USER_PREMIUM_TYPE_NITRO_CLASSIC",
		2: "USER_PREMIUM_TYPE_NITRO",
		3: "USER_PREMIUM_TYPE_NITRO_BASIC",
	}
	UserPremiumType_value = map[string]int32{
		"USER_PREMIUM_TYPE_UNSPECIFIED":   0,
		"USER_PREMIUM_TYPE_NONE":          0,
		"USER_PREMIUM_TYPE_NITRO_CLASSIC": 1,
		"USER_PREMIUM_TYPE_NITRO":         2,
		"USER_PREMIUM_TYPE_NITRO_BASIC":   3,
	}
)

Enum value maps for UserPremiumType.

View Source
var (
	MembershipState_name = map[int32]string{
		0: "MEMBERSHIP_STATE_UNKNOWN",
		1: "MEMBERSHIP_STATE_INVITED",
		2: "MEMBERSHIP_STATE_ACCEPTED",
	}
	MembershipState_value = map[string]int32{
		"MEMBERSHIP_STATE_UNKNOWN":  0,
		"MEMBERSHIP_STATE_INVITED":  1,
		"MEMBERSHIP_STATE_ACCEPTED": 2,
	}
)

Enum value maps for MembershipState.

View Source
var (
	WebhookType_name = map[int32]string{
		0: "WEBHOOK_TYPE_UNSPECIFIED",
		1: "WEBHOOK_TYPE_INCOMING",
		2: "WEBHOOK_TYPE_CHANNEL_FOLLOWER",
	}
	WebhookType_value = map[string]int32{
		"WEBHOOK_TYPE_UNSPECIFIED":      0,
		"WEBHOOK_TYPE_INCOMING":         1,
		"WEBHOOK_TYPE_CHANNEL_FOLLOWER": 2,
	}
)

Enum value maps for WebhookType.

View Source
var (
	ChannelType_name = map[int32]string{
		0: "CHANNEL_TYPE_UNKNOWN",
		1: "CHANNEL_TYPE_GUILD_TEXT",
		3: "CHANNEL_TYPE_DM",
	}
	ChannelType_value = map[string]int32{
		"CHANNEL_TYPE_UNKNOWN":    0,
		"CHANNEL_TYPE_GUILD_TEXT": 1,
		"CHANNEL_TYPE_DM":         3,
	}
)

Enum value maps for ChannelType.

View Source
var (
	ComponentType_name = map[int32]string{
		0:  "COMPONENT_TYPE_UNKNOWN",
		1:  "COMPONENT_TYPE_ACTION_ROW",
		2:  "COMPONENT_TYPE_BUTTON",
		3:  "COMPONENT_TYPE_SELECT_MENU",
		4:  "COMPONENT_TYPE_TEXT_INPUT",
		5:  "COMPONENT_TYPE_USER_SELECT_MENU",
		6:  "COMPONENT_TYPE_ROLE_SELECT_MENU",
		7:  "COMPONENT_TYPE_MENTIONABLE_SELECT_MENU",
		8:  "COMPONENT_TYPE_CHANNEL_SELECT_MENU",
		9:  "COMPONENT_TYPE_SECTION",
		10: "COMPONENT_TYPE_TEXT_DISPLAY",
		11: "COMPONENT_TYPE_THUMBNAIL",
		12: "COMPONENT_TYPE_MEDIA_GALLERY",
		13: "COMPONENT_TYPE_FILE",
		14: "COMPONENT_TYPE_SEPARATOR",
		17: "COMPONENT_TYPE_CONTAINER",
	}
	ComponentType_value = map[string]int32{
		"COMPONENT_TYPE_UNKNOWN":                 0,
		"COMPONENT_TYPE_ACTION_ROW":              1,
		"COMPONENT_TYPE_BUTTON":                  2,
		"COMPONENT_TYPE_SELECT_MENU":             3,
		"COMPONENT_TYPE_TEXT_INPUT":              4,
		"COMPONENT_TYPE_USER_SELECT_MENU":        5,
		"COMPONENT_TYPE_ROLE_SELECT_MENU":        6,
		"COMPONENT_TYPE_MENTIONABLE_SELECT_MENU": 7,
		"COMPONENT_TYPE_CHANNEL_SELECT_MENU":     8,
		"COMPONENT_TYPE_SECTION":                 9,
		"COMPONENT_TYPE_TEXT_DISPLAY":            10,
		"COMPONENT_TYPE_THUMBNAIL":               11,
		"COMPONENT_TYPE_MEDIA_GALLERY":           12,
		"COMPONENT_TYPE_FILE":                    13,
		"COMPONENT_TYPE_SEPARATOR":               14,
		"COMPONENT_TYPE_CONTAINER":               17,
	}
)

Enum value maps for ComponentType.

View Source
var (
	ButtonStyle_name = map[int32]string{
		0: "BUTTON_STYLE_UNSPECIFIED",
		1: "BUTTON_STYLE_PRIMARY",
		2: "BUTTON_STYLE_SECONDARY",
		3: "BUTTON_STYLE_SUCCESS",
		4: "BUTTON_STYLE_DANGER",
		5: "BUTTON_STYLE_LINK",
		6: "BUTTON_STYLE_PREMIUM",
	}
	ButtonStyle_value = map[string]int32{
		"BUTTON_STYLE_UNSPECIFIED": 0,
		"BUTTON_STYLE_PRIMARY":     1,
		"BUTTON_STYLE_SECONDARY":   2,
		"BUTTON_STYLE_SUCCESS":     3,
		"BUTTON_STYLE_DANGER":      4,
		"BUTTON_STYLE_LINK":        5,
		"BUTTON_STYLE_PREMIUM":     6,
	}
)

Enum value maps for ButtonStyle.

View Source
var (
	TextInputStyle_name = map[int32]string{
		0: "TEXT_INPUT_STYLE_UNSPECIFIED",
		1: "TEXT_INPUT_STYLE_SHORT",
		2: "TEXT_INPUT_STYLE_PARAGRAPH",
	}
	TextInputStyle_value = map[string]int32{
		"TEXT_INPUT_STYLE_UNSPECIFIED": 0,
		"TEXT_INPUT_STYLE_SHORT":       1,
		"TEXT_INPUT_STYLE_PARAGRAPH":   2,
	}
)

Enum value maps for TextInputStyle.

View Source
var (
	SeparatorSpacingSize_name = map[int32]string{
		0: "SEPARATOR_SPACING_SIZE_UNSPECIFIED",
		1: "SEPARATOR_SPACING_SIZE_SMALL",
		2: "SEPARATOR_SPACING_SIZE_LARGE",
	}
	SeparatorSpacingSize_value = map[string]int32{
		"SEPARATOR_SPACING_SIZE_UNSPECIFIED": 0,
		"SEPARATOR_SPACING_SIZE_SMALL":       1,
		"SEPARATOR_SPACING_SIZE_LARGE":       2,
	}
)

Enum value maps for SeparatorSpacingSize.

View Source
var (
	SelectMenuDefaultValueType_name = map[int32]string{
		0: "SELECT_MENU_DEFAULT_VALUE_TYPE_UNSPECIFIED",
		1: "SELECT_MENU_DEFAULT_VALUE_TYPE_USER",
		2: "SELECT_MENU_DEFAULT_VALUE_TYPE_ROLE",
		3: "SELECT_MENU_DEFAULT_VALUE_TYPE_CHANNEL",
	}
	SelectMenuDefaultValueType_value = map[string]int32{
		"SELECT_MENU_DEFAULT_VALUE_TYPE_UNSPECIFIED": 0,
		"SELECT_MENU_DEFAULT_VALUE_TYPE_USER":        1,
		"SELECT_MENU_DEFAULT_VALUE_TYPE_ROLE":        2,
		"SELECT_MENU_DEFAULT_VALUE_TYPE_CHANNEL":     3,
	}
)

Enum value maps for SelectMenuDefaultValueType.

View Source
var (
	ApplicationCommandType_name = map[int32]string{
		0: "APPLICATION_COMMAND_TYPE_UNKNOWN",
		1: "CHAT_APPLICATION_COMMAND",
		2: "USER_APPLICATION_COMMAND",
		3: "MESSAGE_APPLICATION_COMMAND",
	}
	ApplicationCommandType_value = map[string]int32{
		"APPLICATION_COMMAND_TYPE_UNKNOWN": 0,
		"CHAT_APPLICATION_COMMAND":         1,
		"USER_APPLICATION_COMMAND":         2,
		"MESSAGE_APPLICATION_COMMAND":      3,
	}
)

Enum value maps for ApplicationCommandType.

View Source
var (
	InteractionContextType_name = map[int32]string{
		0: "INTERACTION_CONTEXT_UNKNOWN",
		1: "INTERACTION_CONTEXT_GUILD",
		2: "INTERACTION_CONTEXT_BOT_DM",
		3: "INTERACTION_CONTEXT_PRIVATE_CHANNEL",
	}
	InteractionContextType_value = map[string]int32{
		"INTERACTION_CONTEXT_UNKNOWN":         0,
		"INTERACTION_CONTEXT_GUILD":           1,
		"INTERACTION_CONTEXT_BOT_DM":          2,
		"INTERACTION_CONTEXT_PRIVATE_CHANNEL": 3,
	}
)

Enum value maps for InteractionContextType.

View Source
var (
	ApplicationIntegrationType_name = map[int32]string{
		0: "APPLICATION_INTEGRATION_TYPE_UNKNOWN",
		1: "APPLICATION_INTEGRATION_TYPE_GUILD_INSTALL",
		2: "APPLICATION_INTEGRATION_TYPE_USER_INSTALL",
	}
	ApplicationIntegrationType_value = map[string]int32{
		"APPLICATION_INTEGRATION_TYPE_UNKNOWN":       0,
		"APPLICATION_INTEGRATION_TYPE_GUILD_INSTALL": 1,
		"APPLICATION_INTEGRATION_TYPE_USER_INSTALL":  2,
	}
)

Enum value maps for ApplicationIntegrationType.

View Source
var (
	ApplicationCommandOptionType_name = map[int32]string{
		0:  "APPLICATION_COMMAND_OPTION_TYPE_UNKNOWN",
		1:  "APPLICATION_COMMAND_OPTION_SUB_COMMAND",
		2:  "APPLICATION_COMMAND_OPTION_SUB_COMMAND_GROUP",
		3:  "APPLICATION_COMMAND_OPTION_STRING",
		4:  "APPLICATION_COMMAND_OPTION_INTEGER",
		5:  "APPLICATION_COMMAND_OPTION_BOOLEAN",
		6:  "APPLICATION_COMMAND_OPTION_USER",
		7:  "APPLICATION_COMMAND_OPTION_CHANNEL",
		8:  "APPLICATION_COMMAND_OPTION_ROLE",
		9:  "APPLICATION_COMMAND_OPTION_MENTIONABLE",
		10: "APPLICATION_COMMAND_OPTION_NUMBER",
		11: "APPLICATION_COMMAND_OPTION_ATTACHMENT",
	}
	ApplicationCommandOptionType_value = map[string]int32{
		"APPLICATION_COMMAND_OPTION_TYPE_UNKNOWN":      0,
		"APPLICATION_COMMAND_OPTION_SUB_COMMAND":       1,
		"APPLICATION_COMMAND_OPTION_SUB_COMMAND_GROUP": 2,
		"APPLICATION_COMMAND_OPTION_STRING":            3,
		"APPLICATION_COMMAND_OPTION_INTEGER":           4,
		"APPLICATION_COMMAND_OPTION_BOOLEAN":           5,
		"APPLICATION_COMMAND_OPTION_USER":              6,
		"APPLICATION_COMMAND_OPTION_CHANNEL":           7,
		"APPLICATION_COMMAND_OPTION_ROLE":              8,
		"APPLICATION_COMMAND_OPTION_MENTIONABLE":       9,
		"APPLICATION_COMMAND_OPTION_NUMBER":            10,
		"APPLICATION_COMMAND_OPTION_ATTACHMENT":        11,
	}
)

Enum value maps for ApplicationCommandOptionType.

View Source
var (
	ApplicationCommandPermissionType_name = map[int32]string{
		0: "APPLICATION_COMMAND_PERMISSION_TYPE_UNKNOWN",
		1: "APPLICATION_COMMAND_PERMISSION_TYPE_ROLE",
		2: "APPLICATION_COMMAND_PERMISSION_TYPE_USER",
		3: "APPLICATION_COMMAND_PERMISSION_TYPE_CHANNEL",
	}
	ApplicationCommandPermissionType_value = map[string]int32{
		"APPLICATION_COMMAND_PERMISSION_TYPE_UNKNOWN": 0,
		"APPLICATION_COMMAND_PERMISSION_TYPE_ROLE":    1,
		"APPLICATION_COMMAND_PERMISSION_TYPE_USER":    2,
		"APPLICATION_COMMAND_PERMISSION_TYPE_CHANNEL": 3,
	}
)

Enum value maps for ApplicationCommandPermissionType.

View Source
var (
	InteractionType_name = map[int32]string{
		0: "INTERACTION_TYPE_UNKNOWN",
		1: "INTERACTION_PING",
		2: "INTERACTION_APPLICATION_COMMAND",
		3: "INTERACTION_MESSAGE_COMPONENT",
		4: "INTERACTION_APPLICATION_COMMAND_AUTOCOMPLETE",
		5: "INTERACTION_MODAL_SUBMIT",
	}
	InteractionType_value = map[string]int32{
		"INTERACTION_TYPE_UNKNOWN":                     0,
		"INTERACTION_PING":                             1,
		"INTERACTION_APPLICATION_COMMAND":              2,
		"INTERACTION_MESSAGE_COMPONENT":                3,
		"INTERACTION_APPLICATION_COMMAND_AUTOCOMPLETE": 4,
		"INTERACTION_MODAL_SUBMIT":                     5,
	}
)

Enum value maps for InteractionType.

View Source
var (
	InteractionResponseType_name = map[int32]string{
		0: "INTERACTION_RESPONSE_TYPE_UNKNOWN",
		1: "INTERACTION_RESPONSE_PONG",
		4: "INTERACTION_RESPONSE_CHANNEL_MESSAGE_WITH_SOURCE",
		5: "INTERACTION_RESPONSE_DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE",
		6: "INTERACTION_RESPONSE_DEFERRED_MESSAGE_UPDATE",
		7: "INTERACTION_RESPONSE_UPDATE_MESSAGE",
		8: "INTERACTION_APPLICATION_COMMAND_AUTOCOMPLETE_RESULT",
		9: "INTERACTION_RESPONSE_MODAL",
	}
	InteractionResponseType_value = map[string]int32{
		"INTERACTION_RESPONSE_TYPE_UNKNOWN":                         0,
		"INTERACTION_RESPONSE_PONG":                                 1,
		"INTERACTION_RESPONSE_CHANNEL_MESSAGE_WITH_SOURCE":          4,
		"INTERACTION_RESPONSE_DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE": 5,
		"INTERACTION_RESPONSE_DEFERRED_MESSAGE_UPDATE":              6,
		"INTERACTION_RESPONSE_UPDATE_MESSAGE":                       7,
		"INTERACTION_APPLICATION_COMMAND_AUTOCOMPLETE_RESULT":       8,
		"INTERACTION_RESPONSE_MODAL":                                9,
	}
)

Enum value maps for InteractionResponseType.

View Source
var File_discord_v1_discordgo_proto protoreflect.FileDescriptor
View Source
var File_discord_v1_helper_proto protoreflect.FileDescriptor
View Source
var File_discord_v1_hook_proto protoreflect.FileDescriptor
View Source
var File_discord_v1_voice_proto protoreflect.FileDescriptor
View Source
var Helper_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "discord_v1.Helper",
	HandlerType: (*HelperServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ChannelMessageSend",
			Handler:    _Helper_ChannelMessageSend_Handler,
		},
		{
			MethodName: "ChannelMessageSendComplex",
			Handler:    _Helper_ChannelMessageSendComplex_Handler,
		},
		{
			MethodName: "ChannelMessageSendEmbed",
			Handler:    _Helper_ChannelMessageSendEmbed_Handler,
		},
		{
			MethodName: "ChannelMessageSendEmbeds",
			Handler:    _Helper_ChannelMessageSendEmbeds_Handler,
		},
		{
			MethodName: "ChannelMessageEdit",
			Handler:    _Helper_ChannelMessageEdit_Handler,
		},
		{
			MethodName: "ChannelMessageEditComplex",
			Handler:    _Helper_ChannelMessageEditComplex_Handler,
		},
		{
			MethodName: "ChannelMessageDelete",
			Handler:    _Helper_ChannelMessageDelete_Handler,
		},
		{
			MethodName: "ChannelMessages",
			Handler:    _Helper_ChannelMessages_Handler,
		},
		{
			MethodName: "ChannelMessage",
			Handler:    _Helper_ChannelMessage_Handler,
		},
		{
			MethodName: "Channel",
			Handler:    _Helper_Channel_Handler,
		},
		{
			MethodName: "ChannelEdit",
			Handler:    _Helper_ChannelEdit_Handler,
		},
		{
			MethodName: "ChannelDelete",
			Handler:    _Helper_ChannelDelete_Handler,
		},
		{
			MethodName: "ChannelTyping",
			Handler:    _Helper_ChannelTyping_Handler,
		},
		{
			MethodName: "Guild",
			Handler:    _Helper_Guild_Handler,
		},
		{
			MethodName: "GuildChannels",
			Handler:    _Helper_GuildChannels_Handler,
		},
		{
			MethodName: "GuildMembers",
			Handler:    _Helper_GuildMembers_Handler,
		},
		{
			MethodName: "GuildMember",
			Handler:    _Helper_GuildMember_Handler,
		},
		{
			MethodName: "GuildRoles",
			Handler:    _Helper_GuildRoles_Handler,
		},
		{
			MethodName: "User",
			Handler:    _Helper_User_Handler,
		},
		{
			MethodName: "UserChannelCreate",
			Handler:    _Helper_UserChannelCreate_Handler,
		},
		{
			MethodName: "InteractionRespond",
			Handler:    _Helper_InteractionRespond_Handler,
		},
		{
			MethodName: "InteractionResponseEdit",
			Handler:    _Helper_InteractionResponseEdit_Handler,
		},
		{
			MethodName: "ApplicationCommandCreate",
			Handler:    _Helper_ApplicationCommandCreate_Handler,
		},
		{
			MethodName: "ApplicationCommandEdit",
			Handler:    _Helper_ApplicationCommandEdit_Handler,
		},
		{
			MethodName: "ApplicationCommandDelete",
			Handler:    _Helper_ApplicationCommandDelete_Handler,
		},
		{
			MethodName: "ApplicationCommands",
			Handler:    _Helper_ApplicationCommands_Handler,
		},
		{
			MethodName: "MessageReactionAdd",
			Handler:    _Helper_MessageReactionAdd_Handler,
		},
		{
			MethodName: "MessageReactionRemove",
			Handler:    _Helper_MessageReactionRemove_Handler,
		},
		{
			MethodName: "MessageReactionsRemoveAll",
			Handler:    _Helper_MessageReactionsRemoveAll_Handler,
		},
		{
			MethodName: "ThreadStart",
			Handler:    _Helper_ThreadStart_Handler,
		},
		{
			MethodName: "ThreadJoin",
			Handler:    _Helper_ThreadJoin_Handler,
		},
		{
			MethodName: "ThreadLeave",
			Handler:    _Helper_ThreadLeave_Handler,
		},
		{
			MethodName: "ThreadMemberAdd",
			Handler:    _Helper_ThreadMemberAdd_Handler,
		},
		{
			MethodName: "ThreadMemberRemove",
			Handler:    _Helper_ThreadMemberRemove_Handler,
		},
		{
			MethodName: "VoiceRegions",
			Handler:    _Helper_VoiceRegions_Handler,
		},
		{
			MethodName: "WebhookCreate",
			Handler:    _Helper_WebhookCreate_Handler,
		},
		{
			MethodName: "WebhookExecute",
			Handler:    _Helper_WebhookExecute_Handler,
		},
		{
			MethodName: "UserChannelPermissions",
			Handler:    _Helper_UserChannelPermissions_Handler,
		},
		{
			MethodName: "Gateway",
			Handler:    _Helper_Gateway_Handler,
		},
		{
			MethodName: "GatewayBot",
			Handler:    _Helper_GatewayBot_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "discord-v1/helper.proto",
}

Helper_ServiceDesc is the grpc.ServiceDesc for Helper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Hook_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "discord_v1.Hook",
	HandlerType: (*HookServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OnInit",
			Handler:    _Hook_OnInit_Handler,
		},
		{
			MethodName: "OnCreateMessage",
			Handler:    _Hook_OnCreateMessage_Handler,
		},
		{
			MethodName: "OnCreateInteraction",
			Handler:    _Hook_OnCreateInteraction_Handler,
		},
		{
			MethodName: "OnEvent",
			Handler:    _Hook_OnEvent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "discord-v1/hook.proto",
}

Hook_ServiceDesc is the grpc.ServiceDesc for Hook service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var VoiceStream_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "discord_v1.VoiceStream",
	HandlerType: (*VoiceStreamServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "VoiceJoin",
			Handler:    _VoiceStream_VoiceJoin_Handler,
		},
		{
			MethodName: "VoiceLeave",
			Handler:    _VoiceStream_VoiceLeave_Handler,
		},
		{
			MethodName: "VoiceSpeaking",
			Handler:    _VoiceStream_VoiceSpeaking_Handler,
		},
		{
			MethodName: "GetQueueStatus",
			Handler:    _VoiceStream_GetQueueStatus_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "VoiceStream",
			Handler:       _VoiceStream_VoiceStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "discord-v1/voice.proto",
}

VoiceStream_ServiceDesc is the grpc.ServiceDesc for VoiceStream service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHelperServer

func RegisterHelperServer(s grpc.ServiceRegistrar, srv HelperServer)

func RegisterHookServer

func RegisterHookServer(s grpc.ServiceRegistrar, srv HookServer)

func RegisterVoiceStreamServer

func RegisterVoiceStreamServer(s grpc.ServiceRegistrar, srv VoiceStreamServer)

Types

type APIErrorMessage

type APIErrorMessage struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*APIErrorMessage) Descriptor deprecated

func (*APIErrorMessage) Descriptor() ([]byte, []int)

Deprecated: Use APIErrorMessage.ProtoReflect.Descriptor instead.

func (*APIErrorMessage) GetCode

func (x *APIErrorMessage) GetCode() int32

func (*APIErrorMessage) GetMessage

func (x *APIErrorMessage) GetMessage() string

func (*APIErrorMessage) ProtoMessage

func (*APIErrorMessage) ProtoMessage()

func (*APIErrorMessage) ProtoReflect

func (x *APIErrorMessage) ProtoReflect() protoreflect.Message

func (*APIErrorMessage) Reset

func (x *APIErrorMessage) Reset()

func (*APIErrorMessage) String

func (x *APIErrorMessage) String() string

type ActionsRow

type ActionsRow struct {
	Components []*MessageComponent `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
	Id         int32               `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ActionsRow is a top-level container for displaying a row of interactive components.

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) GetId

func (x *ActionsRow) GetId() int32

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 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"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ApplicationId string                 `protobuf:"bytes,5,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	State         string                 `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	Details       string                 `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"`
	Timestamps    *TimeStamps            `protobuf:"bytes,8,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Emoji         *Emoji                 `protobuf:"bytes,9,opt,name=emoji,proto3" json:"emoji,omitempty"`
	Party         *Party                 `protobuf:"bytes,10,opt,name=party,proto3" json:"party,omitempty"`
	Assets        *Assets                `protobuf:"bytes,11,opt,name=assets,proto3" json:"assets,omitempty"`
	Secrets       *Secrets               `protobuf:"bytes,12,opt,name=secrets,proto3" json:"secrets,omitempty"`
	Instance      bool                   `protobuf:"varint,13,opt,name=instance,proto3" json:"instance,omitempty"`
	Flags         int32                  `protobuf:"varint,14,opt,name=flags,proto3" json:"flags,omitempty"` // different from MessageFlags
	// contains filtered or unexported fields
}

func (*Activity) Descriptor deprecated

func (*Activity) Descriptor() ([]byte, []int)

Deprecated: Use Activity.ProtoReflect.Descriptor instead.

func (*Activity) GetApplicationId

func (x *Activity) GetApplicationId() string

func (*Activity) GetAssets

func (x *Activity) GetAssets() *Assets

func (*Activity) GetCreatedAt

func (x *Activity) GetCreatedAt() *timestamppb.Timestamp

func (*Activity) GetDetails

func (x *Activity) GetDetails() string

func (*Activity) GetEmoji

func (x *Activity) GetEmoji() *Emoji

func (*Activity) GetFlags

func (x *Activity) GetFlags() int32

func (*Activity) GetInstance

func (x *Activity) GetInstance() bool

func (*Activity) GetName

func (x *Activity) GetName() string

func (*Activity) GetParty

func (x *Activity) GetParty() *Party

func (*Activity) GetSecrets

func (x *Activity) GetSecrets() *Secrets

func (*Activity) GetState

func (x *Activity) GetState() string

func (*Activity) GetTimestamps

func (x *Activity) GetTimestamps() *TimeStamps

func (*Activity) GetType

func (x *Activity) GetType() int32

func (*Activity) GetUrl

func (x *Activity) GetUrl() string

func (*Activity) ProtoMessage

func (*Activity) ProtoMessage()

func (*Activity) ProtoReflect

func (x *Activity) ProtoReflect() protoreflect.Message

func (*Activity) Reset

func (x *Activity) Reset()

func (*Activity) String

func (x *Activity) String() string

type AddedThreadMember

type AddedThreadMember struct {
	ThreadMember *ThreadMember `protobuf:"bytes,1,opt,name=thread_member,json=threadMember,proto3" json:"thread_member,omitempty"`
	Member       *Member       `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	Presence     *Presence     `protobuf:"bytes,3,opt,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

func (*AddedThreadMember) Descriptor deprecated

func (*AddedThreadMember) Descriptor() ([]byte, []int)

Deprecated: Use AddedThreadMember.ProtoReflect.Descriptor instead.

func (*AddedThreadMember) GetMember

func (x *AddedThreadMember) GetMember() *Member

func (*AddedThreadMember) GetPresence

func (x *AddedThreadMember) GetPresence() *Presence

func (*AddedThreadMember) GetThreadMember

func (x *AddedThreadMember) GetThreadMember() *ThreadMember

func (*AddedThreadMember) ProtoMessage

func (*AddedThreadMember) ProtoMessage()

func (*AddedThreadMember) ProtoReflect

func (x *AddedThreadMember) ProtoReflect() protoreflect.Message

func (*AddedThreadMember) Reset

func (x *AddedThreadMember) Reset()

func (*AddedThreadMember) String

func (x *AddedThreadMember) String() string

type AllowedMentionType

type AllowedMentionType int32

AllowedMentionType describes the types of mentions used in the MessageAllowedMentions type.

const (
	AllowedMentionType_ALLOWED_MENTION_TYPE_ROLES    AllowedMentionType = 0
	AllowedMentionType_ALLOWED_MENTION_TYPE_USERS    AllowedMentionType = 1
	AllowedMentionType_ALLOWED_MENTION_TYPE_EVERYONE AllowedMentionType = 2
)

func (AllowedMentionType) Descriptor

func (AllowedMentionType) Enum

func (AllowedMentionType) EnumDescriptor deprecated

func (AllowedMentionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AllowedMentionType.Descriptor instead.

func (AllowedMentionType) Number

func (AllowedMentionType) String

func (x AllowedMentionType) String() string

func (AllowedMentionType) Type

type Application

type Application 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"`
	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=rpc_origins,json=rpcOrigins,proto3" json:"rpc_origins,omitempty"`
	BotPublic              bool                                        `protobuf:"varint,6,opt,name=bot_public,json=botPublic,proto3" json:"bot_public,omitempty"`
	BotRequireCodeGrant    bool                                        `protobuf:"varint,7,opt,name=bot_require_code_grant,json=botRequireCodeGrant,proto3" json:"bot_require_code_grant,omitempty"`
	TermsOfServiceUrl      string                                      `protobuf:"bytes,8,opt,name=terms_of_service_url,json=termsOfServiceUrl,proto3" json:"terms_of_service_url,omitempty"`
	PrivacyPolicyUrl       string                                      `protobuf:"bytes,9,opt,name=privacy_policy_url,json=privacyPolicyUrl,proto3" json:"privacy_policy_url,omitempty"`
	Owner                  *User                                       `protobuf:"bytes,10,opt,name=owner,proto3" json:"owner,omitempty"` // Assuming User is another message type
	Summary                string                                      `protobuf:"bytes,11,opt,name=summary,proto3" json:"summary,omitempty"`
	VerifyKey              string                                      `protobuf:"bytes,12,opt,name=verify_key,json=verifyKey,proto3" json:"verify_key,omitempty"`
	Team                   *Team                                       `protobuf:"bytes,13,opt,name=team,proto3" json:"team,omitempty"` // Assuming Team is another message type
	GuildId                string                                      `protobuf:"bytes,14,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	PrimarySkuId           string                                      `protobuf:"bytes,15,opt,name=primary_sku_id,json=primarySkuId,proto3" json:"primary_sku_id,omitempty"`
	Slug                   string                                      `protobuf:"bytes,16,opt,name=slug,proto3" json:"slug,omitempty"`
	CoverImage             string                                      `protobuf:"bytes,17,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"`
	Flags                  int32                                       `protobuf:"varint,18,opt,name=flags,proto3" json:"flags,omitempty"` // different from MessageFlags
	IntegrationTypesConfig map[int32]*ApplicationIntegrationTypeConfig ``                                                                  /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Application) Descriptor deprecated

func (*Application) Descriptor() ([]byte, []int)

Deprecated: Use Application.ProtoReflect.Descriptor instead.

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() string

func (*Application) GetIcon

func (x *Application) GetIcon() string

func (*Application) GetId

func (x *Application) GetId() string

func (*Application) GetIntegrationTypesConfig

func (x *Application) GetIntegrationTypesConfig() map[int32]*ApplicationIntegrationTypeConfig

func (*Application) GetName

func (x *Application) GetName() string

func (*Application) GetOwner

func (x *Application) GetOwner() *User

func (*Application) GetPrimarySkuId

func (x *Application) GetPrimarySkuId() string

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() *Team

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                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              ApplicationCommandType `protobuf:"varint,5,opt,name=type,proto3,enum=discord_v1.ApplicationCommandType" json:"type,omitempty"`
	Name              string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	NameLocalizations map[string]string      `` // Assuming Locale is stringable or maps to string
	/* 186-byte string literal not displayed */
	// NOTE: DefaultPermission will be soon deprecated. Use DefaultMemberPermissions and Contexts instead.
	// DefaultPermission *bool `json:"default_permission,omitempty"` - Use optional bool for deprecation clarity? Or omit entirely as deprecated? Let's keep for now, marked as deprecated.
	//
	// Deprecated: Marked as deprecated in discord-v1/discordgo.proto.
	DefaultPermission        *bool `protobuf:"varint,8,opt,name=default_permission,json=defaultPermission,proto3,oneof" json:"default_permission,omitempty"`
	DefaultMemberPermissions int64 `` // Use int64 for permissions bitfield
	/* 136-byte string literal not displayed */
	Nsfw *bool `protobuf:"varint,10,opt,name=nsfw,proto3,oneof" json:"nsfw,omitempty"`
	// Deprecated: use Contexts instead.
	// DMPermission *bool `json:"dm_permission,omitempty"` - Similar to DefaultPermission, mark deprecated or omit. Keep for now, marked.
	//
	// Deprecated: Marked as deprecated in discord-v1/discordgo.proto.
	DmPermission     *bool                        `protobuf:"varint,11,opt,name=dm_permission,json=dmPermission,proto3,oneof" json:"dm_permission,omitempty"`
	Contexts         []InteractionContextType     `protobuf:"varint,12,rep,packed,name=contexts,proto3,enum=discord_v1.InteractionContextType" json:"contexts,omitempty"`
	IntegrationTypes []ApplicationIntegrationType `` /* 161-byte string literal not displayed */
	// NOTE: Chat commands only. Otherwise it mustn't be set.
	Description              string            `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"`
	DescriptionLocalizations map[string]string `` // Assuming Locale is stringable or maps to string
	/* 208-byte string literal not displayed */
	Options []*ApplicationCommandOption `protobuf:"bytes,16,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

ApplicationCommand represents an application's slash command.

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) GetContexts

func (x *ApplicationCommand) GetContexts() []InteractionContextType

func (*ApplicationCommand) GetDefaultMemberPermissions

func (x *ApplicationCommand) GetDefaultMemberPermissions() int64

func (*ApplicationCommand) GetDefaultPermission deprecated

func (x *ApplicationCommand) GetDefaultPermission() bool

Deprecated: Marked as deprecated in discord-v1/discordgo.proto.

func (*ApplicationCommand) GetDescription

func (x *ApplicationCommand) GetDescription() string

func (*ApplicationCommand) GetDescriptionLocalizations

func (x *ApplicationCommand) GetDescriptionLocalizations() map[string]string

func (*ApplicationCommand) GetDmPermission deprecated

func (x *ApplicationCommand) GetDmPermission() bool

Deprecated: Marked as deprecated in discord-v1/discordgo.proto.

func (*ApplicationCommand) GetGuildId

func (x *ApplicationCommand) GetGuildId() string

func (*ApplicationCommand) GetId

func (x *ApplicationCommand) GetId() string

func (*ApplicationCommand) GetIntegrationTypes

func (x *ApplicationCommand) GetIntegrationTypes() []ApplicationIntegrationType

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 (*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 ApplicationCommandCreateRequest

type ApplicationCommandCreateRequest struct {
	AppId   string              `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	GuildId string              `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	Command *ApplicationCommand `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandCreateRequest) Descriptor deprecated

func (*ApplicationCommandCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandCreateRequest.ProtoReflect.Descriptor instead.

func (*ApplicationCommandCreateRequest) GetAppId

func (*ApplicationCommandCreateRequest) GetCommand

func (*ApplicationCommandCreateRequest) GetGuildId

func (x *ApplicationCommandCreateRequest) GetGuildId() string

func (*ApplicationCommandCreateRequest) ProtoMessage

func (*ApplicationCommandCreateRequest) ProtoMessage()

func (*ApplicationCommandCreateRequest) ProtoReflect

func (*ApplicationCommandCreateRequest) Reset

func (*ApplicationCommandCreateRequest) String

type ApplicationCommandCreateResponse

type ApplicationCommandCreateResponse struct {
	Command *ApplicationCommand `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandCreateResponse) Descriptor deprecated

func (*ApplicationCommandCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandCreateResponse.ProtoReflect.Descriptor instead.

func (*ApplicationCommandCreateResponse) GetCommand

func (*ApplicationCommandCreateResponse) ProtoMessage

func (*ApplicationCommandCreateResponse) ProtoMessage()

func (*ApplicationCommandCreateResponse) ProtoReflect

func (*ApplicationCommandCreateResponse) Reset

func (*ApplicationCommandCreateResponse) String

type ApplicationCommandDeleteRequest

type ApplicationCommandDeleteRequest struct {
	AppId   string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	GuildId string `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	CmdId   string `protobuf:"bytes,3,opt,name=cmd_id,json=cmdId,proto3" json:"cmd_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandDeleteRequest) Descriptor deprecated

func (*ApplicationCommandDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandDeleteRequest.ProtoReflect.Descriptor instead.

func (*ApplicationCommandDeleteRequest) GetAppId

func (*ApplicationCommandDeleteRequest) GetCmdId

func (*ApplicationCommandDeleteRequest) GetGuildId

func (x *ApplicationCommandDeleteRequest) GetGuildId() string

func (*ApplicationCommandDeleteRequest) ProtoMessage

func (*ApplicationCommandDeleteRequest) ProtoMessage()

func (*ApplicationCommandDeleteRequest) ProtoReflect

func (*ApplicationCommandDeleteRequest) Reset

func (*ApplicationCommandDeleteRequest) String

type ApplicationCommandEditRequest

type ApplicationCommandEditRequest struct {
	AppId   string              `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	GuildId string              `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	CmdId   string              `protobuf:"bytes,3,opt,name=cmd_id,json=cmdId,proto3" json:"cmd_id,omitempty"`
	Command *ApplicationCommand `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandEditRequest) Descriptor deprecated

func (*ApplicationCommandEditRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandEditRequest.ProtoReflect.Descriptor instead.

func (*ApplicationCommandEditRequest) GetAppId

func (x *ApplicationCommandEditRequest) GetAppId() string

func (*ApplicationCommandEditRequest) GetCmdId

func (x *ApplicationCommandEditRequest) GetCmdId() string

func (*ApplicationCommandEditRequest) GetCommand

func (*ApplicationCommandEditRequest) GetGuildId

func (x *ApplicationCommandEditRequest) GetGuildId() string

func (*ApplicationCommandEditRequest) ProtoMessage

func (*ApplicationCommandEditRequest) ProtoMessage()

func (*ApplicationCommandEditRequest) ProtoReflect

func (*ApplicationCommandEditRequest) Reset

func (x *ApplicationCommandEditRequest) Reset()

func (*ApplicationCommandEditRequest) String

type ApplicationCommandEditResponse

type ApplicationCommandEditResponse struct {
	Command *ApplicationCommand `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandEditResponse) Descriptor deprecated

func (*ApplicationCommandEditResponse) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandEditResponse.ProtoReflect.Descriptor instead.

func (*ApplicationCommandEditResponse) GetCommand

func (*ApplicationCommandEditResponse) ProtoMessage

func (*ApplicationCommandEditResponse) ProtoMessage()

func (*ApplicationCommandEditResponse) ProtoReflect

func (*ApplicationCommandEditResponse) Reset

func (x *ApplicationCommandEditResponse) Reset()

func (*ApplicationCommandEditResponse) String

type ApplicationCommandInteractionData

type ApplicationCommandInteractionData 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"`
	CommandType ApplicationCommandType                     `` /* 134-byte string literal not displayed */
	Resolved    *ApplicationCommandInteractionDataResolved `protobuf:"bytes,4,opt,name=resolved,proto3,oneof" json:"resolved,omitempty"`
	// Slash command options. Repeated options.
	Options []*ApplicationCommandInteractionDataOption `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"`
	// Target (user/message) id on which context menu command was called.
	// The details are stored in Resolved according to command type.
	TargetId string `protobuf:"bytes,6,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

ApplicationCommandInteractionData contains the data of application command interaction.

func (*ApplicationCommandInteractionData) Descriptor deprecated

func (*ApplicationCommandInteractionData) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandInteractionData.ProtoReflect.Descriptor instead.

func (*ApplicationCommandInteractionData) GetCommandType

func (*ApplicationCommandInteractionData) GetId

func (*ApplicationCommandInteractionData) GetName

func (*ApplicationCommandInteractionData) GetOptions

func (*ApplicationCommandInteractionData) GetResolved

func (*ApplicationCommandInteractionData) GetTargetId

func (x *ApplicationCommandInteractionData) GetTargetId() string

func (*ApplicationCommandInteractionData) ProtoMessage

func (*ApplicationCommandInteractionData) ProtoMessage()

func (*ApplicationCommandInteractionData) ProtoReflect

func (*ApplicationCommandInteractionData) Reset

func (*ApplicationCommandInteractionData) String

type ApplicationCommandInteractionDataOption

type ApplicationCommandInteractionDataOption struct {
	Name string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type ApplicationCommandOptionType `protobuf:"varint,2,opt,name=type,proto3,enum=discord_v1.ApplicationCommandOptionType" json:"type,omitempty"`
	// NOTE: Contains the value specified by Type. Use oneof based on option type.
	//
	// Types that are valid to be assigned to Value:
	//
	//	*ApplicationCommandInteractionDataOption_StringValue
	//	*ApplicationCommandInteractionDataOption_IntegerValue
	//	*ApplicationCommandInteractionDataOption_BooleanValue
	//	*ApplicationCommandInteractionDataOption_UserValueId
	//	*ApplicationCommandInteractionDataOption_ChannelValueId
	//	*ApplicationCommandInteractionDataOption_RoleValueId
	//	*ApplicationCommandInteractionDataOption_MentionableValueId
	//	*ApplicationCommandInteractionDataOption_NumberValue
	//	*ApplicationCommandInteractionDataOption_AttachmentValueId
	Value isApplicationCommandInteractionDataOption_Value `protobuf_oneof:"value"`
	// Options for SubCommand or SubCommandGroup types.
	Options []*ApplicationCommandInteractionDataOption `protobuf:"bytes,12,rep,name=options,proto3" json:"options,omitempty"`
	// NOTE: autocomplete interaction only.
	Focused bool `protobuf:"varint,13,opt,name=focused,proto3" json:"focused,omitempty"`
	// contains filtered or unexported fields
}

ApplicationCommandInteractionDataOption represents an option of a slash command.

func (*ApplicationCommandInteractionDataOption) Descriptor deprecated

func (*ApplicationCommandInteractionDataOption) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandInteractionDataOption.ProtoReflect.Descriptor instead.

func (*ApplicationCommandInteractionDataOption) GetAttachmentValueId

func (x *ApplicationCommandInteractionDataOption) GetAttachmentValueId() string

func (*ApplicationCommandInteractionDataOption) GetBooleanValue

func (x *ApplicationCommandInteractionDataOption) GetBooleanValue() bool

func (*ApplicationCommandInteractionDataOption) GetChannelValueId

func (x *ApplicationCommandInteractionDataOption) GetChannelValueId() string

func (*ApplicationCommandInteractionDataOption) GetFocused

func (*ApplicationCommandInteractionDataOption) GetIntegerValue

func (x *ApplicationCommandInteractionDataOption) GetIntegerValue() int64

func (*ApplicationCommandInteractionDataOption) GetMentionableValueId

func (x *ApplicationCommandInteractionDataOption) GetMentionableValueId() string

func (*ApplicationCommandInteractionDataOption) GetName

func (*ApplicationCommandInteractionDataOption) GetNumberValue

func (*ApplicationCommandInteractionDataOption) GetOptions

func (*ApplicationCommandInteractionDataOption) GetRoleValueId

func (x *ApplicationCommandInteractionDataOption) GetRoleValueId() string

func (*ApplicationCommandInteractionDataOption) GetStringValue

func (x *ApplicationCommandInteractionDataOption) GetStringValue() string

func (*ApplicationCommandInteractionDataOption) GetType

func (*ApplicationCommandInteractionDataOption) GetUserValueId

func (x *ApplicationCommandInteractionDataOption) GetUserValueId() string

func (*ApplicationCommandInteractionDataOption) GetValue

func (x *ApplicationCommandInteractionDataOption) GetValue() isApplicationCommandInteractionDataOption_Value

func (*ApplicationCommandInteractionDataOption) ProtoMessage

func (*ApplicationCommandInteractionDataOption) ProtoReflect

func (*ApplicationCommandInteractionDataOption) Reset

func (*ApplicationCommandInteractionDataOption) String

type ApplicationCommandInteractionDataOption_AttachmentValueId

type ApplicationCommandInteractionDataOption_AttachmentValueId struct {
	AttachmentValueId string `protobuf:"bytes,11,opt,name=attachment_value_id,json=attachmentValueId,proto3,oneof"` // Attachment ID snowflake
}

type ApplicationCommandInteractionDataOption_BooleanValue

type ApplicationCommandInteractionDataOption_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,5,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}

type ApplicationCommandInteractionDataOption_ChannelValueId

type ApplicationCommandInteractionDataOption_ChannelValueId struct {
	ChannelValueId string `protobuf:"bytes,7,opt,name=channel_value_id,json=channelValueId,proto3,oneof"` // Channel ID snowflake
}

type ApplicationCommandInteractionDataOption_IntegerValue

type ApplicationCommandInteractionDataOption_IntegerValue struct {
	IntegerValue int64 `protobuf:"varint,4,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type ApplicationCommandInteractionDataOption_MentionableValueId

type ApplicationCommandInteractionDataOption_MentionableValueId struct {
	MentionableValueId string `protobuf:"bytes,9,opt,name=mentionable_value_id,json=mentionableValueId,proto3,oneof"` // Mentionable ID snowflake (user or role)
}

type ApplicationCommandInteractionDataOption_NumberValue

type ApplicationCommandInteractionDataOption_NumberValue struct {
	NumberValue float64 `protobuf:"fixed64,10,opt,name=number_value,json=numberValue,proto3,oneof"`
}

type ApplicationCommandInteractionDataOption_RoleValueId

type ApplicationCommandInteractionDataOption_RoleValueId struct {
	RoleValueId string `protobuf:"bytes,8,opt,name=role_value_id,json=roleValueId,proto3,oneof"` // Role ID snowflake
}

type ApplicationCommandInteractionDataOption_StringValue

type ApplicationCommandInteractionDataOption_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type ApplicationCommandInteractionDataOption_UserValueId

type ApplicationCommandInteractionDataOption_UserValueId struct {
	UserValueId string `protobuf:"bytes,6,opt,name=user_value_id,json=userValueId,proto3,oneof"` // User ID snowflake
}

type ApplicationCommandInteractionDataResolved

type ApplicationCommandInteractionDataResolved struct {
	Users       map[string]*User              `` /* 137-byte string literal not displayed */
	Members     map[string]*Member            `` /* 141-byte string literal not displayed */
	Roles       map[string]*Role              `` /* 137-byte string literal not displayed */
	Channels    map[string]*Channel           `` /* 143-byte string literal not displayed */
	Messages    map[string]*Message           `` /* 143-byte string literal not displayed */
	Attachments map[string]*MessageAttachment `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

ApplicationCommandInteractionDataResolved contains resolved data of command execution. Partial Member objects are missing user, deaf and mute fields. Partial Channel objects only have id, name, type and permissions fields.

func (*ApplicationCommandInteractionDataResolved) Descriptor deprecated

func (*ApplicationCommandInteractionDataResolved) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandInteractionDataResolved.ProtoReflect.Descriptor instead.

func (*ApplicationCommandInteractionDataResolved) GetAttachments

func (*ApplicationCommandInteractionDataResolved) GetChannels

func (*ApplicationCommandInteractionDataResolved) GetMembers

func (*ApplicationCommandInteractionDataResolved) GetMessages

func (*ApplicationCommandInteractionDataResolved) GetRoles

func (*ApplicationCommandInteractionDataResolved) GetUsers

func (*ApplicationCommandInteractionDataResolved) ProtoMessage

func (*ApplicationCommandInteractionDataResolved) ProtoReflect

func (*ApplicationCommandInteractionDataResolved) Reset

func (*ApplicationCommandInteractionDataResolved) String

type ApplicationCommandOption

type ApplicationCommandOption struct {
	Type              ApplicationCommandOptionType `protobuf:"varint,1,opt,name=type,proto3,enum=discord_v1.ApplicationCommandOptionType" json:"type,omitempty"`
	Name              string                       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	NameLocalizations map[string]string            `` // Assuming Locale is stringable or maps to string
	/* 186-byte string literal not displayed */
	Description              string            `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	DescriptionLocalizations map[string]string `` // Assuming Locale is stringable or maps to string
	/* 207-byte string literal not displayed */
	ChannelTypes []ChannelType               `` /* 133-byte string literal not displayed */
	Required     bool                        `protobuf:"varint,8,opt,name=required,proto3" json:"required,omitempty"`
	Options      []*ApplicationCommandOption `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty"` // Recursive structure
	// NOTE: mutually exclusive with Choices.
	Autocomplete bool                              `protobuf:"varint,10,opt,name=autocomplete,proto3" json:"autocomplete,omitempty"`
	Choices      []*ApplicationCommandOptionChoice `protobuf:"bytes,11,rep,name=choices,proto3" json:"choices,omitempty"`
	// Minimal value of number/integer option.
	// Use optional for clarity on presence/absence
	MinValue *float64 `protobuf:"fixed64,12,opt,name=min_value,json=minValue,proto3,oneof" json:"min_value,omitempty"` // Can apply to integer/number
	// Maximum value of number/integer option.
	MaxValue *float64 `protobuf:"fixed64,13,opt,name=max_value,json=maxValue,proto3,oneof" json:"max_value,omitempty"` // Can apply to integer/number
	// Minimum length of string option.
	MinLength *int32 `protobuf:"varint,14,opt,name=min_length,json=minLength,proto3,oneof" json:"min_length,omitempty"`
	// Maximum length of string option.
	MaxLength *int32 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3,oneof" json:"max_length,omitempty"`
	// contains filtered or unexported fields
}

ApplicationCommandOption represents an option/subcommand/subcommands group.

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() []ChannelType

func (*ApplicationCommandOption) GetChoices

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 (*ApplicationCommandOption) GetRequired

func (x *ApplicationCommandOption) GetRequired() bool

func (*ApplicationCommandOption) GetType

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 `` // Assuming Locale is stringable or maps to string
	/* 186-byte string literal not displayed */
	// NOTE: Contains the value specified by Type.
	// Use oneof for the value, as it can be different types.
	//
	// Types that are valid to be assigned to Value:
	//
	//	*ApplicationCommandOptionChoice_StringValue
	//	*ApplicationCommandOptionChoice_IntegerValue
	//	*ApplicationCommandOptionChoice_NumberValue
	Value isApplicationCommandOptionChoice_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

ApplicationCommandOptionChoice represents a slash command option choice.

func (*ApplicationCommandOptionChoice) Descriptor deprecated

func (*ApplicationCommandOptionChoice) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandOptionChoice.ProtoReflect.Descriptor instead.

func (*ApplicationCommandOptionChoice) GetIntegerValue

func (x *ApplicationCommandOptionChoice) GetIntegerValue() int64

func (*ApplicationCommandOptionChoice) GetName

func (*ApplicationCommandOptionChoice) GetNameLocalizations

func (x *ApplicationCommandOptionChoice) GetNameLocalizations() map[string]string

func (*ApplicationCommandOptionChoice) GetNumberValue

func (x *ApplicationCommandOptionChoice) GetNumberValue() float64

func (*ApplicationCommandOptionChoice) GetStringValue

func (x *ApplicationCommandOptionChoice) GetStringValue() string

func (*ApplicationCommandOptionChoice) GetValue

func (x *ApplicationCommandOptionChoice) GetValue() isApplicationCommandOptionChoice_Value

func (*ApplicationCommandOptionChoice) ProtoMessage

func (*ApplicationCommandOptionChoice) ProtoMessage()

func (*ApplicationCommandOptionChoice) ProtoReflect

func (*ApplicationCommandOptionChoice) Reset

func (x *ApplicationCommandOptionChoice) Reset()

func (*ApplicationCommandOptionChoice) String

type ApplicationCommandOptionChoice_IntegerValue

type ApplicationCommandOptionChoice_IntegerValue struct {
	IntegerValue int64 `protobuf:"varint,4,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type ApplicationCommandOptionChoice_NumberValue

type ApplicationCommandOptionChoice_NumberValue struct {
	NumberValue float64 `protobuf:"fixed64,5,opt,name=number_value,json=numberValue,proto3,oneof"`
}

type ApplicationCommandOptionChoice_StringValue

type ApplicationCommandOptionChoice_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type ApplicationCommandOptionType

type ApplicationCommandOptionType int32

ApplicationCommandOptionType indicates the type of a slash command's option.

const (
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_TYPE_UNKNOWN      ApplicationCommandOptionType = 0 // Default zero value
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_SUB_COMMAND       ApplicationCommandOptionType = 1
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_SUB_COMMAND_GROUP ApplicationCommandOptionType = 2
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_STRING            ApplicationCommandOptionType = 3
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_INTEGER           ApplicationCommandOptionType = 4
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_BOOLEAN           ApplicationCommandOptionType = 5
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_USER              ApplicationCommandOptionType = 6
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_CHANNEL           ApplicationCommandOptionType = 7
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_ROLE              ApplicationCommandOptionType = 8
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_MENTIONABLE       ApplicationCommandOptionType = 9
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_NUMBER            ApplicationCommandOptionType = 10
	ApplicationCommandOptionType_APPLICATION_COMMAND_OPTION_ATTACHMENT        ApplicationCommandOptionType = 11
)

func (ApplicationCommandOptionType) Descriptor

func (ApplicationCommandOptionType) Enum

func (ApplicationCommandOptionType) EnumDescriptor deprecated

func (ApplicationCommandOptionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandOptionType.Descriptor instead.

func (ApplicationCommandOptionType) Number

func (ApplicationCommandOptionType) String

func (ApplicationCommandOptionType) Type

type ApplicationCommandPermissionType

type ApplicationCommandPermissionType int32

ApplicationCommandPermissionType indicates whether a permission is user or role based.

const (
	ApplicationCommandPermissionType_APPLICATION_COMMAND_PERMISSION_TYPE_UNKNOWN ApplicationCommandPermissionType = 0 // Default zero value
	ApplicationCommandPermissionType_APPLICATION_COMMAND_PERMISSION_TYPE_ROLE    ApplicationCommandPermissionType = 1
	ApplicationCommandPermissionType_APPLICATION_COMMAND_PERMISSION_TYPE_USER    ApplicationCommandPermissionType = 2
	ApplicationCommandPermissionType_APPLICATION_COMMAND_PERMISSION_TYPE_CHANNEL ApplicationCommandPermissionType = 3
)

func (ApplicationCommandPermissionType) Descriptor

func (ApplicationCommandPermissionType) Enum

func (ApplicationCommandPermissionType) EnumDescriptor deprecated

func (ApplicationCommandPermissionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandPermissionType.Descriptor instead.

func (ApplicationCommandPermissionType) Number

func (ApplicationCommandPermissionType) String

func (ApplicationCommandPermissionType) Type

type ApplicationCommandPermissions

type ApplicationCommandPermissions struct {
	Id         string                           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type       ApplicationCommandPermissionType `protobuf:"varint,2,opt,name=type,proto3,enum=discord_v1.ApplicationCommandPermissionType" json:"type,omitempty"`
	Permission bool                             `protobuf:"varint,3,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

ApplicationCommandPermissions represents a single user or role permission for a command.

func (*ApplicationCommandPermissions) Descriptor deprecated

func (*ApplicationCommandPermissions) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandPermissions.ProtoReflect.Descriptor instead.

func (*ApplicationCommandPermissions) GetId

func (*ApplicationCommandPermissions) GetPermission

func (x *ApplicationCommandPermissions) GetPermission() bool

func (*ApplicationCommandPermissions) GetType

func (*ApplicationCommandPermissions) ProtoMessage

func (*ApplicationCommandPermissions) ProtoMessage()

func (*ApplicationCommandPermissions) ProtoReflect

func (*ApplicationCommandPermissions) Reset

func (x *ApplicationCommandPermissions) Reset()

func (*ApplicationCommandPermissions) String

type ApplicationCommandPermissionsList

type ApplicationCommandPermissionsList struct {
	Permissions []*ApplicationCommandPermissions `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

ApplicationCommandPermissionsList represents a list of ApplicationCommandPermissions, needed for serializing to JSON. This message might be useful if the API endpoint specifically wraps the list like this.

func (*ApplicationCommandPermissionsList) Descriptor deprecated

func (*ApplicationCommandPermissionsList) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandPermissionsList.ProtoReflect.Descriptor instead.

func (*ApplicationCommandPermissionsList) GetPermissions

func (*ApplicationCommandPermissionsList) ProtoMessage

func (*ApplicationCommandPermissionsList) ProtoMessage()

func (*ApplicationCommandPermissionsList) ProtoReflect

func (*ApplicationCommandPermissionsList) Reset

func (*ApplicationCommandPermissionsList) String

type ApplicationCommandType

type ApplicationCommandType int32

ApplicationCommandType represents the type of application command.

const (
	ApplicationCommandType_APPLICATION_COMMAND_TYPE_UNKNOWN ApplicationCommandType = 0 // Default zero value
	// ChatApplicationCommand is default command type. They are slash commands (i.e. called directly from the chat).
	ApplicationCommandType_CHAT_APPLICATION_COMMAND ApplicationCommandType = 1
	// UserApplicationCommand adds command to user context menu.
	ApplicationCommandType_USER_APPLICATION_COMMAND ApplicationCommandType = 2
	// MessageApplicationCommand adds command to message context menu.
	ApplicationCommandType_MESSAGE_APPLICATION_COMMAND ApplicationCommandType = 3
)

func (ApplicationCommandType) Descriptor

func (ApplicationCommandType) Enum

func (ApplicationCommandType) EnumDescriptor deprecated

func (ApplicationCommandType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandType.Descriptor instead.

func (ApplicationCommandType) Number

func (ApplicationCommandType) String

func (x ApplicationCommandType) String() string

func (ApplicationCommandType) Type

type ApplicationCommandsRequest

type ApplicationCommandsRequest struct {
	AppId   string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	GuildId string `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandsRequest) Descriptor deprecated

func (*ApplicationCommandsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandsRequest.ProtoReflect.Descriptor instead.

func (*ApplicationCommandsRequest) GetAppId

func (x *ApplicationCommandsRequest) GetAppId() string

func (*ApplicationCommandsRequest) GetGuildId

func (x *ApplicationCommandsRequest) GetGuildId() string

func (*ApplicationCommandsRequest) ProtoMessage

func (*ApplicationCommandsRequest) ProtoMessage()

func (*ApplicationCommandsRequest) ProtoReflect

func (*ApplicationCommandsRequest) Reset

func (x *ApplicationCommandsRequest) Reset()

func (*ApplicationCommandsRequest) String

func (x *ApplicationCommandsRequest) String() string

type ApplicationCommandsResponse

type ApplicationCommandsResponse struct {
	Commands []*ApplicationCommand `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationCommandsResponse) Descriptor deprecated

func (*ApplicationCommandsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationCommandsResponse.ProtoReflect.Descriptor instead.

func (*ApplicationCommandsResponse) GetCommands

func (x *ApplicationCommandsResponse) GetCommands() []*ApplicationCommand

func (*ApplicationCommandsResponse) ProtoMessage

func (*ApplicationCommandsResponse) ProtoMessage()

func (*ApplicationCommandsResponse) ProtoReflect

func (*ApplicationCommandsResponse) Reset

func (x *ApplicationCommandsResponse) Reset()

func (*ApplicationCommandsResponse) String

func (x *ApplicationCommandsResponse) String() string

type ApplicationInstallParams

type ApplicationInstallParams struct {
	Scopes      []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
	Permissions int64    `protobuf:"varint,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationInstallParams) Descriptor deprecated

func (*ApplicationInstallParams) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationInstallParams.ProtoReflect.Descriptor instead.

func (*ApplicationInstallParams) GetPermissions

func (x *ApplicationInstallParams) GetPermissions() int64

func (*ApplicationInstallParams) GetScopes

func (x *ApplicationInstallParams) GetScopes() []string

func (*ApplicationInstallParams) ProtoMessage

func (*ApplicationInstallParams) ProtoMessage()

func (*ApplicationInstallParams) ProtoReflect

func (x *ApplicationInstallParams) ProtoReflect() protoreflect.Message

func (*ApplicationInstallParams) Reset

func (x *ApplicationInstallParams) Reset()

func (*ApplicationInstallParams) String

func (x *ApplicationInstallParams) String() string

type ApplicationIntegrationType

type ApplicationIntegrationType int32

ApplicationIntegrationType represents the type of integration. (Needs definition based on Discord API)

const (
	ApplicationIntegrationType_APPLICATION_INTEGRATION_TYPE_UNKNOWN ApplicationIntegrationType = 0 // Use a suitable unknown value
	// Add specific integration types based on Discord API, e.g.:
	ApplicationIntegrationType_APPLICATION_INTEGRATION_TYPE_GUILD_INSTALL ApplicationIntegrationType = 1
	ApplicationIntegrationType_APPLICATION_INTEGRATION_TYPE_USER_INSTALL  ApplicationIntegrationType = 2
)

func (ApplicationIntegrationType) Descriptor

func (ApplicationIntegrationType) Enum

func (ApplicationIntegrationType) EnumDescriptor deprecated

func (ApplicationIntegrationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApplicationIntegrationType.Descriptor instead.

func (ApplicationIntegrationType) Number

func (ApplicationIntegrationType) String

func (ApplicationIntegrationType) Type

type ApplicationIntegrationTypeConfig

type ApplicationIntegrationTypeConfig struct {
	Oauth2InstallParams *ApplicationInstallParams `protobuf:"bytes,1,opt,name=oauth2_install_params,json=oauth2InstallParams,proto3" json:"oauth2_install_params,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationIntegrationTypeConfig) Descriptor deprecated

func (*ApplicationIntegrationTypeConfig) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationIntegrationTypeConfig.ProtoReflect.Descriptor instead.

func (*ApplicationIntegrationTypeConfig) GetOauth2InstallParams

func (x *ApplicationIntegrationTypeConfig) GetOauth2InstallParams() *ApplicationInstallParams

func (*ApplicationIntegrationTypeConfig) ProtoMessage

func (*ApplicationIntegrationTypeConfig) ProtoMessage()

func (*ApplicationIntegrationTypeConfig) ProtoReflect

func (*ApplicationIntegrationTypeConfig) Reset

func (*ApplicationIntegrationTypeConfig) String

type ApplicationRoleConnection

type ApplicationRoleConnection struct {
	PlatformName     string            `protobuf:"bytes,1,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty"`
	PlatformUsername string            `protobuf:"bytes,2,opt,name=platform_username,json=platformUsername,proto3" json:"platform_username,omitempty"`
	Metadata         map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ApplicationRoleConnection) Descriptor deprecated

func (*ApplicationRoleConnection) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationRoleConnection.ProtoReflect.Descriptor instead.

func (*ApplicationRoleConnection) GetMetadata

func (x *ApplicationRoleConnection) GetMetadata() map[string]string

func (*ApplicationRoleConnection) GetPlatformName

func (x *ApplicationRoleConnection) GetPlatformName() string

func (*ApplicationRoleConnection) GetPlatformUsername

func (x *ApplicationRoleConnection) GetPlatformUsername() string

func (*ApplicationRoleConnection) ProtoMessage

func (*ApplicationRoleConnection) ProtoMessage()

func (*ApplicationRoleConnection) ProtoReflect

func (*ApplicationRoleConnection) Reset

func (x *ApplicationRoleConnection) Reset()

func (*ApplicationRoleConnection) String

func (x *ApplicationRoleConnection) String() string

type ApplicationRoleConnectionMetadata

type ApplicationRoleConnectionMetadata struct {
	Type              int32             `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Key               string            `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Name              string            `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	NameLocalizations map[string]string `` // Assuming Locale is string
	/* 186-byte string literal not displayed */
	Description              string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	DescriptionLocalizations map[string]string `` // Assuming Locale is string
	/* 207-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ApplicationRoleConnectionMetadata) Descriptor deprecated

func (*ApplicationRoleConnectionMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationRoleConnectionMetadata.ProtoReflect.Descriptor instead.

func (*ApplicationRoleConnectionMetadata) GetDescription

func (x *ApplicationRoleConnectionMetadata) GetDescription() string

func (*ApplicationRoleConnectionMetadata) GetDescriptionLocalizations

func (x *ApplicationRoleConnectionMetadata) GetDescriptionLocalizations() map[string]string

func (*ApplicationRoleConnectionMetadata) GetKey

func (*ApplicationRoleConnectionMetadata) GetName

func (*ApplicationRoleConnectionMetadata) GetNameLocalizations

func (x *ApplicationRoleConnectionMetadata) GetNameLocalizations() map[string]string

func (*ApplicationRoleConnectionMetadata) GetType

func (*ApplicationRoleConnectionMetadata) ProtoMessage

func (*ApplicationRoleConnectionMetadata) ProtoMessage()

func (*ApplicationRoleConnectionMetadata) ProtoReflect

func (*ApplicationRoleConnectionMetadata) Reset

func (*ApplicationRoleConnectionMetadata) String

type Assets

type Assets struct {
	LargeImageId string `protobuf:"bytes,1,opt,name=large_image_id,json=largeImageId,proto3" json:"large_image_id,omitempty"`
	SmallImageId string `protobuf:"bytes,2,opt,name=small_image_id,json=smallImageId,proto3" json:"small_image_id,omitempty"`
	LargeText    string `protobuf:"bytes,3,opt,name=large_text,json=largeText,proto3" json:"large_text,omitempty"`
	SmallText    string `protobuf:"bytes,4,opt,name=small_text,json=smallText,proto3" json:"small_text,omitempty"`
	// contains filtered or unexported fields
}

func (*Assets) Descriptor deprecated

func (*Assets) Descriptor() ([]byte, []int)

Deprecated: Use Assets.ProtoReflect.Descriptor instead.

func (*Assets) GetLargeImageId

func (x *Assets) GetLargeImageId() string

func (*Assets) GetLargeText

func (x *Assets) GetLargeText() string

func (*Assets) GetSmallImageId

func (x *Assets) GetSmallImageId() string

func (*Assets) GetSmallText

func (x *Assets) GetSmallText() string

func (*Assets) ProtoMessage

func (*Assets) ProtoMessage()

func (*Assets) ProtoReflect

func (x *Assets) ProtoReflect() protoreflect.Message

func (*Assets) Reset

func (x *Assets) Reset()

func (*Assets) String

func (x *Assets) String() string

type AuditLogChange

type AuditLogChange struct {

	// Protobuf does not support arbitrary types like interface{},
	// you might need to use a oneof or define specific message types
	// for possible values based on the Key. Using bytes as a fallback.
	NewValue []byte `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	OldValue []byte `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	Key      string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Assuming AuditLogChangeKey is string
	// contains filtered or unexported fields
}

func (*AuditLogChange) Descriptor deprecated

func (*AuditLogChange) Descriptor() ([]byte, []int)

Deprecated: Use AuditLogChange.ProtoReflect.Descriptor instead.

func (*AuditLogChange) GetKey

func (x *AuditLogChange) GetKey() string

func (*AuditLogChange) GetNewValue

func (x *AuditLogChange) GetNewValue() []byte

func (*AuditLogChange) GetOldValue

func (x *AuditLogChange) GetOldValue() []byte

func (*AuditLogChange) ProtoMessage

func (*AuditLogChange) ProtoMessage()

func (*AuditLogChange) ProtoReflect

func (x *AuditLogChange) ProtoReflect() protoreflect.Message

func (*AuditLogChange) Reset

func (x *AuditLogChange) Reset()

func (*AuditLogChange) String

func (x *AuditLogChange) String() string

type AuditLogEntry

type AuditLogEntry struct {
	TargetId   string            `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	Changes    []*AuditLogChange `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
	UserId     string            `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Id         string            `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	ActionType int32             `protobuf:"varint,5,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` // Assuming AuditLogAction is int32
	Options    *AuditLogOptions  `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
	Reason     string            `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLogEntry) Descriptor deprecated

func (*AuditLogEntry) Descriptor() ([]byte, []int)

Deprecated: Use AuditLogEntry.ProtoReflect.Descriptor instead.

func (*AuditLogEntry) GetActionType

func (x *AuditLogEntry) GetActionType() int32

func (*AuditLogEntry) GetChanges

func (x *AuditLogEntry) GetChanges() []*AuditLogChange

func (*AuditLogEntry) GetId

func (x *AuditLogEntry) GetId() string

func (*AuditLogEntry) GetOptions

func (x *AuditLogEntry) GetOptions() *AuditLogOptions

func (*AuditLogEntry) GetReason

func (x *AuditLogEntry) GetReason() string

func (*AuditLogEntry) GetTargetId

func (x *AuditLogEntry) GetTargetId() string

func (*AuditLogEntry) GetUserId

func (x *AuditLogEntry) GetUserId() string

func (*AuditLogEntry) ProtoMessage

func (*AuditLogEntry) ProtoMessage()

func (*AuditLogEntry) ProtoReflect

func (x *AuditLogEntry) ProtoReflect() protoreflect.Message

func (*AuditLogEntry) Reset

func (x *AuditLogEntry) Reset()

func (*AuditLogEntry) String

func (x *AuditLogEntry) String() string

type AuditLogOptions

type AuditLogOptions struct {
	DeleteMemberDays              string `protobuf:"bytes,1,opt,name=delete_member_days,json=deleteMemberDays,proto3" json:"delete_member_days,omitempty"`
	MembersRemoved                string `protobuf:"bytes,2,opt,name=members_removed,json=membersRemoved,proto3" json:"members_removed,omitempty"`
	ChannelId                     string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId                     string `protobuf:"bytes,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Count                         string `protobuf:"bytes,5,opt,name=count,proto3" json:"count,omitempty"`
	Id                            string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	Type                          string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // Assuming AuditLogOptionsType is string
	RoleName                      string `protobuf:"bytes,8,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	ApplicationId                 string `protobuf:"bytes,9,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	AutoModerationRuleName        string `` /* 132-byte string literal not displayed */
	AutoModerationRuleTriggerType string `` /* 155-byte string literal not displayed */
	IntegrationType               string `protobuf:"bytes,12,opt,name=integration_type,json=integrationType,proto3" json:"integration_type,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLogOptions) Descriptor deprecated

func (*AuditLogOptions) Descriptor() ([]byte, []int)

Deprecated: Use AuditLogOptions.ProtoReflect.Descriptor instead.

func (*AuditLogOptions) GetApplicationId

func (x *AuditLogOptions) GetApplicationId() string

func (*AuditLogOptions) GetAutoModerationRuleName

func (x *AuditLogOptions) GetAutoModerationRuleName() string

func (*AuditLogOptions) GetAutoModerationRuleTriggerType

func (x *AuditLogOptions) GetAutoModerationRuleTriggerType() string

func (*AuditLogOptions) GetChannelId

func (x *AuditLogOptions) GetChannelId() string

func (*AuditLogOptions) GetCount

func (x *AuditLogOptions) GetCount() string

func (*AuditLogOptions) GetDeleteMemberDays

func (x *AuditLogOptions) GetDeleteMemberDays() string

func (*AuditLogOptions) GetId

func (x *AuditLogOptions) GetId() string

func (*AuditLogOptions) GetIntegrationType

func (x *AuditLogOptions) GetIntegrationType() string

func (*AuditLogOptions) GetMembersRemoved

func (x *AuditLogOptions) GetMembersRemoved() string

func (*AuditLogOptions) GetMessageId

func (x *AuditLogOptions) GetMessageId() string

func (*AuditLogOptions) GetRoleName

func (x *AuditLogOptions) GetRoleName() string

func (*AuditLogOptions) GetType

func (x *AuditLogOptions) GetType() string

func (*AuditLogOptions) ProtoMessage

func (*AuditLogOptions) ProtoMessage()

func (*AuditLogOptions) ProtoReflect

func (x *AuditLogOptions) ProtoReflect() protoreflect.Message

func (*AuditLogOptions) Reset

func (x *AuditLogOptions) Reset()

func (*AuditLogOptions) String

func (x *AuditLogOptions) String() string

type AutoModerationAction

type AutoModerationAction struct {
	Type     int32                         `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Assuming AutoModerationActionType is int32
	Metadata *AutoModerationActionMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoModerationAction) Descriptor deprecated

func (*AutoModerationAction) Descriptor() ([]byte, []int)

Deprecated: Use AutoModerationAction.ProtoReflect.Descriptor instead.

func (*AutoModerationAction) GetMetadata

func (*AutoModerationAction) GetType

func (x *AutoModerationAction) GetType() int32

func (*AutoModerationAction) ProtoMessage

func (*AutoModerationAction) ProtoMessage()

func (*AutoModerationAction) ProtoReflect

func (x *AutoModerationAction) ProtoReflect() protoreflect.Message

func (*AutoModerationAction) Reset

func (x *AutoModerationAction) Reset()

func (*AutoModerationAction) String

func (x *AutoModerationAction) String() string

type AutoModerationActionMetadata

type AutoModerationActionMetadata struct {
	ChannelId     string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Duration      int32  `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"`
	CustomMessage string `protobuf:"bytes,3,opt,name=custom_message,json=customMessage,proto3" json:"custom_message,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoModerationActionMetadata) Descriptor deprecated

func (*AutoModerationActionMetadata) Descriptor() ([]byte, []int)

Deprecated: Use AutoModerationActionMetadata.ProtoReflect.Descriptor instead.

func (*AutoModerationActionMetadata) GetChannelId

func (x *AutoModerationActionMetadata) GetChannelId() string

func (*AutoModerationActionMetadata) GetCustomMessage

func (x *AutoModerationActionMetadata) GetCustomMessage() string

func (*AutoModerationActionMetadata) GetDuration

func (x *AutoModerationActionMetadata) GetDuration() int32

func (*AutoModerationActionMetadata) ProtoMessage

func (*AutoModerationActionMetadata) ProtoMessage()

func (*AutoModerationActionMetadata) ProtoReflect

func (*AutoModerationActionMetadata) Reset

func (x *AutoModerationActionMetadata) Reset()

func (*AutoModerationActionMetadata) String

type AutoModerationActionType

type AutoModerationActionType struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoModerationActionType) Descriptor deprecated

func (*AutoModerationActionType) Descriptor() ([]byte, []int)

Deprecated: Use AutoModerationActionType.ProtoReflect.Descriptor instead.

func (*AutoModerationActionType) GetValue

func (x *AutoModerationActionType) GetValue() int32

func (*AutoModerationActionType) ProtoMessage

func (*AutoModerationActionType) ProtoMessage()

func (*AutoModerationActionType) ProtoReflect

func (x *AutoModerationActionType) ProtoReflect() protoreflect.Message

func (*AutoModerationActionType) Reset

func (x *AutoModerationActionType) Reset()

func (*AutoModerationActionType) String

func (x *AutoModerationActionType) String() string

type AutoModerationRule

type AutoModerationRule 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"`
	CreatorId       string                         `protobuf:"bytes,4,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	EventType       int32                          `protobuf:"varint,5,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	TriggerType     int32                          `protobuf:"varint,6,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"`
	TriggerMetadata *AutoModerationTriggerMetadata `protobuf:"bytes,7,opt,name=trigger_metadata,json=triggerMetadata,proto3" json:"trigger_metadata,omitempty"`
	Actions         []*AutoModerationAction        `protobuf:"bytes,8,rep,name=actions,proto3" json:"actions,omitempty"`
	Enabled         bool                           `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ExemptRoles     []string                       `protobuf:"bytes,10,rep,name=exempt_roles,json=exemptRoles,proto3" json:"exempt_roles,omitempty"`
	ExemptChannels  []string                       `protobuf:"bytes,11,rep,name=exempt_channels,json=exemptChannels,proto3" json:"exempt_channels,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoModerationRule) Descriptor deprecated

func (*AutoModerationRule) Descriptor() ([]byte, []int)

Deprecated: Use AutoModerationRule.ProtoReflect.Descriptor instead.

func (*AutoModerationRule) GetActions

func (x *AutoModerationRule) GetActions() []*AutoModerationAction

func (*AutoModerationRule) GetCreatorId

func (x *AutoModerationRule) GetCreatorId() string

func (*AutoModerationRule) GetEnabled

func (x *AutoModerationRule) GetEnabled() bool

func (*AutoModerationRule) GetEventType

func (x *AutoModerationRule) GetEventType() int32

func (*AutoModerationRule) GetExemptChannels

func (x *AutoModerationRule) GetExemptChannels() []string

func (*AutoModerationRule) GetExemptRoles

func (x *AutoModerationRule) GetExemptRoles() []string

func (*AutoModerationRule) GetGuildId

func (x *AutoModerationRule) GetGuildId() string

func (*AutoModerationRule) GetId

func (x *AutoModerationRule) GetId() string

func (*AutoModerationRule) GetName

func (x *AutoModerationRule) GetName() string

func (*AutoModerationRule) GetTriggerMetadata

func (x *AutoModerationRule) GetTriggerMetadata() *AutoModerationTriggerMetadata

func (*AutoModerationRule) GetTriggerType

func (x *AutoModerationRule) GetTriggerType() int32

func (*AutoModerationRule) ProtoMessage

func (*AutoModerationRule) ProtoMessage()

func (*AutoModerationRule) ProtoReflect

func (x *AutoModerationRule) ProtoReflect() protoreflect.Message

func (*AutoModerationRule) Reset

func (x *AutoModerationRule) Reset()

func (*AutoModerationRule) String

func (x *AutoModerationRule) String() string

type AutoModerationTriggerMetadata

type AutoModerationTriggerMetadata struct {
	KeywordFilter     []string `protobuf:"bytes,1,rep,name=keyword_filter,json=keywordFilter,proto3" json:"keyword_filter,omitempty"`
	RegexPatterns     []string `protobuf:"bytes,2,rep,name=regex_patterns,json=regexPatterns,proto3" json:"regex_patterns,omitempty"`
	Presets           []uint32 `protobuf:"varint,3,rep,packed,name=presets,proto3" json:"presets,omitempty"` // Assuming AutoModerationKeywordPreset is uint32
	AllowList         []string `protobuf:"bytes,4,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"`
	MentionTotalLimit int32    `protobuf:"varint,5,opt,name=mention_total_limit,json=mentionTotalLimit,proto3" json:"mention_total_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoModerationTriggerMetadata) Descriptor deprecated

func (*AutoModerationTriggerMetadata) Descriptor() ([]byte, []int)

Deprecated: Use AutoModerationTriggerMetadata.ProtoReflect.Descriptor instead.

func (*AutoModerationTriggerMetadata) GetAllowList

func (x *AutoModerationTriggerMetadata) GetAllowList() []string

func (*AutoModerationTriggerMetadata) GetKeywordFilter

func (x *AutoModerationTriggerMetadata) GetKeywordFilter() []string

func (*AutoModerationTriggerMetadata) GetMentionTotalLimit

func (x *AutoModerationTriggerMetadata) GetMentionTotalLimit() int32

func (*AutoModerationTriggerMetadata) GetPresets

func (x *AutoModerationTriggerMetadata) GetPresets() []uint32

func (*AutoModerationTriggerMetadata) GetRegexPatterns

func (x *AutoModerationTriggerMetadata) GetRegexPatterns() []string

func (*AutoModerationTriggerMetadata) ProtoMessage

func (*AutoModerationTriggerMetadata) ProtoMessage()

func (*AutoModerationTriggerMetadata) ProtoReflect

func (*AutoModerationTriggerMetadata) Reset

func (x *AutoModerationTriggerMetadata) Reset()

func (*AutoModerationTriggerMetadata) String

type Button

type Button struct {
	Label    string          `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Style    ButtonStyle     `protobuf:"varint,2,opt,name=style,proto3,enum=discord_v1.ButtonStyle" 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"`
	SkuId    string          `protobuf:"bytes,7,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	Id       int32           `protobuf:"varint,8,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Button represents a button component.

func (*Button) Descriptor deprecated

func (*Button) Descriptor() ([]byte, []int)

Deprecated: Use Button.ProtoReflect.Descriptor instead.

func (*Button) GetCustomId

func (x *Button) GetCustomId() string

func (*Button) GetDisabled

func (x *Button) GetDisabled() bool

func (*Button) GetEmoji

func (x *Button) GetEmoji() *ComponentEmoji

func (*Button) GetId

func (x *Button) GetId() int32

func (*Button) GetLabel

func (x *Button) GetLabel() string

func (*Button) GetSkuId

func (x *Button) GetSkuId() string

func (*Button) GetStyle

func (x *Button) GetStyle() ButtonStyle

func (*Button) GetUrl

func (x *Button) GetUrl() string

func (*Button) ProtoMessage

func (*Button) ProtoMessage()

func (*Button) ProtoReflect

func (x *Button) ProtoReflect() protoreflect.Message

func (*Button) Reset

func (x *Button) Reset()

func (*Button) String

func (x *Button) String() string

type ButtonStyle

type ButtonStyle int32

ButtonStyle represents the style of a button component.

const (
	ButtonStyle_BUTTON_STYLE_UNSPECIFIED ButtonStyle = 0
	ButtonStyle_BUTTON_STYLE_PRIMARY     ButtonStyle = 1
	ButtonStyle_BUTTON_STYLE_SECONDARY   ButtonStyle = 2
	ButtonStyle_BUTTON_STYLE_SUCCESS     ButtonStyle = 3
	ButtonStyle_BUTTON_STYLE_DANGER      ButtonStyle = 4
	ButtonStyle_BUTTON_STYLE_LINK        ButtonStyle = 5
	ButtonStyle_BUTTON_STYLE_PREMIUM     ButtonStyle = 6
)

func (ButtonStyle) Descriptor

func (ButtonStyle) Enum

func (x ButtonStyle) Enum() *ButtonStyle

func (ButtonStyle) EnumDescriptor deprecated

func (ButtonStyle) EnumDescriptor() ([]byte, []int)

Deprecated: Use ButtonStyle.Descriptor instead.

func (ButtonStyle) Number

func (x ButtonStyle) Number() protoreflect.EnumNumber

func (ButtonStyle) String

func (x ButtonStyle) String() string

func (ButtonStyle) Type

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"` // different from MessageFlags
	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" 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) Descriptor() ([]byte, []int)

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetApplicationId

func (x *Channel) GetApplicationId() string

func (*Channel) GetAppliedTags

func (x *Channel) GetAppliedTags() []string

func (*Channel) GetAvailableTags

func (x *Channel) GetAvailableTags() []*ForumTag

func (*Channel) GetBitrate

func (x *Channel) GetBitrate() int32

func (*Channel) GetDefaultForumLayout

func (x *Channel) GetDefaultForumLayout() int32

func (*Channel) GetDefaultReactionEmoji

func (x *Channel) GetDefaultReactionEmoji() *ForumDefaultReaction

func (*Channel) GetDefaultSortOrder

func (x *Channel) GetDefaultSortOrder() int32

func (*Channel) GetDefaultThreadRateLimitPerUser

func (x *Channel) GetDefaultThreadRateLimitPerUser() int32

func (*Channel) GetFlags

func (x *Channel) GetFlags() int32

func (*Channel) GetGuildId

func (x *Channel) GetGuildId() string

func (*Channel) GetIcon

func (x *Channel) GetIcon() string

func (*Channel) GetId

func (x *Channel) GetId() string

func (*Channel) GetLastMessageId

func (x *Channel) GetLastMessageId() string

func (*Channel) GetLastPinTimestamp

func (x *Channel) GetLastPinTimestamp() *timestamppb.Timestamp

func (*Channel) GetMember

func (x *Channel) GetMember() *ThreadMember

func (*Channel) GetMemberCount

func (x *Channel) GetMemberCount() int32

func (*Channel) GetMembers

func (x *Channel) GetMembers() []*ThreadMember

func (*Channel) GetMessageCount

func (x *Channel) GetMessageCount() int32

func (*Channel) GetMessages

func (x *Channel) GetMessages() []*Message

func (*Channel) GetName

func (x *Channel) GetName() string

func (*Channel) GetNsfw

func (x *Channel) GetNsfw() bool

func (*Channel) GetOwnerId

func (x *Channel) GetOwnerId() string

func (*Channel) GetParentId

func (x *Channel) GetParentId() string

func (*Channel) GetPermissionOverwrites

func (x *Channel) GetPermissionOverwrites() []*PermissionOverwrite

func (*Channel) GetPosition

func (x *Channel) GetPosition() int32

func (*Channel) GetRateLimitPerUser

func (x *Channel) GetRateLimitPerUser() int32

func (*Channel) GetRecipients

func (x *Channel) GetRecipients() []*User

func (*Channel) GetThreadMetadata

func (x *Channel) GetThreadMetadata() *ThreadMetadata

func (*Channel) GetTopic

func (x *Channel) GetTopic() string

func (*Channel) GetType

func (x *Channel) GetType() int32

func (*Channel) GetUserLimit

func (x *Channel) GetUserLimit() int32

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

func (x *Channel) ProtoReflect() protoreflect.Message

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type ChannelDeleteRequest

type ChannelDeleteRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelDeleteRequest) Descriptor deprecated

func (*ChannelDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelDeleteRequest.ProtoReflect.Descriptor instead.

func (*ChannelDeleteRequest) GetChannelId

func (x *ChannelDeleteRequest) GetChannelId() string

func (*ChannelDeleteRequest) ProtoMessage

func (*ChannelDeleteRequest) ProtoMessage()

func (*ChannelDeleteRequest) ProtoReflect

func (x *ChannelDeleteRequest) ProtoReflect() protoreflect.Message

func (*ChannelDeleteRequest) Reset

func (x *ChannelDeleteRequest) Reset()

func (*ChannelDeleteRequest) String

func (x *ChannelDeleteRequest) String() string

type ChannelDeleteResponse

type ChannelDeleteResponse struct {
	Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelDeleteResponse) Descriptor deprecated

func (*ChannelDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelDeleteResponse.ProtoReflect.Descriptor instead.

func (*ChannelDeleteResponse) GetChannel

func (x *ChannelDeleteResponse) GetChannel() *Channel

func (*ChannelDeleteResponse) ProtoMessage

func (*ChannelDeleteResponse) ProtoMessage()

func (*ChannelDeleteResponse) ProtoReflect

func (x *ChannelDeleteResponse) ProtoReflect() protoreflect.Message

func (*ChannelDeleteResponse) Reset

func (x *ChannelDeleteResponse) Reset()

func (*ChannelDeleteResponse) String

func (x *ChannelDeleteResponse) String() string

type ChannelEdit

type ChannelEdit struct {
	Name                          *string                `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Topic                         *string                `protobuf:"bytes,2,opt,name=topic,proto3,oneof" json:"topic,omitempty"`
	Nsfw                          *bool                  `protobuf:"varint,3,opt,name=nsfw,proto3,oneof" json:"nsfw,omitempty"`
	Position                      *int32                 `protobuf:"varint,4,opt,name=position,proto3,oneof" json:"position,omitempty"`
	Bitrate                       *int32                 `protobuf:"varint,5,opt,name=bitrate,proto3,oneof" json:"bitrate,omitempty"`
	UserLimit                     *int32                 `protobuf:"varint,6,opt,name=user_limit,json=userLimit,proto3,oneof" json:"user_limit,omitempty"`
	PermissionOverwrites          []*PermissionOverwrite `protobuf:"bytes,7,rep,name=permission_overwrites,json=permissionOverwrites,proto3" json:"permission_overwrites,omitempty"`
	ParentId                      *string                `protobuf:"bytes,8,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
	RateLimitPerUser              *int32                 `protobuf:"varint,9,opt,name=rate_limit_per_user,json=rateLimitPerUser,proto3,oneof" json:"rate_limit_per_user,omitempty"`
	Flags                         *int32                 `protobuf:"varint,10,opt,name=flags,proto3,oneof" json:"flags,omitempty"`
	DefaultThreadRateLimitPerUser *int32                 `` /* 164-byte string literal not displayed */
	Archived                      *bool                  `protobuf:"varint,12,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
	AutoArchiveDuration           *int32                 `` /* 128-byte string literal not displayed */
	Locked                        *bool                  `protobuf:"varint,14,opt,name=locked,proto3,oneof" json:"locked,omitempty"`
	Invitable                     *bool                  `protobuf:"varint,15,opt,name=invitable,proto3,oneof" json:"invitable,omitempty"`
	AppliedTags                   []string               `protobuf:"bytes,16,rep,name=applied_tags,json=appliedTags,proto3" json:"applied_tags,omitempty"`
	// contains filtered or unexported fields
}

ChannelEdit message for channel editing operations

func (*ChannelEdit) Descriptor deprecated

func (*ChannelEdit) Descriptor() ([]byte, []int)

Deprecated: Use ChannelEdit.ProtoReflect.Descriptor instead.

func (*ChannelEdit) GetAppliedTags

func (x *ChannelEdit) GetAppliedTags() []string

func (*ChannelEdit) GetArchived

func (x *ChannelEdit) GetArchived() bool

func (*ChannelEdit) GetAutoArchiveDuration

func (x *ChannelEdit) GetAutoArchiveDuration() int32

func (*ChannelEdit) GetBitrate

func (x *ChannelEdit) GetBitrate() int32

func (*ChannelEdit) GetDefaultThreadRateLimitPerUser

func (x *ChannelEdit) GetDefaultThreadRateLimitPerUser() int32

func (*ChannelEdit) GetFlags

func (x *ChannelEdit) GetFlags() int32

func (*ChannelEdit) GetInvitable

func (x *ChannelEdit) GetInvitable() bool

func (*ChannelEdit) GetLocked

func (x *ChannelEdit) GetLocked() bool

func (*ChannelEdit) GetName

func (x *ChannelEdit) GetName() string

func (*ChannelEdit) GetNsfw

func (x *ChannelEdit) GetNsfw() bool

func (*ChannelEdit) GetParentId

func (x *ChannelEdit) GetParentId() string

func (*ChannelEdit) GetPermissionOverwrites

func (x *ChannelEdit) GetPermissionOverwrites() []*PermissionOverwrite

func (*ChannelEdit) GetPosition

func (x *ChannelEdit) GetPosition() int32

func (*ChannelEdit) GetRateLimitPerUser

func (x *ChannelEdit) GetRateLimitPerUser() int32

func (*ChannelEdit) GetTopic

func (x *ChannelEdit) GetTopic() string

func (*ChannelEdit) GetUserLimit

func (x *ChannelEdit) GetUserLimit() int32

func (*ChannelEdit) ProtoMessage

func (*ChannelEdit) ProtoMessage()

func (*ChannelEdit) ProtoReflect

func (x *ChannelEdit) ProtoReflect() protoreflect.Message

func (*ChannelEdit) Reset

func (x *ChannelEdit) Reset()

func (*ChannelEdit) String

func (x *ChannelEdit) String() string

type ChannelEditRequest

type ChannelEditRequest struct {
	ChannelId string       `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Data      *ChannelEdit `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelEditRequest) Descriptor deprecated

func (*ChannelEditRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelEditRequest.ProtoReflect.Descriptor instead.

func (*ChannelEditRequest) GetChannelId

func (x *ChannelEditRequest) GetChannelId() string

func (*ChannelEditRequest) GetData

func (x *ChannelEditRequest) GetData() *ChannelEdit

func (*ChannelEditRequest) ProtoMessage

func (*ChannelEditRequest) ProtoMessage()

func (*ChannelEditRequest) ProtoReflect

func (x *ChannelEditRequest) ProtoReflect() protoreflect.Message

func (*ChannelEditRequest) Reset

func (x *ChannelEditRequest) Reset()

func (*ChannelEditRequest) String

func (x *ChannelEditRequest) String() string

type ChannelEditResponse

type ChannelEditResponse struct {
	Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelEditResponse) Descriptor deprecated

func (*ChannelEditResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelEditResponse.ProtoReflect.Descriptor instead.

func (*ChannelEditResponse) GetChannel

func (x *ChannelEditResponse) GetChannel() *Channel

func (*ChannelEditResponse) ProtoMessage

func (*ChannelEditResponse) ProtoMessage()

func (*ChannelEditResponse) ProtoReflect

func (x *ChannelEditResponse) ProtoReflect() protoreflect.Message

func (*ChannelEditResponse) Reset

func (x *ChannelEditResponse) Reset()

func (*ChannelEditResponse) String

func (x *ChannelEditResponse) String() string

type ChannelMessageDeleteRequest

type ChannelMessageDeleteRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageDeleteRequest) Descriptor deprecated

func (*ChannelMessageDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageDeleteRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageDeleteRequest) GetChannelId

func (x *ChannelMessageDeleteRequest) GetChannelId() string

func (*ChannelMessageDeleteRequest) GetMessageId

func (x *ChannelMessageDeleteRequest) GetMessageId() string

func (*ChannelMessageDeleteRequest) ProtoMessage

func (*ChannelMessageDeleteRequest) ProtoMessage()

func (*ChannelMessageDeleteRequest) ProtoReflect

func (*ChannelMessageDeleteRequest) Reset

func (x *ChannelMessageDeleteRequest) Reset()

func (*ChannelMessageDeleteRequest) String

func (x *ChannelMessageDeleteRequest) String() string

type ChannelMessageEditComplexRequest

type ChannelMessageEditComplexRequest struct {
	MessageEdit *MessageEdit `protobuf:"bytes,1,opt,name=message_edit,json=messageEdit,proto3" json:"message_edit,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageEditComplexRequest) Descriptor deprecated

func (*ChannelMessageEditComplexRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageEditComplexRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageEditComplexRequest) GetMessageEdit

func (x *ChannelMessageEditComplexRequest) GetMessageEdit() *MessageEdit

func (*ChannelMessageEditComplexRequest) ProtoMessage

func (*ChannelMessageEditComplexRequest) ProtoMessage()

func (*ChannelMessageEditComplexRequest) ProtoReflect

func (*ChannelMessageEditComplexRequest) Reset

func (*ChannelMessageEditComplexRequest) String

type ChannelMessageEditComplexResponse

type ChannelMessageEditComplexResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageEditComplexResponse) Descriptor deprecated

func (*ChannelMessageEditComplexResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageEditComplexResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageEditComplexResponse) GetMessage

func (x *ChannelMessageEditComplexResponse) GetMessage() *Message

func (*ChannelMessageEditComplexResponse) ProtoMessage

func (*ChannelMessageEditComplexResponse) ProtoMessage()

func (*ChannelMessageEditComplexResponse) ProtoReflect

func (*ChannelMessageEditComplexResponse) Reset

func (*ChannelMessageEditComplexResponse) String

type ChannelMessageEditRequest

type ChannelMessageEditRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Content   string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageEditRequest) Descriptor deprecated

func (*ChannelMessageEditRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageEditRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageEditRequest) GetChannelId

func (x *ChannelMessageEditRequest) GetChannelId() string

func (*ChannelMessageEditRequest) GetContent

func (x *ChannelMessageEditRequest) GetContent() string

func (*ChannelMessageEditRequest) GetMessageId

func (x *ChannelMessageEditRequest) GetMessageId() string

func (*ChannelMessageEditRequest) ProtoMessage

func (*ChannelMessageEditRequest) ProtoMessage()

func (*ChannelMessageEditRequest) ProtoReflect

func (*ChannelMessageEditRequest) Reset

func (x *ChannelMessageEditRequest) Reset()

func (*ChannelMessageEditRequest) String

func (x *ChannelMessageEditRequest) String() string

type ChannelMessageEditResponse

type ChannelMessageEditResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageEditResponse) Descriptor deprecated

func (*ChannelMessageEditResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageEditResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageEditResponse) GetMessage

func (x *ChannelMessageEditResponse) GetMessage() *Message

func (*ChannelMessageEditResponse) ProtoMessage

func (*ChannelMessageEditResponse) ProtoMessage()

func (*ChannelMessageEditResponse) ProtoReflect

func (*ChannelMessageEditResponse) Reset

func (x *ChannelMessageEditResponse) Reset()

func (*ChannelMessageEditResponse) String

func (x *ChannelMessageEditResponse) String() string

type ChannelMessageRequest

type ChannelMessageRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageRequest) Descriptor deprecated

func (*ChannelMessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageRequest) GetChannelId

func (x *ChannelMessageRequest) GetChannelId() string

func (*ChannelMessageRequest) GetMessageId

func (x *ChannelMessageRequest) GetMessageId() string

func (*ChannelMessageRequest) ProtoMessage

func (*ChannelMessageRequest) ProtoMessage()

func (*ChannelMessageRequest) ProtoReflect

func (x *ChannelMessageRequest) ProtoReflect() protoreflect.Message

func (*ChannelMessageRequest) Reset

func (x *ChannelMessageRequest) Reset()

func (*ChannelMessageRequest) String

func (x *ChannelMessageRequest) String() string

type ChannelMessageResponse

type ChannelMessageResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageResponse) Descriptor deprecated

func (*ChannelMessageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageResponse) GetMessage

func (x *ChannelMessageResponse) GetMessage() *Message

func (*ChannelMessageResponse) ProtoMessage

func (*ChannelMessageResponse) ProtoMessage()

func (*ChannelMessageResponse) ProtoReflect

func (x *ChannelMessageResponse) ProtoReflect() protoreflect.Message

func (*ChannelMessageResponse) Reset

func (x *ChannelMessageResponse) Reset()

func (*ChannelMessageResponse) String

func (x *ChannelMessageResponse) String() string

type ChannelMessageSendComplexRequest

type ChannelMessageSendComplexRequest struct {
	ChannelId string       `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Data      *MessageSend `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendComplexRequest) Descriptor deprecated

func (*ChannelMessageSendComplexRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendComplexRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendComplexRequest) GetChannelId

func (x *ChannelMessageSendComplexRequest) GetChannelId() string

func (*ChannelMessageSendComplexRequest) GetData

func (*ChannelMessageSendComplexRequest) ProtoMessage

func (*ChannelMessageSendComplexRequest) ProtoMessage()

func (*ChannelMessageSendComplexRequest) ProtoReflect

func (*ChannelMessageSendComplexRequest) Reset

func (*ChannelMessageSendComplexRequest) String

type ChannelMessageSendComplexResponse

type ChannelMessageSendComplexResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendComplexResponse) Descriptor deprecated

func (*ChannelMessageSendComplexResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendComplexResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendComplexResponse) GetMessage

func (x *ChannelMessageSendComplexResponse) GetMessage() *Message

func (*ChannelMessageSendComplexResponse) ProtoMessage

func (*ChannelMessageSendComplexResponse) ProtoMessage()

func (*ChannelMessageSendComplexResponse) ProtoReflect

func (*ChannelMessageSendComplexResponse) Reset

func (*ChannelMessageSendComplexResponse) String

type ChannelMessageSendEmbedRequest

type ChannelMessageSendEmbedRequest struct {
	ChannelId string        `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Embed     *MessageEmbed `protobuf:"bytes,2,opt,name=embed,proto3" json:"embed,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendEmbedRequest) Descriptor deprecated

func (*ChannelMessageSendEmbedRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendEmbedRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendEmbedRequest) GetChannelId

func (x *ChannelMessageSendEmbedRequest) GetChannelId() string

func (*ChannelMessageSendEmbedRequest) GetEmbed

func (*ChannelMessageSendEmbedRequest) ProtoMessage

func (*ChannelMessageSendEmbedRequest) ProtoMessage()

func (*ChannelMessageSendEmbedRequest) ProtoReflect

func (*ChannelMessageSendEmbedRequest) Reset

func (x *ChannelMessageSendEmbedRequest) Reset()

func (*ChannelMessageSendEmbedRequest) String

type ChannelMessageSendEmbedResponse

type ChannelMessageSendEmbedResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendEmbedResponse) Descriptor deprecated

func (*ChannelMessageSendEmbedResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendEmbedResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendEmbedResponse) GetMessage

func (x *ChannelMessageSendEmbedResponse) GetMessage() *Message

func (*ChannelMessageSendEmbedResponse) ProtoMessage

func (*ChannelMessageSendEmbedResponse) ProtoMessage()

func (*ChannelMessageSendEmbedResponse) ProtoReflect

func (*ChannelMessageSendEmbedResponse) Reset

func (*ChannelMessageSendEmbedResponse) String

type ChannelMessageSendEmbedsRequest

type ChannelMessageSendEmbedsRequest struct {
	ChannelId string          `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Embeds    []*MessageEmbed `protobuf:"bytes,2,rep,name=embeds,proto3" json:"embeds,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendEmbedsRequest) Descriptor deprecated

func (*ChannelMessageSendEmbedsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendEmbedsRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendEmbedsRequest) GetChannelId

func (x *ChannelMessageSendEmbedsRequest) GetChannelId() string

func (*ChannelMessageSendEmbedsRequest) GetEmbeds

func (*ChannelMessageSendEmbedsRequest) ProtoMessage

func (*ChannelMessageSendEmbedsRequest) ProtoMessage()

func (*ChannelMessageSendEmbedsRequest) ProtoReflect

func (*ChannelMessageSendEmbedsRequest) Reset

func (*ChannelMessageSendEmbedsRequest) String

type ChannelMessageSendEmbedsResponse

type ChannelMessageSendEmbedsResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendEmbedsResponse) Descriptor deprecated

func (*ChannelMessageSendEmbedsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendEmbedsResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendEmbedsResponse) GetMessage

func (x *ChannelMessageSendEmbedsResponse) GetMessage() *Message

func (*ChannelMessageSendEmbedsResponse) ProtoMessage

func (*ChannelMessageSendEmbedsResponse) ProtoMessage()

func (*ChannelMessageSendEmbedsResponse) ProtoReflect

func (*ChannelMessageSendEmbedsResponse) Reset

func (*ChannelMessageSendEmbedsResponse) String

type ChannelMessageSendRequest

type ChannelMessageSendRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Content   string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendRequest) Descriptor deprecated

func (*ChannelMessageSendRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendRequest) GetChannelId

func (x *ChannelMessageSendRequest) GetChannelId() string

func (*ChannelMessageSendRequest) GetContent

func (x *ChannelMessageSendRequest) GetContent() string

func (*ChannelMessageSendRequest) ProtoMessage

func (*ChannelMessageSendRequest) ProtoMessage()

func (*ChannelMessageSendRequest) ProtoReflect

func (*ChannelMessageSendRequest) Reset

func (x *ChannelMessageSendRequest) Reset()

func (*ChannelMessageSendRequest) String

func (x *ChannelMessageSendRequest) String() string

type ChannelMessageSendResponse

type ChannelMessageSendResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessageSendResponse) Descriptor deprecated

func (*ChannelMessageSendResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageSendResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessageSendResponse) GetMessage

func (x *ChannelMessageSendResponse) GetMessage() *Message

func (*ChannelMessageSendResponse) ProtoMessage

func (*ChannelMessageSendResponse) ProtoMessage()

func (*ChannelMessageSendResponse) ProtoReflect

func (*ChannelMessageSendResponse) Reset

func (x *ChannelMessageSendResponse) Reset()

func (*ChannelMessageSendResponse) String

func (x *ChannelMessageSendResponse) String() string

type ChannelMessagesRequest

type ChannelMessagesRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	BeforeId  string `protobuf:"bytes,3,opt,name=before_id,json=beforeId,proto3" json:"before_id,omitempty"`
	AfterId   string `protobuf:"bytes,4,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"`
	AroundId  string `protobuf:"bytes,5,opt,name=around_id,json=aroundId,proto3" json:"around_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessagesRequest) Descriptor deprecated

func (*ChannelMessagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessagesRequest.ProtoReflect.Descriptor instead.

func (*ChannelMessagesRequest) GetAfterId

func (x *ChannelMessagesRequest) GetAfterId() string

func (*ChannelMessagesRequest) GetAroundId

func (x *ChannelMessagesRequest) GetAroundId() string

func (*ChannelMessagesRequest) GetBeforeId

func (x *ChannelMessagesRequest) GetBeforeId() string

func (*ChannelMessagesRequest) GetChannelId

func (x *ChannelMessagesRequest) GetChannelId() string

func (*ChannelMessagesRequest) GetLimit

func (x *ChannelMessagesRequest) GetLimit() int32

func (*ChannelMessagesRequest) ProtoMessage

func (*ChannelMessagesRequest) ProtoMessage()

func (*ChannelMessagesRequest) ProtoReflect

func (x *ChannelMessagesRequest) ProtoReflect() protoreflect.Message

func (*ChannelMessagesRequest) Reset

func (x *ChannelMessagesRequest) Reset()

func (*ChannelMessagesRequest) String

func (x *ChannelMessagesRequest) String() string

type ChannelMessagesResponse

type ChannelMessagesResponse struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessagesResponse) Descriptor deprecated

func (*ChannelMessagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessagesResponse.ProtoReflect.Descriptor instead.

func (*ChannelMessagesResponse) GetMessages

func (x *ChannelMessagesResponse) GetMessages() []*Message

func (*ChannelMessagesResponse) ProtoMessage

func (*ChannelMessagesResponse) ProtoMessage()

func (*ChannelMessagesResponse) ProtoReflect

func (x *ChannelMessagesResponse) ProtoReflect() protoreflect.Message

func (*ChannelMessagesResponse) Reset

func (x *ChannelMessagesResponse) Reset()

func (*ChannelMessagesResponse) String

func (x *ChannelMessagesResponse) String() string

type ChannelRequest

type ChannelRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelRequest) Descriptor deprecated

func (*ChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelRequest.ProtoReflect.Descriptor instead.

func (*ChannelRequest) GetChannelId

func (x *ChannelRequest) GetChannelId() string

func (*ChannelRequest) ProtoMessage

func (*ChannelRequest) ProtoMessage()

func (*ChannelRequest) ProtoReflect

func (x *ChannelRequest) ProtoReflect() protoreflect.Message

func (*ChannelRequest) Reset

func (x *ChannelRequest) Reset()

func (*ChannelRequest) String

func (x *ChannelRequest) String() string

type ChannelResponse

type ChannelResponse struct {
	Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelResponse) Descriptor deprecated

func (*ChannelResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelResponse.ProtoReflect.Descriptor instead.

func (*ChannelResponse) GetChannel

func (x *ChannelResponse) GetChannel() *Channel

func (*ChannelResponse) ProtoMessage

func (*ChannelResponse) ProtoMessage()

func (*ChannelResponse) ProtoReflect

func (x *ChannelResponse) ProtoReflect() protoreflect.Message

func (*ChannelResponse) Reset

func (x *ChannelResponse) Reset()

func (*ChannelResponse) String

func (x *ChannelResponse) String() string

type ChannelType

type ChannelType int32

ChannelType represents the type of a channel. (Needs definition based on Discord API)

const (
	ChannelType_CHANNEL_TYPE_UNKNOWN ChannelType = 0 // Default zero value
	// Add specific channel types based on Discord API, e.g.:
	ChannelType_CHANNEL_TYPE_GUILD_TEXT ChannelType = 1
	ChannelType_CHANNEL_TYPE_DM         ChannelType = 3 // ... other channel types ...
)

func (ChannelType) Descriptor

func (ChannelType) Enum

func (x ChannelType) Enum() *ChannelType

func (ChannelType) EnumDescriptor deprecated

func (ChannelType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChannelType.Descriptor instead.

func (ChannelType) Number

func (x ChannelType) Number() protoreflect.EnumNumber

func (ChannelType) String

func (x ChannelType) String() string

func (ChannelType) Type

type ChannelTypingRequest

type ChannelTypingRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelTypingRequest) Descriptor deprecated

func (*ChannelTypingRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChannelTypingRequest.ProtoReflect.Descriptor instead.

func (*ChannelTypingRequest) GetChannelId

func (x *ChannelTypingRequest) GetChannelId() string

func (*ChannelTypingRequest) ProtoMessage

func (*ChannelTypingRequest) ProtoMessage()

func (*ChannelTypingRequest) ProtoReflect

func (x *ChannelTypingRequest) ProtoReflect() protoreflect.Message

func (*ChannelTypingRequest) Reset

func (x *ChannelTypingRequest) Reset()

func (*ChannelTypingRequest) String

func (x *ChannelTypingRequest) String() string

type ClientStatus

type ClientStatus struct {
	Desktop string `protobuf:"bytes,1,opt,name=desktop,proto3" json:"desktop,omitempty"` // Assuming Status is string
	Mobile  string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`   // Assuming Status is string
	Web     string `protobuf:"bytes,3,opt,name=web,proto3" json:"web,omitempty"`         // Assuming Status is string
	// 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 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 ComponentType

type ComponentType int32

ComponentType represents the type of a message component.

const (
	ComponentType_COMPONENT_TYPE_UNKNOWN                 ComponentType = 0
	ComponentType_COMPONENT_TYPE_ACTION_ROW              ComponentType = 1
	ComponentType_COMPONENT_TYPE_BUTTON                  ComponentType = 2
	ComponentType_COMPONENT_TYPE_SELECT_MENU             ComponentType = 3
	ComponentType_COMPONENT_TYPE_TEXT_INPUT              ComponentType = 4
	ComponentType_COMPONENT_TYPE_USER_SELECT_MENU        ComponentType = 5
	ComponentType_COMPONENT_TYPE_ROLE_SELECT_MENU        ComponentType = 6
	ComponentType_COMPONENT_TYPE_MENTIONABLE_SELECT_MENU ComponentType = 7
	ComponentType_COMPONENT_TYPE_CHANNEL_SELECT_MENU     ComponentType = 8
	ComponentType_COMPONENT_TYPE_SECTION                 ComponentType = 9
	ComponentType_COMPONENT_TYPE_TEXT_DISPLAY            ComponentType = 10
	ComponentType_COMPONENT_TYPE_THUMBNAIL               ComponentType = 11
	ComponentType_COMPONENT_TYPE_MEDIA_GALLERY           ComponentType = 12
	ComponentType_COMPONENT_TYPE_FILE                    ComponentType = 13
	ComponentType_COMPONENT_TYPE_SEPARATOR               ComponentType = 14
	ComponentType_COMPONENT_TYPE_CONTAINER               ComponentType = 17
)

func (ComponentType) Descriptor

func (ComponentType) Enum

func (x ComponentType) Enum() *ComponentType

func (ComponentType) EnumDescriptor deprecated

func (ComponentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ComponentType.Descriptor instead.

func (ComponentType) Number

func (ComponentType) String

func (x ComponentType) String() string

func (ComponentType) Type

type Container

type Container struct {
	Id          int32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AccentColor *int32              `protobuf:"varint,2,opt,name=accent_color,json=accentColor,proto3,oneof" json:"accent_color,omitempty"`
	Spoiler     bool                `protobuf:"varint,3,opt,name=spoiler,proto3" json:"spoiler,omitempty"`
	Components  []*MessageComponent `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

Container is a visually distinct top-level layout component.

func (*Container) Descriptor deprecated

func (*Container) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetAccentColor

func (x *Container) GetAccentColor() int32

func (*Container) GetComponents

func (x *Container) GetComponents() []*MessageComponent

func (*Container) GetId

func (x *Container) GetId() int32

func (*Container) GetSpoiler

func (x *Container) GetSpoiler() bool

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type EmbedType

type EmbedType int32

EmbedType is the type of embed https://discord.com/developers/docs/resources/channel#embed-object-embed-types

const (
	EmbedType_EMBED_TYPE_RICH    EmbedType = 0
	EmbedType_EMBED_TYPE_IMAGE   EmbedType = 1
	EmbedType_EMBED_TYPE_VIDEO   EmbedType = 2
	EmbedType_EMBED_TYPE_GIFV    EmbedType = 3
	EmbedType_EMBED_TYPE_ARTICLE EmbedType = 4
	EmbedType_EMBED_TYPE_LINK    EmbedType = 5
)

func (EmbedType) Descriptor

func (EmbedType) Descriptor() protoreflect.EnumDescriptor

func (EmbedType) Enum

func (x EmbedType) Enum() *EmbedType

func (EmbedType) EnumDescriptor deprecated

func (EmbedType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EmbedType.Descriptor instead.

func (EmbedType) Number

func (x EmbedType) Number() protoreflect.EnumNumber

func (EmbedType) String

func (x EmbedType) String() string

func (EmbedType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Emoji.ProtoReflect.Descriptor instead.

func (*Emoji) GetAnimated

func (x *Emoji) GetAnimated() bool

func (*Emoji) GetAvailable

func (x *Emoji) GetAvailable() bool

func (*Emoji) GetId

func (x *Emoji) GetId() string

func (*Emoji) GetManaged

func (x *Emoji) GetManaged() bool

func (*Emoji) GetName

func (x *Emoji) GetName() string

func (*Emoji) GetRequireColons

func (x *Emoji) GetRequireColons() bool

func (*Emoji) GetRoles

func (x *Emoji) GetRoles() []string

func (*Emoji) GetUser

func (x *Emoji) GetUser() *User

func (*Emoji) ProtoMessage

func (*Emoji) ProtoMessage()

func (*Emoji) ProtoReflect

func (x *Emoji) ProtoReflect() protoreflect.Message

func (*Emoji) Reset

func (x *Emoji) Reset()

func (*Emoji) String

func (x *Emoji) String() string

type EmojiParams

type EmojiParams struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image string   `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*EmojiParams) Descriptor deprecated

func (*EmojiParams) Descriptor() ([]byte, []int)

Deprecated: Use EmojiParams.ProtoReflect.Descriptor instead.

func (*EmojiParams) GetImage

func (x *EmojiParams) GetImage() string

func (*EmojiParams) GetName

func (x *EmojiParams) GetName() string

func (*EmojiParams) GetRoles

func (x *EmojiParams) GetRoles() []string

func (*EmojiParams) ProtoMessage

func (*EmojiParams) ProtoMessage()

func (*EmojiParams) ProtoReflect

func (x *EmojiParams) ProtoReflect() protoreflect.Message

func (*EmojiParams) Reset

func (x *EmojiParams) Reset()

func (*EmojiParams) String

func (x *EmojiParams) String() string

type Entitlement

type Entitlement struct {
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SkuId          string                 `protobuf:"bytes,2,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	ApplicationId  string                 `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	UserId         string                 `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Type           int32                  `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` // Assuming EntitlementType is int32
	Deleted        bool                   `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
	StartsAt       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"`
	EndsAt         *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	GuildId        string                 `protobuf:"bytes,9,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	Consumed       bool                   `protobuf:"varint,10,opt,name=consumed,proto3" json:"consumed,omitempty"`
	SubscriptionId string                 `protobuf:"bytes,11,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Entitlement) Descriptor deprecated

func (*Entitlement) Descriptor() ([]byte, []int)

Deprecated: Use Entitlement.ProtoReflect.Descriptor instead.

func (*Entitlement) GetApplicationId

func (x *Entitlement) GetApplicationId() string

func (*Entitlement) GetConsumed

func (x *Entitlement) GetConsumed() bool

func (*Entitlement) GetDeleted

func (x *Entitlement) GetDeleted() bool

func (*Entitlement) GetEndsAt

func (x *Entitlement) GetEndsAt() *timestamppb.Timestamp

func (*Entitlement) GetGuildId

func (x *Entitlement) GetGuildId() string

func (*Entitlement) GetId

func (x *Entitlement) GetId() string

func (*Entitlement) GetSkuId

func (x *Entitlement) GetSkuId() string

func (*Entitlement) GetStartsAt

func (x *Entitlement) GetStartsAt() *timestamppb.Timestamp

func (*Entitlement) GetSubscriptionId

func (x *Entitlement) GetSubscriptionId() string

func (*Entitlement) GetType

func (x *Entitlement) GetType() int32

func (*Entitlement) GetUserId

func (x *Entitlement) GetUserId() string

func (*Entitlement) ProtoMessage

func (*Entitlement) ProtoMessage()

func (*Entitlement) ProtoReflect

func (x *Entitlement) ProtoReflect() protoreflect.Message

func (*Entitlement) Reset

func (x *Entitlement) Reset()

func (*Entitlement) String

func (x *Entitlement) String() string

type EntitlementFilterOptions

type EntitlementFilterOptions struct {
	UserId       string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	SkuIds       []string               `protobuf:"bytes,2,rep,name=sku_ids,json=skuIds,proto3" json:"sku_ids,omitempty"`
	Before       *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
	After        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=after,proto3" json:"after,omitempty"`
	Limit        int32                  `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	GuildId      string                 `protobuf:"bytes,6,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	ExcludeEnded bool                   `protobuf:"varint,7,opt,name=exclude_ended,json=excludeEnded,proto3" json:"exclude_ended,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementFilterOptions) Descriptor deprecated

func (*EntitlementFilterOptions) Descriptor() ([]byte, []int)

Deprecated: Use EntitlementFilterOptions.ProtoReflect.Descriptor instead.

func (*EntitlementFilterOptions) GetAfter

func (*EntitlementFilterOptions) GetBefore

func (*EntitlementFilterOptions) GetExcludeEnded

func (x *EntitlementFilterOptions) GetExcludeEnded() bool

func (*EntitlementFilterOptions) GetGuildId

func (x *EntitlementFilterOptions) GetGuildId() string

func (*EntitlementFilterOptions) GetLimit

func (x *EntitlementFilterOptions) GetLimit() int32

func (*EntitlementFilterOptions) GetSkuIds

func (x *EntitlementFilterOptions) GetSkuIds() []string

func (*EntitlementFilterOptions) GetUserId

func (x *EntitlementFilterOptions) GetUserId() string

func (*EntitlementFilterOptions) ProtoMessage

func (*EntitlementFilterOptions) ProtoMessage()

func (*EntitlementFilterOptions) ProtoReflect

func (x *EntitlementFilterOptions) ProtoReflect() protoreflect.Message

func (*EntitlementFilterOptions) Reset

func (x *EntitlementFilterOptions) Reset()

func (*EntitlementFilterOptions) String

func (x *EntitlementFilterOptions) String() string

type EntitlementOwnerType

type EntitlementOwnerType struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementOwnerType) Descriptor deprecated

func (*EntitlementOwnerType) Descriptor() ([]byte, []int)

Deprecated: Use EntitlementOwnerType.ProtoReflect.Descriptor instead.

func (*EntitlementOwnerType) GetValue

func (x *EntitlementOwnerType) GetValue() int32

func (*EntitlementOwnerType) ProtoMessage

func (*EntitlementOwnerType) ProtoMessage()

func (*EntitlementOwnerType) ProtoReflect

func (x *EntitlementOwnerType) ProtoReflect() protoreflect.Message

func (*EntitlementOwnerType) Reset

func (x *EntitlementOwnerType) Reset()

func (*EntitlementOwnerType) String

func (x *EntitlementOwnerType) String() string

type EntitlementTest

type EntitlementTest struct {
	SkuId     string `protobuf:"bytes,1,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	OwnerId   string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	OwnerType int32  `protobuf:"varint,3,opt,name=owner_type,json=ownerType,proto3" json:"owner_type,omitempty"` // Assuming EntitlementOwnerType is int32
	// contains filtered or unexported fields
}

func (*EntitlementTest) Descriptor deprecated

func (*EntitlementTest) Descriptor() ([]byte, []int)

Deprecated: Use EntitlementTest.ProtoReflect.Descriptor instead.

func (*EntitlementTest) GetOwnerId

func (x *EntitlementTest) GetOwnerId() string

func (*EntitlementTest) GetOwnerType

func (x *EntitlementTest) GetOwnerType() int32

func (*EntitlementTest) GetSkuId

func (x *EntitlementTest) GetSkuId() string

func (*EntitlementTest) ProtoMessage

func (*EntitlementTest) ProtoMessage()

func (*EntitlementTest) ProtoReflect

func (x *EntitlementTest) ProtoReflect() protoreflect.Message

func (*EntitlementTest) Reset

func (x *EntitlementTest) Reset()

func (*EntitlementTest) String

func (x *EntitlementTest) String() string

type EntitlementType

type EntitlementType struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementType) Descriptor deprecated

func (*EntitlementType) Descriptor() ([]byte, []int)

Deprecated: Use EntitlementType.ProtoReflect.Descriptor instead.

func (*EntitlementType) GetValue

func (x *EntitlementType) GetValue() int32

func (*EntitlementType) ProtoMessage

func (*EntitlementType) ProtoMessage()

func (*EntitlementType) ProtoReflect

func (x *EntitlementType) ProtoReflect() protoreflect.Message

func (*EntitlementType) Reset

func (x *EntitlementType) Reset()

func (*EntitlementType) String

func (x *EntitlementType) String() string

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"`
	// contains filtered or unexported fields
}

File stores info about files you e.g. send in messages.

func (*File) Descriptor deprecated

func (*File) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetContentType

func (x *File) GetContentType() string

func (*File) GetName

func (x *File) GetName() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type FileComponent

type FileComponent struct {
	Id      int32              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	File    *UnfurledMediaItem `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Spoiler bool               `protobuf:"varint,3,opt,name=spoiler,proto3" json:"spoiler,omitempty"`
	// contains filtered or unexported fields
}

FileComponent displays an uploaded file as an attachment.

func (*FileComponent) Descriptor deprecated

func (*FileComponent) Descriptor() ([]byte, []int)

Deprecated: Use FileComponent.ProtoReflect.Descriptor instead.

func (*FileComponent) GetFile

func (x *FileComponent) GetFile() *UnfurledMediaItem

func (*FileComponent) GetId

func (x *FileComponent) GetId() int32

func (*FileComponent) GetSpoiler

func (x *FileComponent) GetSpoiler() bool

func (*FileComponent) ProtoMessage

func (*FileComponent) ProtoMessage()

func (*FileComponent) ProtoReflect

func (x *FileComponent) ProtoReflect() protoreflect.Message

func (*FileComponent) Reset

func (x *FileComponent) Reset()

func (*FileComponent) String

func (x *FileComponent) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ForumTag.ProtoReflect.Descriptor instead.

func (*ForumTag) GetEmojiId

func (x *ForumTag) GetEmojiId() string

func (*ForumTag) GetEmojiName

func (x *ForumTag) GetEmojiName() string

func (*ForumTag) GetId

func (x *ForumTag) GetId() string

func (*ForumTag) GetModerated

func (x *ForumTag) GetModerated() bool

func (*ForumTag) GetName

func (x *ForumTag) GetName() string

func (*ForumTag) ProtoMessage

func (*ForumTag) ProtoMessage()

func (*ForumTag) ProtoReflect

func (x *ForumTag) ProtoReflect() protoreflect.Message

func (*ForumTag) Reset

func (x *ForumTag) Reset()

func (*ForumTag) String

func (x *ForumTag) String() string

type GatewayBotRequest

type GatewayBotRequest struct {
	// contains filtered or unexported fields
}

func (*GatewayBotRequest) Descriptor deprecated

func (*GatewayBotRequest) Descriptor() ([]byte, []int)

Deprecated: Use GatewayBotRequest.ProtoReflect.Descriptor instead.

func (*GatewayBotRequest) ProtoMessage

func (*GatewayBotRequest) ProtoMessage()

func (*GatewayBotRequest) ProtoReflect

func (x *GatewayBotRequest) ProtoReflect() protoreflect.Message

func (*GatewayBotRequest) Reset

func (x *GatewayBotRequest) Reset()

func (*GatewayBotRequest) String

func (x *GatewayBotRequest) String() string

type GatewayBotResponse

type GatewayBotResponse 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"`
	SessionStartLimit *SessionInformation `protobuf:"bytes,3,opt,name=session_start_limit,json=sessionStartLimit,proto3" json:"session_start_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayBotResponse) Descriptor deprecated

func (*GatewayBotResponse) Descriptor() ([]byte, []int)

Deprecated: Use GatewayBotResponse.ProtoReflect.Descriptor instead.

func (*GatewayBotResponse) GetSessionStartLimit

func (x *GatewayBotResponse) GetSessionStartLimit() *SessionInformation

func (*GatewayBotResponse) GetShards

func (x *GatewayBotResponse) GetShards() int32

func (*GatewayBotResponse) GetUrl

func (x *GatewayBotResponse) GetUrl() string

func (*GatewayBotResponse) ProtoMessage

func (*GatewayBotResponse) ProtoMessage()

func (*GatewayBotResponse) ProtoReflect

func (x *GatewayBotResponse) ProtoReflect() protoreflect.Message

func (*GatewayBotResponse) Reset

func (x *GatewayBotResponse) Reset()

func (*GatewayBotResponse) String

func (x *GatewayBotResponse) String() string

type GatewayRequest

type GatewayRequest struct {
	// contains filtered or unexported fields
}

func (*GatewayRequest) Descriptor deprecated

func (*GatewayRequest) Descriptor() ([]byte, []int)

Deprecated: Use GatewayRequest.ProtoReflect.Descriptor instead.

func (*GatewayRequest) ProtoMessage

func (*GatewayRequest) ProtoMessage()

func (*GatewayRequest) ProtoReflect

func (x *GatewayRequest) ProtoReflect() protoreflect.Message

func (*GatewayRequest) Reset

func (x *GatewayRequest) Reset()

func (*GatewayRequest) String

func (x *GatewayRequest) String() string

type GatewayResponse

type GatewayResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayResponse) Descriptor deprecated

func (*GatewayResponse) Descriptor() ([]byte, []int)

Deprecated: Use GatewayResponse.ProtoReflect.Descriptor instead.

func (*GatewayResponse) GetUrl

func (x *GatewayResponse) GetUrl() string

func (*GatewayResponse) ProtoMessage

func (*GatewayResponse) ProtoMessage()

func (*GatewayResponse) ProtoReflect

func (x *GatewayResponse) ProtoReflect() protoreflect.Message

func (*GatewayResponse) Reset

func (x *GatewayResponse) Reset()

func (*GatewayResponse) String

func (x *GatewayResponse) String() string

type GatewayStatusUpdate

type GatewayStatusUpdate struct {
	Since  int32     `protobuf:"varint,1,opt,name=since,proto3" json:"since,omitempty"`
	Game   *Activity `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
	Status string    `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Afk    bool      `protobuf:"varint,4,opt,name=afk,proto3" json:"afk,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayStatusUpdate) Descriptor deprecated

func (*GatewayStatusUpdate) Descriptor() ([]byte, []int)

Deprecated: Use GatewayStatusUpdate.ProtoReflect.Descriptor instead.

func (*GatewayStatusUpdate) GetAfk

func (x *GatewayStatusUpdate) GetAfk() bool

func (*GatewayStatusUpdate) GetGame

func (x *GatewayStatusUpdate) GetGame() *Activity

func (*GatewayStatusUpdate) GetSince

func (x *GatewayStatusUpdate) GetSince() int32

func (*GatewayStatusUpdate) GetStatus

func (x *GatewayStatusUpdate) GetStatus() string

func (*GatewayStatusUpdate) ProtoMessage

func (*GatewayStatusUpdate) ProtoMessage()

func (*GatewayStatusUpdate) ProtoReflect

func (x *GatewayStatusUpdate) ProtoReflect() protoreflect.Message

func (*GatewayStatusUpdate) Reset

func (x *GatewayStatusUpdate) Reset()

func (*GatewayStatusUpdate) String

func (x *GatewayStatusUpdate) String() string

type Guild

type Guild 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"`
	Icon                        string                 `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Region                      string                 `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	AfkChannelId                string                 `protobuf:"bytes,5,opt,name=afk_channel_id,json=afkChannelId,proto3" json:"afk_channel_id,omitempty"`
	OwnerId                     string                 `protobuf:"bytes,6,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	Owner                       bool                   `protobuf:"varint,7,opt,name=owner,proto3" json:"owner,omitempty"`
	JoinedAt                    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	DiscoverySplash             string                 `protobuf:"bytes,9,opt,name=discovery_splash,json=discoverySplash,proto3" json:"discovery_splash,omitempty"`
	Splash                      string                 `protobuf:"bytes,10,opt,name=splash,proto3" json:"splash,omitempty"`
	AfkTimeout                  int32                  `protobuf:"varint,11,opt,name=afk_timeout,json=afkTimeout,proto3" json:"afk_timeout,omitempty"`
	MemberCount                 int32                  `protobuf:"varint,12,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
	VerificationLevel           int32                  `protobuf:"varint,13,opt,name=verification_level,json=verificationLevel,proto3" json:"verification_level,omitempty"`
	Large                       bool                   `protobuf:"varint,14,opt,name=large,proto3" json:"large,omitempty"`
	DefaultMessageNotifications int32                  `` /* 146-byte string literal not displayed */
	Roles                       []*Role                `protobuf:"bytes,16,rep,name=roles,proto3" json:"roles,omitempty"`
	Emojis                      []*Emoji               `protobuf:"bytes,17,rep,name=emojis,proto3" json:"emojis,omitempty"`
	Stickers                    []*Sticker             `protobuf:"bytes,18,rep,name=stickers,proto3" json:"stickers,omitempty"`
	Members                     []*Member              `protobuf:"bytes,19,rep,name=members,proto3" json:"members,omitempty"`
	Presences                   []*Presence            `protobuf:"bytes,20,rep,name=presences,proto3" json:"presences,omitempty"`
	MaxPresences                int32                  `protobuf:"varint,21,opt,name=max_presences,json=maxPresences,proto3" json:"max_presences,omitempty"`
	MaxMembers                  int32                  `protobuf:"varint,22,opt,name=max_members,json=maxMembers,proto3" json:"max_members,omitempty"`
	Channels                    []*Channel             `protobuf:"bytes,23,rep,name=channels,proto3" json:"channels,omitempty"`
	Threads                     []*Channel             `protobuf:"bytes,24,rep,name=threads,proto3" json:"threads,omitempty"`
	VoiceStates                 []*VoiceState          `protobuf:"bytes,25,rep,name=voice_states,json=voiceStates,proto3" json:"voice_states,omitempty"`
	Unavailable                 bool                   `protobuf:"varint,26,opt,name=unavailable,proto3" json:"unavailable,omitempty"`
	ExplicitContentFilter       int32                  `` /* 128-byte string literal not displayed */
	NsfwLevel                   int32                  `protobuf:"varint,28,opt,name=nsfw_level,json=nsfwLevel,proto3" json:"nsfw_level,omitempty"`
	Features                    []string               `protobuf:"bytes,29,rep,name=features,proto3" json:"features,omitempty"` // Assuming GuildFeature is string
	MfaLevel                    int32                  `protobuf:"varint,30,opt,name=mfa_level,json=mfaLevel,proto3" json:"mfa_level,omitempty"`
	ApplicationId               string                 `protobuf:"bytes,31,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	WidgetEnabled               bool                   `protobuf:"varint,32,opt,name=widget_enabled,json=widgetEnabled,proto3" json:"widget_enabled,omitempty"`
	WidgetChannelId             string                 `protobuf:"bytes,33,opt,name=widget_channel_id,json=widgetChannelId,proto3" json:"widget_channel_id,omitempty"`
	SystemChannelId             string                 `protobuf:"bytes,34,opt,name=system_channel_id,json=systemChannelId,proto3" json:"system_channel_id,omitempty"`
	SystemChannelFlags          int32                  `protobuf:"varint,35,opt,name=system_channel_flags,json=systemChannelFlags,proto3" json:"system_channel_flags,omitempty"`
	RulesChannelId              string                 `protobuf:"bytes,36,opt,name=rules_channel_id,json=rulesChannelId,proto3" json:"rules_channel_id,omitempty"`
	VanityUrlCode               string                 `protobuf:"bytes,37,opt,name=vanity_url_code,json=vanityUrlCode,proto3" json:"vanity_url_code,omitempty"`
	Description                 string                 `protobuf:"bytes,38,opt,name=description,proto3" json:"description,omitempty"`
	Banner                      string                 `protobuf:"bytes,39,opt,name=banner,proto3" json:"banner,omitempty"`
	PremiumTier                 int32                  `protobuf:"varint,40,opt,name=premium_tier,json=premiumTier,proto3" json:"premium_tier,omitempty"`
	PremiumSubscriptionCount    int32                  `` /* 137-byte string literal not displayed */
	PreferredLocale             string                 `protobuf:"bytes,42,opt,name=preferred_locale,json=preferredLocale,proto3" json:"preferred_locale,omitempty"`
	PublicUpdatesChannelId      string                 `` /* 132-byte string literal not displayed */
	MaxVideoChannelUsers        int32                  `` /* 127-byte string literal not displayed */
	ApproximateMemberCount      int32                  `` /* 131-byte string literal not displayed */
	ApproximatePresenceCount    int32                  `` /* 137-byte string literal not displayed */
	Permissions                 int64                  `protobuf:"varint,47,opt,name=permissions,proto3" json:"permissions,omitempty"`
	StageInstances              []*StageInstance       `protobuf:"bytes,48,rep,name=stage_instances,json=stageInstances,proto3" json:"stage_instances,omitempty"`
	// contains filtered or unexported fields
}

func (*Guild) Descriptor deprecated

func (*Guild) Descriptor() ([]byte, []int)

Deprecated: Use Guild.ProtoReflect.Descriptor instead.

func (*Guild) GetAfkChannelId

func (x *Guild) GetAfkChannelId() string

func (*Guild) GetAfkTimeout

func (x *Guild) GetAfkTimeout() int32

func (*Guild) GetApplicationId

func (x *Guild) GetApplicationId() string

func (*Guild) GetApproximateMemberCount

func (x *Guild) GetApproximateMemberCount() int32

func (*Guild) GetApproximatePresenceCount

func (x *Guild) GetApproximatePresenceCount() int32

func (*Guild) GetBanner

func (x *Guild) GetBanner() string

func (*Guild) GetChannels

func (x *Guild) GetChannels() []*Channel

func (*Guild) GetDefaultMessageNotifications

func (x *Guild) GetDefaultMessageNotifications() int32

func (*Guild) GetDescription

func (x *Guild) GetDescription() string

func (*Guild) GetDiscoverySplash

func (x *Guild) GetDiscoverySplash() string

func (*Guild) GetEmojis

func (x *Guild) GetEmojis() []*Emoji

func (*Guild) GetExplicitContentFilter

func (x *Guild) GetExplicitContentFilter() int32

func (*Guild) GetFeatures

func (x *Guild) GetFeatures() []string

func (*Guild) GetIcon

func (x *Guild) GetIcon() string

func (*Guild) GetId

func (x *Guild) GetId() string

func (*Guild) GetJoinedAt

func (x *Guild) GetJoinedAt() *timestamppb.Timestamp

func (*Guild) GetLarge

func (x *Guild) GetLarge() bool

func (*Guild) GetMaxMembers

func (x *Guild) GetMaxMembers() int32

func (*Guild) GetMaxPresences

func (x *Guild) GetMaxPresences() int32

func (*Guild) GetMaxVideoChannelUsers

func (x *Guild) GetMaxVideoChannelUsers() int32

func (*Guild) GetMemberCount

func (x *Guild) GetMemberCount() int32

func (*Guild) GetMembers

func (x *Guild) GetMembers() []*Member

func (*Guild) GetMfaLevel

func (x *Guild) GetMfaLevel() int32

func (*Guild) GetName

func (x *Guild) GetName() string

func (*Guild) GetNsfwLevel

func (x *Guild) GetNsfwLevel() int32

func (*Guild) GetOwner

func (x *Guild) GetOwner() bool

func (*Guild) GetOwnerId

func (x *Guild) GetOwnerId() string

func (*Guild) GetPermissions

func (x *Guild) GetPermissions() int64

func (*Guild) GetPreferredLocale

func (x *Guild) GetPreferredLocale() string

func (*Guild) GetPremiumSubscriptionCount

func (x *Guild) GetPremiumSubscriptionCount() int32

func (*Guild) GetPremiumTier

func (x *Guild) GetPremiumTier() int32

func (*Guild) GetPresences

func (x *Guild) GetPresences() []*Presence

func (*Guild) GetPublicUpdatesChannelId

func (x *Guild) GetPublicUpdatesChannelId() string

func (*Guild) GetRegion

func (x *Guild) GetRegion() string

func (*Guild) GetRoles

func (x *Guild) GetRoles() []*Role

func (*Guild) GetRulesChannelId

func (x *Guild) GetRulesChannelId() string

func (*Guild) GetSplash

func (x *Guild) GetSplash() string

func (*Guild) GetStageInstances

func (x *Guild) GetStageInstances() []*StageInstance

func (*Guild) GetStickers

func (x *Guild) GetStickers() []*Sticker

func (*Guild) GetSystemChannelFlags

func (x *Guild) GetSystemChannelFlags() int32

func (*Guild) GetSystemChannelId

func (x *Guild) GetSystemChannelId() string

func (*Guild) GetThreads

func (x *Guild) GetThreads() []*Channel

func (*Guild) GetUnavailable

func (x *Guild) GetUnavailable() bool

func (*Guild) GetVanityUrlCode

func (x *Guild) GetVanityUrlCode() string

func (*Guild) GetVerificationLevel

func (x *Guild) GetVerificationLevel() int32

func (*Guild) GetVoiceStates

func (x *Guild) GetVoiceStates() []*VoiceState

func (*Guild) GetWidgetChannelId

func (x *Guild) GetWidgetChannelId() string

func (*Guild) GetWidgetEnabled

func (x *Guild) GetWidgetEnabled() bool

func (*Guild) ProtoMessage

func (*Guild) ProtoMessage()

func (*Guild) ProtoReflect

func (x *Guild) ProtoReflect() protoreflect.Message

func (*Guild) Reset

func (x *Guild) Reset()

func (*Guild) String

func (x *Guild) String() string

type GuildApplicationCommandPermissions

type GuildApplicationCommandPermissions 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"`
	Permissions   []*ApplicationCommandPermissions `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

GuildApplicationCommandPermissions represents all permissions for a single guild command.

func (*GuildApplicationCommandPermissions) Descriptor deprecated

func (*GuildApplicationCommandPermissions) Descriptor() ([]byte, []int)

Deprecated: Use GuildApplicationCommandPermissions.ProtoReflect.Descriptor instead.

func (*GuildApplicationCommandPermissions) GetApplicationId

func (x *GuildApplicationCommandPermissions) GetApplicationId() string

func (*GuildApplicationCommandPermissions) GetGuildId

func (*GuildApplicationCommandPermissions) GetId

func (*GuildApplicationCommandPermissions) GetPermissions

func (*GuildApplicationCommandPermissions) ProtoMessage

func (*GuildApplicationCommandPermissions) ProtoMessage()

func (*GuildApplicationCommandPermissions) ProtoReflect

func (*GuildApplicationCommandPermissions) Reset

func (*GuildApplicationCommandPermissions) String

type GuildAuditLog

type GuildAuditLog struct {
	Webhooks        []*Webhook       `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
	Users           []*User          `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
	AuditLogEntries []*AuditLogEntry `protobuf:"bytes,3,rep,name=audit_log_entries,json=auditLogEntries,proto3" json:"audit_log_entries,omitempty"`
	Integrations    []*Integration   `protobuf:"bytes,4,rep,name=integrations,proto3" json:"integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildAuditLog) Descriptor deprecated

func (*GuildAuditLog) Descriptor() ([]byte, []int)

Deprecated: Use GuildAuditLog.ProtoReflect.Descriptor instead.

func (*GuildAuditLog) GetAuditLogEntries

func (x *GuildAuditLog) GetAuditLogEntries() []*AuditLogEntry

func (*GuildAuditLog) GetIntegrations

func (x *GuildAuditLog) GetIntegrations() []*Integration

func (*GuildAuditLog) GetUsers

func (x *GuildAuditLog) GetUsers() []*User

func (*GuildAuditLog) GetWebhooks

func (x *GuildAuditLog) GetWebhooks() []*Webhook

func (*GuildAuditLog) ProtoMessage

func (*GuildAuditLog) ProtoMessage()

func (*GuildAuditLog) ProtoReflect

func (x *GuildAuditLog) ProtoReflect() protoreflect.Message

func (*GuildAuditLog) Reset

func (x *GuildAuditLog) Reset()

func (*GuildAuditLog) String

func (x *GuildAuditLog) String() string

type GuildBan

type GuildBan struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	User   *User  `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildBan) Descriptor deprecated

func (*GuildBan) Descriptor() ([]byte, []int)

Deprecated: Use GuildBan.ProtoReflect.Descriptor instead.

func (*GuildBan) GetReason

func (x *GuildBan) GetReason() string

func (*GuildBan) GetUser

func (x *GuildBan) GetUser() *User

func (*GuildBan) ProtoMessage

func (*GuildBan) ProtoMessage()

func (*GuildBan) ProtoReflect

func (x *GuildBan) ProtoReflect() protoreflect.Message

func (*GuildBan) Reset

func (x *GuildBan) Reset()

func (*GuildBan) String

func (x *GuildBan) String() string

type GuildChannelsRequest

type GuildChannelsRequest struct {
	GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildChannelsRequest) Descriptor deprecated

func (*GuildChannelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GuildChannelsRequest.ProtoReflect.Descriptor instead.

func (*GuildChannelsRequest) GetGuildId

func (x *GuildChannelsRequest) GetGuildId() string

func (*GuildChannelsRequest) ProtoMessage

func (*GuildChannelsRequest) ProtoMessage()

func (*GuildChannelsRequest) ProtoReflect

func (x *GuildChannelsRequest) ProtoReflect() protoreflect.Message

func (*GuildChannelsRequest) Reset

func (x *GuildChannelsRequest) Reset()

func (*GuildChannelsRequest) String

func (x *GuildChannelsRequest) String() string

type GuildChannelsResponse

type GuildChannelsResponse struct {
	Channels []*Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildChannelsResponse) Descriptor deprecated

func (*GuildChannelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GuildChannelsResponse.ProtoReflect.Descriptor instead.

func (*GuildChannelsResponse) GetChannels

func (x *GuildChannelsResponse) GetChannels() []*Channel

func (*GuildChannelsResponse) ProtoMessage

func (*GuildChannelsResponse) ProtoMessage()

func (*GuildChannelsResponse) ProtoReflect

func (x *GuildChannelsResponse) ProtoReflect() protoreflect.Message

func (*GuildChannelsResponse) Reset

func (x *GuildChannelsResponse) Reset()

func (*GuildChannelsResponse) String

func (x *GuildChannelsResponse) String() string

type GuildEmbed

type GuildEmbed struct {
	Enabled   bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildEmbed) Descriptor deprecated

func (*GuildEmbed) Descriptor() ([]byte, []int)

Deprecated: Use GuildEmbed.ProtoReflect.Descriptor instead.

func (*GuildEmbed) GetChannelId

func (x *GuildEmbed) GetChannelId() string

func (*GuildEmbed) GetEnabled

func (x *GuildEmbed) GetEnabled() bool

func (*GuildEmbed) ProtoMessage

func (*GuildEmbed) ProtoMessage()

func (*GuildEmbed) ProtoReflect

func (x *GuildEmbed) ProtoReflect() protoreflect.Message

func (*GuildEmbed) Reset

func (x *GuildEmbed) Reset()

func (*GuildEmbed) String

func (x *GuildEmbed) String() string

type GuildMemberAddParams

type GuildMemberAddParams struct {
	AccessToken string   `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	Nick        string   `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"`
	Roles       []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Mute        bool     `protobuf:"varint,4,opt,name=mute,proto3" json:"mute,omitempty"`
	Deaf        bool     `protobuf:"varint,5,opt,name=deaf,proto3" json:"deaf,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildMemberAddParams) Descriptor deprecated

func (*GuildMemberAddParams) Descriptor() ([]byte, []int)

Deprecated: Use GuildMemberAddParams.ProtoReflect.Descriptor instead.

func (*GuildMemberAddParams) GetAccessToken

func (x *GuildMemberAddParams) GetAccessToken() string

func (*GuildMemberAddParams) GetDeaf

func (x *GuildMemberAddParams) GetDeaf() bool

func (*GuildMemberAddParams) GetMute

func (x *GuildMemberAddParams) GetMute() bool

func (*GuildMemberAddParams) GetNick

func (x *GuildMemberAddParams) GetNick() string

func (*GuildMemberAddParams) GetRoles

func (x *GuildMemberAddParams) GetRoles() []string

func (*GuildMemberAddParams) ProtoMessage

func (*GuildMemberAddParams) ProtoMessage()

func (*GuildMemberAddParams) ProtoReflect

func (x *GuildMemberAddParams) ProtoReflect() protoreflect.Message

func (*GuildMemberAddParams) Reset

func (x *GuildMemberAddParams) Reset()

func (*GuildMemberAddParams) String

func (x *GuildMemberAddParams) String() string

type GuildMemberParams

type GuildMemberParams struct {
	Nick                       string                 `protobuf:"bytes,1,opt,name=nick,proto3" json:"nick,omitempty"`
	Roles                      []string               `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	ChannelId                  string                 `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Mute                       bool                   `protobuf:"varint,4,opt,name=mute,proto3" json:"mute,omitempty"`
	Deaf                       bool                   `protobuf:"varint,5,opt,name=deaf,proto3" json:"deaf,omitempty"`
	CommunicationDisabledUntil *timestamppb.Timestamp `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GuildMemberParams) Descriptor deprecated

func (*GuildMemberParams) Descriptor() ([]byte, []int)

Deprecated: Use GuildMemberParams.ProtoReflect.Descriptor instead.

func (*GuildMemberParams) GetChannelId

func (x *GuildMemberParams) GetChannelId() string

func (*GuildMemberParams) GetCommunicationDisabledUntil

func (x *GuildMemberParams) GetCommunicationDisabledUntil() *timestamppb.Timestamp

func (*GuildMemberParams) GetDeaf

func (x *GuildMemberParams) GetDeaf() bool

func (*GuildMemberParams) GetMute

func (x *GuildMemberParams) GetMute() bool

func (*GuildMemberParams) GetNick

func (x *GuildMemberParams) GetNick() string

func (*GuildMemberParams) GetRoles

func (x *GuildMemberParams) GetRoles() []string

func (*GuildMemberParams) ProtoMessage

func (*GuildMemberParams) ProtoMessage()

func (*GuildMemberParams) ProtoReflect

func (x *GuildMemberParams) ProtoReflect() protoreflect.Message

func (*GuildMemberParams) Reset

func (x *GuildMemberParams) Reset()

func (*GuildMemberParams) String

func (x *GuildMemberParams) String() string

type GuildMemberRequest

type GuildMemberRequest struct {
	GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	UserId  string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildMemberRequest) Descriptor deprecated

func (*GuildMemberRequest) Descriptor() ([]byte, []int)

Deprecated: Use GuildMemberRequest.ProtoReflect.Descriptor instead.

func (*GuildMemberRequest) GetGuildId

func (x *GuildMemberRequest) GetGuildId() string

func (*GuildMemberRequest) GetUserId

func (x *GuildMemberRequest) GetUserId() string

func (*GuildMemberRequest) ProtoMessage

func (*GuildMemberRequest) ProtoMessage()

func (*GuildMemberRequest) ProtoReflect

func (x *GuildMemberRequest) ProtoReflect() protoreflect.Message

func (*GuildMemberRequest) Reset

func (x *GuildMemberRequest) Reset()

func (*GuildMemberRequest) String

func (x *GuildMemberRequest) String() string

type GuildMemberResponse

type GuildMemberResponse struct {
	Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildMemberResponse) Descriptor deprecated

func (*GuildMemberResponse) Descriptor() ([]byte, []int)

Deprecated: Use GuildMemberResponse.ProtoReflect.Descriptor instead.

func (*GuildMemberResponse) GetMember

func (x *GuildMemberResponse) GetMember() *Member

func (*GuildMemberResponse) ProtoMessage

func (*GuildMemberResponse) ProtoMessage()

func (*GuildMemberResponse) ProtoReflect

func (x *GuildMemberResponse) ProtoReflect() protoreflect.Message

func (*GuildMemberResponse) Reset

func (x *GuildMemberResponse) Reset()

func (*GuildMemberResponse) String

func (x *GuildMemberResponse) String() string

type GuildMembersRequest

type GuildMembersRequest struct {
	GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	After   string `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
	Limit   int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildMembersRequest) Descriptor deprecated

func (*GuildMembersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GuildMembersRequest.ProtoReflect.Descriptor instead.

func (*GuildMembersRequest) GetAfter

func (x *GuildMembersRequest) GetAfter() string

func (*GuildMembersRequest) GetGuildId

func (x *GuildMembersRequest) GetGuildId() string

func (*GuildMembersRequest) GetLimit

func (x *GuildMembersRequest) GetLimit() int32

func (*GuildMembersRequest) ProtoMessage

func (*GuildMembersRequest) ProtoMessage()

func (*GuildMembersRequest) ProtoReflect

func (x *GuildMembersRequest) ProtoReflect() protoreflect.Message

func (*GuildMembersRequest) Reset

func (x *GuildMembersRequest) Reset()

func (*GuildMembersRequest) String

func (x *GuildMembersRequest) String() string

type GuildMembersResponse

type GuildMembersResponse struct {
	Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildMembersResponse) Descriptor deprecated

func (*GuildMembersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GuildMembersResponse.ProtoReflect.Descriptor instead.

func (*GuildMembersResponse) GetMembers

func (x *GuildMembersResponse) GetMembers() []*Member

func (*GuildMembersResponse) ProtoMessage

func (*GuildMembersResponse) ProtoMessage()

func (*GuildMembersResponse) ProtoReflect

func (x *GuildMembersResponse) ProtoReflect() protoreflect.Message

func (*GuildMembersResponse) Reset

func (x *GuildMembersResponse) Reset()

func (*GuildMembersResponse) String

func (x *GuildMembersResponse) String() string

type GuildOnboarding

type GuildOnboarding struct {
	GuildId           string                   `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	Prompts           []*GuildOnboardingPrompt `protobuf:"bytes,2,rep,name=prompts,proto3" json:"prompts,omitempty"`
	DefaultChannelIds []string                 `protobuf:"bytes,3,rep,name=default_channel_ids,json=defaultChannelIds,proto3" json:"default_channel_ids,omitempty"`
	Enabled           bool                     `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Mode              *GuildOnboardingMode     `protobuf:"bytes,5,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildOnboarding) Descriptor deprecated

func (*GuildOnboarding) Descriptor() ([]byte, []int)

Deprecated: Use GuildOnboarding.ProtoReflect.Descriptor instead.

func (*GuildOnboarding) GetDefaultChannelIds

func (x *GuildOnboarding) GetDefaultChannelIds() []string

func (*GuildOnboarding) GetEnabled

func (x *GuildOnboarding) GetEnabled() bool

func (*GuildOnboarding) GetGuildId

func (x *GuildOnboarding) GetGuildId() string

func (*GuildOnboarding) GetMode

func (x *GuildOnboarding) GetMode() *GuildOnboardingMode

func (*GuildOnboarding) GetPrompts

func (x *GuildOnboarding) GetPrompts() []*GuildOnboardingPrompt

func (*GuildOnboarding) ProtoMessage

func (*GuildOnboarding) ProtoMessage()

func (*GuildOnboarding) ProtoReflect

func (x *GuildOnboarding) ProtoReflect() protoreflect.Message

func (*GuildOnboarding) Reset

func (x *GuildOnboarding) Reset()

func (*GuildOnboarding) String

func (x *GuildOnboarding) String() string

type GuildOnboardingMode

type GuildOnboardingMode struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildOnboardingMode) Descriptor deprecated

func (*GuildOnboardingMode) Descriptor() ([]byte, []int)

Deprecated: Use GuildOnboardingMode.ProtoReflect.Descriptor instead.

func (*GuildOnboardingMode) GetValue

func (x *GuildOnboardingMode) GetValue() int32

func (*GuildOnboardingMode) ProtoMessage

func (*GuildOnboardingMode) ProtoMessage()

func (*GuildOnboardingMode) ProtoReflect

func (x *GuildOnboardingMode) ProtoReflect() protoreflect.Message

func (*GuildOnboardingMode) Reset

func (x *GuildOnboardingMode) Reset()

func (*GuildOnboardingMode) String

func (x *GuildOnboardingMode) String() string

type GuildOnboardingPrompt

type GuildOnboardingPrompt struct {
	Id           string                         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type         *GuildOnboardingPromptType     `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Options      []*GuildOnboardingPromptOption `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
	Title        string                         `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	SingleSelect bool                           `protobuf:"varint,5,opt,name=single_select,json=singleSelect,proto3" json:"single_select,omitempty"`
	Required     bool                           `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
	InOnboarding bool                           `protobuf:"varint,7,opt,name=in_onboarding,json=inOnboarding,proto3" json:"in_onboarding,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildOnboardingPrompt) Descriptor deprecated

func (*GuildOnboardingPrompt) Descriptor() ([]byte, []int)

Deprecated: Use GuildOnboardingPrompt.ProtoReflect.Descriptor instead.

func (*GuildOnboardingPrompt) GetId

func (x *GuildOnboardingPrompt) GetId() string

func (*GuildOnboardingPrompt) GetInOnboarding

func (x *GuildOnboardingPrompt) GetInOnboarding() bool

func (*GuildOnboardingPrompt) GetOptions

func (*GuildOnboardingPrompt) GetRequired

func (x *GuildOnboardingPrompt) GetRequired() bool

func (*GuildOnboardingPrompt) GetSingleSelect

func (x *GuildOnboardingPrompt) GetSingleSelect() bool

func (*GuildOnboardingPrompt) GetTitle

func (x *GuildOnboardingPrompt) GetTitle() string

func (*GuildOnboardingPrompt) GetType

func (*GuildOnboardingPrompt) ProtoMessage

func (*GuildOnboardingPrompt) ProtoMessage()

func (*GuildOnboardingPrompt) ProtoReflect

func (x *GuildOnboardingPrompt) ProtoReflect() protoreflect.Message

func (*GuildOnboardingPrompt) Reset

func (x *GuildOnboardingPrompt) Reset()

func (*GuildOnboardingPrompt) String

func (x *GuildOnboardingPrompt) String() string

type GuildOnboardingPromptOption

type GuildOnboardingPromptOption struct {
	Id            string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ChannelIds    []string `protobuf:"bytes,2,rep,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"`
	RoleIds       []string `protobuf:"bytes,3,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	Emoji         *Emoji   `protobuf:"bytes,4,opt,name=emoji,proto3" json:"emoji,omitempty"`
	Title         string   `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Description   string   `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	EmojiId       string   `protobuf:"bytes,7,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"`
	EmojiName     string   `protobuf:"bytes,8,opt,name=emoji_name,json=emojiName,proto3" json:"emoji_name,omitempty"`
	EmojiAnimated bool     `protobuf:"varint,9,opt,name=emoji_animated,json=emojiAnimated,proto3" json:"emoji_animated,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildOnboardingPromptOption) Descriptor deprecated

func (*GuildOnboardingPromptOption) Descriptor() ([]byte, []int)

Deprecated: Use GuildOnboardingPromptOption.ProtoReflect.Descriptor instead.

func (*GuildOnboardingPromptOption) GetChannelIds

func (x *GuildOnboardingPromptOption) GetChannelIds() []string

func (*GuildOnboardingPromptOption) GetDescription

func (x *GuildOnboardingPromptOption) GetDescription() string

func (*GuildOnboardingPromptOption) GetEmoji

func (x *GuildOnboardingPromptOption) GetEmoji() *Emoji

func (*GuildOnboardingPromptOption) GetEmojiAnimated

func (x *GuildOnboardingPromptOption) GetEmojiAnimated() bool

func (*GuildOnboardingPromptOption) GetEmojiId

func (x *GuildOnboardingPromptOption) GetEmojiId() string

func (*GuildOnboardingPromptOption) GetEmojiName

func (x *GuildOnboardingPromptOption) GetEmojiName() string

func (*GuildOnboardingPromptOption) GetId

func (*GuildOnboardingPromptOption) GetRoleIds

func (x *GuildOnboardingPromptOption) GetRoleIds() []string

func (*GuildOnboardingPromptOption) GetTitle

func (x *GuildOnboardingPromptOption) GetTitle() string

func (*GuildOnboardingPromptOption) ProtoMessage

func (*GuildOnboardingPromptOption) ProtoMessage()

func (*GuildOnboardingPromptOption) ProtoReflect

func (*GuildOnboardingPromptOption) Reset

func (x *GuildOnboardingPromptOption) Reset()

func (*GuildOnboardingPromptOption) String

func (x *GuildOnboardingPromptOption) String() string

type GuildOnboardingPromptType

type GuildOnboardingPromptType struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildOnboardingPromptType) Descriptor deprecated

func (*GuildOnboardingPromptType) Descriptor() ([]byte, []int)

Deprecated: Use GuildOnboardingPromptType.ProtoReflect.Descriptor instead.

func (*GuildOnboardingPromptType) GetValue

func (x *GuildOnboardingPromptType) GetValue() int32

func (*GuildOnboardingPromptType) ProtoMessage

func (*GuildOnboardingPromptType) ProtoMessage()

func (*GuildOnboardingPromptType) ProtoReflect

func (*GuildOnboardingPromptType) Reset

func (x *GuildOnboardingPromptType) Reset()

func (*GuildOnboardingPromptType) String

func (x *GuildOnboardingPromptType) String() string

type GuildParams

type GuildParams struct {
	Name                        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Region                      string   `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	VerificationLevel           int32    `protobuf:"varint,3,opt,name=verification_level,json=verificationLevel,proto3" json:"verification_level,omitempty"`
	DefaultMessageNotifications int32    `` /* 145-byte string literal not displayed */
	ExplicitContentFilter       int32    `` /* 127-byte string literal not displayed */
	AfkChannelId                string   `protobuf:"bytes,6,opt,name=afk_channel_id,json=afkChannelId,proto3" json:"afk_channel_id,omitempty"`
	AfkTimeout                  int32    `protobuf:"varint,7,opt,name=afk_timeout,json=afkTimeout,proto3" json:"afk_timeout,omitempty"`
	Icon                        string   `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
	OwnerId                     string   `protobuf:"bytes,9,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	Splash                      string   `protobuf:"bytes,10,opt,name=splash,proto3" json:"splash,omitempty"`
	DiscoverySplash             string   `protobuf:"bytes,11,opt,name=discovery_splash,json=discoverySplash,proto3" json:"discovery_splash,omitempty"`
	Banner                      string   `protobuf:"bytes,12,opt,name=banner,proto3" json:"banner,omitempty"`
	SystemChannelId             string   `protobuf:"bytes,13,opt,name=system_channel_id,json=systemChannelId,proto3" json:"system_channel_id,omitempty"`
	SystemChannelFlags          int32    `protobuf:"varint,14,opt,name=system_channel_flags,json=systemChannelFlags,proto3" json:"system_channel_flags,omitempty"`
	RulesChannelId              string   `protobuf:"bytes,15,opt,name=rules_channel_id,json=rulesChannelId,proto3" json:"rules_channel_id,omitempty"`
	PublicUpdatesChannelId      string   ``                                                                                                            /* 132-byte string literal not displayed */
	PreferredLocale             string   `protobuf:"bytes,17,opt,name=preferred_locale,json=preferredLocale,proto3" json:"preferred_locale,omitempty"` // Assuming Locale is string
	Features                    []string `protobuf:"bytes,18,rep,name=features,proto3" json:"features,omitempty"`                                      // Assuming GuildFeature is string
	Description                 string   `protobuf:"bytes,19,opt,name=description,proto3" json:"description,omitempty"`
	PremiumProgressBarEnabled   bool     `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GuildParams) Descriptor deprecated

func (*GuildParams) Descriptor() ([]byte, []int)

Deprecated: Use GuildParams.ProtoReflect.Descriptor instead.

func (*GuildParams) GetAfkChannelId

func (x *GuildParams) GetAfkChannelId() string

func (*GuildParams) GetAfkTimeout

func (x *GuildParams) GetAfkTimeout() int32

func (*GuildParams) GetBanner

func (x *GuildParams) GetBanner() string

func (*GuildParams) GetDefaultMessageNotifications

func (x *GuildParams) GetDefaultMessageNotifications() int32

func (*GuildParams) GetDescription

func (x *GuildParams) GetDescription() string

func (*GuildParams) GetDiscoverySplash

func (x *GuildParams) GetDiscoverySplash() string

func (*GuildParams) GetExplicitContentFilter

func (x *GuildParams) GetExplicitContentFilter() int32

func (*GuildParams) GetFeatures

func (x *GuildParams) GetFeatures() []string

func (*GuildParams) GetIcon

func (x *GuildParams) GetIcon() string

func (*GuildParams) GetName

func (x *GuildParams) GetName() string

func (*GuildParams) GetOwnerId

func (x *GuildParams) GetOwnerId() string

func (*GuildParams) GetPreferredLocale

func (x *GuildParams) GetPreferredLocale() string

func (*GuildParams) GetPremiumProgressBarEnabled

func (x *GuildParams) GetPremiumProgressBarEnabled() bool

func (*GuildParams) GetPublicUpdatesChannelId

func (x *GuildParams) GetPublicUpdatesChannelId() string

func (*GuildParams) GetRegion

func (x *GuildParams) GetRegion() string

func (*GuildParams) GetRulesChannelId

func (x *GuildParams) GetRulesChannelId() string

func (*GuildParams) GetSplash

func (x *GuildParams) GetSplash() string

func (*GuildParams) GetSystemChannelFlags

func (x *GuildParams) GetSystemChannelFlags() int32

func (*GuildParams) GetSystemChannelId

func (x *GuildParams) GetSystemChannelId() string

func (*GuildParams) GetVerificationLevel

func (x *GuildParams) GetVerificationLevel() int32

func (*GuildParams) ProtoMessage

func (*GuildParams) ProtoMessage()

func (*GuildParams) ProtoReflect

func (x *GuildParams) ProtoReflect() protoreflect.Message

func (*GuildParams) Reset

func (x *GuildParams) Reset()

func (*GuildParams) String

func (x *GuildParams) String() string

type GuildPreview

type GuildPreview 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"`
	Icon                     string   `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Splash                   string   `protobuf:"bytes,4,opt,name=splash,proto3" json:"splash,omitempty"`
	DiscoverySplash          string   `protobuf:"bytes,5,opt,name=discovery_splash,json=discoverySplash,proto3" json:"discovery_splash,omitempty"`
	Emojis                   []*Emoji `protobuf:"bytes,6,rep,name=emojis,proto3" json:"emojis,omitempty"`
	Features                 []string `protobuf:"bytes,7,rep,name=features,proto3" json:"features,omitempty"`
	ApproximateMemberCount   int32    `` /* 130-byte string literal not displayed */
	ApproximatePresenceCount int32    `` /* 136-byte string literal not displayed */
	Description              string   `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildPreview) Descriptor deprecated

func (*GuildPreview) Descriptor() ([]byte, []int)

Deprecated: Use GuildPreview.ProtoReflect.Descriptor instead.

func (*GuildPreview) GetApproximateMemberCount

func (x *GuildPreview) GetApproximateMemberCount() int32

func (*GuildPreview) GetApproximatePresenceCount

func (x *GuildPreview) GetApproximatePresenceCount() int32

func (*GuildPreview) GetDescription

func (x *GuildPreview) GetDescription() string

func (*GuildPreview) GetDiscoverySplash

func (x *GuildPreview) GetDiscoverySplash() string

func (*GuildPreview) GetEmojis

func (x *GuildPreview) GetEmojis() []*Emoji

func (*GuildPreview) GetFeatures

func (x *GuildPreview) GetFeatures() []string

func (*GuildPreview) GetIcon

func (x *GuildPreview) GetIcon() string

func (*GuildPreview) GetId

func (x *GuildPreview) GetId() string

func (*GuildPreview) GetName

func (x *GuildPreview) GetName() string

func (*GuildPreview) GetSplash

func (x *GuildPreview) GetSplash() string

func (*GuildPreview) ProtoMessage

func (*GuildPreview) ProtoMessage()

func (*GuildPreview) ProtoReflect

func (x *GuildPreview) ProtoReflect() protoreflect.Message

func (*GuildPreview) Reset

func (x *GuildPreview) Reset()

func (*GuildPreview) String

func (x *GuildPreview) String() string

type GuildRequest

type GuildRequest struct {
	GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildRequest) Descriptor deprecated

func (*GuildRequest) Descriptor() ([]byte, []int)

Deprecated: Use GuildRequest.ProtoReflect.Descriptor instead.

func (*GuildRequest) GetGuildId

func (x *GuildRequest) GetGuildId() string

func (*GuildRequest) ProtoMessage

func (*GuildRequest) ProtoMessage()

func (*GuildRequest) ProtoReflect

func (x *GuildRequest) ProtoReflect() protoreflect.Message

func (*GuildRequest) Reset

func (x *GuildRequest) Reset()

func (*GuildRequest) String

func (x *GuildRequest) String() string

type GuildResponse

type GuildResponse struct {
	Guild *Guild `protobuf:"bytes,1,opt,name=guild,proto3" json:"guild,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildResponse) Descriptor deprecated

func (*GuildResponse) Descriptor() ([]byte, []int)

Deprecated: Use GuildResponse.ProtoReflect.Descriptor instead.

func (*GuildResponse) GetGuild

func (x *GuildResponse) GetGuild() *Guild

func (*GuildResponse) ProtoMessage

func (*GuildResponse) ProtoMessage()

func (*GuildResponse) ProtoReflect

func (x *GuildResponse) ProtoReflect() protoreflect.Message

func (*GuildResponse) Reset

func (x *GuildResponse) Reset()

func (*GuildResponse) String

func (x *GuildResponse) String() string

type GuildRole

type GuildRole struct {
	Role    *Role  `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	GuildId string `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildRole) Descriptor deprecated

func (*GuildRole) Descriptor() ([]byte, []int)

Deprecated: Use GuildRole.ProtoReflect.Descriptor instead.

func (*GuildRole) GetGuildId

func (x *GuildRole) GetGuildId() string

func (*GuildRole) GetRole

func (x *GuildRole) GetRole() *Role

func (*GuildRole) ProtoMessage

func (*GuildRole) ProtoMessage()

func (*GuildRole) ProtoReflect

func (x *GuildRole) ProtoReflect() protoreflect.Message

func (*GuildRole) Reset

func (x *GuildRole) Reset()

func (*GuildRole) String

func (x *GuildRole) String() string

type GuildRolesRequest

type GuildRolesRequest struct {
	GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildRolesRequest) Descriptor deprecated

func (*GuildRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GuildRolesRequest.ProtoReflect.Descriptor instead.

func (*GuildRolesRequest) GetGuildId

func (x *GuildRolesRequest) GetGuildId() string

func (*GuildRolesRequest) ProtoMessage

func (*GuildRolesRequest) ProtoMessage()

func (*GuildRolesRequest) ProtoReflect

func (x *GuildRolesRequest) ProtoReflect() protoreflect.Message

func (*GuildRolesRequest) Reset

func (x *GuildRolesRequest) Reset()

func (*GuildRolesRequest) String

func (x *GuildRolesRequest) String() string

type GuildRolesResponse

type GuildRolesResponse struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildRolesResponse) Descriptor deprecated

func (*GuildRolesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GuildRolesResponse.ProtoReflect.Descriptor instead.

func (*GuildRolesResponse) GetRoles

func (x *GuildRolesResponse) GetRoles() []*Role

func (*GuildRolesResponse) ProtoMessage

func (*GuildRolesResponse) ProtoMessage()

func (*GuildRolesResponse) ProtoReflect

func (x *GuildRolesResponse) ProtoReflect() protoreflect.Message

func (*GuildRolesResponse) Reset

func (x *GuildRolesResponse) Reset()

func (*GuildRolesResponse) String

func (x *GuildRolesResponse) String() string

type GuildScheduledEvent

type GuildScheduledEvent 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"`
	ChannelId          string                             `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	CreatorId          string                             `protobuf:"bytes,4,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,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 *timestamppb.Timestamp             `protobuf:"bytes,7,opt,name=scheduled_start_time,json=scheduledStartTime,proto3" json:"scheduled_start_time,omitempty"`
	ScheduledEndTime   *timestamppb.Timestamp             `protobuf:"bytes,8,opt,name=scheduled_end_time,json=scheduledEndTime,proto3" json:"scheduled_end_time,omitempty"`
	PrivacyLevel       int32                              `protobuf:"varint,9,opt,name=privacy_level,json=privacyLevel,proto3" json:"privacy_level,omitempty"`
	Status             int32                              `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
	EntityType         int32                              `protobuf:"varint,11,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	EntityId           string                             `protobuf:"bytes,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	EntityMetadata     *GuildScheduledEventEntityMetadata `protobuf:"bytes,13,opt,name=entity_metadata,json=entityMetadata,proto3" json:"entity_metadata,omitempty"`
	Creator            *User                              `protobuf:"bytes,14,opt,name=creator,proto3" json:"creator,omitempty"`
	UserCount          int32                              `protobuf:"varint,15,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	Image              string                             `protobuf:"bytes,16,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildScheduledEvent) Descriptor deprecated

func (*GuildScheduledEvent) Descriptor() ([]byte, []int)

Deprecated: Use GuildScheduledEvent.ProtoReflect.Descriptor instead.

func (*GuildScheduledEvent) GetChannelId

func (x *GuildScheduledEvent) GetChannelId() string

func (*GuildScheduledEvent) GetCreator

func (x *GuildScheduledEvent) GetCreator() *User

func (*GuildScheduledEvent) GetCreatorId

func (x *GuildScheduledEvent) GetCreatorId() string

func (*GuildScheduledEvent) GetDescription

func (x *GuildScheduledEvent) GetDescription() string

func (*GuildScheduledEvent) GetEntityId

func (x *GuildScheduledEvent) GetEntityId() string

func (*GuildScheduledEvent) GetEntityMetadata

func (*GuildScheduledEvent) GetEntityType

func (x *GuildScheduledEvent) GetEntityType() int32

func (*GuildScheduledEvent) GetGuildId

func (x *GuildScheduledEvent) GetGuildId() string

func (*GuildScheduledEvent) GetId

func (x *GuildScheduledEvent) GetId() string

func (*GuildScheduledEvent) GetImage

func (x *GuildScheduledEvent) GetImage() string

func (*GuildScheduledEvent) GetName

func (x *GuildScheduledEvent) GetName() string

func (*GuildScheduledEvent) GetPrivacyLevel

func (x *GuildScheduledEvent) GetPrivacyLevel() int32

func (*GuildScheduledEvent) GetScheduledEndTime

func (x *GuildScheduledEvent) GetScheduledEndTime() *timestamppb.Timestamp

func (*GuildScheduledEvent) GetScheduledStartTime

func (x *GuildScheduledEvent) GetScheduledStartTime() *timestamppb.Timestamp

func (*GuildScheduledEvent) GetStatus

func (x *GuildScheduledEvent) GetStatus() int32

func (*GuildScheduledEvent) GetUserCount

func (x *GuildScheduledEvent) GetUserCount() int32

func (*GuildScheduledEvent) ProtoMessage

func (*GuildScheduledEvent) ProtoMessage()

func (*GuildScheduledEvent) ProtoReflect

func (x *GuildScheduledEvent) ProtoReflect() protoreflect.Message

func (*GuildScheduledEvent) Reset

func (x *GuildScheduledEvent) Reset()

func (*GuildScheduledEvent) String

func (x *GuildScheduledEvent) String() string

type GuildScheduledEventEntityMetadata

type GuildScheduledEventEntityMetadata struct {
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildScheduledEventEntityMetadata) Descriptor deprecated

func (*GuildScheduledEventEntityMetadata) Descriptor() ([]byte, []int)

Deprecated: Use GuildScheduledEventEntityMetadata.ProtoReflect.Descriptor instead.

func (*GuildScheduledEventEntityMetadata) GetLocation

func (x *GuildScheduledEventEntityMetadata) GetLocation() string

func (*GuildScheduledEventEntityMetadata) ProtoMessage

func (*GuildScheduledEventEntityMetadata) ProtoMessage()

func (*GuildScheduledEventEntityMetadata) ProtoReflect

func (*GuildScheduledEventEntityMetadata) Reset

func (*GuildScheduledEventEntityMetadata) String

type GuildScheduledEventParams

type GuildScheduledEventParams struct {
	ChannelId          string                             `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,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"`
	ScheduledStartTime *timestamppb.Timestamp             `protobuf:"bytes,4,opt,name=scheduled_start_time,json=scheduledStartTime,proto3" json:"scheduled_start_time,omitempty"`
	ScheduledEndTime   *timestamppb.Timestamp             `protobuf:"bytes,5,opt,name=scheduled_end_time,json=scheduledEndTime,proto3" json:"scheduled_end_time,omitempty"`
	PrivacyLevel       int32                              `protobuf:"varint,6,opt,name=privacy_level,json=privacyLevel,proto3" json:"privacy_level,omitempty"`
	Status             int32                              `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
	EntityType         int32                              `protobuf:"varint,8,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	EntityMetadata     *GuildScheduledEventEntityMetadata `protobuf:"bytes,9,opt,name=entity_metadata,json=entityMetadata,proto3" json:"entity_metadata,omitempty"`
	Image              string                             `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildScheduledEventParams) Descriptor deprecated

func (*GuildScheduledEventParams) Descriptor() ([]byte, []int)

Deprecated: Use GuildScheduledEventParams.ProtoReflect.Descriptor instead.

func (*GuildScheduledEventParams) GetChannelId

func (x *GuildScheduledEventParams) GetChannelId() string

func (*GuildScheduledEventParams) GetDescription

func (x *GuildScheduledEventParams) GetDescription() string

func (*GuildScheduledEventParams) GetEntityMetadata

func (*GuildScheduledEventParams) GetEntityType

func (x *GuildScheduledEventParams) GetEntityType() int32

func (*GuildScheduledEventParams) GetImage

func (x *GuildScheduledEventParams) GetImage() string

func (*GuildScheduledEventParams) GetName

func (x *GuildScheduledEventParams) GetName() string

func (*GuildScheduledEventParams) GetPrivacyLevel

func (x *GuildScheduledEventParams) GetPrivacyLevel() int32

func (*GuildScheduledEventParams) GetScheduledEndTime

func (x *GuildScheduledEventParams) GetScheduledEndTime() *timestamppb.Timestamp

func (*GuildScheduledEventParams) GetScheduledStartTime

func (x *GuildScheduledEventParams) GetScheduledStartTime() *timestamppb.Timestamp

func (*GuildScheduledEventParams) GetStatus

func (x *GuildScheduledEventParams) GetStatus() int32

func (*GuildScheduledEventParams) ProtoMessage

func (*GuildScheduledEventParams) ProtoMessage()

func (*GuildScheduledEventParams) ProtoReflect

func (*GuildScheduledEventParams) Reset

func (x *GuildScheduledEventParams) Reset()

func (*GuildScheduledEventParams) String

func (x *GuildScheduledEventParams) String() string

type GuildScheduledEventUser

type GuildScheduledEventUser struct {
	GuildScheduledEventId string  `` /* 128-byte string literal not displayed */
	User                  *User   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Member                *Member `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildScheduledEventUser) Descriptor deprecated

func (*GuildScheduledEventUser) Descriptor() ([]byte, []int)

Deprecated: Use GuildScheduledEventUser.ProtoReflect.Descriptor instead.

func (*GuildScheduledEventUser) GetGuildScheduledEventId

func (x *GuildScheduledEventUser) GetGuildScheduledEventId() string

func (*GuildScheduledEventUser) GetMember

func (x *GuildScheduledEventUser) GetMember() *Member

func (*GuildScheduledEventUser) GetUser

func (x *GuildScheduledEventUser) GetUser() *User

func (*GuildScheduledEventUser) ProtoMessage

func (*GuildScheduledEventUser) ProtoMessage()

func (*GuildScheduledEventUser) ProtoReflect

func (x *GuildScheduledEventUser) ProtoReflect() protoreflect.Message

func (*GuildScheduledEventUser) Reset

func (x *GuildScheduledEventUser) Reset()

func (*GuildScheduledEventUser) String

func (x *GuildScheduledEventUser) String() string

type GuildTemplate

type GuildTemplate struct {
	Code                  string                 `protobuf:"bytes,1,opt,name=code,proto3" json:"code,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"`
	UsageCount            int32                  `protobuf:"varint,4,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"`
	CreatorId             string                 `protobuf:"bytes,5,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	Creator               *User                  `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
	CreatedAt             *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt             *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	SourceGuildId         string                 `protobuf:"bytes,9,opt,name=source_guild_id,json=sourceGuildId,proto3" json:"source_guild_id,omitempty"`
	SerializedSourceGuild *Guild                 `` /* 127-byte string literal not displayed */
	IsDirty               bool                   `protobuf:"varint,11,opt,name=is_dirty,json=isDirty,proto3" json:"is_dirty,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildTemplate) Descriptor deprecated

func (*GuildTemplate) Descriptor() ([]byte, []int)

Deprecated: Use GuildTemplate.ProtoReflect.Descriptor instead.

func (*GuildTemplate) GetCode

func (x *GuildTemplate) GetCode() string

func (*GuildTemplate) GetCreatedAt

func (x *GuildTemplate) GetCreatedAt() *timestamppb.Timestamp

func (*GuildTemplate) GetCreator

func (x *GuildTemplate) GetCreator() *User

func (*GuildTemplate) GetCreatorId

func (x *GuildTemplate) GetCreatorId() string

func (*GuildTemplate) GetDescription

func (x *GuildTemplate) GetDescription() string

func (*GuildTemplate) GetIsDirty

func (x *GuildTemplate) GetIsDirty() bool

func (*GuildTemplate) GetName

func (x *GuildTemplate) GetName() string

func (*GuildTemplate) GetSerializedSourceGuild

func (x *GuildTemplate) GetSerializedSourceGuild() *Guild

func (*GuildTemplate) GetSourceGuildId

func (x *GuildTemplate) GetSourceGuildId() string

func (*GuildTemplate) GetUpdatedAt

func (x *GuildTemplate) GetUpdatedAt() *timestamppb.Timestamp

func (*GuildTemplate) GetUsageCount

func (x *GuildTemplate) GetUsageCount() int32

func (*GuildTemplate) ProtoMessage

func (*GuildTemplate) ProtoMessage()

func (*GuildTemplate) ProtoReflect

func (x *GuildTemplate) ProtoReflect() protoreflect.Message

func (*GuildTemplate) Reset

func (x *GuildTemplate) Reset()

func (*GuildTemplate) String

func (x *GuildTemplate) String() string

type GuildTemplateParams

type GuildTemplateParams struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*GuildTemplateParams) Descriptor deprecated

func (*GuildTemplateParams) Descriptor() ([]byte, []int)

Deprecated: Use GuildTemplateParams.ProtoReflect.Descriptor instead.

func (*GuildTemplateParams) GetDescription

func (x *GuildTemplateParams) GetDescription() string

func (*GuildTemplateParams) GetName

func (x *GuildTemplateParams) GetName() string

func (*GuildTemplateParams) ProtoMessage

func (*GuildTemplateParams) ProtoMessage()

func (*GuildTemplateParams) ProtoReflect

func (x *GuildTemplateParams) ProtoReflect() protoreflect.Message

func (*GuildTemplateParams) Reset

func (x *GuildTemplateParams) Reset()

func (*GuildTemplateParams) String

func (x *GuildTemplateParams) String() string

type HelperClient

type HelperClient interface {
	// Message operations
	ChannelMessageSend(ctx context.Context, in *ChannelMessageSendRequest, opts ...grpc.CallOption) (*ChannelMessageSendResponse, error)
	ChannelMessageSendComplex(ctx context.Context, in *ChannelMessageSendComplexRequest, opts ...grpc.CallOption) (*ChannelMessageSendComplexResponse, error)
	ChannelMessageSendEmbed(ctx context.Context, in *ChannelMessageSendEmbedRequest, opts ...grpc.CallOption) (*ChannelMessageSendEmbedResponse, error)
	ChannelMessageSendEmbeds(ctx context.Context, in *ChannelMessageSendEmbedsRequest, opts ...grpc.CallOption) (*ChannelMessageSendEmbedsResponse, error)
	ChannelMessageEdit(ctx context.Context, in *ChannelMessageEditRequest, opts ...grpc.CallOption) (*ChannelMessageEditResponse, error)
	ChannelMessageEditComplex(ctx context.Context, in *ChannelMessageEditComplexRequest, opts ...grpc.CallOption) (*ChannelMessageEditComplexResponse, error)
	ChannelMessageDelete(ctx context.Context, in *ChannelMessageDeleteRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	ChannelMessages(ctx context.Context, in *ChannelMessagesRequest, opts ...grpc.CallOption) (*ChannelMessagesResponse, error)
	ChannelMessage(ctx context.Context, in *ChannelMessageRequest, opts ...grpc.CallOption) (*ChannelMessageResponse, error)
	// Channel operations
	Channel(ctx context.Context, in *ChannelRequest, opts ...grpc.CallOption) (*ChannelResponse, error)
	ChannelEdit(ctx context.Context, in *ChannelEditRequest, opts ...grpc.CallOption) (*ChannelEditResponse, error)
	ChannelDelete(ctx context.Context, in *ChannelDeleteRequest, opts ...grpc.CallOption) (*ChannelDeleteResponse, error)
	ChannelTyping(ctx context.Context, in *ChannelTypingRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	// Guild operations
	Guild(ctx context.Context, in *GuildRequest, opts ...grpc.CallOption) (*GuildResponse, error)
	GuildChannels(ctx context.Context, in *GuildChannelsRequest, opts ...grpc.CallOption) (*GuildChannelsResponse, error)
	GuildMembers(ctx context.Context, in *GuildMembersRequest, opts ...grpc.CallOption) (*GuildMembersResponse, error)
	GuildMember(ctx context.Context, in *GuildMemberRequest, opts ...grpc.CallOption) (*GuildMemberResponse, error)
	GuildRoles(ctx context.Context, in *GuildRolesRequest, opts ...grpc.CallOption) (*GuildRolesResponse, error)
	// User operations
	User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
	UserChannelCreate(ctx context.Context, in *UserChannelCreateRequest, opts ...grpc.CallOption) (*UserChannelCreateResponse, error)
	// Interaction operations
	InteractionRespond(ctx context.Context, in *InteractionRespondRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	InteractionResponseEdit(ctx context.Context, in *InteractionResponseEditRequest, opts ...grpc.CallOption) (*InteractionResponseEditResponse, error)
	// Application Command operations
	ApplicationCommandCreate(ctx context.Context, in *ApplicationCommandCreateRequest, opts ...grpc.CallOption) (*ApplicationCommandCreateResponse, error)
	ApplicationCommandEdit(ctx context.Context, in *ApplicationCommandEditRequest, opts ...grpc.CallOption) (*ApplicationCommandEditResponse, error)
	ApplicationCommandDelete(ctx context.Context, in *ApplicationCommandDeleteRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	ApplicationCommands(ctx context.Context, in *ApplicationCommandsRequest, opts ...grpc.CallOption) (*ApplicationCommandsResponse, error)
	// Reaction operations
	MessageReactionAdd(ctx context.Context, in *MessageReactionAddRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	MessageReactionRemove(ctx context.Context, in *MessageReactionRemoveRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	MessageReactionsRemoveAll(ctx context.Context, in *MessageReactionsRemoveAllRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	// Thread operations
	ThreadStart(ctx context.Context, in *ThreadStartRequest, opts ...grpc.CallOption) (*ThreadStartResponse, error)
	ThreadJoin(ctx context.Context, in *ThreadJoinRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	ThreadLeave(ctx context.Context, in *ThreadLeaveRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	ThreadMemberAdd(ctx context.Context, in *ThreadMemberAddRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	ThreadMemberRemove(ctx context.Context, in *ThreadMemberRemoveRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	// Voice operations
	VoiceRegions(ctx context.Context, in *VoiceRegionsRequest, opts ...grpc.CallOption) (*VoiceRegionsResponse, error)
	// Webhook operations
	WebhookCreate(ctx context.Context, in *WebhookCreateRequest, opts ...grpc.CallOption) (*WebhookCreateResponse, error)
	WebhookExecute(ctx context.Context, in *WebhookExecuteRequest, opts ...grpc.CallOption) (*WebhookExecuteResponse, error)
	// Permission operations
	UserChannelPermissions(ctx context.Context, in *UserChannelPermissionsRequest, opts ...grpc.CallOption) (*UserChannelPermissionsResponse, error)
	// Utility operations
	Gateway(ctx context.Context, in *GatewayRequest, opts ...grpc.CallOption) (*GatewayResponse, error)
	GatewayBot(ctx context.Context, in *GatewayBotRequest, opts ...grpc.CallOption) (*GatewayBotResponse, error)
}

HelperClient is the client API for Helper 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 NewHelperClient

func NewHelperClient(cc grpc.ClientConnInterface) HelperClient

type HelperServer

type HelperServer interface {
	// Message operations
	ChannelMessageSend(context.Context, *ChannelMessageSendRequest) (*ChannelMessageSendResponse, error)
	ChannelMessageSendComplex(context.Context, *ChannelMessageSendComplexRequest) (*ChannelMessageSendComplexResponse, error)
	ChannelMessageSendEmbed(context.Context, *ChannelMessageSendEmbedRequest) (*ChannelMessageSendEmbedResponse, error)
	ChannelMessageSendEmbeds(context.Context, *ChannelMessageSendEmbedsRequest) (*ChannelMessageSendEmbedsResponse, error)
	ChannelMessageEdit(context.Context, *ChannelMessageEditRequest) (*ChannelMessageEditResponse, error)
	ChannelMessageEditComplex(context.Context, *ChannelMessageEditComplexRequest) (*ChannelMessageEditComplexResponse, error)
	ChannelMessageDelete(context.Context, *ChannelMessageDeleteRequest) (*proto.Empty, error)
	ChannelMessages(context.Context, *ChannelMessagesRequest) (*ChannelMessagesResponse, error)
	ChannelMessage(context.Context, *ChannelMessageRequest) (*ChannelMessageResponse, error)
	// Channel operations
	Channel(context.Context, *ChannelRequest) (*ChannelResponse, error)
	ChannelEdit(context.Context, *ChannelEditRequest) (*ChannelEditResponse, error)
	ChannelDelete(context.Context, *ChannelDeleteRequest) (*ChannelDeleteResponse, error)
	ChannelTyping(context.Context, *ChannelTypingRequest) (*proto.Empty, error)
	// Guild operations
	Guild(context.Context, *GuildRequest) (*GuildResponse, error)
	GuildChannels(context.Context, *GuildChannelsRequest) (*GuildChannelsResponse, error)
	GuildMembers(context.Context, *GuildMembersRequest) (*GuildMembersResponse, error)
	GuildMember(context.Context, *GuildMemberRequest) (*GuildMemberResponse, error)
	GuildRoles(context.Context, *GuildRolesRequest) (*GuildRolesResponse, error)
	// User operations
	User(context.Context, *UserRequest) (*UserResponse, error)
	UserChannelCreate(context.Context, *UserChannelCreateRequest) (*UserChannelCreateResponse, error)
	// Interaction operations
	InteractionRespond(context.Context, *InteractionRespondRequest) (*proto.Empty, error)
	InteractionResponseEdit(context.Context, *InteractionResponseEditRequest) (*InteractionResponseEditResponse, error)
	// Application Command operations
	ApplicationCommandCreate(context.Context, *ApplicationCommandCreateRequest) (*ApplicationCommandCreateResponse, error)
	ApplicationCommandEdit(context.Context, *ApplicationCommandEditRequest) (*ApplicationCommandEditResponse, error)
	ApplicationCommandDelete(context.Context, *ApplicationCommandDeleteRequest) (*proto.Empty, error)
	ApplicationCommands(context.Context, *ApplicationCommandsRequest) (*ApplicationCommandsResponse, error)
	// Reaction operations
	MessageReactionAdd(context.Context, *MessageReactionAddRequest) (*proto.Empty, error)
	MessageReactionRemove(context.Context, *MessageReactionRemoveRequest) (*proto.Empty, error)
	MessageReactionsRemoveAll(context.Context, *MessageReactionsRemoveAllRequest) (*proto.Empty, error)
	// Thread operations
	ThreadStart(context.Context, *ThreadStartRequest) (*ThreadStartResponse, error)
	ThreadJoin(context.Context, *ThreadJoinRequest) (*proto.Empty, error)
	ThreadLeave(context.Context, *ThreadLeaveRequest) (*proto.Empty, error)
	ThreadMemberAdd(context.Context, *ThreadMemberAddRequest) (*proto.Empty, error)
	ThreadMemberRemove(context.Context, *ThreadMemberRemoveRequest) (*proto.Empty, error)
	// Voice operations
	VoiceRegions(context.Context, *VoiceRegionsRequest) (*VoiceRegionsResponse, error)
	// Webhook operations
	WebhookCreate(context.Context, *WebhookCreateRequest) (*WebhookCreateResponse, error)
	WebhookExecute(context.Context, *WebhookExecuteRequest) (*WebhookExecuteResponse, error)
	// Permission operations
	UserChannelPermissions(context.Context, *UserChannelPermissionsRequest) (*UserChannelPermissionsResponse, error)
	// Utility operations
	Gateway(context.Context, *GatewayRequest) (*GatewayResponse, error)
	GatewayBot(context.Context, *GatewayBotRequest) (*GatewayBotResponse, error)
}

HelperServer is the server API for Helper service. All implementations should embed UnimplementedHelperServer for forward compatibility

type HookClient

type HookClient interface {
	OnInit(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error)
	OnCreateMessage(ctx context.Context, in *Message, opts ...grpc.CallOption) (*proto.Empty, error)
	OnCreateInteraction(ctx context.Context, in *Interaction, opts ...grpc.CallOption) (*proto.Empty, error)
	OnEvent(ctx context.Context, in *OnEventRequest, opts ...grpc.CallOption) (*proto.Empty, error)
}

HookClient is the client API for Hook 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 NewHookClient

func NewHookClient(cc grpc.ClientConnInterface) HookClient

type HookServer

type HookServer interface {
	OnInit(context.Context, *InitRequest) (*InitResponse, error)
	OnCreateMessage(context.Context, *Message) (*proto.Empty, error)
	OnCreateInteraction(context.Context, *Interaction) (*proto.Empty, error)
	OnEvent(context.Context, *OnEventRequest) (*proto.Empty, error)
}

HookServer is the server API for Hook service. All implementations should embed UnimplementedHookServer for forward compatibility

type Identify

type Identify struct {
	Token          string               `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Properties     *IdentifyProperties  `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	Compress       bool                 `protobuf:"varint,3,opt,name=compress,proto3" json:"compress,omitempty"`
	LargeThreshold int32                `protobuf:"varint,4,opt,name=large_threshold,json=largeThreshold,proto3" json:"large_threshold,omitempty"`
	Shard          []int32              `protobuf:"varint,5,rep,packed,name=shard,proto3" json:"shard,omitempty"`
	Presence       *GatewayStatusUpdate `protobuf:"bytes,6,opt,name=presence,proto3" json:"presence,omitempty"`
	Intents        int32                `protobuf:"varint,7,opt,name=intents,proto3" json:"intents,omitempty"`
	// contains filtered or unexported fields
}

func (*Identify) Descriptor deprecated

func (*Identify) Descriptor() ([]byte, []int)

Deprecated: Use Identify.ProtoReflect.Descriptor instead.

func (*Identify) GetCompress

func (x *Identify) GetCompress() bool

func (*Identify) GetIntents

func (x *Identify) GetIntents() int32

func (*Identify) GetLargeThreshold

func (x *Identify) GetLargeThreshold() int32

func (*Identify) GetPresence

func (x *Identify) GetPresence() *GatewayStatusUpdate

func (*Identify) GetProperties

func (x *Identify) GetProperties() *IdentifyProperties

func (*Identify) GetShard

func (x *Identify) GetShard() []int32

func (*Identify) GetToken

func (x *Identify) GetToken() string

func (*Identify) ProtoMessage

func (*Identify) ProtoMessage()

func (*Identify) ProtoReflect

func (x *Identify) ProtoReflect() protoreflect.Message

func (*Identify) Reset

func (x *Identify) Reset()

func (*Identify) String

func (x *Identify) String() string

type IdentifyProperties

type IdentifyProperties struct {
	Os              string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
	Browser         string `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"`
	Device          string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	Referer         string `protobuf:"bytes,4,opt,name=referer,proto3" json:"referer,omitempty"`
	ReferringDomain string `protobuf:"bytes,5,opt,name=referring_domain,json=referringDomain,proto3" json:"referring_domain,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentifyProperties) Descriptor deprecated

func (*IdentifyProperties) Descriptor() ([]byte, []int)

Deprecated: Use IdentifyProperties.ProtoReflect.Descriptor instead.

func (*IdentifyProperties) GetBrowser

func (x *IdentifyProperties) GetBrowser() string

func (*IdentifyProperties) GetDevice

func (x *IdentifyProperties) GetDevice() string

func (*IdentifyProperties) GetOs

func (x *IdentifyProperties) GetOs() string

func (*IdentifyProperties) GetReferer

func (x *IdentifyProperties) GetReferer() string

func (*IdentifyProperties) GetReferringDomain

func (x *IdentifyProperties) GetReferringDomain() string

func (*IdentifyProperties) ProtoMessage

func (*IdentifyProperties) ProtoMessage()

func (*IdentifyProperties) ProtoReflect

func (x *IdentifyProperties) ProtoReflect() protoreflect.Message

func (*IdentifyProperties) Reset

func (x *IdentifyProperties) Reset()

func (*IdentifyProperties) String

func (x *IdentifyProperties) String() string

type InitRequest

type InitRequest struct {
	HelperServerId uint32 `protobuf:"varint,1,opt,name=helper_server_id,json=helperServerId,proto3" json:"helper_server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InitRequest) Descriptor deprecated

func (*InitRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.

func (*InitRequest) GetHelperServerId

func (x *InitRequest) GetHelperServerId() uint32

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) ProtoReflect

func (x *InitRequest) ProtoReflect() protoreflect.Message

func (*InitRequest) Reset

func (x *InitRequest) Reset()

func (*InitRequest) String

func (x *InitRequest) String() string

type InitResponse

type InitResponse struct {
	Interactions []*ApplicationCommand `protobuf:"bytes,1,rep,name=interactions,proto3" json:"interactions,omitempty"`
	// contains filtered or unexported fields
}

func (*InitResponse) Descriptor deprecated

func (*InitResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.

func (*InitResponse) GetInteractions

func (x *InitResponse) GetInteractions() []*ApplicationCommand

func (*InitResponse) ProtoMessage

func (*InitResponse) ProtoMessage()

func (*InitResponse) ProtoReflect

func (x *InitResponse) ProtoReflect() protoreflect.Message

func (*InitResponse) Reset

func (x *InitResponse) Reset()

func (*InitResponse) String

func (x *InitResponse) String() string

type Integration

type Integration 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"`
	Type              string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Enabled           bool                   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Syncing           bool                   `protobuf:"varint,5,opt,name=syncing,proto3" json:"syncing,omitempty"`
	RoleId            string                 `protobuf:"bytes,6,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	EnableEmoticons   bool                   `protobuf:"varint,7,opt,name=enable_emoticons,json=enableEmoticons,proto3" json:"enable_emoticons,omitempty"`
	ExpireBehavior    int32                  `protobuf:"varint,8,opt,name=expire_behavior,json=expireBehavior,proto3" json:"expire_behavior,omitempty"`
	ExpireGracePeriod int32                  `protobuf:"varint,9,opt,name=expire_grace_period,json=expireGracePeriod,proto3" json:"expire_grace_period,omitempty"`
	User              *User                  `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
	Account           *IntegrationAccount    `protobuf:"bytes,11,opt,name=account,proto3" json:"account,omitempty"`
	SyncedAt          *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=synced_at,json=syncedAt,proto3" json:"synced_at,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) GetEnableEmoticons

func (x *Integration) GetEnableEmoticons() bool

func (*Integration) GetEnabled

func (x *Integration) GetEnabled() bool

func (*Integration) GetExpireBehavior

func (x *Integration) GetExpireBehavior() int32

func (*Integration) GetExpireGracePeriod

func (x *Integration) GetExpireGracePeriod() int32

func (*Integration) GetId

func (x *Integration) GetId() string

func (*Integration) GetName

func (x *Integration) GetName() string

func (*Integration) GetRoleId

func (x *Integration) GetRoleId() string

func (*Integration) GetSyncedAt

func (x *Integration) GetSyncedAt() *timestamppb.Timestamp

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    string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AppId string          `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	Type  InteractionType `protobuf:"varint,3,opt,name=type,proto3,enum=discord_v1.InteractionType" json:"type,omitempty"`
	// The Data field is an interface in Go, representing different interaction data types.
	// Use a oneof in protobuf to represent the possible data payloads.
	//
	// Types that are valid to be assigned to Data:
	//
	//	*Interaction_ApplicationCommandData
	//	*Interaction_MessageComponentData
	//	*Interaction_ModalSubmitData
	Data      isInteraction_Data `protobuf_oneof:"data"`
	GuildId   string             `protobuf:"bytes,8,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	ChannelId string             `protobuf:"bytes,9,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The message on which interaction was used.
	// NOTE: this field is only filled when a button click triggered the interaction. Otherwise it will be nil.
	// Use optional for message presence.
	Message *Message `protobuf:"bytes,10,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// Bitwise set of permissions the app or bot has within the channel the interaction was sent from
	AppPermissions int64 `protobuf:"varint,11,opt,name=app_permissions,json=appPermissions,proto3" json:"app_permissions,omitempty"`
	// The member who invoked this interaction.
	// NOTE: this field is only filled when the slash command was invoked in a guild;
	// if it was invoked in a DM, the `User` field will be filled instead.
	// Make sure to check for `nil` before using this field. Use optional member.
	Member *Member `protobuf:"bytes,12,opt,name=member,proto3,oneof" json:"member,omitempty"`
	// The user who invoked this interaction.
	// NOTE: this field is only filled when the slash command was invoked in a DM;
	// if it was invoked in a guild, the `Member` field will be filled instead.
	// Make sure to check for `nil` before using this field. Use optional user.
	User *User `protobuf:"bytes,13,opt,name=user,proto3,oneof" json:"user,omitempty"`
	// The user's discord client locale.
	Locale string `protobuf:"bytes,14,opt,name=locale,proto3" json:"locale,omitempty"`
	// The guild's locale. This defaults to EnglishUS
	// NOTE: this field is only filled when the interaction was invoked in a guild. Use optional locale.
	GuildLocale *string                `protobuf:"bytes,15,opt,name=guild_locale,json=guildLocale,proto3,oneof" json:"guild_locale,omitempty"`
	Context     InteractionContextType `protobuf:"varint,16,opt,name=context,proto3,enum=discord_v1.InteractionContextType" json:"context,omitempty"`
	// Map of integration type to owner ID (string)
	AuthorizingIntegrationOwners map[int32]string `` // Mapping enum int value to string
	/* 223-byte string literal not displayed */
	Token   string `protobuf:"bytes,18,opt,name=token,proto3" json:"token,omitempty"`
	Version int32  `protobuf:"varint,19,opt,name=version,proto3" json:"version,omitempty"`
	// Any entitlements for the invoking user, representing access to premium SKUs.
	// NOTE: this field is only filled in monetized apps. Repeated entitlements.
	Entitlements []*Entitlement `protobuf:"bytes,20,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
	// contains filtered or unexported fields
}

Interaction represents data of an interaction.

func (*Interaction) Descriptor deprecated

func (*Interaction) Descriptor() ([]byte, []int)

Deprecated: Use Interaction.ProtoReflect.Descriptor instead.

func (*Interaction) GetAppId

func (x *Interaction) GetAppId() string

func (*Interaction) GetAppPermissions

func (x *Interaction) GetAppPermissions() int64

func (*Interaction) GetApplicationCommandData

func (x *Interaction) GetApplicationCommandData() *ApplicationCommandInteractionData

func (*Interaction) GetAuthorizingIntegrationOwners

func (x *Interaction) GetAuthorizingIntegrationOwners() map[int32]string

func (*Interaction) GetChannelId

func (x *Interaction) GetChannelId() string

func (*Interaction) GetContext

func (x *Interaction) GetContext() InteractionContextType

func (*Interaction) GetData

func (x *Interaction) GetData() isInteraction_Data

func (*Interaction) GetEntitlements

func (x *Interaction) GetEntitlements() []*Entitlement

func (*Interaction) GetGuildId

func (x *Interaction) GetGuildId() string

func (*Interaction) GetGuildLocale

func (x *Interaction) GetGuildLocale() string

func (*Interaction) GetId

func (x *Interaction) GetId() string

func (*Interaction) GetLocale

func (x *Interaction) GetLocale() string

func (*Interaction) GetMember

func (x *Interaction) GetMember() *Member

func (*Interaction) GetMessage

func (x *Interaction) GetMessage() *Message

func (*Interaction) GetMessageComponentData

func (x *Interaction) GetMessageComponentData() *MessageComponentInteractionData

func (*Interaction) GetModalSubmitData

func (x *Interaction) GetModalSubmitData() *ModalSubmitInteractionData

func (*Interaction) GetToken

func (x *Interaction) GetToken() string

func (*Interaction) GetType

func (x *Interaction) GetType() InteractionType

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 InteractionContextType

type InteractionContextType int32

InteractionContextType represents the context in which interaction can be used or was triggered from.

const (
	InteractionContextType_INTERACTION_CONTEXT_UNKNOWN InteractionContextType = 0 // Default zero value
	// InteractionContextGuild indicates that interaction can be used within guilds.
	InteractionContextType_INTERACTION_CONTEXT_GUILD InteractionContextType = 1
	// InteractionContextBotDM indicates that interaction can be used within DMs with the bot.
	InteractionContextType_INTERACTION_CONTEXT_BOT_DM InteractionContextType = 2
	// InteractionContextPrivateChannel indicates that interaction can be used within group DMs and DMs with other users.
	InteractionContextType_INTERACTION_CONTEXT_PRIVATE_CHANNEL InteractionContextType = 3
)

func (InteractionContextType) Descriptor

func (InteractionContextType) Enum

func (InteractionContextType) EnumDescriptor deprecated

func (InteractionContextType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InteractionContextType.Descriptor instead.

func (InteractionContextType) Number

func (InteractionContextType) String

func (x InteractionContextType) String() string

func (InteractionContextType) Type

type InteractionRespondRequest

type InteractionRespondRequest struct {
	Interaction *Interaction         `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
	Response    *InteractionResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*InteractionRespondRequest) Descriptor deprecated

func (*InteractionRespondRequest) Descriptor() ([]byte, []int)

Deprecated: Use InteractionRespondRequest.ProtoReflect.Descriptor instead.

func (*InteractionRespondRequest) GetInteraction

func (x *InteractionRespondRequest) GetInteraction() *Interaction

func (*InteractionRespondRequest) GetResponse

func (*InteractionRespondRequest) ProtoMessage

func (*InteractionRespondRequest) ProtoMessage()

func (*InteractionRespondRequest) ProtoReflect

func (*InteractionRespondRequest) Reset

func (x *InteractionRespondRequest) Reset()

func (*InteractionRespondRequest) String

func (x *InteractionRespondRequest) String() string

type InteractionResponse

type InteractionResponse struct {
	Type InteractionResponseType  `protobuf:"varint,1,opt,name=type,proto3,enum=discord_v1.InteractionResponseType" json:"type,omitempty"`
	Data *InteractionResponseData `protobuf:"bytes,2,opt,name=data,proto3,oneof" json:"data,omitempty"`
	// contains filtered or unexported fields
}

InteractionResponse represents a response for an interaction event.

func (*InteractionResponse) Descriptor deprecated

func (*InteractionResponse) Descriptor() ([]byte, []int)

Deprecated: Use InteractionResponse.ProtoReflect.Descriptor instead.

func (*InteractionResponse) GetData

func (*InteractionResponse) GetType

func (*InteractionResponse) ProtoMessage

func (*InteractionResponse) ProtoMessage()

func (*InteractionResponse) ProtoReflect

func (x *InteractionResponse) ProtoReflect() protoreflect.Message

func (*InteractionResponse) Reset

func (x *InteractionResponse) Reset()

func (*InteractionResponse) String

func (x *InteractionResponse) String() string

type InteractionResponseData

type InteractionResponseData struct {
	Tts             bool                    `protobuf:"varint,1,opt,name=tts,proto3" json:"tts,omitempty"`
	Content         string                  `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Components      []*MessageComponent     `protobuf:"bytes,3,rep,name=components,proto3" json:"components,omitempty"`
	Embeds          []*MessageEmbed         `protobuf:"bytes,4,rep,name=embeds,proto3" json:"embeds,omitempty"`
	AllowedMentions *MessageAllowedMentions `protobuf:"bytes,5,opt,name=allowed_mentions,json=allowedMentions,proto3,oneof" json:"allowed_mentions,omitempty"`
	Files           []*File                 `protobuf:"bytes,6,rep,name=files,proto3" json:"files,omitempty"`             // Go had json:"-" but it's data
	Attachments     []*MessageAttachment    `protobuf:"bytes,7,rep,name=attachments,proto3" json:"attachments,omitempty"` // Go had pointer to slice
	Poll            *Poll                   `protobuf:"bytes,8,opt,name=poll,proto3,oneof" json:"poll,omitempty"`
	// NOTE: only MessageFlagsSuppressEmbeds and MessageFlagsEphemeral can be set.
	Flags *MessageFlags `protobuf:"varint,9,opt,name=flags,proto3,enum=discord_v1.MessageFlags,oneof" json:"flags,omitempty"` // Go had int64/uint64 directly
	// NOTE: autocomplete interaction only. Repeated choices.
	Choices []*ApplicationCommandOptionChoice `protobuf:"bytes,10,rep,name=choices,proto3" json:"choices,omitempty"`
	// NOTE: modal interaction only.
	CustomId string `protobuf:"bytes,11,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
	Title    string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

InteractionResponseData is response data for an interaction.

func (*InteractionResponseData) Descriptor deprecated

func (*InteractionResponseData) Descriptor() ([]byte, []int)

Deprecated: Use InteractionResponseData.ProtoReflect.Descriptor instead.

func (*InteractionResponseData) GetAllowedMentions

func (x *InteractionResponseData) GetAllowedMentions() *MessageAllowedMentions

func (*InteractionResponseData) GetAttachments

func (x *InteractionResponseData) GetAttachments() []*MessageAttachment

func (*InteractionResponseData) GetChoices

func (*InteractionResponseData) GetComponents

func (x *InteractionResponseData) GetComponents() []*MessageComponent

func (*InteractionResponseData) GetContent

func (x *InteractionResponseData) GetContent() string

func (*InteractionResponseData) GetCustomId

func (x *InteractionResponseData) GetCustomId() string

func (*InteractionResponseData) GetEmbeds

func (x *InteractionResponseData) GetEmbeds() []*MessageEmbed

func (*InteractionResponseData) GetFiles

func (x *InteractionResponseData) GetFiles() []*File

func (*InteractionResponseData) GetFlags

func (x *InteractionResponseData) GetFlags() MessageFlags

func (*InteractionResponseData) GetPoll

func (x *InteractionResponseData) GetPoll() *Poll

func (*InteractionResponseData) GetTitle

func (x *InteractionResponseData) GetTitle() string

func (*InteractionResponseData) GetTts

func (x *InteractionResponseData) GetTts() bool

func (*InteractionResponseData) ProtoMessage

func (*InteractionResponseData) ProtoMessage()

func (*InteractionResponseData) ProtoReflect

func (x *InteractionResponseData) ProtoReflect() protoreflect.Message

func (*InteractionResponseData) Reset

func (x *InteractionResponseData) Reset()

func (*InteractionResponseData) String

func (x *InteractionResponseData) String() string

type InteractionResponseEditRequest

type InteractionResponseEditRequest struct {
	Interaction *Interaction `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
	WebhookEdit *WebhookEdit `protobuf:"bytes,2,opt,name=webhook_edit,json=webhookEdit,proto3" json:"webhook_edit,omitempty"`
	// contains filtered or unexported fields
}

func (*InteractionResponseEditRequest) Descriptor deprecated

func (*InteractionResponseEditRequest) Descriptor() ([]byte, []int)

Deprecated: Use InteractionResponseEditRequest.ProtoReflect.Descriptor instead.

func (*InteractionResponseEditRequest) GetInteraction

func (x *InteractionResponseEditRequest) GetInteraction() *Interaction

func (*InteractionResponseEditRequest) GetWebhookEdit

func (x *InteractionResponseEditRequest) GetWebhookEdit() *WebhookEdit

func (*InteractionResponseEditRequest) ProtoMessage

func (*InteractionResponseEditRequest) ProtoMessage()

func (*InteractionResponseEditRequest) ProtoReflect

func (*InteractionResponseEditRequest) Reset

func (x *InteractionResponseEditRequest) Reset()

func (*InteractionResponseEditRequest) String

type InteractionResponseEditResponse

type InteractionResponseEditResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*InteractionResponseEditResponse) Descriptor deprecated

func (*InteractionResponseEditResponse) Descriptor() ([]byte, []int)

Deprecated: Use InteractionResponseEditResponse.ProtoReflect.Descriptor instead.

func (*InteractionResponseEditResponse) GetMessage

func (x *InteractionResponseEditResponse) GetMessage() *Message

func (*InteractionResponseEditResponse) ProtoMessage

func (*InteractionResponseEditResponse) ProtoMessage()

func (*InteractionResponseEditResponse) ProtoReflect

func (*InteractionResponseEditResponse) Reset

func (*InteractionResponseEditResponse) String

type InteractionResponseType

type InteractionResponseType int32

InteractionResponseType is type of interaction response.

const (
	InteractionResponseType_INTERACTION_RESPONSE_TYPE_UNKNOWN InteractionResponseType = 0 // Default zero value
	// InteractionResponsePong is for ACK ping event.
	InteractionResponseType_INTERACTION_RESPONSE_PONG InteractionResponseType = 1
	// InteractionResponseChannelMessageWithSource is for responding with a message, showing the user's input.
	InteractionResponseType_INTERACTION_RESPONSE_CHANNEL_MESSAGE_WITH_SOURCE InteractionResponseType = 4
	// InteractionResponseDeferredChannelMessageWithSource acknowledges that the event was received, and that a follow-up will come later.
	InteractionResponseType_INTERACTION_RESPONSE_DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE InteractionResponseType = 5
	// InteractionResponseDeferredMessageUpdate acknowledges that the message component interaction event was received, and message will be updated later.
	InteractionResponseType_INTERACTION_RESPONSE_DEFERRED_MESSAGE_UPDATE InteractionResponseType = 6
	// InteractionResponseUpdateMessage is for updating the message to which message component was attached.
	InteractionResponseType_INTERACTION_RESPONSE_UPDATE_MESSAGE InteractionResponseType = 7
	// InteractionApplicationCommandAutocompleteResult shows autocompletion results. Autocomplete interaction only.
	InteractionResponseType_INTERACTION_APPLICATION_COMMAND_AUTOCOMPLETE_RESULT InteractionResponseType = 8
	// InteractionResponseModal is for responding to an interaction with a modal window.
	InteractionResponseType_INTERACTION_RESPONSE_MODAL InteractionResponseType = 9
)

func (InteractionResponseType) Descriptor

func (InteractionResponseType) Enum

func (InteractionResponseType) EnumDescriptor deprecated

func (InteractionResponseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InteractionResponseType.Descriptor instead.

func (InteractionResponseType) Number

func (InteractionResponseType) String

func (x InteractionResponseType) String() string

func (InteractionResponseType) Type

type InteractionType

type InteractionType int32

InteractionType indicates the type of an interaction event.

const (
	InteractionType_INTERACTION_TYPE_UNKNOWN                     InteractionType = 0 // Default zero value
	InteractionType_INTERACTION_PING                             InteractionType = 1
	InteractionType_INTERACTION_APPLICATION_COMMAND              InteractionType = 2
	InteractionType_INTERACTION_MESSAGE_COMPONENT                InteractionType = 3
	InteractionType_INTERACTION_APPLICATION_COMMAND_AUTOCOMPLETE InteractionType = 4
	InteractionType_INTERACTION_MODAL_SUBMIT                     InteractionType = 5
)

func (InteractionType) Descriptor

func (InteractionType) Enum

func (x InteractionType) Enum() *InteractionType

func (InteractionType) EnumDescriptor deprecated

func (InteractionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InteractionType.Descriptor instead.

func (InteractionType) Number

func (InteractionType) String

func (x InteractionType) String() string

func (InteractionType) Type

type Interaction_ApplicationCommandData

type Interaction_ApplicationCommandData struct {
	ApplicationCommandData *ApplicationCommandInteractionData `protobuf:"bytes,4,opt,name=application_command_data,json=applicationCommandData,proto3,oneof"`
}

type Interaction_MessageComponentData

type Interaction_MessageComponentData struct {
	MessageComponentData *MessageComponentInteractionData `protobuf:"bytes,5,opt,name=message_component_data,json=messageComponentData,proto3,oneof"`
}

type Interaction_ModalSubmitData

type Interaction_ModalSubmitData struct {
	ModalSubmitData *ModalSubmitInteractionData `protobuf:"bytes,6,opt,name=modal_submit_data,json=modalSubmitData,proto3,oneof"`
}

type Invite

type Invite struct {
	Guild                    *Guild                 `protobuf:"bytes,1,opt,name=guild,proto3" json:"guild,omitempty"`     // Assuming Guild is another message type
	Channel                  *Channel               `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // Assuming Channel is another message type
	Inviter                  *User                  `protobuf:"bytes,3,opt,name=inviter,proto3" json:"inviter,omitempty"`
	Code                     string                 `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	CreatedAt                *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	MaxAge                   int32                  `protobuf:"varint,6,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	Uses                     int32                  `protobuf:"varint,7,opt,name=uses,proto3" json:"uses,omitempty"`
	MaxUses                  int32                  `protobuf:"varint,8,opt,name=max_uses,json=maxUses,proto3" json:"max_uses,omitempty"`
	Revoked                  bool                   `protobuf:"varint,9,opt,name=revoked,proto3" json:"revoked,omitempty"`
	Temporary                bool                   `protobuf:"varint,10,opt,name=temporary,proto3" json:"temporary,omitempty"`
	Unique                   bool                   `protobuf:"varint,11,opt,name=unique,proto3" json:"unique,omitempty"`
	TargetUser               *User                  `protobuf:"bytes,12,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty"`
	TargetType               uint32                 `protobuf:"varint,13,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
	TargetApplication        *Application           `protobuf:"bytes,14,opt,name=target_application,json=targetApplication,proto3" json:"target_application,omitempty"`
	ApproximatePresenceCount int32                  `` /* 137-byte string literal not displayed */
	ApproximateMemberCount   int32                  `` /* 131-byte string literal not displayed */
	ExpiresAt                *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Invite) Descriptor deprecated

func (*Invite) Descriptor() ([]byte, []int)

Deprecated: Use Invite.ProtoReflect.Descriptor instead.

func (*Invite) GetApproximateMemberCount

func (x *Invite) GetApproximateMemberCount() int32

func (*Invite) GetApproximatePresenceCount

func (x *Invite) GetApproximatePresenceCount() int32

func (*Invite) GetChannel

func (x *Invite) GetChannel() *Channel

func (*Invite) GetCode

func (x *Invite) GetCode() string

func (*Invite) GetCreatedAt

func (x *Invite) GetCreatedAt() *timestamppb.Timestamp

func (*Invite) GetExpiresAt

func (x *Invite) GetExpiresAt() *timestamppb.Timestamp

func (*Invite) GetGuild

func (x *Invite) GetGuild() *Guild

func (*Invite) GetInviter

func (x *Invite) GetInviter() *User

func (*Invite) GetMaxAge

func (x *Invite) GetMaxAge() int32

func (*Invite) GetMaxUses

func (x *Invite) GetMaxUses() int32

func (*Invite) GetRevoked

func (x *Invite) GetRevoked() bool

func (*Invite) GetTargetApplication

func (x *Invite) GetTargetApplication() *Application

func (*Invite) GetTargetType

func (x *Invite) GetTargetType() uint32

func (*Invite) GetTargetUser

func (x *Invite) GetTargetUser() *User

func (*Invite) GetTemporary

func (x *Invite) GetTemporary() bool

func (*Invite) GetUnique

func (x *Invite) GetUnique() bool

func (*Invite) GetUses

func (x *Invite) GetUses() int32

func (*Invite) ProtoMessage

func (*Invite) ProtoMessage()

func (*Invite) ProtoReflect

func (x *Invite) ProtoReflect() protoreflect.Message

func (*Invite) Reset

func (x *Invite) Reset()

func (*Invite) String

func (x *Invite) String() string

type MediaGallery

type MediaGallery struct {
	Id    int32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Items []*MediaGalleryItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

MediaGallery groups images, videos or gifs into a gallery grid.

func (*MediaGallery) Descriptor deprecated

func (*MediaGallery) Descriptor() ([]byte, []int)

Deprecated: Use MediaGallery.ProtoReflect.Descriptor instead.

func (*MediaGallery) GetId

func (x *MediaGallery) GetId() int32

func (*MediaGallery) GetItems

func (x *MediaGallery) GetItems() []*MediaGalleryItem

func (*MediaGallery) ProtoMessage

func (*MediaGallery) ProtoMessage()

func (*MediaGallery) ProtoReflect

func (x *MediaGallery) ProtoReflect() protoreflect.Message

func (*MediaGallery) Reset

func (x *MediaGallery) Reset()

func (*MediaGallery) String

func (x *MediaGallery) String() string

type MediaGalleryItem

type MediaGalleryItem struct {
	Media       *UnfurledMediaItem `protobuf:"bytes,1,opt,name=media,proto3" json:"media,omitempty"`
	Description *string            `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Spoiler     bool               `protobuf:"varint,3,opt,name=spoiler,proto3" json:"spoiler,omitempty"`
	// contains filtered or unexported fields
}

MediaGalleryItem represents an item used in MediaGallery.

func (*MediaGalleryItem) Descriptor deprecated

func (*MediaGalleryItem) Descriptor() ([]byte, []int)

Deprecated: Use MediaGalleryItem.ProtoReflect.Descriptor instead.

func (*MediaGalleryItem) GetDescription

func (x *MediaGalleryItem) GetDescription() string

func (*MediaGalleryItem) GetMedia

func (x *MediaGalleryItem) GetMedia() *UnfurledMediaItem

func (*MediaGalleryItem) GetSpoiler

func (x *MediaGalleryItem) GetSpoiler() bool

func (*MediaGalleryItem) ProtoMessage

func (*MediaGalleryItem) ProtoMessage()

func (*MediaGalleryItem) ProtoReflect

func (x *MediaGalleryItem) ProtoReflect() protoreflect.Message

func (*MediaGalleryItem) Reset

func (x *MediaGalleryItem) Reset()

func (*MediaGalleryItem) String

func (x *MediaGalleryItem) String() string

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"`
	Banner                     string                 `protobuf:"bytes,7,opt,name=banner,proto3" json:"banner,omitempty"`
	User                       *User                  `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"`
	Roles                      []string               `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	PremiumSince               *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=premium_since,json=premiumSince,proto3" json:"premium_since,omitempty"`
	Flags                      int32                  `protobuf:"varint,11,opt,name=flags,proto3" json:"flags,omitempty"`
	Pending                    bool                   `protobuf:"varint,12,opt,name=pending,proto3" json:"pending,omitempty"`
	Permissions                int64                  `protobuf:"varint,13,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) Descriptor() ([]byte, []int)

Deprecated: Use Member.ProtoReflect.Descriptor instead.

func (*Member) GetAvatar

func (x *Member) GetAvatar() string

func (*Member) GetBanner

func (x *Member) GetBanner() string

func (*Member) GetCommunicationDisabledUntil

func (x *Member) GetCommunicationDisabledUntil() *timestamppb.Timestamp

func (*Member) GetDeaf

func (x *Member) GetDeaf() bool

func (*Member) GetFlags

func (x *Member) GetFlags() int32

func (*Member) GetGuildId

func (x *Member) GetGuildId() string

func (*Member) GetJoinedAt

func (x *Member) GetJoinedAt() *timestamppb.Timestamp

func (*Member) GetMute

func (x *Member) GetMute() bool

func (*Member) GetNick

func (x *Member) GetNick() string

func (*Member) GetPending

func (x *Member) GetPending() bool

func (*Member) GetPermissions

func (x *Member) GetPermissions() int64

func (*Member) GetPremiumSince

func (x *Member) GetPremiumSince() *timestamppb.Timestamp

func (*Member) GetRoles

func (x *Member) GetRoles() []string

func (*Member) GetUser

func (x *Member) GetUser() *User

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) ProtoReflect

func (x *Member) ProtoReflect() protoreflect.Message

func (*Member) Reset

func (x *Member) Reset()

func (*Member) String

func (x *Member) String() string

type MemberFlags

type MemberFlags struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MemberFlags) Descriptor deprecated

func (*MemberFlags) Descriptor() ([]byte, []int)

Deprecated: Use MemberFlags.ProtoReflect.Descriptor instead.

func (*MemberFlags) GetValue

func (x *MemberFlags) GetValue() int32

func (*MemberFlags) ProtoMessage

func (*MemberFlags) ProtoMessage()

func (*MemberFlags) ProtoReflect

func (x *MemberFlags) ProtoReflect() protoreflect.Message

func (*MemberFlags) Reset

func (x *MemberFlags) Reset()

func (*MemberFlags) String

func (x *MemberFlags) String() string

type MembershipState

type MembershipState int32

Corresponds to the Go enum MembershipState

const (
	// Default value, should be 0
	MembershipState_MEMBERSHIP_STATE_UNKNOWN  MembershipState = 0
	MembershipState_MEMBERSHIP_STATE_INVITED  MembershipState = 1 // Corresponds to MembershipStateInvited
	MembershipState_MEMBERSHIP_STATE_ACCEPTED MembershipState = 2 // Corresponds to MembershipStateAccepted
)

func (MembershipState) Descriptor

func (MembershipState) Enum

func (x MembershipState) Enum() *MembershipState

func (MembershipState) EnumDescriptor deprecated

func (MembershipState) EnumDescriptor() ([]byte, []int)

Deprecated: Use MembershipState.Descriptor instead.

func (MembershipState) Number

func (MembershipState) String

func (x MembershipState) String() string

func (MembershipState) Type

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                MessageType                 `protobuf:"varint,17,opt,name=type,proto3,enum=discord_v1.MessageType" 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"`
	MessageSnapshots    []*MessageSnapshot          `protobuf:"bytes,25,rep,name=message_snapshots,json=messageSnapshots,proto3" json:"message_snapshots,omitempty"`
	Interaction         *MessageInteraction         `protobuf:"bytes,26,opt,name=interaction,proto3" json:"interaction,omitempty"` // Deprecated, use InteractionMetadata
	InteractionMetadata *MessageInteractionMetadata `protobuf:"bytes,27,opt,name=interaction_metadata,json=interactionMetadata,proto3" json:"interaction_metadata,omitempty"`
	Flags               MessageFlags                `protobuf:"varint,28,opt,name=flags,proto3,enum=discord_v1.MessageFlags" json:"flags,omitempty"`
	Thread              *Channel                    `protobuf:"bytes,29,opt,name=thread,proto3" json:"thread,omitempty"`
	StickerItems        []*StickerItem              `protobuf:"bytes,30,rep,name=sticker_items,json=stickerItems,proto3" json:"sticker_items,omitempty"`
	Poll                *Poll                       `protobuf:"bytes,31,opt,name=poll,proto3" json:"poll,omitempty"`
	// contains filtered or unexported fields
}

A Message stores all data related to a specific Discord message.

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

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) GetAuthor

func (x *Message) GetAuthor() *User

func (*Message) GetChannelId

func (x *Message) GetChannelId() string

func (*Message) GetComponents

func (x *Message) GetComponents() []*MessageComponent

func (*Message) GetContent

func (x *Message) GetContent() string

func (*Message) GetEditedTimestamp

func (x *Message) GetEditedTimestamp() *timestamppb.Timestamp

func (*Message) GetEmbeds

func (x *Message) GetEmbeds() []*MessageEmbed

func (*Message) GetFlags

func (x *Message) GetFlags() MessageFlags

func (*Message) GetGuildId

func (x *Message) GetGuildId() string

func (*Message) GetId

func (x *Message) GetId() string

func (*Message) GetInteraction

func (x *Message) GetInteraction() *MessageInteraction

func (*Message) GetInteractionMetadata

func (x *Message) GetInteractionMetadata() *MessageInteractionMetadata

func (*Message) GetMember

func (x *Message) GetMember() *Member

func (*Message) GetMentionChannels

func (x *Message) GetMentionChannels() []*Channel

func (*Message) GetMentionEveryone

func (x *Message) GetMentionEveryone() bool

func (*Message) GetMentionRoles

func (x *Message) GetMentionRoles() []string

func (*Message) GetMentions

func (x *Message) GetMentions() []*User

func (*Message) GetMessageReference

func (x *Message) GetMessageReference() *MessageReference

func (*Message) GetMessageSnapshots

func (x *Message) GetMessageSnapshots() []*MessageSnapshot

func (*Message) GetPinned

func (x *Message) GetPinned() bool

func (*Message) GetPoll

func (x *Message) GetPoll() *Poll

func (*Message) GetReactions

func (x *Message) GetReactions() []*MessageReactions

func (*Message) GetReferencedMessage

func (x *Message) GetReferencedMessage() *Message

func (*Message) GetStickerItems

func (x *Message) GetStickerItems() []*StickerItem

func (*Message) GetThread

func (x *Message) GetThread() *Channel

func (*Message) GetTimestamp

func (x *Message) GetTimestamp() *timestamppb.Timestamp

func (*Message) GetTts

func (x *Message) GetTts() bool

func (*Message) GetType

func (x *Message) GetType() MessageType

func (*Message) GetWebhookId

func (x *Message) GetWebhookId() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageActivity

type MessageActivity struct {
	Type    MessageActivityType `protobuf:"varint,1,opt,name=type,proto3,enum=discord_v1.MessageActivityType" json:"type,omitempty"`
	PartyId string              `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

MessageActivity is sent with Rich Presence-related chat embeds

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() MessageActivityType

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 MessageActivityType

type MessageActivityType int32

MessageActivityType is the type of message activity

const (
	MessageActivityType_MESSAGE_ACTIVITY_TYPE_JOIN         MessageActivityType = 0
	MessageActivityType_MESSAGE_ACTIVITY_TYPE_SPECTATE     MessageActivityType = 1
	MessageActivityType_MESSAGE_ACTIVITY_TYPE_LISTEN       MessageActivityType = 2
	MessageActivityType_MESSAGE_ACTIVITY_TYPE_JOIN_REQUEST MessageActivityType = 3
)

func (MessageActivityType) Descriptor

func (MessageActivityType) Enum

func (MessageActivityType) EnumDescriptor deprecated

func (MessageActivityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MessageActivityType.Descriptor instead.

func (MessageActivityType) Number

func (MessageActivityType) String

func (x MessageActivityType) String() string

func (MessageActivityType) Type

type MessageAllowedMentions

type MessageAllowedMentions struct {
	Parse       []AllowedMentionType `protobuf:"varint,1,rep,packed,name=parse,proto3,enum=discord_v1.AllowedMentionType" 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
}

MessageAllowedMentions allows the user to specify which mentions Discord is allowed to parse in this message.

func (*MessageAllowedMentions) Descriptor deprecated

func (*MessageAllowedMentions) Descriptor() ([]byte, []int)

Deprecated: Use MessageAllowedMentions.ProtoReflect.Descriptor instead.

func (*MessageAllowedMentions) GetParse

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
}

MessageApplication is sent with Rich Presence-related chat embeds

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"`
	Width       int32  `protobuf:"varint,6,opt,name=width,proto3" json:"width,omitempty"`
	Height      int32  `protobuf:"varint,7,opt,name=height,proto3" json:"height,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
}

A MessageAttachment stores data for message attachments.

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 valid to be assigned to Component:
	//
	//	*MessageComponent_ActionsRow
	//	*MessageComponent_Button
	//	*MessageComponent_SelectMenu
	//	*MessageComponent_TextInput
	//	*MessageComponent_Section
	//	*MessageComponent_TextDisplay
	//	*MessageComponent_Thumbnail
	//	*MessageComponent_MediaGallery
	//	*MessageComponent_FileComponent
	//	*MessageComponent_Separator
	//	*MessageComponent_Container
	Component isMessageComponent_Component `protobuf_oneof:"component"`
	// contains filtered or unexported fields
}

MessageComponent wrapper using oneof for polymorphism This replaces google.protobuf.Any for type-safe component handling

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 (x *MessageComponent) GetComponent() isMessageComponent_Component

func (*MessageComponent) GetContainer

func (x *MessageComponent) GetContainer() *Container

func (*MessageComponent) GetFileComponent

func (x *MessageComponent) GetFileComponent() *FileComponent

func (*MessageComponent) GetMediaGallery

func (x *MessageComponent) GetMediaGallery() *MediaGallery

func (*MessageComponent) GetSection

func (x *MessageComponent) GetSection() *Section

func (*MessageComponent) GetSelectMenu

func (x *MessageComponent) GetSelectMenu() *SelectMenu

func (*MessageComponent) GetSeparator

func (x *MessageComponent) GetSeparator() *Separator

func (*MessageComponent) GetTextDisplay

func (x *MessageComponent) GetTextDisplay() *TextDisplay

func (*MessageComponent) GetTextInput

func (x *MessageComponent) GetTextInput() *TextInput

func (*MessageComponent) GetThumbnail

func (x *MessageComponent) GetThumbnail() *Thumbnail

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 MessageComponentInteractionData

type MessageComponentInteractionData struct {
	CustomId      string        `protobuf:"bytes,1,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
	ComponentType ComponentType `` /* 131-byte string literal not displayed */
	// Resolved data (struct name differs slightly from Go, assuming this is correct)
	Resolved *MessageComponentInteractionDataResolved `protobuf:"bytes,3,opt,name=resolved,proto3,oneof" json:"resolved,omitempty"` // Go code had struct, not pointer
	// NOTE: Only filled when ComponentType is SelectMenuComponent (3). Otherwise is nil.
	Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

MessageComponentInteractionData contains the data of message component interaction.

func (*MessageComponentInteractionData) Descriptor deprecated

func (*MessageComponentInteractionData) Descriptor() ([]byte, []int)

Deprecated: Use MessageComponentInteractionData.ProtoReflect.Descriptor instead.

func (*MessageComponentInteractionData) GetComponentType

func (x *MessageComponentInteractionData) GetComponentType() ComponentType

func (*MessageComponentInteractionData) GetCustomId

func (x *MessageComponentInteractionData) GetCustomId() string

func (*MessageComponentInteractionData) GetResolved

func (*MessageComponentInteractionData) GetValues

func (x *MessageComponentInteractionData) GetValues() []string

func (*MessageComponentInteractionData) ProtoMessage

func (*MessageComponentInteractionData) ProtoMessage()

func (*MessageComponentInteractionData) ProtoReflect

func (*MessageComponentInteractionData) Reset

func (*MessageComponentInteractionData) String

type MessageComponentInteractionDataResolved

type MessageComponentInteractionDataResolved struct {
	Users    map[string]*User    `` /* 137-byte string literal not displayed */
	Members  map[string]*Member  `` /* 141-byte string literal not displayed */
	Roles    map[string]*Role    `` /* 137-byte string literal not displayed */
	Channels map[string]*Channel `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

MessageComponentInteractionDataResolved contains the resolved data of selected option.

func (*MessageComponentInteractionDataResolved) Descriptor deprecated

func (*MessageComponentInteractionDataResolved) Descriptor() ([]byte, []int)

Deprecated: Use MessageComponentInteractionDataResolved.ProtoReflect.Descriptor instead.

func (*MessageComponentInteractionDataResolved) GetChannels

func (*MessageComponentInteractionDataResolved) GetMembers

func (*MessageComponentInteractionDataResolved) GetRoles

func (*MessageComponentInteractionDataResolved) GetUsers

func (*MessageComponentInteractionDataResolved) ProtoMessage

func (*MessageComponentInteractionDataResolved) ProtoReflect

func (*MessageComponentInteractionDataResolved) Reset

func (*MessageComponentInteractionDataResolved) String

type MessageComponent_ActionsRow

type MessageComponent_ActionsRow struct {
	ActionsRow *ActionsRow `protobuf:"bytes,1,opt,name=actions_row,json=actionsRow,proto3,oneof"`
}

type MessageComponent_Button

type MessageComponent_Button struct {
	Button *Button `protobuf:"bytes,2,opt,name=button,proto3,oneof"`
}

type MessageComponent_Container

type MessageComponent_Container struct {
	Container *Container `protobuf:"bytes,11,opt,name=container,proto3,oneof"`
}

type MessageComponent_FileComponent

type MessageComponent_FileComponent struct {
	FileComponent *FileComponent `protobuf:"bytes,9,opt,name=file_component,json=fileComponent,proto3,oneof"`
}

type MessageComponent_MediaGallery

type MessageComponent_MediaGallery struct {
	MediaGallery *MediaGallery `protobuf:"bytes,8,opt,name=media_gallery,json=mediaGallery,proto3,oneof"`
}

type MessageComponent_Section

type MessageComponent_Section struct {
	Section *Section `protobuf:"bytes,5,opt,name=section,proto3,oneof"`
}

type MessageComponent_SelectMenu

type MessageComponent_SelectMenu struct {
	SelectMenu *SelectMenu `protobuf:"bytes,3,opt,name=select_menu,json=selectMenu,proto3,oneof"`
}

type MessageComponent_Separator

type MessageComponent_Separator struct {
	Separator *Separator `protobuf:"bytes,10,opt,name=separator,proto3,oneof"`
}

type MessageComponent_TextDisplay

type MessageComponent_TextDisplay struct {
	TextDisplay *TextDisplay `protobuf:"bytes,6,opt,name=text_display,json=textDisplay,proto3,oneof"`
}

type MessageComponent_TextInput

type MessageComponent_TextInput struct {
	TextInput *TextInput `protobuf:"bytes,4,opt,name=text_input,json=textInput,proto3,oneof"`
}

type MessageComponent_Thumbnail

type MessageComponent_Thumbnail struct {
	Thumbnail *Thumbnail `protobuf:"bytes,7,opt,name=thumbnail,proto3,oneof"`
}

type MessageEdit

type MessageEdit struct {
	Content         string                  `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Components      []*MessageComponent     `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
	Embeds          []*MessageEmbed         `protobuf:"bytes,3,rep,name=embeds,proto3" json:"embeds,omitempty"`
	AllowedMentions *MessageAllowedMentions `protobuf:"bytes,4,opt,name=allowed_mentions,json=allowedMentions,proto3" json:"allowed_mentions,omitempty"`
	Flags           MessageFlags            `protobuf:"varint,5,opt,name=flags,proto3,enum=discord_v1.MessageFlags" json:"flags,omitempty"`
	Files           []*File                 `protobuf:"bytes,6,rep,name=files,proto3" json:"files,omitempty"`
	Attachments     []*MessageAttachment    `protobuf:"bytes,7,rep,name=attachments,proto3" json:"attachments,omitempty"`
	Id              string                  `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
	Channel         string                  `protobuf:"bytes,9,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

MessageEdit is used to chain parameters via ChannelMessageEditComplex.

func (*MessageEdit) Descriptor deprecated

func (*MessageEdit) Descriptor() ([]byte, []int)

Deprecated: Use MessageEdit.ProtoReflect.Descriptor instead.

func (*MessageEdit) GetAllowedMentions

func (x *MessageEdit) GetAllowedMentions() *MessageAllowedMentions

func (*MessageEdit) GetAttachments

func (x *MessageEdit) GetAttachments() []*MessageAttachment

func (*MessageEdit) GetChannel

func (x *MessageEdit) GetChannel() string

func (*MessageEdit) GetComponents

func (x *MessageEdit) GetComponents() []*MessageComponent

func (*MessageEdit) GetContent

func (x *MessageEdit) GetContent() string

func (*MessageEdit) GetEmbeds

func (x *MessageEdit) GetEmbeds() []*MessageEmbed

func (*MessageEdit) GetFiles

func (x *MessageEdit) GetFiles() []*File

func (*MessageEdit) GetFlags

func (x *MessageEdit) GetFlags() MessageFlags

func (*MessageEdit) GetId

func (x *MessageEdit) GetId() string

func (*MessageEdit) ProtoMessage

func (*MessageEdit) ProtoMessage()

func (*MessageEdit) ProtoReflect

func (x *MessageEdit) ProtoReflect() protoreflect.Message

func (*MessageEdit) Reset

func (x *MessageEdit) Reset()

func (*MessageEdit) String

func (x *MessageEdit) String() string

type MessageEmbed

type MessageEmbed struct {
	Url         string                 `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Type        EmbedType              `protobuf:"varint,2,opt,name=type,proto3,enum=discord_v1.EmbedType" 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"`
	Footer      *MessageEmbedFooter    `protobuf:"bytes,7,opt,name=footer,proto3" json:"footer,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
}

An MessageEmbed stores data for message embeds.

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() EmbedType

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
}

MessageEmbedAuthor is a part of a MessageEmbed struct.

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
}

MessageEmbedField is a part of a MessageEmbed struct.

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 {
	Text         string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	IconUrl      string `protobuf:"bytes,2,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
	ProxyIconUrl string `protobuf:"bytes,3,opt,name=proxy_icon_url,json=proxyIconUrl,proto3" json:"proxy_icon_url,omitempty"`
	// contains filtered or unexported fields
}

MessageEmbedFooter is a part of a MessageEmbed struct.

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
}

MessageEmbedImage is a part of a MessageEmbed struct.

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
}

MessageEmbedProvider is a part of a MessageEmbed struct.

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
}

MessageEmbedThumbnail is a part of a MessageEmbed struct.

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
}

MessageEmbedVideo is a part of a MessageEmbed struct.

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 MessageFlags

type MessageFlags int32

MessageFlags is the flags of "message" (see MessageFlags* consts) https://discord.com/developers/docs/resources/channel#message-object-message-flags

const (
	MessageFlags_MESSAGE_FLAGS_CROSS_POSTED                           MessageFlags = 0  // This message has been published to subscribed channels (via Channel Following).
	MessageFlags_MESSAGE_FLAGS_IS_CROSS_POSTED                        MessageFlags = 1  // this message originated from a message in another channel (via Channel Following).
	MessageFlags_MESSAGE_FLAGS_SUPPRESS_EMBEDS                        MessageFlags = 2  // do not include any embeds when serializing this message.
	MessageFlags_MESSAGE_FLAGS_SOURCE_MESSAGE_DELETED                 MessageFlags = 3  // the source message for this crosspost has been deleted (via Channel Following).
	MessageFlags_MESSAGE_FLAGS_URGENT                                 MessageFlags = 4  // this message came from the urgent message system.
	MessageFlags_MESSAGE_FLAGS_HAS_THREAD                             MessageFlags = 5  // this message has an associated thread, with the same id as the message.
	MessageFlags_MESSAGE_FLAGS_EPHEMERAL                              MessageFlags = 6  // this message is only visible to the user who invoked the Interaction.
	MessageFlags_MESSAGE_FLAGS_LOADING                                MessageFlags = 7  // this message is an Interaction Response and the bot is "thinking".
	MessageFlags_MESSAGE_FLAGS_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD MessageFlags = 8  // this message failed to mention some roles and add their members to the thread.
	MessageFlags_MESSAGE_FLAGS_SUPPRESS_NOTIFICATIONS                 MessageFlags = 12 // this message will not trigger push and desktop notifications.
	MessageFlags_MESSAGE_FLAGS_IS_VOICE_MESSAGE                       MessageFlags = 13 // this message is a voice message.
)

func (MessageFlags) Descriptor

func (MessageFlags) Enum

func (x MessageFlags) Enum() *MessageFlags

func (MessageFlags) EnumDescriptor deprecated

func (MessageFlags) EnumDescriptor() ([]byte, []int)

Deprecated: Use MessageFlags.Descriptor instead.

func (MessageFlags) Number

func (MessageFlags) String

func (x MessageFlags) String() string

func (MessageFlags) Type

type MessageInteraction

type MessageInteraction struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Assuming InteractionType is an enum or simple type,
	// replace 'string' with the actual type if needed.
	Type   string  `protobuf:"bytes,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
}

MessageInteraction contains information about the application command interaction which generated the message.

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() string

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 MessageInteractionMetadata

type MessageInteractionMetadata struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Assuming InteractionType is an enum or simple type,
	// replace 'string' with the actual type if needed.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	User *User  `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// Assuming ApplicationIntegrationType is an enum or simple type,
	// replace 'string' with the actual type if needed for the map key.
	AuthorizingIntegrationOwners  map[string]string           `` /* 221-byte string literal not displayed */
	OriginalResponseMessageId     string                      `` /* 140-byte string literal not displayed */
	InteractedMessageId           string                      `protobuf:"bytes,6,opt,name=interacted_message_id,json=interactedMessageId,proto3" json:"interacted_message_id,omitempty"`
	TriggeringInteractionMetadata *MessageInteractionMetadata `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

MessageInteractionMetadata contains metadata of an interaction, including relevant user info.

func (*MessageInteractionMetadata) Descriptor deprecated

func (*MessageInteractionMetadata) Descriptor() ([]byte, []int)

Deprecated: Use MessageInteractionMetadata.ProtoReflect.Descriptor instead.

func (*MessageInteractionMetadata) GetAuthorizingIntegrationOwners

func (x *MessageInteractionMetadata) GetAuthorizingIntegrationOwners() map[string]string

func (*MessageInteractionMetadata) GetId

func (*MessageInteractionMetadata) GetInteractedMessageId

func (x *MessageInteractionMetadata) GetInteractedMessageId() string

func (*MessageInteractionMetadata) GetOriginalResponseMessageId

func (x *MessageInteractionMetadata) GetOriginalResponseMessageId() string

func (*MessageInteractionMetadata) GetTriggeringInteractionMetadata

func (x *MessageInteractionMetadata) GetTriggeringInteractionMetadata() *MessageInteractionMetadata

func (*MessageInteractionMetadata) GetType

func (x *MessageInteractionMetadata) GetType() string

func (*MessageInteractionMetadata) GetUser

func (x *MessageInteractionMetadata) GetUser() *User

func (*MessageInteractionMetadata) ProtoMessage

func (*MessageInteractionMetadata) ProtoMessage()

func (*MessageInteractionMetadata) ProtoReflect

func (*MessageInteractionMetadata) Reset

func (x *MessageInteractionMetadata) Reset()

func (*MessageInteractionMetadata) String

func (x *MessageInteractionMetadata) String() string

type MessageReaction

type MessageReaction struct {
	UserId    string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Emoji     *Emoji `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"`
	ChannelId string `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	GuildId   string `protobuf:"bytes,5,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageReaction) Descriptor deprecated

func (*MessageReaction) Descriptor() ([]byte, []int)

Deprecated: Use MessageReaction.ProtoReflect.Descriptor instead.

func (*MessageReaction) GetChannelId

func (x *MessageReaction) GetChannelId() string

func (*MessageReaction) GetEmoji

func (x *MessageReaction) GetEmoji() *Emoji

func (*MessageReaction) GetGuildId

func (x *MessageReaction) GetGuildId() string

func (*MessageReaction) GetMessageId

func (x *MessageReaction) GetMessageId() string

func (*MessageReaction) GetUserId

func (x *MessageReaction) GetUserId() string

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 MessageReactionAddRequest

type MessageReactionAddRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	EmojiId   string `protobuf:"bytes,3,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageReactionAddRequest) Descriptor deprecated

func (*MessageReactionAddRequest) Descriptor() ([]byte, []int)

Deprecated: Use MessageReactionAddRequest.ProtoReflect.Descriptor instead.

func (*MessageReactionAddRequest) GetChannelId

func (x *MessageReactionAddRequest) GetChannelId() string

func (*MessageReactionAddRequest) GetEmojiId

func (x *MessageReactionAddRequest) GetEmojiId() string

func (*MessageReactionAddRequest) GetMessageId

func (x *MessageReactionAddRequest) GetMessageId() string

func (*MessageReactionAddRequest) ProtoMessage

func (*MessageReactionAddRequest) ProtoMessage()

func (*MessageReactionAddRequest) ProtoReflect

func (*MessageReactionAddRequest) Reset

func (x *MessageReactionAddRequest) Reset()

func (*MessageReactionAddRequest) String

func (x *MessageReactionAddRequest) String() string

type MessageReactionRemoveRequest

type MessageReactionRemoveRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	EmojiId   string `protobuf:"bytes,3,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"`
	UserId    string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageReactionRemoveRequest) Descriptor deprecated

func (*MessageReactionRemoveRequest) Descriptor() ([]byte, []int)

Deprecated: Use MessageReactionRemoveRequest.ProtoReflect.Descriptor instead.

func (*MessageReactionRemoveRequest) GetChannelId

func (x *MessageReactionRemoveRequest) GetChannelId() string

func (*MessageReactionRemoveRequest) GetEmojiId

func (x *MessageReactionRemoveRequest) GetEmojiId() string

func (*MessageReactionRemoveRequest) GetMessageId

func (x *MessageReactionRemoveRequest) GetMessageId() string

func (*MessageReactionRemoveRequest) GetUserId

func (x *MessageReactionRemoveRequest) GetUserId() string

func (*MessageReactionRemoveRequest) ProtoMessage

func (*MessageReactionRemoveRequest) ProtoMessage()

func (*MessageReactionRemoveRequest) ProtoReflect

func (*MessageReactionRemoveRequest) Reset

func (x *MessageReactionRemoveRequest) Reset()

func (*MessageReactionRemoveRequest) 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
}

MessageReactions holds a reactions object for a message.

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 MessageReactionsRemoveAllRequest

type MessageReactionsRemoveAllRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageReactionsRemoveAllRequest) Descriptor deprecated

func (*MessageReactionsRemoveAllRequest) Descriptor() ([]byte, []int)

Deprecated: Use MessageReactionsRemoveAllRequest.ProtoReflect.Descriptor instead.

func (*MessageReactionsRemoveAllRequest) GetChannelId

func (x *MessageReactionsRemoveAllRequest) GetChannelId() string

func (*MessageReactionsRemoveAllRequest) GetMessageId

func (x *MessageReactionsRemoveAllRequest) GetMessageId() string

func (*MessageReactionsRemoveAllRequest) ProtoMessage

func (*MessageReactionsRemoveAllRequest) ProtoMessage()

func (*MessageReactionsRemoveAllRequest) ProtoReflect

func (*MessageReactionsRemoveAllRequest) Reset

func (*MessageReactionsRemoveAllRequest) String

type MessageReference

type MessageReference struct {
	Type            MessageReferenceType `protobuf:"varint,1,opt,name=type,proto3,enum=discord_v1.MessageReferenceType" json:"type,omitempty"`
	MessageId       string               `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	ChannelId       string               `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	GuildId         string               `protobuf:"bytes,4,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	FailIfNotExists bool                 `protobuf:"varint,5,opt,name=fail_if_not_exists,json=failIfNotExists,proto3" json:"fail_if_not_exists,omitempty"`
	// contains filtered or unexported fields
}

MessageReference contains reference data sent with crossposted messages

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) GetFailIfNotExists

func (x *MessageReference) GetFailIfNotExists() bool

func (*MessageReference) GetGuildId

func (x *MessageReference) GetGuildId() string

func (*MessageReference) GetMessageId

func (x *MessageReference) GetMessageId() string

func (*MessageReference) GetType

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 MessageReferenceType

type MessageReferenceType int32

MessageReferenceType is a type of MessageReference

const (
	MessageReferenceType_MESSAGE_REFERENCE_TYPE_DEFAULT MessageReferenceType = 0
	MessageReferenceType_MESSAGE_REFERENCE_TYPE_FORWARD MessageReferenceType = 1
)

func (MessageReferenceType) Descriptor

func (MessageReferenceType) Enum

func (MessageReferenceType) EnumDescriptor deprecated

func (MessageReferenceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MessageReferenceType.Descriptor instead.

func (MessageReferenceType) Number

func (MessageReferenceType) String

func (x MessageReferenceType) String() string

func (MessageReferenceType) Type

type MessageSend

type MessageSend struct {
	Content         string                  `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Embeds          []*MessageEmbed         `protobuf:"bytes,2,rep,name=embeds,proto3" json:"embeds,omitempty"`
	Tts             bool                    `protobuf:"varint,3,opt,name=tts,proto3" json:"tts,omitempty"`
	Components      []*MessageComponent     `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`
	Files           []*File                 `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
	AllowedMentions *MessageAllowedMentions `protobuf:"bytes,6,opt,name=allowed_mentions,json=allowedMentions,proto3" json:"allowed_mentions,omitempty"`
	Reference       *MessageReference       `protobuf:"bytes,7,opt,name=reference,proto3" json:"reference,omitempty"`
	StickerIds      []string                `protobuf:"bytes,8,rep,name=sticker_ids,json=stickerIds,proto3" json:"sticker_ids,omitempty"`
	Flags           MessageFlags            `protobuf:"varint,9,opt,name=flags,proto3,enum=discord_v1.MessageFlags" json:"flags,omitempty"`
	Poll            *Poll                   `protobuf:"bytes,10,opt,name=poll,proto3" json:"poll,omitempty"`
	// contains filtered or unexported fields
}

MessageSend stores all parameters you can send with ChannelMessageSendComplex.

func (*MessageSend) Descriptor deprecated

func (*MessageSend) Descriptor() ([]byte, []int)

Deprecated: Use MessageSend.ProtoReflect.Descriptor instead.

func (*MessageSend) GetAllowedMentions

func (x *MessageSend) GetAllowedMentions() *MessageAllowedMentions

func (*MessageSend) GetComponents

func (x *MessageSend) GetComponents() []*MessageComponent

func (*MessageSend) GetContent

func (x *MessageSend) GetContent() string

func (*MessageSend) GetEmbeds

func (x *MessageSend) GetEmbeds() []*MessageEmbed

func (*MessageSend) GetFiles

func (x *MessageSend) GetFiles() []*File

func (*MessageSend) GetFlags

func (x *MessageSend) GetFlags() MessageFlags

func (*MessageSend) GetPoll

func (x *MessageSend) GetPoll() *Poll

func (*MessageSend) GetReference

func (x *MessageSend) GetReference() *MessageReference

func (*MessageSend) GetStickerIds

func (x *MessageSend) GetStickerIds() []string

func (*MessageSend) GetTts

func (x *MessageSend) GetTts() bool

func (*MessageSend) ProtoMessage

func (*MessageSend) ProtoMessage()

func (*MessageSend) ProtoReflect

func (x *MessageSend) ProtoReflect() protoreflect.Message

func (*MessageSend) Reset

func (x *MessageSend) Reset()

func (*MessageSend) String

func (x *MessageSend) String() string

type MessageSnapshot

type MessageSnapshot struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

MessageSnapshot represents a snapshot of a forwarded message. https://discord.com/developers/docs/resources/message#message-snapshot-object

func (*MessageSnapshot) Descriptor deprecated

func (*MessageSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use MessageSnapshot.ProtoReflect.Descriptor instead.

func (*MessageSnapshot) GetMessage

func (x *MessageSnapshot) GetMessage() *Message

func (*MessageSnapshot) ProtoMessage

func (*MessageSnapshot) ProtoMessage()

func (*MessageSnapshot) ProtoReflect

func (x *MessageSnapshot) ProtoReflect() protoreflect.Message

func (*MessageSnapshot) Reset

func (x *MessageSnapshot) Reset()

func (*MessageSnapshot) String

func (x *MessageSnapshot) String() string

type MessageType

type MessageType int32

MessageType is the type of Message https://discord.com/developers/docs/resources/channel#message-object-message-types

const (
	MessageType_MESSAGE_TYPE_DEFAULT                                    MessageType = 0
	MessageType_MESSAGE_TYPE_RECIPIENT_ADD                              MessageType = 1
	MessageType_MESSAGE_TYPE_RECIPIENT_REMOVE                           MessageType = 2
	MessageType_MESSAGE_TYPE_CALL                                       MessageType = 3
	MessageType_MESSAGE_TYPE_CHANNEL_NAME_CHANGE                        MessageType = 4
	MessageType_MESSAGE_TYPE_CHANNEL_ICON_CHANGE                        MessageType = 5
	MessageType_MESSAGE_TYPE_CHANNEL_PINNED_MESSAGE                     MessageType = 6
	MessageType_MESSAGE_TYPE_GUILD_MEMBER_JOIN                          MessageType = 7
	MessageType_MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION            MessageType = 8
	MessageType_MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_ONE   MessageType = 9
	MessageType_MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_TWO   MessageType = 10
	MessageType_MESSAGE_TYPE_USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_THREE MessageType = 11
	MessageType_MESSAGE_TYPE_CHANNEL_FOLLOW_ADD                         MessageType = 12
	MessageType_MESSAGE_TYPE_GUILD_DISCOVERY_DISQUALIFIED               MessageType = 14
	MessageType_MESSAGE_TYPE_GUILD_DISCOVERY_REQUALIFIED                MessageType = 15
	MessageType_MESSAGE_TYPE_THREAD_CREATED                             MessageType = 18
	MessageType_MESSAGE_TYPE_REPLY                                      MessageType = 19
	MessageType_MESSAGE_TYPE_CHAT_INPUT_COMMAND                         MessageType = 20
	MessageType_MESSAGE_TYPE_THREAD_STARTER_MESSAGE                     MessageType = 21
	MessageType_MESSAGE_TYPE_CONTEXT_MENU_COMMAND                       MessageType = 23
)

func (MessageType) Descriptor

func (MessageType) Enum

func (x MessageType) Enum() *MessageType

func (MessageType) EnumDescriptor deprecated

func (MessageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MessageType.Descriptor instead.

func (MessageType) Number

func (x MessageType) Number() protoreflect.EnumNumber

func (MessageType) String

func (x MessageType) String() string

func (MessageType) Type

type ModalSubmitInteractionData

type ModalSubmitInteractionData struct {
	CustomId   string              `protobuf:"bytes,1,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
	Components []*MessageComponent `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

ModalSubmitInteractionData contains the data of modal submit interaction.

func (*ModalSubmitInteractionData) Descriptor deprecated

func (*ModalSubmitInteractionData) Descriptor() ([]byte, []int)

Deprecated: Use ModalSubmitInteractionData.ProtoReflect.Descriptor instead.

func (*ModalSubmitInteractionData) GetComponents

func (x *ModalSubmitInteractionData) GetComponents() []*MessageComponent

func (*ModalSubmitInteractionData) GetCustomId

func (x *ModalSubmitInteractionData) GetCustomId() string

func (*ModalSubmitInteractionData) ProtoMessage

func (*ModalSubmitInteractionData) ProtoMessage()

func (*ModalSubmitInteractionData) ProtoReflect

func (*ModalSubmitInteractionData) Reset

func (x *ModalSubmitInteractionData) Reset()

func (*ModalSubmitInteractionData) String

func (x *ModalSubmitInteractionData) String() string

type ModuleStats

type ModuleStats struct {
	ModuleId       string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
	TasksSubmitted uint64 `protobuf:"varint,2,opt,name=tasks_submitted,json=tasksSubmitted,proto3" json:"tasks_submitted,omitempty"`
	TasksProcessed uint64 `protobuf:"varint,3,opt,name=tasks_processed,json=tasksProcessed,proto3" json:"tasks_processed,omitempty"`
	BytesSent      uint64 `protobuf:"varint,4,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	BytesReceived  uint64 `protobuf:"varint,5,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"`
	// contains filtered or unexported fields
}

Module statistics

func (*ModuleStats) Descriptor deprecated

func (*ModuleStats) Descriptor() ([]byte, []int)

Deprecated: Use ModuleStats.ProtoReflect.Descriptor instead.

func (*ModuleStats) GetBytesReceived

func (x *ModuleStats) GetBytesReceived() uint64

func (*ModuleStats) GetBytesSent

func (x *ModuleStats) GetBytesSent() uint64

func (*ModuleStats) GetModuleId

func (x *ModuleStats) GetModuleId() string

func (*ModuleStats) GetTasksProcessed

func (x *ModuleStats) GetTasksProcessed() uint64

func (*ModuleStats) GetTasksSubmitted

func (x *ModuleStats) GetTasksSubmitted() uint64

func (*ModuleStats) ProtoMessage

func (*ModuleStats) ProtoMessage()

func (*ModuleStats) ProtoReflect

func (x *ModuleStats) ProtoReflect() protoreflect.Message

func (*ModuleStats) Reset

func (x *ModuleStats) Reset()

func (*ModuleStats) String

func (x *ModuleStats) String() string

type OnEventRequest

type OnEventRequest struct {
	Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*OnEventRequest) Descriptor deprecated

func (*OnEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use OnEventRequest.ProtoReflect.Descriptor instead.

func (*OnEventRequest) GetEvent

func (x *OnEventRequest) GetEvent() string

func (*OnEventRequest) ProtoMessage

func (*OnEventRequest) ProtoMessage()

func (*OnEventRequest) ProtoReflect

func (x *OnEventRequest) ProtoReflect() protoreflect.Message

func (*OnEventRequest) Reset

func (x *OnEventRequest) Reset()

func (*OnEventRequest) String

func (x *OnEventRequest) 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) Descriptor() ([]byte, []int)

Deprecated: Use Party.ProtoReflect.Descriptor instead.

func (*Party) GetId

func (x *Party) GetId() string

func (*Party) GetSize

func (x *Party) GetSize() []int32

func (*Party) ProtoMessage

func (*Party) ProtoMessage()

func (*Party) ProtoReflect

func (x *Party) ProtoReflect() protoreflect.Message

func (*Party) Reset

func (x *Party) Reset()

func (*Party) String

func (x *Party) 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"`
	Deny  int64  `protobuf:"varint,3,opt,name=deny,proto3" json:"deny,omitempty"`
	Allow int64  `protobuf:"varint,4,opt,name=allow,proto3" json:"allow,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 Poll

type Poll struct {
	Question         *PollMedia             `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
	Answers          []*PollAnswer          `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"`
	AllowMultiselect bool                   `protobuf:"varint,3,opt,name=allow_multiselect,json=allowMultiselect,proto3" json:"allow_multiselect,omitempty"`
	LayoutType       int32                  `protobuf:"varint,4,opt,name=layout_type,json=layoutType,proto3" json:"layout_type,omitempty"` // Assuming PollLayoutType is int32
	Duration         int32                  `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	Results          *PollResults           `protobuf:"bytes,6,opt,name=results,proto3" json:"results,omitempty"`
	Expiry           *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*Poll) Descriptor deprecated

func (*Poll) Descriptor() ([]byte, []int)

Deprecated: Use Poll.ProtoReflect.Descriptor instead.

func (*Poll) GetAllowMultiselect

func (x *Poll) GetAllowMultiselect() bool

func (*Poll) GetAnswers

func (x *Poll) GetAnswers() []*PollAnswer

func (*Poll) GetDuration

func (x *Poll) GetDuration() int32

func (*Poll) GetExpiry

func (x *Poll) GetExpiry() *timestamppb.Timestamp

func (*Poll) GetLayoutType

func (x *Poll) GetLayoutType() int32

func (*Poll) GetQuestion

func (x *Poll) GetQuestion() *PollMedia

func (*Poll) GetResults

func (x *Poll) GetResults() *PollResults

func (*Poll) ProtoMessage

func (*Poll) ProtoMessage()

func (*Poll) ProtoReflect

func (x *Poll) ProtoReflect() protoreflect.Message

func (*Poll) Reset

func (x *Poll) Reset()

func (*Poll) String

func (x *Poll) String() string

type PollAnswer

type PollAnswer struct {
	AnswerId int32      `protobuf:"varint,1,opt,name=answer_id,json=answerId,proto3" json:"answer_id,omitempty"`
	Media    *PollMedia `protobuf:"bytes,2,opt,name=media,proto3" json:"media,omitempty"`
	// contains filtered or unexported fields
}

func (*PollAnswer) Descriptor deprecated

func (*PollAnswer) Descriptor() ([]byte, []int)

Deprecated: Use PollAnswer.ProtoReflect.Descriptor instead.

func (*PollAnswer) GetAnswerId

func (x *PollAnswer) GetAnswerId() int32

func (*PollAnswer) GetMedia

func (x *PollAnswer) GetMedia() *PollMedia

func (*PollAnswer) ProtoMessage

func (*PollAnswer) ProtoMessage()

func (*PollAnswer) ProtoReflect

func (x *PollAnswer) ProtoReflect() protoreflect.Message

func (*PollAnswer) Reset

func (x *PollAnswer) Reset()

func (*PollAnswer) String

func (x *PollAnswer) String() string

type PollAnswerCount

type PollAnswerCount struct {
	Id      int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Count   int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	MeVoted bool  `protobuf:"varint,3,opt,name=me_voted,json=meVoted,proto3" json:"me_voted,omitempty"`
	// contains filtered or unexported fields
}

func (*PollAnswerCount) Descriptor deprecated

func (*PollAnswerCount) Descriptor() ([]byte, []int)

Deprecated: Use PollAnswerCount.ProtoReflect.Descriptor instead.

func (*PollAnswerCount) GetCount

func (x *PollAnswerCount) GetCount() int32

func (*PollAnswerCount) GetId

func (x *PollAnswerCount) GetId() int32

func (*PollAnswerCount) GetMeVoted

func (x *PollAnswerCount) GetMeVoted() bool

func (*PollAnswerCount) ProtoMessage

func (*PollAnswerCount) ProtoMessage()

func (*PollAnswerCount) ProtoReflect

func (x *PollAnswerCount) ProtoReflect() protoreflect.Message

func (*PollAnswerCount) Reset

func (x *PollAnswerCount) Reset()

func (*PollAnswerCount) String

func (x *PollAnswerCount) String() string

type PollLayoutType

type PollLayoutType struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PollLayoutType) Descriptor deprecated

func (*PollLayoutType) Descriptor() ([]byte, []int)

Deprecated: Use PollLayoutType.ProtoReflect.Descriptor instead.

func (*PollLayoutType) GetValue

func (x *PollLayoutType) GetValue() int32

func (*PollLayoutType) ProtoMessage

func (*PollLayoutType) ProtoMessage()

func (*PollLayoutType) ProtoReflect

func (x *PollLayoutType) ProtoReflect() protoreflect.Message

func (*PollLayoutType) Reset

func (x *PollLayoutType) Reset()

func (*PollLayoutType) String

func (x *PollLayoutType) String() string

type PollMedia

type PollMedia struct {
	Text  string          `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Emoji *ComponentEmoji `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"` // Assuming ComponentEmoji is another message type
	// contains filtered or unexported fields
}

func (*PollMedia) Descriptor deprecated

func (*PollMedia) Descriptor() ([]byte, []int)

Deprecated: Use PollMedia.ProtoReflect.Descriptor instead.

func (*PollMedia) GetEmoji

func (x *PollMedia) GetEmoji() *ComponentEmoji

func (*PollMedia) GetText

func (x *PollMedia) GetText() string

func (*PollMedia) ProtoMessage

func (*PollMedia) ProtoMessage()

func (*PollMedia) ProtoReflect

func (x *PollMedia) ProtoReflect() protoreflect.Message

func (*PollMedia) Reset

func (x *PollMedia) Reset()

func (*PollMedia) String

func (x *PollMedia) String() string

type PollResults

type PollResults struct {
	Finalized    bool               `protobuf:"varint,1,opt,name=finalized,proto3" json:"finalized,omitempty"`
	AnswerCounts []*PollAnswerCount `protobuf:"bytes,2,rep,name=answer_counts,json=answerCounts,proto3" json:"answer_counts,omitempty"`
	// contains filtered or unexported fields
}

func (*PollResults) Descriptor deprecated

func (*PollResults) Descriptor() ([]byte, []int)

Deprecated: Use PollResults.ProtoReflect.Descriptor instead.

func (*PollResults) GetAnswerCounts

func (x *PollResults) GetAnswerCounts() []*PollAnswerCount

func (*PollResults) GetFinalized

func (x *PollResults) GetFinalized() bool

func (*PollResults) ProtoMessage

func (*PollResults) ProtoMessage()

func (*PollResults) ProtoReflect

func (x *PollResults) ProtoReflect() protoreflect.Message

func (*PollResults) Reset

func (x *PollResults) Reset()

func (*PollResults) String

func (x *PollResults) String() string

type Presence

type Presence struct {
	User         *User         `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Status       string        `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Assuming Status is string
	Activities   []*Activity   `protobuf:"bytes,3,rep,name=activities,proto3" json:"activities,omitempty"`
	Since        int32         `protobuf:"varint,4,opt,name=since,proto3" json:"since,omitempty"`
	ClientStatus *ClientStatus `protobuf:"bytes,5,opt,name=client_status,json=clientStatus,proto3" json:"client_status,omitempty"`
	// contains filtered or unexported fields
}

func (*Presence) Descriptor deprecated

func (*Presence) Descriptor() ([]byte, []int)

Deprecated: Use Presence.ProtoReflect.Descriptor instead.

func (*Presence) GetActivities

func (x *Presence) GetActivities() []*Activity

func (*Presence) GetClientStatus

func (x *Presence) GetClientStatus() *ClientStatus

func (*Presence) GetSince

func (x *Presence) GetSince() int32

func (*Presence) GetStatus

func (x *Presence) GetStatus() string

func (*Presence) GetUser

func (x *Presence) GetUser() *User

func (*Presence) ProtoMessage

func (*Presence) ProtoMessage()

func (*Presence) ProtoReflect

func (x *Presence) ProtoReflect() protoreflect.Message

func (*Presence) Reset

func (x *Presence) Reset()

func (*Presence) String

func (x *Presence) String() string

type QueueStatusRequest

type QueueStatusRequest struct {
	GuildId string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Queue status request

func (*QueueStatusRequest) Descriptor deprecated

func (*QueueStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueueStatusRequest.ProtoReflect.Descriptor instead.

func (*QueueStatusRequest) GetGuildId

func (x *QueueStatusRequest) GetGuildId() string

func (*QueueStatusRequest) ProtoMessage

func (*QueueStatusRequest) ProtoMessage()

func (*QueueStatusRequest) ProtoReflect

func (x *QueueStatusRequest) ProtoReflect() protoreflect.Message

func (*QueueStatusRequest) Reset

func (x *QueueStatusRequest) Reset()

func (*QueueStatusRequest) String

func (x *QueueStatusRequest) String() string

type QueueStatusResponse

type QueueStatusResponse struct {
	QueueLength       int32          `protobuf:"varint,1,opt,name=queue_length,json=queueLength,proto3" json:"queue_length,omitempty"`
	ActiveSubscribers int32          `protobuf:"varint,2,opt,name=active_subscribers,json=activeSubscribers,proto3" json:"active_subscribers,omitempty"`
	ModuleStats       []*ModuleStats `protobuf:"bytes,3,rep,name=module_stats,json=moduleStats,proto3" json:"module_stats,omitempty"`
	// contains filtered or unexported fields
}

Queue status response

func (*QueueStatusResponse) Descriptor deprecated

func (*QueueStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueueStatusResponse.ProtoReflect.Descriptor instead.

func (*QueueStatusResponse) GetActiveSubscribers

func (x *QueueStatusResponse) GetActiveSubscribers() int32

func (*QueueStatusResponse) GetModuleStats

func (x *QueueStatusResponse) GetModuleStats() []*ModuleStats

func (*QueueStatusResponse) GetQueueLength

func (x *QueueStatusResponse) GetQueueLength() int32

func (*QueueStatusResponse) ProtoMessage

func (*QueueStatusResponse) ProtoMessage()

func (*QueueStatusResponse) ProtoReflect

func (x *QueueStatusResponse) ProtoReflect() protoreflect.Message

func (*QueueStatusResponse) Reset

func (x *QueueStatusResponse) Reset()

func (*QueueStatusResponse) String

func (x *QueueStatusResponse) String() string

type ReadState

type ReadState struct {
	MentionCount  int32  `protobuf:"varint,1,opt,name=mention_count,json=mentionCount,proto3" json:"mention_count,omitempty"`
	LastMessageId string `protobuf:"bytes,2,opt,name=last_message_id,json=lastMessageId,proto3" json:"last_message_id,omitempty"`
	Id            string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadState) Descriptor deprecated

func (*ReadState) Descriptor() ([]byte, []int)

Deprecated: Use ReadState.ProtoReflect.Descriptor instead.

func (*ReadState) GetId

func (x *ReadState) GetId() string

func (*ReadState) GetLastMessageId

func (x *ReadState) GetLastMessageId() string

func (*ReadState) GetMentionCount

func (x *ReadState) GetMentionCount() int32

func (*ReadState) ProtoMessage

func (*ReadState) ProtoMessage()

func (*ReadState) ProtoReflect

func (x *ReadState) ProtoReflect() protoreflect.Message

func (*ReadState) Reset

func (x *ReadState) Reset()

func (*ReadState) String

func (x *ReadState) 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"`
	Icon         string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"`
	UnicodeEmoji string `protobuf:"bytes,10,opt,name=unicode_emoji,json=unicodeEmoji,proto3" json:"unicode_emoji,omitempty"`
	Flags        int32  `protobuf:"varint,11,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetColor

func (x *Role) GetColor() int32

func (*Role) GetFlags

func (x *Role) GetFlags() int32

func (*Role) GetHoist

func (x *Role) GetHoist() bool

func (*Role) GetIcon

func (x *Role) GetIcon() string

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) GetManaged

func (x *Role) GetManaged() bool

func (*Role) GetMentionable

func (x *Role) GetMentionable() bool

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetPermissions

func (x *Role) GetPermissions() int64

func (*Role) GetPosition

func (x *Role) GetPosition() int32

func (*Role) GetUnicodeEmoji

func (x *Role) GetUnicodeEmoji() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleFlags

type RoleFlags struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleFlags) Descriptor deprecated

func (*RoleFlags) Descriptor() ([]byte, []int)

Deprecated: Use RoleFlags.ProtoReflect.Descriptor instead.

func (*RoleFlags) GetValue

func (x *RoleFlags) GetValue() int32

func (*RoleFlags) ProtoMessage

func (*RoleFlags) ProtoMessage()

func (*RoleFlags) ProtoReflect

func (x *RoleFlags) ProtoReflect() protoreflect.Message

func (*RoleFlags) Reset

func (x *RoleFlags) Reset()

func (*RoleFlags) String

func (x *RoleFlags) String() string

type RoleParams

type RoleParams struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Color        int32  `protobuf:"varint,2,opt,name=color,proto3" json:"color,omitempty"`
	Hoist        bool   `protobuf:"varint,3,opt,name=hoist,proto3" json:"hoist,omitempty"`
	Permissions  int64  `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Mentionable  bool   `protobuf:"varint,5,opt,name=mentionable,proto3" json:"mentionable,omitempty"`
	UnicodeEmoji string `protobuf:"bytes,6,opt,name=unicode_emoji,json=unicodeEmoji,proto3" json:"unicode_emoji,omitempty"`
	Icon         string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleParams) Descriptor deprecated

func (*RoleParams) Descriptor() ([]byte, []int)

Deprecated: Use RoleParams.ProtoReflect.Descriptor instead.

func (*RoleParams) GetColor

func (x *RoleParams) GetColor() int32

func (*RoleParams) GetHoist

func (x *RoleParams) GetHoist() bool

func (*RoleParams) GetIcon

func (x *RoleParams) GetIcon() string

func (*RoleParams) GetMentionable

func (x *RoleParams) GetMentionable() bool

func (*RoleParams) GetName

func (x *RoleParams) GetName() string

func (*RoleParams) GetPermissions

func (x *RoleParams) GetPermissions() int64

func (*RoleParams) GetUnicodeEmoji

func (x *RoleParams) GetUnicodeEmoji() string

func (*RoleParams) ProtoMessage

func (*RoleParams) ProtoMessage()

func (*RoleParams) ProtoReflect

func (x *RoleParams) ProtoReflect() protoreflect.Message

func (*RoleParams) Reset

func (x *RoleParams) Reset()

func (*RoleParams) String

func (x *RoleParams) String() string

type SKU

type SKU 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"` // Assuming SKUType is int32
	ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	Name          string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Slug          string `protobuf:"bytes,5,opt,name=slug,proto3" json:"slug,omitempty"`
	Flags         int32  `protobuf:"varint,6,opt,name=flags,proto3" json:"flags,omitempty"` // Assuming SKUFlags is int32
	// contains filtered or unexported fields
}

func (*SKU) Descriptor deprecated

func (*SKU) Descriptor() ([]byte, []int)

Deprecated: Use SKU.ProtoReflect.Descriptor instead.

func (*SKU) GetApplicationId

func (x *SKU) GetApplicationId() string

func (*SKU) GetFlags

func (x *SKU) GetFlags() int32

func (*SKU) GetId

func (x *SKU) GetId() string

func (*SKU) GetName

func (x *SKU) GetName() string

func (*SKU) GetSlug

func (x *SKU) GetSlug() string

func (*SKU) GetType

func (x *SKU) GetType() int32

func (*SKU) ProtoMessage

func (*SKU) ProtoMessage()

func (*SKU) ProtoReflect

func (x *SKU) ProtoReflect() protoreflect.Message

func (*SKU) Reset

func (x *SKU) Reset()

func (*SKU) String

func (x *SKU) String() string

type SKUFlags

type SKUFlags struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SKUFlags) Descriptor deprecated

func (*SKUFlags) Descriptor() ([]byte, []int)

Deprecated: Use SKUFlags.ProtoReflect.Descriptor instead.

func (*SKUFlags) GetValue

func (x *SKUFlags) GetValue() int32

func (*SKUFlags) ProtoMessage

func (*SKUFlags) ProtoMessage()

func (*SKUFlags) ProtoReflect

func (x *SKUFlags) ProtoReflect() protoreflect.Message

func (*SKUFlags) Reset

func (x *SKUFlags) Reset()

func (*SKUFlags) String

func (x *SKUFlags) String() string

type SKUType

type SKUType struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SKUType) Descriptor deprecated

func (*SKUType) Descriptor() ([]byte, []int)

Deprecated: Use SKUType.ProtoReflect.Descriptor instead.

func (*SKUType) GetValue

func (x *SKUType) GetValue() int32

func (*SKUType) ProtoMessage

func (*SKUType) ProtoMessage()

func (*SKUType) ProtoReflect

func (x *SKUType) ProtoReflect() protoreflect.Message

func (*SKUType) Reset

func (x *SKUType) Reset()

func (*SKUType) String

func (x *SKUType) 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) Descriptor() ([]byte, []int)

Deprecated: Use Secrets.ProtoReflect.Descriptor instead.

func (*Secrets) GetJoin

func (x *Secrets) GetJoin() string

func (*Secrets) GetMatch

func (x *Secrets) GetMatch() string

func (*Secrets) GetSpectate

func (x *Secrets) GetSpectate() string

func (*Secrets) ProtoMessage

func (*Secrets) ProtoMessage()

func (*Secrets) ProtoReflect

func (x *Secrets) ProtoReflect() protoreflect.Message

func (*Secrets) Reset

func (x *Secrets) Reset()

func (*Secrets) String

func (x *Secrets) String() string

type Section

type Section struct {
	Id         int32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Components []*MessageComponent `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
	Accessory  *MessageComponent   `protobuf:"bytes,3,opt,name=accessory,proto3" json:"accessory,omitempty"`
	// contains filtered or unexported fields
}

Section is a top-level layout component for joining text with an accessory.

func (*Section) Descriptor deprecated

func (*Section) Descriptor() ([]byte, []int)

Deprecated: Use Section.ProtoReflect.Descriptor instead.

func (*Section) GetAccessory

func (x *Section) GetAccessory() *MessageComponent

func (*Section) GetComponents

func (x *Section) GetComponents() []*MessageComponent

func (*Section) GetId

func (x *Section) GetId() int32

func (*Section) ProtoMessage

func (*Section) ProtoMessage()

func (*Section) ProtoReflect

func (x *Section) ProtoReflect() protoreflect.Message

func (*Section) Reset

func (x *Section) Reset()

func (*Section) String

func (x *Section) String() string

type SelectMenu

type SelectMenu struct {
	MenuType      ComponentType             `protobuf:"varint,1,opt,name=menu_type,json=menuType,proto3,enum=discord_v1.ComponentType" 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"`
	DefaultValues []*SelectMenuDefaultValue `protobuf:"bytes,6,rep,name=default_values,json=defaultValues,proto3" json:"default_values,omitempty"`
	Options       []*SelectMenuOption       `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
	Disabled      bool                      `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
	ChannelTypes  []int32                   `protobuf:"varint,9,rep,packed,name=channel_types,json=channelTypes,proto3" json:"channel_types,omitempty"`
	Id            int32                     `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

SelectMenu represents a select menu component.

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) GetDefaultValues

func (x *SelectMenu) GetDefaultValues() []*SelectMenuDefaultValue

func (*SelectMenu) GetDisabled

func (x *SelectMenu) GetDisabled() bool

func (*SelectMenu) GetId

func (x *SelectMenu) GetId() int32

func (*SelectMenu) GetMaxValues

func (x *SelectMenu) GetMaxValues() int32

func (*SelectMenu) GetMenuType

func (x *SelectMenu) GetMenuType() ComponentType

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 SelectMenuDefaultValue

type SelectMenuDefaultValue struct {
	Id   string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type SelectMenuDefaultValueType `protobuf:"varint,2,opt,name=type,proto3,enum=discord_v1.SelectMenuDefaultValueType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

SelectMenuDefaultValue represents an entity selected by default.

func (*SelectMenuDefaultValue) Descriptor deprecated

func (*SelectMenuDefaultValue) Descriptor() ([]byte, []int)

Deprecated: Use SelectMenuDefaultValue.ProtoReflect.Descriptor instead.

func (*SelectMenuDefaultValue) GetId

func (x *SelectMenuDefaultValue) GetId() string

func (*SelectMenuDefaultValue) GetType

func (*SelectMenuDefaultValue) ProtoMessage

func (*SelectMenuDefaultValue) ProtoMessage()

func (*SelectMenuDefaultValue) ProtoReflect

func (x *SelectMenuDefaultValue) ProtoReflect() protoreflect.Message

func (*SelectMenuDefaultValue) Reset

func (x *SelectMenuDefaultValue) Reset()

func (*SelectMenuDefaultValue) String

func (x *SelectMenuDefaultValue) String() string

type SelectMenuDefaultValueType

type SelectMenuDefaultValueType int32

SelectMenuDefaultValueType represents the type of an entity selected by default.

const (
	SelectMenuDefaultValueType_SELECT_MENU_DEFAULT_VALUE_TYPE_UNSPECIFIED SelectMenuDefaultValueType = 0
	SelectMenuDefaultValueType_SELECT_MENU_DEFAULT_VALUE_TYPE_USER        SelectMenuDefaultValueType = 1
	SelectMenuDefaultValueType_SELECT_MENU_DEFAULT_VALUE_TYPE_ROLE        SelectMenuDefaultValueType = 2
	SelectMenuDefaultValueType_SELECT_MENU_DEFAULT_VALUE_TYPE_CHANNEL     SelectMenuDefaultValueType = 3
)

func (SelectMenuDefaultValueType) Descriptor

func (SelectMenuDefaultValueType) Enum

func (SelectMenuDefaultValueType) EnumDescriptor deprecated

func (SelectMenuDefaultValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SelectMenuDefaultValueType.Descriptor instead.

func (SelectMenuDefaultValueType) Number

func (SelectMenuDefaultValueType) String

func (SelectMenuDefaultValueType) Type

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"`
	IsDefault   bool            `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

SelectMenuOption represents an option for a select menu.

func (*SelectMenuOption) Descriptor deprecated

func (*SelectMenuOption) Descriptor() ([]byte, []int)

Deprecated: Use SelectMenuOption.ProtoReflect.Descriptor instead.

func (*SelectMenuOption) GetDescription

func (x *SelectMenuOption) GetDescription() string

func (*SelectMenuOption) GetEmoji

func (x *SelectMenuOption) GetEmoji() *ComponentEmoji

func (*SelectMenuOption) GetIsDefault

func (x *SelectMenuOption) GetIsDefault() bool

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 Separator

type Separator struct {
	Id      int32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Divider *bool                 `protobuf:"varint,2,opt,name=divider,proto3,oneof" json:"divider,omitempty"`
	Spacing *SeparatorSpacingSize `protobuf:"varint,3,opt,name=spacing,proto3,enum=discord_v1.SeparatorSpacingSize,oneof" json:"spacing,omitempty"`
	// contains filtered or unexported fields
}

Separator adds vertical padding and visual division.

func (*Separator) Descriptor deprecated

func (*Separator) Descriptor() ([]byte, []int)

Deprecated: Use Separator.ProtoReflect.Descriptor instead.

func (*Separator) GetDivider

func (x *Separator) GetDivider() bool

func (*Separator) GetId

func (x *Separator) GetId() int32

func (*Separator) GetSpacing

func (x *Separator) GetSpacing() SeparatorSpacingSize

func (*Separator) ProtoMessage

func (*Separator) ProtoMessage()

func (*Separator) ProtoReflect

func (x *Separator) ProtoReflect() protoreflect.Message

func (*Separator) Reset

func (x *Separator) Reset()

func (*Separator) String

func (x *Separator) String() string

type SeparatorSpacingSize

type SeparatorSpacingSize int32

SeparatorSpacingSize represents spacing size around the separator.

const (
	SeparatorSpacingSize_SEPARATOR_SPACING_SIZE_UNSPECIFIED SeparatorSpacingSize = 0
	SeparatorSpacingSize_SEPARATOR_SPACING_SIZE_SMALL       SeparatorSpacingSize = 1
	SeparatorSpacingSize_SEPARATOR_SPACING_SIZE_LARGE       SeparatorSpacingSize = 2
)

func (SeparatorSpacingSize) Descriptor

func (SeparatorSpacingSize) Enum

func (SeparatorSpacingSize) EnumDescriptor deprecated

func (SeparatorSpacingSize) EnumDescriptor() ([]byte, []int)

Deprecated: Use SeparatorSpacingSize.Descriptor instead.

func (SeparatorSpacingSize) Number

func (SeparatorSpacingSize) String

func (x SeparatorSpacingSize) String() string

func (SeparatorSpacingSize) Type

type Session

type Session struct {
	Token                              string    `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Mfa                                bool      `protobuf:"varint,2,opt,name=mfa,proto3" json:"mfa,omitempty"`
	Debug                              bool      `protobuf:"varint,3,opt,name=debug,proto3" json:"debug,omitempty"`
	LogLevel                           int32     `protobuf:"varint,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	ShouldReconnectOnError             bool      `` /* 132-byte string literal not displayed */
	ShouldReconnectVoiceOnSessionError bool      `` /* 172-byte string literal not displayed */
	ShouldRetryOnRateLimit             bool      `` /* 134-byte string literal not displayed */
	Identify                           *Identify `protobuf:"bytes,8,opt,name=identify,proto3" json:"identify,omitempty"`
	Compress                           bool      `protobuf:"varint,9,opt,name=compress,proto3" json:"compress,omitempty"`
	ShardId                            int32     `protobuf:"varint,10,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
	ShardCount                         int32     `protobuf:"varint,11,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
	StateEnabled                       bool      `protobuf:"varint,12,opt,name=state_enabled,json=stateEnabled,proto3" json:"state_enabled,omitempty"`
	SyncEvents                         bool      `protobuf:"varint,13,opt,name=sync_events,json=syncEvents,proto3" json:"sync_events,omitempty"`
	DataReady                          bool      `protobuf:"varint,14,opt,name=data_ready,json=dataReady,proto3" json:"data_ready,omitempty"`
	MaxRestRetries                     int32     `protobuf:"varint,15,opt,name=max_rest_retries,json=maxRestRetries,proto3" json:"max_rest_retries,omitempty"`
	Status                             int32     `protobuf:"varint,16,opt,name=status,proto3" json:"status,omitempty"`
	VoiceReady                         bool      `protobuf:"varint,17,opt,name=voice_ready,json=voiceReady,proto3" json:"voice_ready,omitempty"`
	UdpReady                           bool      `protobuf:"varint,18,opt,name=udp_ready,json=udpReady,proto3" json:"udp_ready,omitempty"`
	// map<string, VoiceConnection> voice_connections = 19; // TODO(Session/VoiceConnection): supports VoiceConnection
	State *State `protobuf:"bytes,19,opt,name=state,proto3" json:"state,omitempty"`
	// http.Client and websocket.Dialer are complex types and not directly translatable to protobuf
	UserAgent         string                 `protobuf:"bytes,20,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	LastHeartbeatAck  *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=last_heartbeat_ack,json=lastHeartbeatAck,proto3" json:"last_heartbeat_ack,omitempty"`
	LastHeartbeatSent *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=last_heartbeat_sent,json=lastHeartbeatSent,proto3" json:"last_heartbeat_sent,omitempty"` // Ratelimiter, handlers, onceHandlers, wsConn, listening, sequence, gateway, sessionID, wsMutex are complex types and not directly translatable to protobuf
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetCompress

func (x *Session) GetCompress() bool

func (*Session) GetDataReady

func (x *Session) GetDataReady() bool

func (*Session) GetDebug

func (x *Session) GetDebug() bool

func (*Session) GetIdentify

func (x *Session) GetIdentify() *Identify

func (*Session) GetLastHeartbeatAck

func (x *Session) GetLastHeartbeatAck() *timestamppb.Timestamp

func (*Session) GetLastHeartbeatSent

func (x *Session) GetLastHeartbeatSent() *timestamppb.Timestamp

func (*Session) GetLogLevel

func (x *Session) GetLogLevel() int32

func (*Session) GetMaxRestRetries

func (x *Session) GetMaxRestRetries() int32

func (*Session) GetMfa

func (x *Session) GetMfa() bool

func (*Session) GetShardCount

func (x *Session) GetShardCount() int32

func (*Session) GetShardId

func (x *Session) GetShardId() int32

func (*Session) GetShouldReconnectOnError

func (x *Session) GetShouldReconnectOnError() bool

func (*Session) GetShouldReconnectVoiceOnSessionError

func (x *Session) GetShouldReconnectVoiceOnSessionError() bool

func (*Session) GetShouldRetryOnRateLimit

func (x *Session) GetShouldRetryOnRateLimit() bool

func (*Session) GetState

func (x *Session) GetState() *State

func (*Session) GetStateEnabled

func (x *Session) GetStateEnabled() bool

func (*Session) GetStatus

func (x *Session) GetStatus() int32

func (*Session) GetSyncEvents

func (x *Session) GetSyncEvents() bool

func (*Session) GetToken

func (x *Session) GetToken() string

func (*Session) GetUdpReady

func (x *Session) GetUdpReady() bool

func (*Session) GetUserAgent

func (x *Session) GetUserAgent() string

func (*Session) GetVoiceReady

func (x *Session) GetVoiceReady() bool

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type SessionInformation

type SessionInformation struct {
	Total          int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Remaining      int32 `protobuf:"varint,2,opt,name=remaining,proto3" json:"remaining,omitempty"`
	ResetAfter     int32 `protobuf:"varint,3,opt,name=reset_after,json=resetAfter,proto3" json:"reset_after,omitempty"`
	MaxConcurrency int32 `protobuf:"varint,4,opt,name=max_concurrency,json=maxConcurrency,proto3" json:"max_concurrency,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionInformation) Descriptor deprecated

func (*SessionInformation) Descriptor() ([]byte, []int)

Deprecated: Use SessionInformation.ProtoReflect.Descriptor instead.

func (*SessionInformation) GetMaxConcurrency

func (x *SessionInformation) GetMaxConcurrency() int32

func (*SessionInformation) GetRemaining

func (x *SessionInformation) GetRemaining() int32

func (*SessionInformation) GetResetAfter

func (x *SessionInformation) GetResetAfter() int32

func (*SessionInformation) GetTotal

func (x *SessionInformation) GetTotal() int32

func (*SessionInformation) ProtoMessage

func (*SessionInformation) ProtoMessage()

func (*SessionInformation) ProtoReflect

func (x *SessionInformation) ProtoReflect() protoreflect.Message

func (*SessionInformation) Reset

func (x *SessionInformation) Reset()

func (*SessionInformation) String

func (x *SessionInformation) String() string

type StageInstance

type StageInstance 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"`
	ChannelId             string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Topic                 string `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"`
	PrivacyLevel          int32  `protobuf:"varint,5,opt,name=privacy_level,json=privacyLevel,proto3" json:"privacy_level,omitempty"`
	DiscoverableDisabled  bool   `protobuf:"varint,6,opt,name=discoverable_disabled,json=discoverableDisabled,proto3" json:"discoverable_disabled,omitempty"`
	GuildScheduledEventId string `` /* 128-byte string literal not displayed */
	// 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() string

func (*StageInstance) GetDiscoverableDisabled

func (x *StageInstance) GetDiscoverableDisabled() bool

func (*StageInstance) GetGuildId

func (x *StageInstance) GetGuildId() string

func (*StageInstance) GetGuildScheduledEventId

func (x *StageInstance) GetGuildScheduledEventId() string

func (*StageInstance) GetId

func (x *StageInstance) GetId() string

func (*StageInstance) GetPrivacyLevel

func (x *StageInstance) GetPrivacyLevel() int32

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 StageInstanceParams

type StageInstanceParams struct {
	ChannelId             string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Topic                 string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	PrivacyLevel          int32  `protobuf:"varint,3,opt,name=privacy_level,json=privacyLevel,proto3" json:"privacy_level,omitempty"`
	SendStartNotification bool   `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StageInstanceParams) Descriptor deprecated

func (*StageInstanceParams) Descriptor() ([]byte, []int)

Deprecated: Use StageInstanceParams.ProtoReflect.Descriptor instead.

func (*StageInstanceParams) GetChannelId

func (x *StageInstanceParams) GetChannelId() string

func (*StageInstanceParams) GetPrivacyLevel

func (x *StageInstanceParams) GetPrivacyLevel() int32

func (*StageInstanceParams) GetSendStartNotification

func (x *StageInstanceParams) GetSendStartNotification() bool

func (*StageInstanceParams) GetTopic

func (x *StageInstanceParams) GetTopic() string

func (*StageInstanceParams) ProtoMessage

func (*StageInstanceParams) ProtoMessage()

func (*StageInstanceParams) ProtoReflect

func (x *StageInstanceParams) ProtoReflect() protoreflect.Message

func (*StageInstanceParams) Reset

func (x *StageInstanceParams) Reset()

func (*StageInstanceParams) String

func (x *StageInstanceParams) String() string

type State

type State struct {

	// Assuming Ready is a simple boolean flag indicating readiness.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// MaxMessageCount represents how many messages per channel the state will store.
	MaxMessageCount    int32 `protobuf:"varint,2,opt,name=max_message_count,json=maxMessageCount,proto3" json:"max_message_count,omitempty"`
	TrackChannels      bool  `protobuf:"varint,3,opt,name=track_channels,json=trackChannels,proto3" json:"track_channels,omitempty"`
	TrackThreads       bool  `protobuf:"varint,4,opt,name=track_threads,json=trackThreads,proto3" json:"track_threads,omitempty"`
	TrackEmojis        bool  `protobuf:"varint,5,opt,name=track_emojis,json=trackEmojis,proto3" json:"track_emojis,omitempty"`
	TrackMembers       bool  `protobuf:"varint,6,opt,name=track_members,json=trackMembers,proto3" json:"track_members,omitempty"`
	TrackThreadMembers bool  `protobuf:"varint,7,opt,name=track_thread_members,json=trackThreadMembers,proto3" json:"track_thread_members,omitempty"`
	TrackRoles         bool  `protobuf:"varint,8,opt,name=track_roles,json=trackRoles,proto3" json:"track_roles,omitempty"`
	TrackVoice         bool  `protobuf:"varint,9,opt,name=track_voice,json=trackVoice,proto3" json:"track_voice,omitempty"`
	TrackPresences     bool  `protobuf:"varint,10,opt,name=track_presences,json=trackPresences,proto3" json:"track_presences,omitempty"`
	// Map from Guild ID (string) to GuildMessage
	GuildMap map[string]*Guild `` /* 160-byte string literal not displayed */
	// Map from Channel ID (string) to ChannelMessage
	ChannelMap map[string]*Channel `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetChannelMap

func (x *State) GetChannelMap() map[string]*Channel

func (*State) GetGuildMap

func (x *State) GetGuildMap() map[string]*Guild

func (*State) GetMaxMessageCount

func (x *State) GetMaxMessageCount() int32

func (*State) GetReady

func (x *State) GetReady() bool

func (*State) GetTrackChannels

func (x *State) GetTrackChannels() bool

func (*State) GetTrackEmojis

func (x *State) GetTrackEmojis() bool

func (*State) GetTrackMembers

func (x *State) GetTrackMembers() bool

func (*State) GetTrackPresences

func (x *State) GetTrackPresences() bool

func (*State) GetTrackRoles

func (x *State) GetTrackRoles() bool

func (*State) GetTrackThreadMembers

func (x *State) GetTrackThreadMembers() bool

func (*State) GetTrackThreads

func (x *State) GetTrackThreads() bool

func (*State) GetTrackVoice

func (x *State) GetTrackVoice() bool

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) 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) Descriptor() ([]byte, []int)

Deprecated: Use Sticker.ProtoReflect.Descriptor instead.

func (*Sticker) GetAvailable

func (x *Sticker) GetAvailable() bool

func (*Sticker) GetDescription

func (x *Sticker) GetDescription() string

func (*Sticker) GetFormatType

func (x *Sticker) GetFormatType() int32

func (*Sticker) GetGuildId

func (x *Sticker) GetGuildId() string

func (*Sticker) GetId

func (x *Sticker) GetId() string

func (*Sticker) GetName

func (x *Sticker) GetName() string

func (*Sticker) GetPackId

func (x *Sticker) GetPackId() string

func (*Sticker) GetSortValue

func (x *Sticker) GetSortValue() int32

func (*Sticker) GetTags

func (x *Sticker) GetTags() string

func (*Sticker) GetType

func (x *Sticker) GetType() int32

func (*Sticker) GetUser

func (x *Sticker) GetUser() *User

func (*Sticker) ProtoMessage

func (*Sticker) ProtoMessage()

func (*Sticker) ProtoReflect

func (x *Sticker) ProtoReflect() protoreflect.Message

func (*Sticker) Reset

func (x *Sticker) Reset()

func (*Sticker) String

func (x *Sticker) String() string

type StickerItem

type StickerItem 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"`
	FormatType int32  `protobuf:"varint,3,opt,name=format_type,json=formatType,proto3" json:"format_type,omitempty"`
	// contains filtered or unexported fields
}

func (*StickerItem) Descriptor deprecated

func (*StickerItem) Descriptor() ([]byte, []int)

Deprecated: Use StickerItem.ProtoReflect.Descriptor instead.

func (*StickerItem) GetFormatType

func (x *StickerItem) GetFormatType() int32

func (*StickerItem) GetId

func (x *StickerItem) GetId() string

func (*StickerItem) GetName

func (x *StickerItem) GetName() string

func (*StickerItem) ProtoMessage

func (*StickerItem) ProtoMessage()

func (*StickerItem) ProtoReflect

func (x *StickerItem) ProtoReflect() protoreflect.Message

func (*StickerItem) Reset

func (x *StickerItem) Reset()

func (*StickerItem) String

func (x *StickerItem) String() string

type StickerPack

type StickerPack struct {
	Id             string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Stickers       []*Sticker `protobuf:"bytes,2,rep,name=stickers,proto3" json:"stickers,omitempty"`
	Name           string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	SkuId          string     `protobuf:"bytes,4,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	CoverStickerId string     `protobuf:"bytes,5,opt,name=cover_sticker_id,json=coverStickerId,proto3" json:"cover_sticker_id,omitempty"`
	Description    string     `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	BannerAssetId  string     `protobuf:"bytes,7,opt,name=banner_asset_id,json=bannerAssetId,proto3" json:"banner_asset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StickerPack) Descriptor deprecated

func (*StickerPack) Descriptor() ([]byte, []int)

Deprecated: Use StickerPack.ProtoReflect.Descriptor instead.

func (*StickerPack) GetBannerAssetId

func (x *StickerPack) GetBannerAssetId() string

func (*StickerPack) GetCoverStickerId

func (x *StickerPack) GetCoverStickerId() string

func (*StickerPack) GetDescription

func (x *StickerPack) GetDescription() string

func (*StickerPack) GetId

func (x *StickerPack) GetId() string

func (*StickerPack) GetName

func (x *StickerPack) GetName() string

func (*StickerPack) GetSkuId

func (x *StickerPack) GetSkuId() string

func (*StickerPack) GetStickers

func (x *StickerPack) GetStickers() []*Sticker

func (*StickerPack) ProtoMessage

func (*StickerPack) ProtoMessage()

func (*StickerPack) ProtoReflect

func (x *StickerPack) ProtoReflect() protoreflect.Message

func (*StickerPack) Reset

func (x *StickerPack) Reset()

func (*StickerPack) String

func (x *StickerPack) String() string

type Subscription

type Subscription 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"`
	SkuIds             []string               `protobuf:"bytes,3,rep,name=sku_ids,json=skuIds,proto3" json:"sku_ids,omitempty"`
	EntitlementIds     []string               `protobuf:"bytes,4,rep,name=entitlement_ids,json=entitlementIds,proto3" json:"entitlement_ids,omitempty"`
	RenewalSkuIds      []string               `protobuf:"bytes,5,rep,name=renewal_sku_ids,json=renewalSkuIds,proto3" json:"renewal_sku_ids,omitempty"`
	CurrentPeriodStart *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=current_period_start,json=currentPeriodStart,proto3" json:"current_period_start,omitempty"`
	CurrentPeriodEnd   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=current_period_end,json=currentPeriodEnd,proto3" json:"current_period_end,omitempty"`
	Status             int32                  `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // Assuming SubscriptionStatus is int32
	CanceledAt         *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=canceled_at,json=canceledAt,proto3" json:"canceled_at,omitempty"`
	Country            string                 `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*Subscription) Descriptor deprecated

func (*Subscription) Descriptor() ([]byte, []int)

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetCanceledAt

func (x *Subscription) GetCanceledAt() *timestamppb.Timestamp

func (*Subscription) GetCountry

func (x *Subscription) GetCountry() string

func (*Subscription) GetCurrentPeriodEnd

func (x *Subscription) GetCurrentPeriodEnd() *timestamppb.Timestamp

func (*Subscription) GetCurrentPeriodStart

func (x *Subscription) GetCurrentPeriodStart() *timestamppb.Timestamp

func (*Subscription) GetEntitlementIds

func (x *Subscription) GetEntitlementIds() []string

func (*Subscription) GetId

func (x *Subscription) GetId() string

func (*Subscription) GetRenewalSkuIds

func (x *Subscription) GetRenewalSkuIds() []string

func (*Subscription) GetSkuIds

func (x *Subscription) GetSkuIds() []string

func (*Subscription) GetStatus

func (x *Subscription) GetStatus() int32

func (*Subscription) GetUserId

func (x *Subscription) GetUserId() string

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

func (x *Subscription) ProtoReflect() protoreflect.Message

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type SubscriptionStatus

type SubscriptionStatus struct {

	// Represents the integer value of the enum
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionStatus) Descriptor deprecated

func (*SubscriptionStatus) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionStatus.ProtoReflect.Descriptor instead.

func (*SubscriptionStatus) GetValue

func (x *SubscriptionStatus) GetValue() int32

func (*SubscriptionStatus) ProtoMessage

func (*SubscriptionStatus) ProtoMessage()

func (*SubscriptionStatus) ProtoReflect

func (x *SubscriptionStatus) ProtoReflect() protoreflect.Message

func (*SubscriptionStatus) Reset

func (x *SubscriptionStatus) Reset()

func (*SubscriptionStatus) String

func (x *SubscriptionStatus) String() string

type Team

type Team struct {
	Id          string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                        // Corresponds to string ID
	Name        string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                    // Corresponds to string Name
	Description string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                      // Corresponds to string Description
	Icon        string        `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`                                    // Corresponds to string Icon
	OwnerUserId string        `protobuf:"bytes,5,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"` // Corresponds to string OwnerID
	Members     []*TeamMember `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`                              // Corresponds to []*TeamMember Members
	// contains filtered or unexported fields
}

Corresponds to the Go struct Team

func (*Team) Descriptor deprecated

func (*Team) Descriptor() ([]byte, []int)

Deprecated: Use Team.ProtoReflect.Descriptor instead.

func (*Team) GetDescription

func (x *Team) GetDescription() string

func (*Team) GetIcon

func (x *Team) GetIcon() string

func (*Team) GetId

func (x *Team) GetId() string

func (*Team) GetMembers

func (x *Team) GetMembers() []*TeamMember

func (*Team) GetName

func (x *Team) GetName() string

func (*Team) GetOwnerUserId

func (x *Team) GetOwnerUserId() string

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) ProtoReflect

func (x *Team) ProtoReflect() protoreflect.Message

func (*Team) Reset

func (x *Team) Reset()

func (*Team) String

func (x *Team) String() string

type TeamMember

type TeamMember struct {
	User            *User           `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`                   // Corresponds to User *user
	TeamId          string          `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` // Corresponds to string TeamID
	MembershipState MembershipState ``                                                                                // Corresponds to MembershipState MembershipState
	/* 139-byte string literal not displayed */
	Permissions []string `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"` // Corresponds to []string Permissions
	// contains filtered or unexported fields
}

Corresponds to the Go struct TeamMember

func (*TeamMember) Descriptor deprecated

func (*TeamMember) Descriptor() ([]byte, []int)

Deprecated: Use TeamMember.ProtoReflect.Descriptor instead.

func (*TeamMember) GetMembershipState

func (x *TeamMember) GetMembershipState() MembershipState

func (*TeamMember) GetPermissions

func (x *TeamMember) GetPermissions() []string

func (*TeamMember) GetTeamId

func (x *TeamMember) GetTeamId() string

func (*TeamMember) GetUser

func (x *TeamMember) GetUser() *User

func (*TeamMember) ProtoMessage

func (*TeamMember) ProtoMessage()

func (*TeamMember) ProtoReflect

func (x *TeamMember) ProtoReflect() protoreflect.Message

func (*TeamMember) Reset

func (x *TeamMember) Reset()

func (*TeamMember) String

func (x *TeamMember) String() string

type TextDisplay

type TextDisplay struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

TextDisplay allows adding markdown-formatted text.

func (*TextDisplay) Descriptor deprecated

func (*TextDisplay) Descriptor() ([]byte, []int)

Deprecated: Use TextDisplay.ProtoReflect.Descriptor instead.

func (*TextDisplay) GetContent

func (x *TextDisplay) GetContent() string

func (*TextDisplay) ProtoMessage

func (*TextDisplay) ProtoMessage()

func (*TextDisplay) ProtoReflect

func (x *TextDisplay) ProtoReflect() protoreflect.Message

func (*TextDisplay) Reset

func (x *TextDisplay) Reset()

func (*TextDisplay) String

func (x *TextDisplay) String() string

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       TextInputStyle `protobuf:"varint,3,opt,name=style,proto3,enum=discord_v1.TextInputStyle" 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"`
	Id          int32          `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

TextInput represents a text input component.

func (*TextInput) Descriptor deprecated

func (*TextInput) Descriptor() ([]byte, []int)

Deprecated: Use TextInput.ProtoReflect.Descriptor instead.

func (*TextInput) GetCustomId

func (x *TextInput) GetCustomId() string

func (*TextInput) GetId

func (x *TextInput) GetId() int32

func (*TextInput) GetLabel

func (x *TextInput) GetLabel() string

func (*TextInput) GetMaxLength

func (x *TextInput) GetMaxLength() int32

func (*TextInput) GetMinLength

func (x *TextInput) GetMinLength() int32

func (*TextInput) GetPlaceholder

func (x *TextInput) GetPlaceholder() string

func (*TextInput) GetRequired

func (x *TextInput) GetRequired() bool

func (*TextInput) GetStyle

func (x *TextInput) GetStyle() TextInputStyle

func (*TextInput) GetValue

func (x *TextInput) GetValue() string

func (*TextInput) ProtoMessage

func (*TextInput) ProtoMessage()

func (*TextInput) ProtoReflect

func (x *TextInput) ProtoReflect() protoreflect.Message

func (*TextInput) Reset

func (x *TextInput) Reset()

func (*TextInput) String

func (x *TextInput) String() string

type TextInputStyle

type TextInputStyle int32

TextInputStyle represents the style of a text input component.

const (
	TextInputStyle_TEXT_INPUT_STYLE_UNSPECIFIED TextInputStyle = 0
	TextInputStyle_TEXT_INPUT_STYLE_SHORT       TextInputStyle = 1
	TextInputStyle_TEXT_INPUT_STYLE_PARAGRAPH   TextInputStyle = 2
)

func (TextInputStyle) Descriptor

func (TextInputStyle) Enum

func (x TextInputStyle) Enum() *TextInputStyle

func (TextInputStyle) EnumDescriptor deprecated

func (TextInputStyle) EnumDescriptor() ([]byte, []int)

Deprecated: Use TextInputStyle.Descriptor instead.

func (TextInputStyle) Number

func (TextInputStyle) String

func (x TextInputStyle) String() string

func (TextInputStyle) Type

type ThreadJoinRequest

type ThreadJoinRequest struct {
	ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadJoinRequest) Descriptor deprecated

func (*ThreadJoinRequest) Descriptor() ([]byte, []int)

Deprecated: Use ThreadJoinRequest.ProtoReflect.Descriptor instead.

func (*ThreadJoinRequest) GetThreadId

func (x *ThreadJoinRequest) GetThreadId() string

func (*ThreadJoinRequest) ProtoMessage

func (*ThreadJoinRequest) ProtoMessage()

func (*ThreadJoinRequest) ProtoReflect

func (x *ThreadJoinRequest) ProtoReflect() protoreflect.Message

func (*ThreadJoinRequest) Reset

func (x *ThreadJoinRequest) Reset()

func (*ThreadJoinRequest) String

func (x *ThreadJoinRequest) String() string

type ThreadLeaveRequest

type ThreadLeaveRequest struct {
	ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadLeaveRequest) Descriptor deprecated

func (*ThreadLeaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use ThreadLeaveRequest.ProtoReflect.Descriptor instead.

func (*ThreadLeaveRequest) GetThreadId

func (x *ThreadLeaveRequest) GetThreadId() string

func (*ThreadLeaveRequest) ProtoMessage

func (*ThreadLeaveRequest) ProtoMessage()

func (*ThreadLeaveRequest) ProtoReflect

func (x *ThreadLeaveRequest) ProtoReflect() protoreflect.Message

func (*ThreadLeaveRequest) Reset

func (x *ThreadLeaveRequest) Reset()

func (*ThreadLeaveRequest) String

func (x *ThreadLeaveRequest) String() string

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"`  // different from MessageFlags
	Member        *Member                `protobuf:"bytes,5,opt,name=member,proto3" json:"member,omitempty"` // Assuming Member is another message type
	// 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) GetMember

func (x *ThreadMember) GetMember() *Member

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 ThreadMemberAddRequest

type ThreadMemberAddRequest struct {
	ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadMemberAddRequest) Descriptor deprecated

func (*ThreadMemberAddRequest) Descriptor() ([]byte, []int)

Deprecated: Use ThreadMemberAddRequest.ProtoReflect.Descriptor instead.

func (*ThreadMemberAddRequest) GetMemberId

func (x *ThreadMemberAddRequest) GetMemberId() string

func (*ThreadMemberAddRequest) GetThreadId

func (x *ThreadMemberAddRequest) GetThreadId() string

func (*ThreadMemberAddRequest) ProtoMessage

func (*ThreadMemberAddRequest) ProtoMessage()

func (*ThreadMemberAddRequest) ProtoReflect

func (x *ThreadMemberAddRequest) ProtoReflect() protoreflect.Message

func (*ThreadMemberAddRequest) Reset

func (x *ThreadMemberAddRequest) Reset()

func (*ThreadMemberAddRequest) String

func (x *ThreadMemberAddRequest) String() string

type ThreadMemberRemoveRequest

type ThreadMemberRemoveRequest struct {
	ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadMemberRemoveRequest) Descriptor deprecated

func (*ThreadMemberRemoveRequest) Descriptor() ([]byte, []int)

Deprecated: Use ThreadMemberRemoveRequest.ProtoReflect.Descriptor instead.

func (*ThreadMemberRemoveRequest) GetMemberId

func (x *ThreadMemberRemoveRequest) GetMemberId() string

func (*ThreadMemberRemoveRequest) GetThreadId

func (x *ThreadMemberRemoveRequest) GetThreadId() string

func (*ThreadMemberRemoveRequest) ProtoMessage

func (*ThreadMemberRemoveRequest) ProtoMessage()

func (*ThreadMemberRemoveRequest) ProtoReflect

func (*ThreadMemberRemoveRequest) Reset

func (x *ThreadMemberRemoveRequest) Reset()

func (*ThreadMemberRemoveRequest) String

func (x *ThreadMemberRemoveRequest) 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 ThreadStart

type ThreadStart struct {
	Name                string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AutoArchiveDuration int32    `protobuf:"varint,2,opt,name=auto_archive_duration,json=autoArchiveDuration,proto3" json:"auto_archive_duration,omitempty"`
	Type                int32    `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	Invitable           bool     `protobuf:"varint,4,opt,name=invitable,proto3" json:"invitable,omitempty"`
	RateLimitPerUser    int32    `protobuf:"varint,5,opt,name=rate_limit_per_user,json=rateLimitPerUser,proto3" json:"rate_limit_per_user,omitempty"`
	AppliedTags         []string `protobuf:"bytes,6,rep,name=applied_tags,json=appliedTags,proto3" json:"applied_tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadStart) Descriptor deprecated

func (*ThreadStart) Descriptor() ([]byte, []int)

Deprecated: Use ThreadStart.ProtoReflect.Descriptor instead.

func (*ThreadStart) GetAppliedTags

func (x *ThreadStart) GetAppliedTags() []string

func (*ThreadStart) GetAutoArchiveDuration

func (x *ThreadStart) GetAutoArchiveDuration() int32

func (*ThreadStart) GetInvitable

func (x *ThreadStart) GetInvitable() bool

func (*ThreadStart) GetName

func (x *ThreadStart) GetName() string

func (*ThreadStart) GetRateLimitPerUser

func (x *ThreadStart) GetRateLimitPerUser() int32

func (*ThreadStart) GetType

func (x *ThreadStart) GetType() int32

func (*ThreadStart) ProtoMessage

func (*ThreadStart) ProtoMessage()

func (*ThreadStart) ProtoReflect

func (x *ThreadStart) ProtoReflect() protoreflect.Message

func (*ThreadStart) Reset

func (x *ThreadStart) Reset()

func (*ThreadStart) String

func (x *ThreadStart) String() string

type ThreadStartRequest

type ThreadStartRequest struct {
	ChannelId       string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type            int32  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	ArchiveDuration int32  `protobuf:"varint,4,opt,name=archive_duration,json=archiveDuration,proto3" json:"archive_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadStartRequest) Descriptor deprecated

func (*ThreadStartRequest) Descriptor() ([]byte, []int)

Deprecated: Use ThreadStartRequest.ProtoReflect.Descriptor instead.

func (*ThreadStartRequest) GetArchiveDuration

func (x *ThreadStartRequest) GetArchiveDuration() int32

func (*ThreadStartRequest) GetChannelId

func (x *ThreadStartRequest) GetChannelId() string

func (*ThreadStartRequest) GetName

func (x *ThreadStartRequest) GetName() string

func (*ThreadStartRequest) GetType

func (x *ThreadStartRequest) GetType() int32

func (*ThreadStartRequest) ProtoMessage

func (*ThreadStartRequest) ProtoMessage()

func (*ThreadStartRequest) ProtoReflect

func (x *ThreadStartRequest) ProtoReflect() protoreflect.Message

func (*ThreadStartRequest) Reset

func (x *ThreadStartRequest) Reset()

func (*ThreadStartRequest) String

func (x *ThreadStartRequest) String() string

type ThreadStartResponse

type ThreadStartResponse struct {
	Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadStartResponse) Descriptor deprecated

func (*ThreadStartResponse) Descriptor() ([]byte, []int)

Deprecated: Use ThreadStartResponse.ProtoReflect.Descriptor instead.

func (*ThreadStartResponse) GetChannel

func (x *ThreadStartResponse) GetChannel() *Channel

func (*ThreadStartResponse) ProtoMessage

func (*ThreadStartResponse) ProtoMessage()

func (*ThreadStartResponse) ProtoReflect

func (x *ThreadStartResponse) ProtoReflect() protoreflect.Message

func (*ThreadStartResponse) Reset

func (x *ThreadStartResponse) Reset()

func (*ThreadStartResponse) String

func (x *ThreadStartResponse) String() string

type ThreadsList

type ThreadsList struct {
	Threads []*Channel      `protobuf:"bytes,1,rep,name=threads,proto3" json:"threads,omitempty"`
	Members []*ThreadMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	HasMore bool            `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadsList) Descriptor deprecated

func (*ThreadsList) Descriptor() ([]byte, []int)

Deprecated: Use ThreadsList.ProtoReflect.Descriptor instead.

func (*ThreadsList) GetHasMore

func (x *ThreadsList) GetHasMore() bool

func (*ThreadsList) GetMembers

func (x *ThreadsList) GetMembers() []*ThreadMember

func (*ThreadsList) GetThreads

func (x *ThreadsList) GetThreads() []*Channel

func (*ThreadsList) ProtoMessage

func (*ThreadsList) ProtoMessage()

func (*ThreadsList) ProtoReflect

func (x *ThreadsList) ProtoReflect() protoreflect.Message

func (*ThreadsList) Reset

func (x *ThreadsList) Reset()

func (*ThreadsList) String

func (x *ThreadsList) String() string

type Thumbnail

type Thumbnail struct {
	Id          int32              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Media       *UnfurledMediaItem `protobuf:"bytes,2,opt,name=media,proto3" json:"media,omitempty"`
	Description *string            `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Spoiler     bool               `protobuf:"varint,4,opt,name=spoiler,proto3" json:"spoiler,omitempty"`
	// contains filtered or unexported fields
}

Thumbnail can be used as an accessory for Section.

func (*Thumbnail) Descriptor deprecated

func (*Thumbnail) Descriptor() ([]byte, []int)

Deprecated: Use Thumbnail.ProtoReflect.Descriptor instead.

func (*Thumbnail) GetDescription

func (x *Thumbnail) GetDescription() string

func (*Thumbnail) GetId

func (x *Thumbnail) GetId() int32

func (*Thumbnail) GetMedia

func (x *Thumbnail) GetMedia() *UnfurledMediaItem

func (*Thumbnail) GetSpoiler

func (x *Thumbnail) GetSpoiler() bool

func (*Thumbnail) ProtoMessage

func (*Thumbnail) ProtoMessage()

func (*Thumbnail) ProtoReflect

func (x *Thumbnail) ProtoReflect() protoreflect.Message

func (*Thumbnail) Reset

func (x *Thumbnail) Reset()

func (*Thumbnail) String

func (x *Thumbnail) String() string

type TimeStamps

type TimeStamps struct {
	EndTimestamp   int64 `protobuf:"varint,1,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	StartTimestamp int64 `protobuf:"varint,2,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeStamps) Descriptor deprecated

func (*TimeStamps) Descriptor() ([]byte, []int)

Deprecated: Use TimeStamps.ProtoReflect.Descriptor instead.

func (*TimeStamps) GetEndTimestamp

func (x *TimeStamps) GetEndTimestamp() int64

func (*TimeStamps) GetStartTimestamp

func (x *TimeStamps) GetStartTimestamp() int64

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 {
	Bucket     string               `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Message    string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	RetryAfter *durationpb.Duration `protobuf:"bytes,3,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"` // Using Protobuf's well-known type for duration
	// contains filtered or unexported fields
}

func (*TooManyRequests) Descriptor deprecated

func (*TooManyRequests) Descriptor() ([]byte, []int)

Deprecated: Use TooManyRequests.ProtoReflect.Descriptor instead.

func (*TooManyRequests) GetBucket

func (x *TooManyRequests) GetBucket() string

func (*TooManyRequests) GetMessage

func (x *TooManyRequests) GetMessage() string

func (*TooManyRequests) GetRetryAfter

func (x *TooManyRequests) GetRetryAfter() *durationpb.Duration

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 UnfurledMediaItem

type UnfurledMediaItem struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

UnfurledMediaItem represents an unfurled media item.

func (*UnfurledMediaItem) Descriptor deprecated

func (*UnfurledMediaItem) Descriptor() ([]byte, []int)

Deprecated: Use UnfurledMediaItem.ProtoReflect.Descriptor instead.

func (*UnfurledMediaItem) GetUrl

func (x *UnfurledMediaItem) GetUrl() string

func (*UnfurledMediaItem) ProtoMessage

func (*UnfurledMediaItem) ProtoMessage()

func (*UnfurledMediaItem) ProtoReflect

func (x *UnfurledMediaItem) ProtoReflect() protoreflect.Message

func (*UnfurledMediaItem) Reset

func (x *UnfurledMediaItem) Reset()

func (*UnfurledMediaItem) String

func (x *UnfurledMediaItem) String() string

type UnimplementedHelperServer

type UnimplementedHelperServer struct {
}

UnimplementedHelperServer should be embedded to have forward compatible implementations.

func (UnimplementedHelperServer) ApplicationCommandDelete

func (UnimplementedHelperServer) Channel

func (UnimplementedHelperServer) ChannelDelete

func (UnimplementedHelperServer) ChannelEdit

func (UnimplementedHelperServer) ChannelMessage

func (UnimplementedHelperServer) ChannelMessageDelete

func (UnimplementedHelperServer) ChannelMessages

func (UnimplementedHelperServer) ChannelTyping

func (UnimplementedHelperServer) Gateway

func (UnimplementedHelperServer) GatewayBot

func (UnimplementedHelperServer) Guild

func (UnimplementedHelperServer) GuildChannels

func (UnimplementedHelperServer) GuildMember

func (UnimplementedHelperServer) GuildMembers

func (UnimplementedHelperServer) GuildRoles

func (UnimplementedHelperServer) InteractionRespond

func (UnimplementedHelperServer) MessageReactionAdd

func (UnimplementedHelperServer) MessageReactionRemove

func (UnimplementedHelperServer) MessageReactionsRemoveAll

func (UnimplementedHelperServer) ThreadJoin

func (UnimplementedHelperServer) ThreadLeave

func (UnimplementedHelperServer) ThreadMemberAdd

func (UnimplementedHelperServer) ThreadMemberRemove

func (UnimplementedHelperServer) ThreadStart

func (UnimplementedHelperServer) User

func (UnimplementedHelperServer) VoiceRegions

func (UnimplementedHelperServer) WebhookCreate

func (UnimplementedHelperServer) WebhookExecute

type UnimplementedHookServer

type UnimplementedHookServer struct {
}

UnimplementedHookServer should be embedded to have forward compatible implementations.

func (UnimplementedHookServer) OnCreateInteraction

func (UnimplementedHookServer) OnCreateInteraction(context.Context, *Interaction) (*proto.Empty, error)

func (UnimplementedHookServer) OnCreateMessage

func (UnimplementedHookServer) OnEvent

func (UnimplementedHookServer) OnInit

type UnimplementedVoiceStreamServer

type UnimplementedVoiceStreamServer struct {
}

UnimplementedVoiceStreamServer should be embedded to have forward compatible implementations.

func (UnimplementedVoiceStreamServer) GetQueueStatus

func (UnimplementedVoiceStreamServer) VoiceJoin

func (UnimplementedVoiceStreamServer) VoiceLeave

func (UnimplementedVoiceStreamServer) VoiceSpeaking

func (UnimplementedVoiceStreamServer) VoiceStream

type UnsafeHelperServer

type UnsafeHelperServer interface {
	// contains filtered or unexported methods
}

UnsafeHelperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HelperServer will result in compilation errors.

type UnsafeHookServer

type UnsafeHookServer interface {
	// contains filtered or unexported methods
}

UnsafeHookServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HookServer will result in compilation errors.

type UnsafeVoiceStreamServer

type UnsafeVoiceStreamServer interface {
	// contains filtered or unexported methods
}

UnsafeVoiceStreamServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VoiceStreamServer will result in compilation errors.

type User

type User struct {

	// The ID of the user.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The email of the user. This is only present when
	// the application possesses the email scope for the user.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// The user's username.
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// The hash of the user's avatar. Use Session.UserAvatar
	// to retrieve the avatar itself.
	Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// The user's chosen language option.
	Locale string `protobuf:"bytes,5,opt,name=locale,proto3" json:"locale,omitempty"`
	// The discriminator of the user (4 numbers after name).
	Discriminator string `protobuf:"bytes,6,opt,name=discriminator,proto3" json:"discriminator,omitempty"`
	// The user's display name, if it is set.
	// For bots, this is the application name.
	GlobalName string `protobuf:"bytes,7,opt,name=global_name,json=globalName,proto3" json:"global_name,omitempty"`
	// The token of the user. This is only present for
	// the user represented by the current session.
	Token string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"` // Note: Be cautious when transmitting sensitive data like tokens.
	// Whether the user's email is verified.
	Verified bool `protobuf:"varint,9,opt,name=verified,proto3" json:"verified,omitempty"`
	// Whether the user has multi-factor authentication enabled.
	MfaEnabled bool `protobuf:"varint,10,opt,name=mfa_enabled,json=mfaEnabled,proto3" json:"mfa_enabled,omitempty"`
	// The hash of the user's banner image.
	Banner string `protobuf:"bytes,11,opt,name=banner,proto3" json:"banner,omitempty"`
	// User's banner color, encoded as an integer representation of hexadecimal color code
	AccentColor int32 `protobuf:"varint,12,opt,name=accent_color,json=accentColor,proto3" json:"accent_color,omitempty"`
	// Whether the user is a bot.
	Bot bool `protobuf:"varint,13,opt,name=bot,proto3" json:"bot,omitempty"`
	// The public flags on a user's account.
	// This is a combination of bit masks; the presence of a certain flag can
	// be checked by performing a bitwise AND between this int and the flag.
	// We store this as an int32 because flags are bitfields.
	PublicFlagsValue int32 `protobuf:"varint,14,opt,name=public_flags_value,json=publicFlagsValue,proto3" json:"public_flags_value,omitempty"` // Storing the integer value of UserFlags
	// The type of Nitro subscription on a user's account.
	// Only available when the request is authorized via a Bearer token.
	PremiumType UserPremiumType `` /* 128-byte string literal not displayed */
	// Whether the user is an Official Discord System user (part of the urgent message system).
	System bool `protobuf:"varint,16,opt,name=system,proto3" json:"system,omitempty"`
	// The flags on a user's account.
	// Only available when the request is authorized via a Bearer token.
	// This is different from public_flags and also stored as an integer.
	Flags int32 `protobuf:"varint,17,opt,name=flags,proto3" json:"flags,omitempty"` // Storing the integer value of general flags
	// contains filtered or unexported fields
}

A User stores all data for an individual Discord user.

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccentColor

func (x *User) GetAccentColor() int32

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetBanner

func (x *User) GetBanner() string

func (*User) GetBot

func (x *User) GetBot() bool

func (*User) GetDiscriminator

func (x *User) GetDiscriminator() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFlags

func (x *User) GetFlags() int32

func (*User) GetGlobalName

func (x *User) GetGlobalName() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetLocale

func (x *User) GetLocale() string

func (*User) GetMfaEnabled

func (x *User) GetMfaEnabled() bool

func (*User) GetPremiumType

func (x *User) GetPremiumType() UserPremiumType

func (*User) GetPublicFlagsValue

func (x *User) GetPublicFlagsValue() int32

func (*User) GetSystem

func (x *User) GetSystem() bool

func (*User) GetToken

func (x *User) GetToken() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) GetVerified

func (x *User) GetVerified() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserChannelCreateRequest

type UserChannelCreateRequest struct {
	RecipientId string `protobuf:"bytes,1,opt,name=recipient_id,json=recipientId,proto3" json:"recipient_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserChannelCreateRequest) Descriptor deprecated

func (*UserChannelCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserChannelCreateRequest.ProtoReflect.Descriptor instead.

func (*UserChannelCreateRequest) GetRecipientId

func (x *UserChannelCreateRequest) GetRecipientId() string

func (*UserChannelCreateRequest) ProtoMessage

func (*UserChannelCreateRequest) ProtoMessage()

func (*UserChannelCreateRequest) ProtoReflect

func (x *UserChannelCreateRequest) ProtoReflect() protoreflect.Message

func (*UserChannelCreateRequest) Reset

func (x *UserChannelCreateRequest) Reset()

func (*UserChannelCreateRequest) String

func (x *UserChannelCreateRequest) String() string

type UserChannelCreateResponse

type UserChannelCreateResponse struct {
	Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*UserChannelCreateResponse) Descriptor deprecated

func (*UserChannelCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserChannelCreateResponse.ProtoReflect.Descriptor instead.

func (*UserChannelCreateResponse) GetChannel

func (x *UserChannelCreateResponse) GetChannel() *Channel

func (*UserChannelCreateResponse) ProtoMessage

func (*UserChannelCreateResponse) ProtoMessage()

func (*UserChannelCreateResponse) ProtoReflect

func (*UserChannelCreateResponse) Reset

func (x *UserChannelCreateResponse) Reset()

func (*UserChannelCreateResponse) String

func (x *UserChannelCreateResponse) String() string

type UserChannelPermissionsRequest

type UserChannelPermissionsRequest struct {
	UserId    string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserChannelPermissionsRequest) Descriptor deprecated

func (*UserChannelPermissionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserChannelPermissionsRequest.ProtoReflect.Descriptor instead.

func (*UserChannelPermissionsRequest) GetChannelId

func (x *UserChannelPermissionsRequest) GetChannelId() string

func (*UserChannelPermissionsRequest) GetUserId

func (x *UserChannelPermissionsRequest) GetUserId() string

func (*UserChannelPermissionsRequest) ProtoMessage

func (*UserChannelPermissionsRequest) ProtoMessage()

func (*UserChannelPermissionsRequest) ProtoReflect

func (*UserChannelPermissionsRequest) Reset

func (x *UserChannelPermissionsRequest) Reset()

func (*UserChannelPermissionsRequest) String

type UserChannelPermissionsResponse

type UserChannelPermissionsResponse struct {
	Permissions int64 `protobuf:"varint,1,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*UserChannelPermissionsResponse) Descriptor deprecated

func (*UserChannelPermissionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserChannelPermissionsResponse.ProtoReflect.Descriptor instead.

func (*UserChannelPermissionsResponse) GetPermissions

func (x *UserChannelPermissionsResponse) GetPermissions() int64

func (*UserChannelPermissionsResponse) ProtoMessage

func (*UserChannelPermissionsResponse) ProtoMessage()

func (*UserChannelPermissionsResponse) ProtoReflect

func (*UserChannelPermissionsResponse) Reset

func (x *UserChannelPermissionsResponse) Reset()

func (*UserChannelPermissionsResponse) String

type UserConnection

type UserConnection 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"`
	Type         string         `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Revoked      bool           `protobuf:"varint,4,opt,name=revoked,proto3" json:"revoked,omitempty"`
	Integrations []*Integration `protobuf:"bytes,5,rep,name=integrations,proto3" json:"integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*UserConnection) Descriptor deprecated

func (*UserConnection) Descriptor() ([]byte, []int)

Deprecated: Use UserConnection.ProtoReflect.Descriptor instead.

func (*UserConnection) GetId

func (x *UserConnection) GetId() string

func (*UserConnection) GetIntegrations

func (x *UserConnection) GetIntegrations() []*Integration

func (*UserConnection) GetName

func (x *UserConnection) GetName() string

func (*UserConnection) GetRevoked

func (x *UserConnection) GetRevoked() bool

func (*UserConnection) GetType

func (x *UserConnection) GetType() string

func (*UserConnection) ProtoMessage

func (*UserConnection) ProtoMessage()

func (*UserConnection) ProtoReflect

func (x *UserConnection) ProtoReflect() protoreflect.Message

func (*UserConnection) Reset

func (x *UserConnection) Reset()

func (*UserConnection) String

func (x *UserConnection) String() string

type UserFlags

type UserFlags int32
const (
	// Valid UserFlags values
	UserFlags_USER_FLAG_UNSPECIFIED                 UserFlags = 0       // Default value, good practice to include
	UserFlags_USER_FLAG_DISCORD_EMPLOYEE            UserFlags = 1       // Corresponds to 1 << 0
	UserFlags_USER_FLAG_DISCORD_PARTNER             UserFlags = 2       // Corresponds to 1 << 1
	UserFlags_USER_FLAG_HYPE_SQUAD_EVENTS           UserFlags = 4       // Corresponds to 1 << 2
	UserFlags_USER_FLAG_BUG_HUNTER_LEVEL_1          UserFlags = 8       // Corresponds to 1 << 3
	UserFlags_USER_FLAG_HOUSE_BRAVERY               UserFlags = 64      // Corresponds to 1 << 6
	UserFlags_USER_FLAG_HOUSE_BRILLIANCE            UserFlags = 128     // Corresponds to 1 << 7
	UserFlags_USER_FLAG_HOUSE_BALANCE               UserFlags = 256     // Corresponds to 1 << 8
	UserFlags_USER_FLAG_EARLY_SUPPORTER             UserFlags = 512     // Corresponds to 1 << 9
	UserFlags_USER_FLAG_TEAM_USER                   UserFlags = 1024    // Corresponds to 1 << 10
	UserFlags_USER_FLAG_SYSTEM                      UserFlags = 4096    // Corresponds to 1 << 12
	UserFlags_USER_FLAG_BUG_HUNTER_LEVEL_2          UserFlags = 16384   // Corresponds to 1 << 14
	UserFlags_USER_FLAG_VERIFIED_BOT                UserFlags = 65536   // Corresponds to 1 << 16
	UserFlags_USER_FLAG_VERIFIED_BOT_DEVELOPER      UserFlags = 131072  // Corresponds to 1 << 17
	UserFlags_USER_FLAG_DISCORD_CERTIFIED_MODERATOR UserFlags = 262144  // Corresponds to 1 << 18
	UserFlags_USER_FLAG_BOT_HTTP_INTERACTIONS       UserFlags = 524288  // Corresponds to 1 << 19
	UserFlags_USER_FLAG_ACTIVE_BOT_DEVELOPER        UserFlags = 4194304 // Corresponds to 1 << 22
)

func (UserFlags) Descriptor

func (UserFlags) Descriptor() protoreflect.EnumDescriptor

func (UserFlags) Enum

func (x UserFlags) Enum() *UserFlags

func (UserFlags) EnumDescriptor deprecated

func (UserFlags) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserFlags.Descriptor instead.

func (UserFlags) Number

func (x UserFlags) Number() protoreflect.EnumNumber

func (UserFlags) String

func (x UserFlags) String() string

func (UserFlags) Type

type UserGuild

type UserGuild 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"`
	Icon                     string   `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Owner                    bool     `protobuf:"varint,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Permissions              int64    `protobuf:"varint,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Features                 []string `protobuf:"bytes,6,rep,name=features,proto3" json:"features,omitempty"` // Assuming GuildFeature is string
	ApproximateMemberCount   int32    ``                                                                      /* 130-byte string literal not displayed */
	ApproximatePresenceCount int32    ``                                                                      /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserGuild) Descriptor deprecated

func (*UserGuild) Descriptor() ([]byte, []int)

Deprecated: Use UserGuild.ProtoReflect.Descriptor instead.

func (*UserGuild) GetApproximateMemberCount

func (x *UserGuild) GetApproximateMemberCount() int32

func (*UserGuild) GetApproximatePresenceCount

func (x *UserGuild) GetApproximatePresenceCount() int32

func (*UserGuild) GetFeatures

func (x *UserGuild) GetFeatures() []string

func (*UserGuild) GetIcon

func (x *UserGuild) GetIcon() string

func (*UserGuild) GetId

func (x *UserGuild) GetId() string

func (*UserGuild) GetName

func (x *UserGuild) GetName() string

func (*UserGuild) GetOwner

func (x *UserGuild) GetOwner() bool

func (*UserGuild) GetPermissions

func (x *UserGuild) GetPermissions() int64

func (*UserGuild) ProtoMessage

func (*UserGuild) ProtoMessage()

func (*UserGuild) ProtoReflect

func (x *UserGuild) ProtoReflect() protoreflect.Message

func (*UserGuild) Reset

func (x *UserGuild) Reset()

func (*UserGuild) String

func (x *UserGuild) String() string

type UserPremiumType

type UserPremiumType int32

UserPremiumType is the type of premium (nitro) subscription a user has.

const (
	// Valid UserPremiumType values.
	UserPremiumType_USER_PREMIUM_TYPE_UNSPECIFIED   UserPremiumType = 0 // Default value
	UserPremiumType_USER_PREMIUM_TYPE_NONE          UserPremiumType = 0
	UserPremiumType_USER_PREMIUM_TYPE_NITRO_CLASSIC UserPremiumType = 1
	UserPremiumType_USER_PREMIUM_TYPE_NITRO         UserPremiumType = 2
	UserPremiumType_USER_PREMIUM_TYPE_NITRO_BASIC   UserPremiumType = 3
)

func (UserPremiumType) Descriptor

func (UserPremiumType) Enum

func (x UserPremiumType) Enum() *UserPremiumType

func (UserPremiumType) EnumDescriptor deprecated

func (UserPremiumType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserPremiumType.Descriptor instead.

func (UserPremiumType) Number

func (UserPremiumType) String

func (x UserPremiumType) String() string

func (UserPremiumType) Type

type UserRequest

type UserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRequest) Descriptor deprecated

func (*UserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.

func (*UserRequest) GetUserId

func (x *UserRequest) GetUserId() string

func (*UserRequest) ProtoMessage

func (*UserRequest) ProtoMessage()

func (*UserRequest) ProtoReflect

func (x *UserRequest) ProtoReflect() protoreflect.Message

func (*UserRequest) Reset

func (x *UserRequest) Reset()

func (*UserRequest) String

func (x *UserRequest) String() string

type UserResponse

type UserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UserResponse) Descriptor deprecated

func (*UserResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.

func (*UserResponse) GetUser

func (x *UserResponse) GetUser() *User

func (*UserResponse) ProtoMessage

func (*UserResponse) ProtoMessage()

func (*UserResponse) ProtoReflect

func (x *UserResponse) ProtoReflect() protoreflect.Message

func (*UserResponse) Reset

func (x *UserResponse) Reset()

func (*UserResponse) String

func (x *UserResponse) String() string

type VoiceJoinRequest

type VoiceJoinRequest struct {
	GuildId   string `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Mute      bool   `protobuf:"varint,3,opt,name=mute,proto3" json:"mute,omitempty"`
	Deaf      bool   `protobuf:"varint,4,opt,name=deaf,proto3" json:"deaf,omitempty"`
	// Optional settings
	Priority   int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`                       // Default priority (0 = normal)
	BufferSize int32 `protobuf:"varint,6,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"` // Receive buffer size (default 100)
	// contains filtered or unexported fields
}

Voice join request

func (*VoiceJoinRequest) Descriptor deprecated

func (*VoiceJoinRequest) Descriptor() ([]byte, []int)

Deprecated: Use VoiceJoinRequest.ProtoReflect.Descriptor instead.

func (*VoiceJoinRequest) GetBufferSize

func (x *VoiceJoinRequest) GetBufferSize() int32

func (*VoiceJoinRequest) GetChannelId

func (x *VoiceJoinRequest) GetChannelId() string

func (*VoiceJoinRequest) GetDeaf

func (x *VoiceJoinRequest) GetDeaf() bool

func (*VoiceJoinRequest) GetGuildId

func (x *VoiceJoinRequest) GetGuildId() string

func (*VoiceJoinRequest) GetMute

func (x *VoiceJoinRequest) GetMute() bool

func (*VoiceJoinRequest) GetPriority

func (x *VoiceJoinRequest) GetPriority() int32

func (*VoiceJoinRequest) ProtoMessage

func (*VoiceJoinRequest) ProtoMessage()

func (*VoiceJoinRequest) ProtoReflect

func (x *VoiceJoinRequest) ProtoReflect() protoreflect.Message

func (*VoiceJoinRequest) Reset

func (x *VoiceJoinRequest) Reset()

func (*VoiceJoinRequest) String

func (x *VoiceJoinRequest) String() string

type VoiceJoinResponse

type VoiceJoinResponse struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // Subscription session ID
	GuildId      string `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	ChannelId    string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Ready        bool   `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"`
	// Queue information
	QueueLength       int32 `protobuf:"varint,5,opt,name=queue_length,json=queueLength,proto3" json:"queue_length,omitempty"`                   // Current queue length
	ActiveSubscribers int32 `protobuf:"varint,6,opt,name=active_subscribers,json=activeSubscribers,proto3" json:"active_subscribers,omitempty"` // Active subscriber count
	// contains filtered or unexported fields
}

Voice join response

func (*VoiceJoinResponse) Descriptor deprecated

func (*VoiceJoinResponse) Descriptor() ([]byte, []int)

Deprecated: Use VoiceJoinResponse.ProtoReflect.Descriptor instead.

func (*VoiceJoinResponse) GetActiveSubscribers

func (x *VoiceJoinResponse) GetActiveSubscribers() int32

func (*VoiceJoinResponse) GetChannelId

func (x *VoiceJoinResponse) GetChannelId() string

func (*VoiceJoinResponse) GetConnectionId

func (x *VoiceJoinResponse) GetConnectionId() string

func (*VoiceJoinResponse) GetGuildId

func (x *VoiceJoinResponse) GetGuildId() string

func (*VoiceJoinResponse) GetQueueLength

func (x *VoiceJoinResponse) GetQueueLength() int32

func (*VoiceJoinResponse) GetReady

func (x *VoiceJoinResponse) GetReady() bool

func (*VoiceJoinResponse) ProtoMessage

func (*VoiceJoinResponse) ProtoMessage()

func (*VoiceJoinResponse) ProtoReflect

func (x *VoiceJoinResponse) ProtoReflect() protoreflect.Message

func (*VoiceJoinResponse) Reset

func (x *VoiceJoinResponse) Reset()

func (*VoiceJoinResponse) String

func (x *VoiceJoinResponse) String() string

type VoiceLeaveRequest

type VoiceLeaveRequest struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

Voice leave request

func (*VoiceLeaveRequest) Descriptor deprecated

func (*VoiceLeaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use VoiceLeaveRequest.ProtoReflect.Descriptor instead.

func (*VoiceLeaveRequest) GetConnectionId

func (x *VoiceLeaveRequest) GetConnectionId() string

func (*VoiceLeaveRequest) ProtoMessage

func (*VoiceLeaveRequest) ProtoMessage()

func (*VoiceLeaveRequest) ProtoReflect

func (x *VoiceLeaveRequest) ProtoReflect() protoreflect.Message

func (*VoiceLeaveRequest) Reset

func (x *VoiceLeaveRequest) Reset()

func (*VoiceLeaveRequest) String

func (x *VoiceLeaveRequest) String() string

type VoicePacket

type VoicePacket struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	OpusData     []byte `protobuf:"bytes,2,opt,name=opus_data,json=opusData,proto3" json:"opus_data,omitempty"`
	// Configurable when sending
	Priority  int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`                    // Task priority (-10 ~ 10)
	TimeoutMs int64 `protobuf:"varint,4,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"` // Timeout in milliseconds
	// Included when receiving
	Ssrc      uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"`           // Sender SSRC
	Sequence  uint32 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`   // Packet sequence
	Timestamp uint32 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // RTP timestamp
	Type      []byte `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`            // Packet type (special markers)
	// contains filtered or unexported fields
}

Voice packet

func (*VoicePacket) Descriptor deprecated

func (*VoicePacket) Descriptor() ([]byte, []int)

Deprecated: Use VoicePacket.ProtoReflect.Descriptor instead.

func (*VoicePacket) GetConnectionId

func (x *VoicePacket) GetConnectionId() string

func (*VoicePacket) GetOpusData

func (x *VoicePacket) GetOpusData() []byte

func (*VoicePacket) GetPriority

func (x *VoicePacket) GetPriority() int32

func (*VoicePacket) GetSequence

func (x *VoicePacket) GetSequence() uint32

func (*VoicePacket) GetSsrc

func (x *VoicePacket) GetSsrc() uint32

func (*VoicePacket) GetTimeoutMs

func (x *VoicePacket) GetTimeoutMs() int64

func (*VoicePacket) GetTimestamp

func (x *VoicePacket) GetTimestamp() uint32

func (*VoicePacket) GetType

func (x *VoicePacket) GetType() []byte

func (*VoicePacket) ProtoMessage

func (*VoicePacket) ProtoMessage()

func (*VoicePacket) ProtoReflect

func (x *VoicePacket) ProtoReflect() protoreflect.Message

func (*VoicePacket) Reset

func (x *VoicePacket) Reset()

func (*VoicePacket) String

func (x *VoicePacket) String() string

type VoiceRegion

type VoiceRegion 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"`
	Optimal    bool   `protobuf:"varint,3,opt,name=optimal,proto3" json:"optimal,omitempty"`
	Deprecated bool   `protobuf:"varint,4,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	Custom     bool   `protobuf:"varint,5,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

func (*VoiceRegion) Descriptor deprecated

func (*VoiceRegion) Descriptor() ([]byte, []int)

Deprecated: Use VoiceRegion.ProtoReflect.Descriptor instead.

func (*VoiceRegion) GetCustom

func (x *VoiceRegion) GetCustom() bool

func (*VoiceRegion) GetDeprecated

func (x *VoiceRegion) GetDeprecated() bool

func (*VoiceRegion) GetId

func (x *VoiceRegion) GetId() string

func (*VoiceRegion) GetName

func (x *VoiceRegion) GetName() string

func (*VoiceRegion) GetOptimal

func (x *VoiceRegion) GetOptimal() bool

func (*VoiceRegion) ProtoMessage

func (*VoiceRegion) ProtoMessage()

func (*VoiceRegion) ProtoReflect

func (x *VoiceRegion) ProtoReflect() protoreflect.Message

func (*VoiceRegion) Reset

func (x *VoiceRegion) Reset()

func (*VoiceRegion) String

func (x *VoiceRegion) String() string

type VoiceRegionsRequest

type VoiceRegionsRequest struct {
	// contains filtered or unexported fields
}

func (*VoiceRegionsRequest) Descriptor deprecated

func (*VoiceRegionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use VoiceRegionsRequest.ProtoReflect.Descriptor instead.

func (*VoiceRegionsRequest) ProtoMessage

func (*VoiceRegionsRequest) ProtoMessage()

func (*VoiceRegionsRequest) ProtoReflect

func (x *VoiceRegionsRequest) ProtoReflect() protoreflect.Message

func (*VoiceRegionsRequest) Reset

func (x *VoiceRegionsRequest) Reset()

func (*VoiceRegionsRequest) String

func (x *VoiceRegionsRequest) String() string

type VoiceRegionsResponse

type VoiceRegionsResponse struct {
	Regions []*VoiceRegion `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

func (*VoiceRegionsResponse) Descriptor deprecated

func (*VoiceRegionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use VoiceRegionsResponse.ProtoReflect.Descriptor instead.

func (*VoiceRegionsResponse) GetRegions

func (x *VoiceRegionsResponse) GetRegions() []*VoiceRegion

func (*VoiceRegionsResponse) ProtoMessage

func (*VoiceRegionsResponse) ProtoMessage()

func (*VoiceRegionsResponse) ProtoReflect

func (x *VoiceRegionsResponse) ProtoReflect() protoreflect.Message

func (*VoiceRegionsResponse) Reset

func (x *VoiceRegionsResponse) Reset()

func (*VoiceRegionsResponse) String

func (x *VoiceRegionsResponse) String() string

type VoiceSpeakingRequest

type VoiceSpeakingRequest struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Speaking     bool   `protobuf:"varint,2,opt,name=speaking,proto3" json:"speaking,omitempty"`
	// contains filtered or unexported fields
}

Voice speaking request

func (*VoiceSpeakingRequest) Descriptor deprecated

func (*VoiceSpeakingRequest) Descriptor() ([]byte, []int)

Deprecated: Use VoiceSpeakingRequest.ProtoReflect.Descriptor instead.

func (*VoiceSpeakingRequest) GetConnectionId

func (x *VoiceSpeakingRequest) GetConnectionId() string

func (*VoiceSpeakingRequest) GetSpeaking

func (x *VoiceSpeakingRequest) GetSpeaking() bool

func (*VoiceSpeakingRequest) ProtoMessage

func (*VoiceSpeakingRequest) ProtoMessage()

func (*VoiceSpeakingRequest) ProtoReflect

func (x *VoiceSpeakingRequest) ProtoReflect() protoreflect.Message

func (*VoiceSpeakingRequest) Reset

func (x *VoiceSpeakingRequest) Reset()

func (*VoiceSpeakingRequest) String

func (x *VoiceSpeakingRequest) String() string

type VoiceState

type VoiceState struct {
	GuildId                 string                 `protobuf:"bytes,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	ChannelId               string                 `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	UserId                  string                 `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Member                  *Member                `protobuf:"bytes,4,opt,name=member,proto3" json:"member,omitempty"`
	SessionId               string                 `protobuf:"bytes,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,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=self_deaf,json=selfDeaf,proto3" json:"self_deaf,omitempty"`
	SelfMute                bool                   `protobuf:"varint,9,opt,name=self_mute,json=selfMute,proto3" json:"self_mute,omitempty"`
	SelfStream              bool                   `protobuf:"varint,10,opt,name=self_stream,json=selfStream,proto3" json:"self_stream,omitempty"`
	SelfVideo               bool                   `protobuf:"varint,11,opt,name=self_video,json=selfVideo,proto3" json:"self_video,omitempty"`
	Suppress                bool                   `protobuf:"varint,12,opt,name=suppress,proto3" json:"suppress,omitempty"`
	RequestToSpeakTimestamp *timestamppb.Timestamp `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VoiceState) Descriptor deprecated

func (*VoiceState) Descriptor() ([]byte, []int)

Deprecated: Use VoiceState.ProtoReflect.Descriptor instead.

func (*VoiceState) GetChannelId

func (x *VoiceState) GetChannelId() string

func (*VoiceState) GetDeaf

func (x *VoiceState) GetDeaf() bool

func (*VoiceState) GetGuildId

func (x *VoiceState) GetGuildId() string

func (*VoiceState) GetMember

func (x *VoiceState) GetMember() *Member

func (*VoiceState) GetMute

func (x *VoiceState) GetMute() bool

func (*VoiceState) GetRequestToSpeakTimestamp

func (x *VoiceState) GetRequestToSpeakTimestamp() *timestamppb.Timestamp

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() string

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 VoiceStreamClient

type VoiceStreamClient interface {
	// Join a voice channel
	VoiceJoin(ctx context.Context, in *VoiceJoinRequest, opts ...grpc.CallOption) (*VoiceJoinResponse, error)
	// Bidirectional voice stream (queue-based send + broadcast receive)
	VoiceStream(ctx context.Context, opts ...grpc.CallOption) (VoiceStream_VoiceStreamClient, error)
	// Leave voice channel
	VoiceLeave(ctx context.Context, in *VoiceLeaveRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	// Set speaking state
	VoiceSpeaking(ctx context.Context, in *VoiceSpeakingRequest, opts ...grpc.CallOption) (*proto.Empty, error)
	// Get queue status (for debugging)
	GetQueueStatus(ctx context.Context, in *QueueStatusRequest, opts ...grpc.CallOption) (*QueueStatusResponse, error)
}

VoiceStreamClient is the client API for VoiceStream 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.

type VoiceStreamServer

type VoiceStreamServer interface {
	// Join a voice channel
	VoiceJoin(context.Context, *VoiceJoinRequest) (*VoiceJoinResponse, error)
	// Bidirectional voice stream (queue-based send + broadcast receive)
	VoiceStream(VoiceStream_VoiceStreamServer) error
	// Leave voice channel
	VoiceLeave(context.Context, *VoiceLeaveRequest) (*proto.Empty, error)
	// Set speaking state
	VoiceSpeaking(context.Context, *VoiceSpeakingRequest) (*proto.Empty, error)
	// Get queue status (for debugging)
	GetQueueStatus(context.Context, *QueueStatusRequest) (*QueueStatusResponse, error)
}

VoiceStreamServer is the server API for VoiceStream service. All implementations should embed UnimplementedVoiceStreamServer for forward compatibility

type VoiceStream_VoiceStreamClient

type VoiceStream_VoiceStreamClient interface {
	Send(*VoicePacket) error
	Recv() (*VoicePacket, error)
	grpc.ClientStream
}

type VoiceStream_VoiceStreamServer

type VoiceStream_VoiceStreamServer interface {
	Send(*VoicePacket) error
	Recv() (*VoicePacket, error)
	grpc.ServerStream
}

type Webhook

type Webhook struct {
	Id        string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type      WebhookType `protobuf:"varint,2,opt,name=type,proto3,enum=discord_v1.WebhookType" json:"type,omitempty"`
	GuildId   string      `protobuf:"bytes,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	ChannelId string      `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	User      *User       `protobuf:"bytes,5,opt,name=user,proto3,oneof" json:"user,omitempty"` // Pointer in Go -> optional message
	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 is the bot/OAuth2 application that created this webhook
	// OmitEmpty tag in Go -> optional string
	ApplicationId *string `protobuf:"bytes,9,opt,name=application_id,json=applicationId,proto3,oneof" json:"application_id,omitempty"`
	// contains filtered or unexported fields
}

Webhook stores the data for a webhook.

func (*Webhook) Descriptor deprecated

func (*Webhook) Descriptor() ([]byte, []int)

Deprecated: Use Webhook.ProtoReflect.Descriptor instead.

func (*Webhook) GetApplicationId

func (x *Webhook) GetApplicationId() string

func (*Webhook) GetAvatar

func (x *Webhook) GetAvatar() string

func (*Webhook) GetChannelId

func (x *Webhook) GetChannelId() string

func (*Webhook) GetGuildId

func (x *Webhook) GetGuildId() string

func (*Webhook) GetId

func (x *Webhook) GetId() string

func (*Webhook) GetName

func (x *Webhook) GetName() string

func (*Webhook) GetToken

func (x *Webhook) GetToken() string

func (*Webhook) GetType

func (x *Webhook) GetType() WebhookType

func (*Webhook) GetUser

func (x *Webhook) GetUser() *User

func (*Webhook) ProtoMessage

func (*Webhook) ProtoMessage()

func (*Webhook) ProtoReflect

func (x *Webhook) ProtoReflect() protoreflect.Message

func (*Webhook) Reset

func (x *Webhook) Reset()

func (*Webhook) String

func (x *Webhook) String() string

type WebhookCreateRequest

type WebhookCreateRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Avatar    string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookCreateRequest) Descriptor deprecated

func (*WebhookCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookCreateRequest.ProtoReflect.Descriptor instead.

func (*WebhookCreateRequest) GetAvatar

func (x *WebhookCreateRequest) GetAvatar() string

func (*WebhookCreateRequest) GetChannelId

func (x *WebhookCreateRequest) GetChannelId() string

func (*WebhookCreateRequest) GetName

func (x *WebhookCreateRequest) GetName() string

func (*WebhookCreateRequest) ProtoMessage

func (*WebhookCreateRequest) ProtoMessage()

func (*WebhookCreateRequest) ProtoReflect

func (x *WebhookCreateRequest) ProtoReflect() protoreflect.Message

func (*WebhookCreateRequest) Reset

func (x *WebhookCreateRequest) Reset()

func (*WebhookCreateRequest) String

func (x *WebhookCreateRequest) String() string

type WebhookCreateResponse

type WebhookCreateResponse struct {
	Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookCreateResponse) Descriptor deprecated

func (*WebhookCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookCreateResponse.ProtoReflect.Descriptor instead.

func (*WebhookCreateResponse) GetWebhook

func (x *WebhookCreateResponse) GetWebhook() *Webhook

func (*WebhookCreateResponse) ProtoMessage

func (*WebhookCreateResponse) ProtoMessage()

func (*WebhookCreateResponse) ProtoReflect

func (x *WebhookCreateResponse) ProtoReflect() protoreflect.Message

func (*WebhookCreateResponse) Reset

func (x *WebhookCreateResponse) Reset()

func (*WebhookCreateResponse) String

func (x *WebhookCreateResponse) String() string

type WebhookEdit

type WebhookEdit struct {

	// Pointer in Go + OmitEmpty -> optional string
	Content    *string             `protobuf:"bytes,1,opt,name=content,proto3,oneof" json:"content,omitempty"`
	Components []*MessageComponent `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
	// Pointer to Slice of Pointers in Go + OmitEmpty -> repeated message
	Embeds []*MessageEmbed `protobuf:"bytes,3,rep,name=embeds,proto3" json:"embeds,omitempty"` // Changed from optional repeated
	// json:"-" tag in Go. Files are typically sent separately.
	Files []*File `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
	// Pointer to Slice of Pointers in Go + OmitEmpty -> repeated message
	Attachments []*MessageAttachment `protobuf:"bytes,5,rep,name=attachments,proto3" json:"attachments,omitempty"` // Changed from optional repeated
	// Pointer in Go + OmitEmpty -> optional message
	AllowedMentions *MessageAllowedMentions `protobuf:"bytes,6,opt,name=allowed_mentions,json=allowedMentions,proto3,oneof" json:"allowed_mentions,omitempty"`
	// contains filtered or unexported fields
}

WebhookEdit stores data for editing of a webhook message.

func (*WebhookEdit) Descriptor deprecated

func (*WebhookEdit) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEdit.ProtoReflect.Descriptor instead.

func (*WebhookEdit) GetAllowedMentions

func (x *WebhookEdit) GetAllowedMentions() *MessageAllowedMentions

func (*WebhookEdit) GetAttachments

func (x *WebhookEdit) GetAttachments() []*MessageAttachment

func (*WebhookEdit) GetComponents

func (x *WebhookEdit) GetComponents() []*MessageComponent

func (*WebhookEdit) GetContent

func (x *WebhookEdit) GetContent() string

func (*WebhookEdit) GetEmbeds

func (x *WebhookEdit) GetEmbeds() []*MessageEmbed

func (*WebhookEdit) GetFiles

func (x *WebhookEdit) GetFiles() []*File

func (*WebhookEdit) ProtoMessage

func (*WebhookEdit) ProtoMessage()

func (*WebhookEdit) ProtoReflect

func (x *WebhookEdit) ProtoReflect() protoreflect.Message

func (*WebhookEdit) Reset

func (x *WebhookEdit) Reset()

func (*WebhookEdit) String

func (x *WebhookEdit) String() string

type WebhookExecuteRequest

type WebhookExecuteRequest struct {
	WebhookId string         `protobuf:"bytes,1,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"`
	Token     string         `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Wait      bool           `protobuf:"varint,3,opt,name=wait,proto3" json:"wait,omitempty"`
	Data      *WebhookParams `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookExecuteRequest) Descriptor deprecated

func (*WebhookExecuteRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookExecuteRequest.ProtoReflect.Descriptor instead.

func (*WebhookExecuteRequest) GetData

func (x *WebhookExecuteRequest) GetData() *WebhookParams

func (*WebhookExecuteRequest) GetToken

func (x *WebhookExecuteRequest) GetToken() string

func (*WebhookExecuteRequest) GetWait

func (x *WebhookExecuteRequest) GetWait() bool

func (*WebhookExecuteRequest) GetWebhookId

func (x *WebhookExecuteRequest) GetWebhookId() string

func (*WebhookExecuteRequest) ProtoMessage

func (*WebhookExecuteRequest) ProtoMessage()

func (*WebhookExecuteRequest) ProtoReflect

func (x *WebhookExecuteRequest) ProtoReflect() protoreflect.Message

func (*WebhookExecuteRequest) Reset

func (x *WebhookExecuteRequest) Reset()

func (*WebhookExecuteRequest) String

func (x *WebhookExecuteRequest) String() string

type WebhookExecuteResponse

type WebhookExecuteResponse struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookExecuteResponse) Descriptor deprecated

func (*WebhookExecuteResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookExecuteResponse.ProtoReflect.Descriptor instead.

func (*WebhookExecuteResponse) GetMessage

func (x *WebhookExecuteResponse) GetMessage() *Message

func (*WebhookExecuteResponse) ProtoMessage

func (*WebhookExecuteResponse) ProtoMessage()

func (*WebhookExecuteResponse) ProtoReflect

func (x *WebhookExecuteResponse) ProtoReflect() protoreflect.Message

func (*WebhookExecuteResponse) Reset

func (x *WebhookExecuteResponse) Reset()

func (*WebhookExecuteResponse) String

func (x *WebhookExecuteResponse) String() string

type WebhookParams

type WebhookParams struct {

	// OmitEmpty tag in Go -> optional string
	Content *string `protobuf:"bytes,1,opt,name=content,proto3,oneof" json:"content,omitempty"`
	// OmitEmpty tag in Go -> optional string
	Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
	// OmitEmpty tag in Go -> optional string
	AvatarUrl *string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// OmitEmpty tag in Go -> optional bool
	Tts *bool `protobuf:"varint,4,opt,name=tts,proto3,oneof" json:"tts,omitempty"`
	// json:"-" tag in Go. Files are typically sent separately via multipart/form-data.
	// Represented here as a repeated field of the placeholder File message.
	Files []*File `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
	// Slice in Go -> repeated message
	Components []*MessageComponent `protobuf:"bytes,6,rep,name=components,proto3" json:"components,omitempty"`
	// Slice of pointers in Go -> repeated message
	Embeds []*MessageEmbed `protobuf:"bytes,7,rep,name=embeds,proto3" json:"embeds,omitempty"`
	// Slice of pointers in Go -> repeated message
	Attachments []*MessageAttachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// Pointer in Go + OmitEmpty -> optional message
	AllowedMentions *MessageAllowedMentions `protobuf:"bytes,9,opt,name=allowed_mentions,json=allowedMentions,proto3,oneof" json:"allowed_mentions,omitempty"`
	Flags           *MessageFlags           `protobuf:"varint,10,opt,name=flags,proto3,enum=discord_v1.MessageFlags,oneof" json:"flags,omitempty"` // Using int32 as it's a common integer type for flags
	// Name of the thread to create.
	// NOTE: can only be set if the webhook channel is a forum.
	// OmitEmpty tag in Go -> optional string
	ThreadName *string `protobuf:"bytes,11,opt,name=thread_name,json=threadName,proto3,oneof" json:"thread_name,omitempty"`
	// contains filtered or unexported fields
}

WebhookParams is a struct for webhook params, used in the WebhookExecute command.

func (*WebhookParams) Descriptor deprecated

func (*WebhookParams) Descriptor() ([]byte, []int)

Deprecated: Use WebhookParams.ProtoReflect.Descriptor instead.

func (*WebhookParams) GetAllowedMentions

func (x *WebhookParams) GetAllowedMentions() *MessageAllowedMentions

func (*WebhookParams) GetAttachments

func (x *WebhookParams) GetAttachments() []*MessageAttachment

func (*WebhookParams) GetAvatarUrl

func (x *WebhookParams) GetAvatarUrl() string

func (*WebhookParams) GetComponents

func (x *WebhookParams) GetComponents() []*MessageComponent

func (*WebhookParams) GetContent

func (x *WebhookParams) GetContent() string

func (*WebhookParams) GetEmbeds

func (x *WebhookParams) GetEmbeds() []*MessageEmbed

func (*WebhookParams) GetFiles

func (x *WebhookParams) GetFiles() []*File

func (*WebhookParams) GetFlags

func (x *WebhookParams) GetFlags() MessageFlags

func (*WebhookParams) GetThreadName

func (x *WebhookParams) GetThreadName() string

func (*WebhookParams) GetTts

func (x *WebhookParams) GetTts() bool

func (*WebhookParams) GetUsername

func (x *WebhookParams) GetUsername() string

func (*WebhookParams) ProtoMessage

func (*WebhookParams) ProtoMessage()

func (*WebhookParams) ProtoReflect

func (x *WebhookParams) ProtoReflect() protoreflect.Message

func (*WebhookParams) Reset

func (x *WebhookParams) Reset()

func (*WebhookParams) String

func (x *WebhookParams) String() string

type WebhookType

type WebhookType int32

WebhookType is the type of Webhook

const (
	// Default zero value - typically not used for specific types
	WebhookType_WEBHOOK_TYPE_UNSPECIFIED      WebhookType = 0
	WebhookType_WEBHOOK_TYPE_INCOMING         WebhookType = 1
	WebhookType_WEBHOOK_TYPE_CHANNEL_FOLLOWER WebhookType = 2
)

func (WebhookType) Descriptor

func (WebhookType) Enum

func (x WebhookType) Enum() *WebhookType

func (WebhookType) EnumDescriptor deprecated

func (WebhookType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WebhookType.Descriptor instead.

func (WebhookType) Number

func (x WebhookType) Number() protoreflect.EnumNumber

func (WebhookType) String

func (x WebhookType) String() string

func (WebhookType) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL