Documentation ¶
Index ¶
- Variables
- type AddGuildMemberRequest
- func (*AddGuildMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGuildMemberRequest) GetAccessToken() string
- func (x *AddGuildMemberRequest) GetDeaf() *wrappers.BoolValue
- func (x *AddGuildMemberRequest) GetMute() *wrappers.BoolValue
- func (x *AddGuildMemberRequest) GetNick() *wrappers.StringValue
- func (x *AddGuildMemberRequest) GetRoles() *model.SnowflakeListValue
- func (x *AddGuildMemberRequest) GetUserId() uint64
- func (*AddGuildMemberRequest) ProtoMessage()
- func (x *AddGuildMemberRequest) ProtoReflect() protoreflect.Message
- func (x *AddGuildMemberRequest) Reset()
- func (x *AddGuildMemberRequest) String() string
- type AddGuildMemberResponse
- func (*AddGuildMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddGuildMemberResponse) GetData() *AddGuildMemberResponse_Data
- func (x *AddGuildMemberResponse) GetError() *RestError
- func (m *AddGuildMemberResponse) GetResponse() isAddGuildMemberResponse_Response
- func (*AddGuildMemberResponse) ProtoMessage()
- func (x *AddGuildMemberResponse) ProtoReflect() protoreflect.Message
- func (x *AddGuildMemberResponse) Reset()
- func (x *AddGuildMemberResponse) String() string
- type AddGuildMemberResponse_Data
- func (*AddGuildMemberResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *AddGuildMemberResponse_Data) GetAdded() bool
- func (*AddGuildMemberResponse_Data) ProtoMessage()
- func (x *AddGuildMemberResponse_Data) ProtoReflect() protoreflect.Message
- func (x *AddGuildMemberResponse_Data) Reset()
- func (x *AddGuildMemberResponse_Data) String() string
- type AddGuildMemberResponse_Data_
- type AddGuildMemberResponse_Error
- type AddGuildMemberRoleRequest
- func (*AddGuildMemberRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGuildMemberRoleRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *AddGuildMemberRoleRequest) GetRoleId() uint64
- func (x *AddGuildMemberRoleRequest) GetUserId() uint64
- func (*AddGuildMemberRoleRequest) ProtoMessage()
- func (x *AddGuildMemberRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AddGuildMemberRoleRequest) Reset()
- func (x *AddGuildMemberRoleRequest) String() string
- type AddGuildMemberRoleResponse
- func (*AddGuildMemberRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddGuildMemberRoleResponse) GetData() *empty.Empty
- func (x *AddGuildMemberRoleResponse) GetError() *RestError
- func (m *AddGuildMemberRoleResponse) GetResponse() isAddGuildMemberRoleResponse_Response
- func (*AddGuildMemberRoleResponse) ProtoMessage()
- func (x *AddGuildMemberRoleResponse) ProtoReflect() protoreflect.Message
- func (x *AddGuildMemberRoleResponse) Reset()
- func (x *AddGuildMemberRoleResponse) String() string
- type AddGuildMemberRoleResponse_Data
- type AddGuildMemberRoleResponse_Error
- type AddPinnedChannelMessageRequest
- func (*AddPinnedChannelMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPinnedChannelMessageRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *AddPinnedChannelMessageRequest) GetChannelId() uint64
- func (x *AddPinnedChannelMessageRequest) GetMessageId() uint64
- func (*AddPinnedChannelMessageRequest) ProtoMessage()
- func (x *AddPinnedChannelMessageRequest) ProtoReflect() protoreflect.Message
- func (x *AddPinnedChannelMessageRequest) Reset()
- func (x *AddPinnedChannelMessageRequest) String() string
- type AddPinnedChannelMessageResponse
- func (*AddPinnedChannelMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddPinnedChannelMessageResponse) GetData() *empty.Empty
- func (x *AddPinnedChannelMessageResponse) GetError() *RestError
- func (m *AddPinnedChannelMessageResponse) GetResponse() isAddPinnedChannelMessageResponse_Response
- func (*AddPinnedChannelMessageResponse) ProtoMessage()
- func (x *AddPinnedChannelMessageResponse) ProtoReflect() protoreflect.Message
- func (x *AddPinnedChannelMessageResponse) Reset()
- func (x *AddPinnedChannelMessageResponse) String() string
- type AddPinnedChannelMessageResponse_Data
- type AddPinnedChannelMessageResponse_Error
- type BeginGuildPruneRequest
- func (*BeginGuildPruneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BeginGuildPruneRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *BeginGuildPruneRequest) GetComputePruneCount() *wrappers.BoolValue
- func (x *BeginGuildPruneRequest) GetDays() *wrappers.UInt32Value
- func (x *BeginGuildPruneRequest) GetIncludeRoles() *model.SnowflakeListValue
- func (*BeginGuildPruneRequest) ProtoMessage()
- func (x *BeginGuildPruneRequest) ProtoReflect() protoreflect.Message
- func (x *BeginGuildPruneRequest) Reset()
- func (x *BeginGuildPruneRequest) String() string
- type BeginGuildPruneResponse
- func (*BeginGuildPruneResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeginGuildPruneResponse) GetData() *empty.Empty
- func (x *BeginGuildPruneResponse) GetError() *RestError
- func (m *BeginGuildPruneResponse) GetResponse() isBeginGuildPruneResponse_Response
- func (*BeginGuildPruneResponse) ProtoMessage()
- func (x *BeginGuildPruneResponse) ProtoReflect() protoreflect.Message
- func (x *BeginGuildPruneResponse) Reset()
- func (x *BeginGuildPruneResponse) String() string
- type BeginGuildPruneResponse_Data
- type BeginGuildPruneResponse_Error
- type BulkDeleteMessagesRequest
- func (*BulkDeleteMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BulkDeleteMessagesRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *BulkDeleteMessagesRequest) GetChannelId() uint64
- func (x *BulkDeleteMessagesRequest) GetMessageIds() []uint64
- func (*BulkDeleteMessagesRequest) ProtoMessage()
- func (x *BulkDeleteMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *BulkDeleteMessagesRequest) Reset()
- func (x *BulkDeleteMessagesRequest) String() string
- type BulkDeleteMessagesResponse
- func (*BulkDeleteMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BulkDeleteMessagesResponse) GetData() *empty.Empty
- func (x *BulkDeleteMessagesResponse) GetError() *RestError
- func (m *BulkDeleteMessagesResponse) GetResponse() isBulkDeleteMessagesResponse_Response
- func (*BulkDeleteMessagesResponse) ProtoMessage()
- func (x *BulkDeleteMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *BulkDeleteMessagesResponse) Reset()
- func (x *BulkDeleteMessagesResponse) String() string
- type BulkDeleteMessagesResponse_Data
- type BulkDeleteMessagesResponse_Error
- type CreateChannelInviteRequest
- func (*CreateChannelInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelInviteRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *CreateChannelInviteRequest) GetChannelId() uint64
- func (x *CreateChannelInviteRequest) GetMaxAge() *wrappers.UInt32Value
- func (x *CreateChannelInviteRequest) GetMaxUses() *wrappers.UInt32Value
- func (x *CreateChannelInviteRequest) GetTargetUser() *model.SnowflakeValue
- func (x *CreateChannelInviteRequest) GetTargetUserType() model.InviteData_InviteTargetUserType
- func (x *CreateChannelInviteRequest) GetTemporary() *wrappers.BoolValue
- func (x *CreateChannelInviteRequest) GetUnique() *wrappers.BoolValue
- func (*CreateChannelInviteRequest) ProtoMessage()
- func (x *CreateChannelInviteRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelInviteRequest) Reset()
- func (x *CreateChannelInviteRequest) String() string
- type CreateChannelInviteResponse
- func (*CreateChannelInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelInviteResponse) GetData() *CreateChannelInviteResponse_Data
- func (x *CreateChannelInviteResponse) GetError() *RestError
- func (m *CreateChannelInviteResponse) GetResponse() isCreateChannelInviteResponse_Response
- func (*CreateChannelInviteResponse) ProtoMessage()
- func (x *CreateChannelInviteResponse) ProtoReflect() protoreflect.Message
- func (x *CreateChannelInviteResponse) Reset()
- func (x *CreateChannelInviteResponse) String() string
- type CreateChannelInviteResponse_Data
- func (*CreateChannelInviteResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelInviteResponse_Data) GetInvite() *model.InviteData
- func (*CreateChannelInviteResponse_Data) ProtoMessage()
- func (x *CreateChannelInviteResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CreateChannelInviteResponse_Data) Reset()
- func (x *CreateChannelInviteResponse_Data) String() string
- type CreateChannelInviteResponse_Data_
- type CreateChannelInviteResponse_Error
- type CreateDmRequest
- type CreateDmResponse
- func (*CreateDmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDmResponse) GetData() *CreateDmResponse_Data
- func (x *CreateDmResponse) GetError() *RestError
- func (m *CreateDmResponse) GetResponse() isCreateDmResponse_Response
- func (*CreateDmResponse) ProtoMessage()
- func (x *CreateDmResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDmResponse) Reset()
- func (x *CreateDmResponse) String() string
- type CreateDmResponse_Data
- func (*CreateDmResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDmResponse_Data) GetChannel() *model.ChannelData
- func (*CreateDmResponse_Data) ProtoMessage()
- func (x *CreateDmResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CreateDmResponse_Data) Reset()
- func (x *CreateDmResponse_Data) String() string
- type CreateDmResponse_Data_
- type CreateDmResponse_Error
- type CreateGuildBanRequest
- func (*CreateGuildBanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildBanRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *CreateGuildBanRequest) GetDeleteMessageDays() *wrappers.UInt32Value
- func (x *CreateGuildBanRequest) GetUserId() uint64
- func (*CreateGuildBanRequest) ProtoMessage()
- func (x *CreateGuildBanRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGuildBanRequest) Reset()
- func (x *CreateGuildBanRequest) String() string
- type CreateGuildBanResponse
- func (*CreateGuildBanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildBanResponse) GetData() *empty.Empty
- func (x *CreateGuildBanResponse) GetError() *RestError
- func (m *CreateGuildBanResponse) GetResponse() isCreateGuildBanResponse_Response
- func (*CreateGuildBanResponse) ProtoMessage()
- func (x *CreateGuildBanResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGuildBanResponse) Reset()
- func (x *CreateGuildBanResponse) String() string
- type CreateGuildBanResponse_Data
- type CreateGuildBanResponse_Error
- type CreateGuildChannelRequest
- func (*CreateGuildChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildChannelRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *CreateGuildChannelRequest) GetBitrate() *wrappers.UInt32Value
- func (x *CreateGuildChannelRequest) GetName() string
- func (x *CreateGuildChannelRequest) GetNsfw() *wrappers.BoolValue
- func (x *CreateGuildChannelRequest) GetParentId() *model.SnowflakeValue
- func (x *CreateGuildChannelRequest) GetPermissionOverwrites() []*model.ChannelData_ChannelPermissionOverwriteData
- func (x *CreateGuildChannelRequest) GetPosition() *wrappers.UInt32Value
- func (x *CreateGuildChannelRequest) GetRateLimitPerUser() *wrappers.UInt32Value
- func (x *CreateGuildChannelRequest) GetTopic() *wrappers.StringValue
- func (x *CreateGuildChannelRequest) GetType() model.ChannelData_ChannelType
- func (x *CreateGuildChannelRequest) GetUserLimit() *wrappers.UInt32Value
- func (*CreateGuildChannelRequest) ProtoMessage()
- func (x *CreateGuildChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGuildChannelRequest) Reset()
- func (x *CreateGuildChannelRequest) String() string
- type CreateGuildChannelResponse
- func (*CreateGuildChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildChannelResponse) GetData() *CreateGuildChannelResponse_Data
- func (x *CreateGuildChannelResponse) GetError() *RestError
- func (m *CreateGuildChannelResponse) GetResponse() isCreateGuildChannelResponse_Response
- func (*CreateGuildChannelResponse) ProtoMessage()
- func (x *CreateGuildChannelResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGuildChannelResponse) Reset()
- func (x *CreateGuildChannelResponse) String() string
- type CreateGuildChannelResponse_Data
- func (*CreateGuildChannelResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildChannelResponse_Data) GetChannel() *model.ChannelData
- func (*CreateGuildChannelResponse_Data) ProtoMessage()
- func (x *CreateGuildChannelResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CreateGuildChannelResponse_Data) Reset()
- func (x *CreateGuildChannelResponse_Data) String() string
- type CreateGuildChannelResponse_Data_
- type CreateGuildChannelResponse_Error
- type CreateGuildEmojiRequest
- func (*CreateGuildEmojiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildEmojiRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *CreateGuildEmojiRequest) GetImage() *wrappers.BytesValue
- func (x *CreateGuildEmojiRequest) GetName() string
- func (x *CreateGuildEmojiRequest) GetRoles() *model.SnowflakeListValue
- func (*CreateGuildEmojiRequest) ProtoMessage()
- func (x *CreateGuildEmojiRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGuildEmojiRequest) Reset()
- func (x *CreateGuildEmojiRequest) String() string
- type CreateGuildEmojiResponse
- func (*CreateGuildEmojiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildEmojiResponse) GetData() *CreateGuildEmojiResponse_Data
- func (x *CreateGuildEmojiResponse) GetError() *RestError
- func (m *CreateGuildEmojiResponse) GetResponse() isCreateGuildEmojiResponse_Response
- func (*CreateGuildEmojiResponse) ProtoMessage()
- func (x *CreateGuildEmojiResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGuildEmojiResponse) Reset()
- func (x *CreateGuildEmojiResponse) String() string
- type CreateGuildEmojiResponse_Data
- func (*CreateGuildEmojiResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildEmojiResponse_Data) GetEmoji() *model.EmojiData
- func (*CreateGuildEmojiResponse_Data) ProtoMessage()
- func (x *CreateGuildEmojiResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CreateGuildEmojiResponse_Data) Reset()
- func (x *CreateGuildEmojiResponse_Data) String() string
- type CreateGuildEmojiResponse_Data_
- type CreateGuildEmojiResponse_Error
- type CreateGuildRoleRequest
- func (*CreateGuildRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildRoleRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *CreateGuildRoleRequest) GetColor() *wrappers.UInt32Value
- func (x *CreateGuildRoleRequest) GetHoist() *wrappers.BoolValue
- func (x *CreateGuildRoleRequest) GetMentionable() *wrappers.BoolValue
- func (x *CreateGuildRoleRequest) GetName() *wrappers.StringValue
- func (x *CreateGuildRoleRequest) GetPermissions() *model.PermissionsValue
- func (*CreateGuildRoleRequest) ProtoMessage()
- func (x *CreateGuildRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGuildRoleRequest) Reset()
- func (x *CreateGuildRoleRequest) String() string
- type CreateGuildRoleResponse
- func (*CreateGuildRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildRoleResponse) GetData() *CreateGuildRoleResponse_Data
- func (x *CreateGuildRoleResponse) GetError() *RestError
- func (m *CreateGuildRoleResponse) GetResponse() isCreateGuildRoleResponse_Response
- func (*CreateGuildRoleResponse) ProtoMessage()
- func (x *CreateGuildRoleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGuildRoleResponse) Reset()
- func (x *CreateGuildRoleResponse) String() string
- type CreateGuildRoleResponse_Data
- func (*CreateGuildRoleResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGuildRoleResponse_Data) GetRole() *model.RoleData
- func (*CreateGuildRoleResponse_Data) ProtoMessage()
- func (x *CreateGuildRoleResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CreateGuildRoleResponse_Data) Reset()
- func (x *CreateGuildRoleResponse_Data) String() string
- type CreateGuildRoleResponse_Data_
- type CreateGuildRoleResponse_Error
- type CreateMessageRequest
- func (*CreateMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageRequest) GetAllowedMentions() *model.MessageData_MessageAllowedMentionsData
- func (x *CreateMessageRequest) GetAttachment() *CreateMessageRequest_Attachment
- func (x *CreateMessageRequest) GetChannelId() uint64
- func (x *CreateMessageRequest) GetComponents() []*model.MessageData_MessageComponentData
- func (x *CreateMessageRequest) GetContent() string
- func (x *CreateMessageRequest) GetEmbed() *model.MessageData_MessageEmbedData
- func (x *CreateMessageRequest) GetMessageReference() *CreateMessageRequest_MessageReference
- func (x *CreateMessageRequest) GetNonce() *wrappers.StringValue
- func (x *CreateMessageRequest) GetTts() *wrappers.BoolValue
- func (*CreateMessageRequest) ProtoMessage()
- func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMessageRequest) Reset()
- func (x *CreateMessageRequest) String() string
- type CreateMessageRequest_Attachment
- func (*CreateMessageRequest_Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageRequest_Attachment) GetContent() []byte
- func (x *CreateMessageRequest_Attachment) GetName() string
- func (*CreateMessageRequest_Attachment) ProtoMessage()
- func (x *CreateMessageRequest_Attachment) ProtoReflect() protoreflect.Message
- func (x *CreateMessageRequest_Attachment) Reset()
- func (x *CreateMessageRequest_Attachment) String() string
- type CreateMessageRequest_MessageReference
- func (*CreateMessageRequest_MessageReference) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageRequest_MessageReference) GetChannelId() uint64
- func (x *CreateMessageRequest_MessageReference) GetFailIfNotExists() bool
- func (x *CreateMessageRequest_MessageReference) GetGuildId() uint64
- func (x *CreateMessageRequest_MessageReference) GetMessageId() uint64
- func (*CreateMessageRequest_MessageReference) ProtoMessage()
- func (x *CreateMessageRequest_MessageReference) ProtoReflect() protoreflect.Message
- func (x *CreateMessageRequest_MessageReference) Reset()
- func (x *CreateMessageRequest_MessageReference) String() string
- type CreateMessageResponse
- func (*CreateMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageResponse) GetData() *CreateMessageResponse_Data
- func (x *CreateMessageResponse) GetError() *RestError
- func (m *CreateMessageResponse) GetResponse() isCreateMessageResponse_Response
- func (*CreateMessageResponse) ProtoMessage()
- func (x *CreateMessageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMessageResponse) Reset()
- func (x *CreateMessageResponse) String() string
- type CreateMessageResponse_Data
- func (*CreateMessageResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageResponse_Data) GetMessage() *model.MessageData
- func (*CreateMessageResponse_Data) ProtoMessage()
- func (x *CreateMessageResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CreateMessageResponse_Data) Reset()
- func (x *CreateMessageResponse_Data) String() string
- type CreateMessageResponse_Data_
- type CreateMessageResponse_Error
- type CreateReactionRequest
- func (*CreateReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReactionRequest) GetChannelId() uint64
- func (x *CreateReactionRequest) GetEmoji() string
- func (x *CreateReactionRequest) GetMessageId() uint64
- func (*CreateReactionRequest) ProtoMessage()
- func (x *CreateReactionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateReactionRequest) Reset()
- func (x *CreateReactionRequest) String() string
- type CreateReactionResponse
- func (*CreateReactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReactionResponse) GetData() *empty.Empty
- func (x *CreateReactionResponse) GetError() *RestError
- func (m *CreateReactionResponse) GetResponse() isCreateReactionResponse_Response
- func (*CreateReactionResponse) ProtoMessage()
- func (x *CreateReactionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateReactionResponse) Reset()
- func (x *CreateReactionResponse) String() string
- type CreateReactionResponse_Data
- type CreateReactionResponse_Error
- type CrosspostMessageRequest
- func (*CrosspostMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrosspostMessageRequest) GetChannelId() uint64
- func (x *CrosspostMessageRequest) GetMessageId() uint64
- func (*CrosspostMessageRequest) ProtoMessage()
- func (x *CrosspostMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CrosspostMessageRequest) Reset()
- func (x *CrosspostMessageRequest) String() string
- type CrosspostMessageResponse
- func (*CrosspostMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CrosspostMessageResponse) GetData() *CrosspostMessageResponse_Data
- func (x *CrosspostMessageResponse) GetError() *RestError
- func (m *CrosspostMessageResponse) GetResponse() isCrosspostMessageResponse_Response
- func (*CrosspostMessageResponse) ProtoMessage()
- func (x *CrosspostMessageResponse) ProtoReflect() protoreflect.Message
- func (x *CrosspostMessageResponse) Reset()
- func (x *CrosspostMessageResponse) String() string
- type CrosspostMessageResponse_Data
- func (*CrosspostMessageResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CrosspostMessageResponse_Data) GetMessage() *model.MessageData
- func (*CrosspostMessageResponse_Data) ProtoMessage()
- func (x *CrosspostMessageResponse_Data) ProtoReflect() protoreflect.Message
- func (x *CrosspostMessageResponse_Data) Reset()
- func (x *CrosspostMessageResponse_Data) String() string
- type CrosspostMessageResponse_Data_
- type CrosspostMessageResponse_Error
- type DeleteAllReactionsForEmojiRequest
- func (*DeleteAllReactionsForEmojiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllReactionsForEmojiRequest) GetChannelId() uint64
- func (x *DeleteAllReactionsForEmojiRequest) GetEmoji() string
- func (x *DeleteAllReactionsForEmojiRequest) GetMessageId() uint64
- func (*DeleteAllReactionsForEmojiRequest) ProtoMessage()
- func (x *DeleteAllReactionsForEmojiRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllReactionsForEmojiRequest) Reset()
- func (x *DeleteAllReactionsForEmojiRequest) String() string
- type DeleteAllReactionsForEmojiResponse
- func (*DeleteAllReactionsForEmojiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllReactionsForEmojiResponse) GetData() *empty.Empty
- func (x *DeleteAllReactionsForEmojiResponse) GetError() *RestError
- func (m *DeleteAllReactionsForEmojiResponse) GetResponse() isDeleteAllReactionsForEmojiResponse_Response
- func (*DeleteAllReactionsForEmojiResponse) ProtoMessage()
- func (x *DeleteAllReactionsForEmojiResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAllReactionsForEmojiResponse) Reset()
- func (x *DeleteAllReactionsForEmojiResponse) String() string
- type DeleteAllReactionsForEmojiResponse_Data
- type DeleteAllReactionsForEmojiResponse_Error
- type DeleteAllReactionsRequest
- func (*DeleteAllReactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllReactionsRequest) GetChannelId() uint64
- func (x *DeleteAllReactionsRequest) GetMessageId() uint64
- func (*DeleteAllReactionsRequest) ProtoMessage()
- func (x *DeleteAllReactionsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllReactionsRequest) Reset()
- func (x *DeleteAllReactionsRequest) String() string
- type DeleteAllReactionsResponse
- func (*DeleteAllReactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllReactionsResponse) GetData() *empty.Empty
- func (x *DeleteAllReactionsResponse) GetError() *RestError
- func (m *DeleteAllReactionsResponse) GetResponse() isDeleteAllReactionsResponse_Response
- func (*DeleteAllReactionsResponse) ProtoMessage()
- func (x *DeleteAllReactionsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAllReactionsResponse) Reset()
- func (x *DeleteAllReactionsResponse) String() string
- type DeleteAllReactionsResponse_Data
- type DeleteAllReactionsResponse_Error
- type DeleteChannelPermissionRequest
- func (*DeleteChannelPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelPermissionRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *DeleteChannelPermissionRequest) GetChannelId() uint64
- func (x *DeleteChannelPermissionRequest) GetOverwriteId() uint64
- func (*DeleteChannelPermissionRequest) ProtoMessage()
- func (x *DeleteChannelPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelPermissionRequest) Reset()
- func (x *DeleteChannelPermissionRequest) String() string
- type DeleteChannelPermissionResponse
- func (*DeleteChannelPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelPermissionResponse) GetData() *empty.Empty
- func (x *DeleteChannelPermissionResponse) GetError() *RestError
- func (m *DeleteChannelPermissionResponse) GetResponse() isDeleteChannelPermissionResponse_Response
- func (*DeleteChannelPermissionResponse) ProtoMessage()
- func (x *DeleteChannelPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelPermissionResponse) Reset()
- func (x *DeleteChannelPermissionResponse) String() string
- type DeleteChannelPermissionResponse_Data
- type DeleteChannelPermissionResponse_Error
- type DeleteChannelRequest
- func (*DeleteChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *DeleteChannelRequest) GetChannelId() uint64
- func (*DeleteChannelRequest) ProtoMessage()
- func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelRequest) Reset()
- func (x *DeleteChannelRequest) String() string
- type DeleteChannelResponse
- func (*DeleteChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelResponse) GetData() *empty.Empty
- func (x *DeleteChannelResponse) GetError() *RestError
- func (m *DeleteChannelResponse) GetResponse() isDeleteChannelResponse_Response
- func (*DeleteChannelResponse) ProtoMessage()
- func (x *DeleteChannelResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelResponse) Reset()
- func (x *DeleteChannelResponse) String() string
- type DeleteChannelResponse_Data
- type DeleteChannelResponse_Error
- type DeleteGuildEmojiRequest
- func (*DeleteGuildEmojiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGuildEmojiRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *DeleteGuildEmojiRequest) GetEmojiId() uint64
- func (*DeleteGuildEmojiRequest) ProtoMessage()
- func (x *DeleteGuildEmojiRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGuildEmojiRequest) Reset()
- func (x *DeleteGuildEmojiRequest) String() string
- type DeleteGuildEmojiResponse
- func (*DeleteGuildEmojiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGuildEmojiResponse) GetData() *empty.Empty
- func (x *DeleteGuildEmojiResponse) GetError() *RestError
- func (m *DeleteGuildEmojiResponse) GetResponse() isDeleteGuildEmojiResponse_Response
- func (*DeleteGuildEmojiResponse) ProtoMessage()
- func (x *DeleteGuildEmojiResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteGuildEmojiResponse) Reset()
- func (x *DeleteGuildEmojiResponse) String() string
- type DeleteGuildEmojiResponse_Data
- type DeleteGuildEmojiResponse_Error
- type DeleteGuildRoleRequest
- func (*DeleteGuildRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGuildRoleRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *DeleteGuildRoleRequest) GetRoleId() uint64
- func (*DeleteGuildRoleRequest) ProtoMessage()
- func (x *DeleteGuildRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGuildRoleRequest) Reset()
- func (x *DeleteGuildRoleRequest) String() string
- type DeleteGuildRoleResponse
- func (*DeleteGuildRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGuildRoleResponse) GetData() *empty.Empty
- func (x *DeleteGuildRoleResponse) GetError() *RestError
- func (m *DeleteGuildRoleResponse) GetResponse() isDeleteGuildRoleResponse_Response
- func (*DeleteGuildRoleResponse) ProtoMessage()
- func (x *DeleteGuildRoleResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteGuildRoleResponse) Reset()
- func (x *DeleteGuildRoleResponse) String() string
- type DeleteGuildRoleResponse_Data
- type DeleteGuildRoleResponse_Error
- type DeleteMessageRequest
- func (*DeleteMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *DeleteMessageRequest) GetChannelId() uint64
- func (x *DeleteMessageRequest) GetMessageId() uint64
- func (*DeleteMessageRequest) ProtoMessage()
- func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageRequest) Reset()
- func (x *DeleteMessageRequest) String() string
- type DeleteMessageResponse
- func (*DeleteMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageResponse) GetData() *empty.Empty
- func (x *DeleteMessageResponse) GetError() *RestError
- func (m *DeleteMessageResponse) GetResponse() isDeleteMessageResponse_Response
- func (*DeleteMessageResponse) ProtoMessage()
- func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageResponse) Reset()
- func (x *DeleteMessageResponse) String() string
- type DeleteMessageResponse_Data
- type DeleteMessageResponse_Error
- type DeleteOwnReactionRequest
- func (*DeleteOwnReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOwnReactionRequest) GetChannelId() uint64
- func (x *DeleteOwnReactionRequest) GetEmoji() string
- func (x *DeleteOwnReactionRequest) GetMessageId() uint64
- func (*DeleteOwnReactionRequest) ProtoMessage()
- func (x *DeleteOwnReactionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOwnReactionRequest) Reset()
- func (x *DeleteOwnReactionRequest) String() string
- type DeleteOwnReactionResponse
- func (*DeleteOwnReactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOwnReactionResponse) GetData() *empty.Empty
- func (x *DeleteOwnReactionResponse) GetError() *RestError
- func (m *DeleteOwnReactionResponse) GetResponse() isDeleteOwnReactionResponse_Response
- func (*DeleteOwnReactionResponse) ProtoMessage()
- func (x *DeleteOwnReactionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOwnReactionResponse) Reset()
- func (x *DeleteOwnReactionResponse) String() string
- type DeleteOwnReactionResponse_Data
- type DeleteOwnReactionResponse_Error
- type DeletePinnedChannelMessageRequest
- func (*DeletePinnedChannelMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePinnedChannelMessageRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *DeletePinnedChannelMessageRequest) GetChannelId() uint64
- func (x *DeletePinnedChannelMessageRequest) GetMessageId() uint64
- func (*DeletePinnedChannelMessageRequest) ProtoMessage()
- func (x *DeletePinnedChannelMessageRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePinnedChannelMessageRequest) Reset()
- func (x *DeletePinnedChannelMessageRequest) String() string
- type DeletePinnedChannelMessageResponse
- func (*DeletePinnedChannelMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePinnedChannelMessageResponse) GetData() *empty.Empty
- func (x *DeletePinnedChannelMessageResponse) GetError() *RestError
- func (m *DeletePinnedChannelMessageResponse) GetResponse() isDeletePinnedChannelMessageResponse_Response
- func (*DeletePinnedChannelMessageResponse) ProtoMessage()
- func (x *DeletePinnedChannelMessageResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePinnedChannelMessageResponse) Reset()
- func (x *DeletePinnedChannelMessageResponse) String() string
- type DeletePinnedChannelMessageResponse_Data
- type DeletePinnedChannelMessageResponse_Error
- type DeleteUserReactionRequest
- func (*DeleteUserReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserReactionRequest) GetChannelId() uint64
- func (x *DeleteUserReactionRequest) GetEmoji() string
- func (x *DeleteUserReactionRequest) GetMessageId() uint64
- func (x *DeleteUserReactionRequest) GetUserId() uint64
- func (*DeleteUserReactionRequest) ProtoMessage()
- func (x *DeleteUserReactionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReactionRequest) Reset()
- func (x *DeleteUserReactionRequest) String() string
- type DeleteUserReactionResponse
- func (*DeleteUserReactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserReactionResponse) GetData() *empty.Empty
- func (x *DeleteUserReactionResponse) GetError() *RestError
- func (m *DeleteUserReactionResponse) GetResponse() isDeleteUserReactionResponse_Response
- func (*DeleteUserReactionResponse) ProtoMessage()
- func (x *DeleteUserReactionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReactionResponse) Reset()
- func (x *DeleteUserReactionResponse) String() string
- type DeleteUserReactionResponse_Data
- type DeleteUserReactionResponse_Error
- type EditChannelPermissionsRequest
- func (*EditChannelPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditChannelPermissionsRequest) GetAllow() uint64
- func (x *EditChannelPermissionsRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *EditChannelPermissionsRequest) GetChannelId() uint64
- func (x *EditChannelPermissionsRequest) GetDeny() uint64
- func (x *EditChannelPermissionsRequest) GetOverwriteId() uint64
- func (x *EditChannelPermissionsRequest) GetType() ...
- func (*EditChannelPermissionsRequest) ProtoMessage()
- func (x *EditChannelPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *EditChannelPermissionsRequest) Reset()
- func (x *EditChannelPermissionsRequest) String() string
- type EditChannelPermissionsResponse
- func (*EditChannelPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditChannelPermissionsResponse) GetData() *empty.Empty
- func (x *EditChannelPermissionsResponse) GetError() *RestError
- func (m *EditChannelPermissionsResponse) GetResponse() isEditChannelPermissionsResponse_Response
- func (*EditChannelPermissionsResponse) ProtoMessage()
- func (x *EditChannelPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *EditChannelPermissionsResponse) Reset()
- func (x *EditChannelPermissionsResponse) String() string
- type EditChannelPermissionsResponse_Data
- type EditChannelPermissionsResponse_Error
- type EditMessageRequest
- func (*EditMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditMessageRequest) GetChannelId() uint64
- func (x *EditMessageRequest) GetContent() *wrappers.StringValue
- func (x *EditMessageRequest) GetEmbed() *model.MessageData_MessageEmbedData
- func (x *EditMessageRequest) GetFlags() *wrappers.UInt32Value
- func (x *EditMessageRequest) GetMessageId() uint64
- func (*EditMessageRequest) ProtoMessage()
- func (x *EditMessageRequest) ProtoReflect() protoreflect.Message
- func (x *EditMessageRequest) Reset()
- func (x *EditMessageRequest) String() string
- type EditMessageResponse
- func (*EditMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditMessageResponse) GetData() *EditMessageResponse_Data
- func (x *EditMessageResponse) GetError() *RestError
- func (m *EditMessageResponse) GetResponse() isEditMessageResponse_Response
- func (*EditMessageResponse) ProtoMessage()
- func (x *EditMessageResponse) ProtoReflect() protoreflect.Message
- func (x *EditMessageResponse) Reset()
- func (x *EditMessageResponse) String() string
- type EditMessageResponse_Data
- func (*EditMessageResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *EditMessageResponse_Data) GetMessage() *model.MessageData
- func (*EditMessageResponse_Data) ProtoMessage()
- func (x *EditMessageResponse_Data) ProtoReflect() protoreflect.Message
- func (x *EditMessageResponse_Data) Reset()
- func (x *EditMessageResponse_Data) String() string
- type EditMessageResponse_Data_
- type EditMessageResponse_Error
- type FollowNewsChannelRequest
- func (*FollowNewsChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FollowNewsChannelRequest) GetChannelId() uint64
- func (x *FollowNewsChannelRequest) GetWebhookChannelId() uint64
- func (*FollowNewsChannelRequest) ProtoMessage()
- func (x *FollowNewsChannelRequest) ProtoReflect() protoreflect.Message
- func (x *FollowNewsChannelRequest) Reset()
- func (x *FollowNewsChannelRequest) String() string
- type FollowNewsChannelResponse
- func (*FollowNewsChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FollowNewsChannelResponse) GetData() *FollowNewsChannelResponse_Data
- func (x *FollowNewsChannelResponse) GetError() *RestError
- func (m *FollowNewsChannelResponse) GetResponse() isFollowNewsChannelResponse_Response
- func (*FollowNewsChannelResponse) ProtoMessage()
- func (x *FollowNewsChannelResponse) ProtoReflect() protoreflect.Message
- func (x *FollowNewsChannelResponse) Reset()
- func (x *FollowNewsChannelResponse) String() string
- type FollowNewsChannelResponse_Data
- func (*FollowNewsChannelResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *FollowNewsChannelResponse_Data) GetChannelId() uint64
- func (x *FollowNewsChannelResponse_Data) GetWebhookId() uint64
- func (*FollowNewsChannelResponse_Data) ProtoMessage()
- func (x *FollowNewsChannelResponse_Data) ProtoReflect() protoreflect.Message
- func (x *FollowNewsChannelResponse_Data) Reset()
- func (x *FollowNewsChannelResponse_Data) String() string
- type FollowNewsChannelResponse_Data_
- type FollowNewsChannelResponse_Error
- type GetChannelInvitesRequest
- func (*GetChannelInvitesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelInvitesRequest) GetChannelId() uint64
- func (*GetChannelInvitesRequest) ProtoMessage()
- func (x *GetChannelInvitesRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelInvitesRequest) Reset()
- func (x *GetChannelInvitesRequest) String() string
- type GetChannelInvitesResponse
- func (*GetChannelInvitesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelInvitesResponse) GetData() *GetChannelInvitesResponse_Data
- func (x *GetChannelInvitesResponse) GetError() *RestError
- func (m *GetChannelInvitesResponse) GetResponse() isGetChannelInvitesResponse_Response
- func (*GetChannelInvitesResponse) ProtoMessage()
- func (x *GetChannelInvitesResponse) ProtoReflect() protoreflect.Message
- func (x *GetChannelInvitesResponse) Reset()
- func (x *GetChannelInvitesResponse) String() string
- type GetChannelInvitesResponse_Data
- func (*GetChannelInvitesResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelInvitesResponse_Data) GetInvites() []*model.InviteData
- func (*GetChannelInvitesResponse_Data) ProtoMessage()
- func (x *GetChannelInvitesResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetChannelInvitesResponse_Data) Reset()
- func (x *GetChannelInvitesResponse_Data) String() string
- type GetChannelInvitesResponse_Data_
- type GetChannelInvitesResponse_Error
- type GetChannelMessageRequest
- func (*GetChannelMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessageRequest) GetChannelId() uint64
- func (x *GetChannelMessageRequest) GetMessageId() uint64
- func (*GetChannelMessageRequest) ProtoMessage()
- func (x *GetChannelMessageRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessageRequest) Reset()
- func (x *GetChannelMessageRequest) String() string
- type GetChannelMessageResponse
- func (*GetChannelMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessageResponse) GetData() *GetChannelMessageResponse_Data
- func (x *GetChannelMessageResponse) GetError() *RestError
- func (m *GetChannelMessageResponse) GetResponse() isGetChannelMessageResponse_Response
- func (*GetChannelMessageResponse) ProtoMessage()
- func (x *GetChannelMessageResponse) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessageResponse) Reset()
- func (x *GetChannelMessageResponse) String() string
- type GetChannelMessageResponse_Data
- func (*GetChannelMessageResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessageResponse_Data) GetMessage() *model.MessageData
- func (*GetChannelMessageResponse_Data) ProtoMessage()
- func (x *GetChannelMessageResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessageResponse_Data) Reset()
- func (x *GetChannelMessageResponse_Data) String() string
- type GetChannelMessageResponse_Data_
- type GetChannelMessageResponse_Error
- type GetChannelMessagesRequest
- func (*GetChannelMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessagesRequest) GetAfter() *model.SnowflakeValue
- func (x *GetChannelMessagesRequest) GetAround() *model.SnowflakeValue
- func (x *GetChannelMessagesRequest) GetBefore() *model.SnowflakeValue
- func (x *GetChannelMessagesRequest) GetChannelId() uint64
- func (x *GetChannelMessagesRequest) GetLimit() uint32
- func (*GetChannelMessagesRequest) ProtoMessage()
- func (x *GetChannelMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessagesRequest) Reset()
- func (x *GetChannelMessagesRequest) String() string
- type GetChannelMessagesResponse
- func (*GetChannelMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessagesResponse) GetData() *GetChannelMessagesResponse_Data
- func (x *GetChannelMessagesResponse) GetError() *RestError
- func (m *GetChannelMessagesResponse) GetResponse() isGetChannelMessagesResponse_Response
- func (*GetChannelMessagesResponse) ProtoMessage()
- func (x *GetChannelMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessagesResponse) Reset()
- func (x *GetChannelMessagesResponse) String() string
- type GetChannelMessagesResponse_Data
- func (*GetChannelMessagesResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessagesResponse_Data) GetMessages() []*model.MessageData
- func (*GetChannelMessagesResponse_Data) ProtoMessage()
- func (x *GetChannelMessagesResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessagesResponse_Data) Reset()
- func (x *GetChannelMessagesResponse_Data) String() string
- type GetChannelMessagesResponse_Data_
- type GetChannelMessagesResponse_Error
- type GetCurrentUserRequest
- type GetCurrentUserResponse
- func (*GetCurrentUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserResponse) GetData() *GetCurrentUserResponse_Data
- func (x *GetCurrentUserResponse) GetError() *RestError
- func (m *GetCurrentUserResponse) GetResponse() isGetCurrentUserResponse_Response
- func (*GetCurrentUserResponse) ProtoMessage()
- func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserResponse) Reset()
- func (x *GetCurrentUserResponse) String() string
- type GetCurrentUserResponse_Data
- func (*GetCurrentUserResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserResponse_Data) GetUser() *model.UserData
- func (*GetCurrentUserResponse_Data) ProtoMessage()
- func (x *GetCurrentUserResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserResponse_Data) Reset()
- func (x *GetCurrentUserResponse_Data) String() string
- type GetCurrentUserResponse_Data_
- type GetCurrentUserResponse_Error
- type GetGuildBanRequest
- func (*GetGuildBanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildBanRequest) GetUserId() uint64
- func (*GetGuildBanRequest) ProtoMessage()
- func (x *GetGuildBanRequest) ProtoReflect() protoreflect.Message
- func (x *GetGuildBanRequest) Reset()
- func (x *GetGuildBanRequest) String() string
- type GetGuildBanResponse
- func (*GetGuildBanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildBanResponse) GetData() *GetGuildBanResponse_Data
- func (x *GetGuildBanResponse) GetError() *RestError
- func (m *GetGuildBanResponse) GetResponse() isGetGuildBanResponse_Response
- func (*GetGuildBanResponse) ProtoMessage()
- func (x *GetGuildBanResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuildBanResponse) Reset()
- func (x *GetGuildBanResponse) String() string
- type GetGuildBanResponse_Data
- func (*GetGuildBanResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildBanResponse_Data) GetBan() *model.GuildBanData
- func (*GetGuildBanResponse_Data) ProtoMessage()
- func (x *GetGuildBanResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetGuildBanResponse_Data) Reset()
- func (x *GetGuildBanResponse_Data) String() string
- type GetGuildBanResponse_Data_
- type GetGuildBanResponse_Error
- type GetGuildBansRequest
- func (*GetGuildBansRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildBansRequest) GetUserId() uint64
- func (*GetGuildBansRequest) ProtoMessage()
- func (x *GetGuildBansRequest) ProtoReflect() protoreflect.Message
- func (x *GetGuildBansRequest) Reset()
- func (x *GetGuildBansRequest) String() string
- type GetGuildBansResponse
- func (*GetGuildBansResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildBansResponse) GetData() *GetGuildBansResponse_Data
- func (x *GetGuildBansResponse) GetError() *RestError
- func (m *GetGuildBansResponse) GetResponse() isGetGuildBansResponse_Response
- func (*GetGuildBansResponse) ProtoMessage()
- func (x *GetGuildBansResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuildBansResponse) Reset()
- func (x *GetGuildBansResponse) String() string
- type GetGuildBansResponse_Data
- func (*GetGuildBansResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildBansResponse_Data) GetBans() []*model.GuildBanData
- func (*GetGuildBansResponse_Data) ProtoMessage()
- func (x *GetGuildBansResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetGuildBansResponse_Data) Reset()
- func (x *GetGuildBansResponse_Data) String() string
- type GetGuildBansResponse_Data_
- type GetGuildBansResponse_Error
- type GetGuildEmojiRequest
- func (*GetGuildEmojiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildEmojiRequest) GetEmojiId() uint64
- func (*GetGuildEmojiRequest) ProtoMessage()
- func (x *GetGuildEmojiRequest) ProtoReflect() protoreflect.Message
- func (x *GetGuildEmojiRequest) Reset()
- func (x *GetGuildEmojiRequest) String() string
- type GetGuildEmojiResponse
- func (*GetGuildEmojiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildEmojiResponse) GetData() *GetGuildEmojiResponse_Data
- func (x *GetGuildEmojiResponse) GetError() *RestError
- func (m *GetGuildEmojiResponse) GetResponse() isGetGuildEmojiResponse_Response
- func (*GetGuildEmojiResponse) ProtoMessage()
- func (x *GetGuildEmojiResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuildEmojiResponse) Reset()
- func (x *GetGuildEmojiResponse) String() string
- type GetGuildEmojiResponse_Data
- func (*GetGuildEmojiResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildEmojiResponse_Data) GetEmoji() *model.EmojiData
- func (*GetGuildEmojiResponse_Data) ProtoMessage()
- func (x *GetGuildEmojiResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetGuildEmojiResponse_Data) Reset()
- func (x *GetGuildEmojiResponse_Data) String() string
- type GetGuildEmojiResponse_Data_
- type GetGuildEmojiResponse_Error
- type GetGuildInvitesRequest
- type GetGuildInvitesResponse
- func (*GetGuildInvitesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildInvitesResponse) GetData() *GetGuildInvitesResponse_Data
- func (x *GetGuildInvitesResponse) GetError() *RestError
- func (m *GetGuildInvitesResponse) GetResponse() isGetGuildInvitesResponse_Response
- func (*GetGuildInvitesResponse) ProtoMessage()
- func (x *GetGuildInvitesResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuildInvitesResponse) Reset()
- func (x *GetGuildInvitesResponse) String() string
- type GetGuildInvitesResponse_Data
- func (*GetGuildInvitesResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildInvitesResponse_Data) GetInvites() []*model.InviteData
- func (*GetGuildInvitesResponse_Data) ProtoMessage()
- func (x *GetGuildInvitesResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetGuildInvitesResponse_Data) Reset()
- func (x *GetGuildInvitesResponse_Data) String() string
- type GetGuildInvitesResponse_Data_
- type GetGuildInvitesResponse_Error
- type GetGuildPruneCountRequest
- func (*GetGuildPruneCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildPruneCountRequest) GetDays() *wrappers.UInt32Value
- func (x *GetGuildPruneCountRequest) GetIncludeRoles() *model.SnowflakeListValue
- func (*GetGuildPruneCountRequest) ProtoMessage()
- func (x *GetGuildPruneCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetGuildPruneCountRequest) Reset()
- func (x *GetGuildPruneCountRequest) String() string
- type GetGuildPruneCountResponse
- func (*GetGuildPruneCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildPruneCountResponse) GetData() *empty.Empty
- func (x *GetGuildPruneCountResponse) GetError() *RestError
- func (m *GetGuildPruneCountResponse) GetResponse() isGetGuildPruneCountResponse_Response
- func (*GetGuildPruneCountResponse) ProtoMessage()
- func (x *GetGuildPruneCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuildPruneCountResponse) Reset()
- func (x *GetGuildPruneCountResponse) String() string
- type GetGuildPruneCountResponse_Data
- type GetGuildPruneCountResponse_Error
- type GetGuildVoiceRegionsRequest
- type GetGuildVoiceRegionsResponse
- func (*GetGuildVoiceRegionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildVoiceRegionsResponse) GetData() *GetGuildVoiceRegionsResponse_Data
- func (x *GetGuildVoiceRegionsResponse) GetError() *RestError
- func (m *GetGuildVoiceRegionsResponse) GetResponse() isGetGuildVoiceRegionsResponse_Response
- func (*GetGuildVoiceRegionsResponse) ProtoMessage()
- func (x *GetGuildVoiceRegionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuildVoiceRegionsResponse) Reset()
- func (x *GetGuildVoiceRegionsResponse) String() string
- type GetGuildVoiceRegionsResponse_Data
- func (*GetGuildVoiceRegionsResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuildVoiceRegionsResponse_Data) GetRegions() []string
- func (*GetGuildVoiceRegionsResponse_Data) ProtoMessage()
- func (x *GetGuildVoiceRegionsResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetGuildVoiceRegionsResponse_Data) Reset()
- func (x *GetGuildVoiceRegionsResponse_Data) String() string
- type GetGuildVoiceRegionsResponse_Data_
- type GetGuildVoiceRegionsResponse_Error
- type GetPinnedMessagesRequest
- func (*GetPinnedMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPinnedMessagesRequest) GetChannelId() uint64
- func (*GetPinnedMessagesRequest) ProtoMessage()
- func (x *GetPinnedMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetPinnedMessagesRequest) Reset()
- func (x *GetPinnedMessagesRequest) String() string
- type GetPinnedMessagesResponse
- func (*GetPinnedMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPinnedMessagesResponse) GetData() *GetPinnedMessagesResponse_Data
- func (x *GetPinnedMessagesResponse) GetError() *RestError
- func (m *GetPinnedMessagesResponse) GetResponse() isGetPinnedMessagesResponse_Response
- func (*GetPinnedMessagesResponse) ProtoMessage()
- func (x *GetPinnedMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPinnedMessagesResponse) Reset()
- func (x *GetPinnedMessagesResponse) String() string
- type GetPinnedMessagesResponse_Data
- func (*GetPinnedMessagesResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetPinnedMessagesResponse_Data) GetMessages() []*model.MessageData
- func (*GetPinnedMessagesResponse_Data) ProtoMessage()
- func (x *GetPinnedMessagesResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetPinnedMessagesResponse_Data) Reset()
- func (x *GetPinnedMessagesResponse_Data) String() string
- type GetPinnedMessagesResponse_Data_
- type GetPinnedMessagesResponse_Error
- type GetUserRequest
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetData() *GetUserResponse_Data
- func (x *GetUserResponse) GetError() *RestError
- func (m *GetUserResponse) GetResponse() isGetUserResponse_Response
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type GetUserResponse_Data
- func (*GetUserResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse_Data) GetUser() *model.UserData
- func (*GetUserResponse_Data) ProtoMessage()
- func (x *GetUserResponse_Data) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse_Data) Reset()
- func (x *GetUserResponse_Data) String() string
- type GetUserResponse_Data_
- type GetUserResponse_Error
- type InteractionFollowupMessageCreateRequest
- func (*InteractionFollowupMessageCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageCreateRequest) GetApplicationId() *model.SnowflakeValue
- func (x *InteractionFollowupMessageCreateRequest) GetMessage() *model.MessageData
- func (x *InteractionFollowupMessageCreateRequest) GetToken() string
- func (*InteractionFollowupMessageCreateRequest) ProtoMessage()
- func (x *InteractionFollowupMessageCreateRequest) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageCreateRequest) Reset()
- func (x *InteractionFollowupMessageCreateRequest) String() string
- type InteractionFollowupMessageCreateResponse
- func (*InteractionFollowupMessageCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageCreateResponse) GetData() *InteractionFollowupMessageCreateResponse_Data
- func (x *InteractionFollowupMessageCreateResponse) GetError() *RestError
- func (m *InteractionFollowupMessageCreateResponse) GetResponse() isInteractionFollowupMessageCreateResponse_Response
- func (*InteractionFollowupMessageCreateResponse) ProtoMessage()
- func (x *InteractionFollowupMessageCreateResponse) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageCreateResponse) Reset()
- func (x *InteractionFollowupMessageCreateResponse) String() string
- type InteractionFollowupMessageCreateResponse_Data
- func (*InteractionFollowupMessageCreateResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageCreateResponse_Data) GetMessage() *model.MessageData
- func (*InteractionFollowupMessageCreateResponse_Data) ProtoMessage()
- func (x *InteractionFollowupMessageCreateResponse_Data) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageCreateResponse_Data) Reset()
- func (x *InteractionFollowupMessageCreateResponse_Data) String() string
- type InteractionFollowupMessageCreateResponse_Data_
- type InteractionFollowupMessageCreateResponse_Error
- type InteractionFollowupMessageDeleteRequest
- func (*InteractionFollowupMessageDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageDeleteRequest) GetApplicationId() *model.SnowflakeValue
- func (x *InteractionFollowupMessageDeleteRequest) GetMessageId() string
- func (x *InteractionFollowupMessageDeleteRequest) GetToken() string
- func (*InteractionFollowupMessageDeleteRequest) ProtoMessage()
- func (x *InteractionFollowupMessageDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageDeleteRequest) Reset()
- func (x *InteractionFollowupMessageDeleteRequest) String() string
- type InteractionFollowupMessageDeleteResponse
- func (*InteractionFollowupMessageDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageDeleteResponse) GetData() *empty.Empty
- func (x *InteractionFollowupMessageDeleteResponse) GetError() *RestError
- func (m *InteractionFollowupMessageDeleteResponse) GetResponse() isInteractionFollowupMessageDeleteResponse_Response
- func (*InteractionFollowupMessageDeleteResponse) ProtoMessage()
- func (x *InteractionFollowupMessageDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageDeleteResponse) Reset()
- func (x *InteractionFollowupMessageDeleteResponse) String() string
- type InteractionFollowupMessageDeleteResponse_Data
- type InteractionFollowupMessageDeleteResponse_Error
- type InteractionFollowupMessageEditRequest
- func (*InteractionFollowupMessageEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageEditRequest) GetApplicationId() *model.SnowflakeValue
- func (x *InteractionFollowupMessageEditRequest) GetMessage() *model.MessageData
- func (x *InteractionFollowupMessageEditRequest) GetMessageId() string
- func (x *InteractionFollowupMessageEditRequest) GetToken() string
- func (*InteractionFollowupMessageEditRequest) ProtoMessage()
- func (x *InteractionFollowupMessageEditRequest) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageEditRequest) Reset()
- func (x *InteractionFollowupMessageEditRequest) String() string
- type InteractionFollowupMessageEditResponse
- func (*InteractionFollowupMessageEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageEditResponse) GetData() *InteractionFollowupMessageEditResponse_Data
- func (x *InteractionFollowupMessageEditResponse) GetError() *RestError
- func (m *InteractionFollowupMessageEditResponse) GetResponse() isInteractionFollowupMessageEditResponse_Response
- func (*InteractionFollowupMessageEditResponse) ProtoMessage()
- func (x *InteractionFollowupMessageEditResponse) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageEditResponse) Reset()
- func (x *InteractionFollowupMessageEditResponse) String() string
- type InteractionFollowupMessageEditResponse_Data
- func (*InteractionFollowupMessageEditResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionFollowupMessageEditResponse_Data) GetMessage() *model.MessageData
- func (*InteractionFollowupMessageEditResponse_Data) ProtoMessage()
- func (x *InteractionFollowupMessageEditResponse_Data) ProtoReflect() protoreflect.Message
- func (x *InteractionFollowupMessageEditResponse_Data) Reset()
- func (x *InteractionFollowupMessageEditResponse_Data) String() string
- type InteractionFollowupMessageEditResponse_Data_
- type InteractionFollowupMessageEditResponse_Error
- type InteractionResponseCreateRequest
- func (*InteractionResponseCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionResponseCreateRequest) GetInteractionId() *model.SnowflakeValue
- func (x *InteractionResponseCreateRequest) GetInteractionResponse() *model.InteractionResponse
- func (x *InteractionResponseCreateRequest) GetToken() string
- func (*InteractionResponseCreateRequest) ProtoMessage()
- func (x *InteractionResponseCreateRequest) ProtoReflect() protoreflect.Message
- func (x *InteractionResponseCreateRequest) Reset()
- func (x *InteractionResponseCreateRequest) String() string
- type InteractionResponseCreateResponse
- func (*InteractionResponseCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionResponseCreateResponse) GetData() *empty.Empty
- func (x *InteractionResponseCreateResponse) GetError() *RestError
- func (m *InteractionResponseCreateResponse) GetResponse() isInteractionResponseCreateResponse_Response
- func (*InteractionResponseCreateResponse) ProtoMessage()
- func (x *InteractionResponseCreateResponse) ProtoReflect() protoreflect.Message
- func (x *InteractionResponseCreateResponse) Reset()
- func (x *InteractionResponseCreateResponse) String() string
- type InteractionResponseCreateResponse_Data
- type InteractionResponseCreateResponse_Error
- type LeaveGuildRequest
- type LeaveGuildResponse
- func (*LeaveGuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveGuildResponse) GetData() *empty.Empty
- func (x *LeaveGuildResponse) GetError() *RestError
- func (m *LeaveGuildResponse) GetResponse() isLeaveGuildResponse_Response
- func (*LeaveGuildResponse) ProtoMessage()
- func (x *LeaveGuildResponse) ProtoReflect() protoreflect.Message
- func (x *LeaveGuildResponse) Reset()
- func (x *LeaveGuildResponse) String() string
- type LeaveGuildResponse_Data
- type LeaveGuildResponse_Error
- type ListGuildEmojisRequest
- type ListGuildEmojisResponse
- func (*ListGuildEmojisResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGuildEmojisResponse) GetData() *ListGuildEmojisResponse_Data
- func (x *ListGuildEmojisResponse) GetError() *RestError
- func (m *ListGuildEmojisResponse) GetResponse() isListGuildEmojisResponse_Response
- func (*ListGuildEmojisResponse) ProtoMessage()
- func (x *ListGuildEmojisResponse) ProtoReflect() protoreflect.Message
- func (x *ListGuildEmojisResponse) Reset()
- func (x *ListGuildEmojisResponse) String() string
- type ListGuildEmojisResponse_Data
- func (*ListGuildEmojisResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ListGuildEmojisResponse_Data) GetEmojis() []*model.EmojiData
- func (*ListGuildEmojisResponse_Data) ProtoMessage()
- func (x *ListGuildEmojisResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ListGuildEmojisResponse_Data) Reset()
- func (x *ListGuildEmojisResponse_Data) String() string
- type ListGuildEmojisResponse_Data_
- type ListGuildEmojisResponse_Error
- type ModifyChannelRequest
- func (*ModifyChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyChannelRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *ModifyChannelRequest) GetBitrate() *wrappers.UInt32Value
- func (x *ModifyChannelRequest) GetChannelId() uint64
- func (x *ModifyChannelRequest) GetName() *wrappers.StringValue
- func (x *ModifyChannelRequest) GetNsfw() *wrappers.BoolValue
- func (x *ModifyChannelRequest) GetParentId() *model.SnowflakeValue
- func (x *ModifyChannelRequest) GetPermissionOverwrites() *ModifyChannelRequest_ChannelPermissionOverwritesValue
- func (x *ModifyChannelRequest) GetPosition() *wrappers.UInt32Value
- func (x *ModifyChannelRequest) GetRateLimitPerUser() *wrappers.UInt32Value
- func (x *ModifyChannelRequest) GetTopic() *wrappers.StringValue
- func (x *ModifyChannelRequest) GetType() model.ChannelData_ChannelType
- func (x *ModifyChannelRequest) GetUserLimit() *wrappers.UInt32Value
- func (*ModifyChannelRequest) ProtoMessage()
- func (x *ModifyChannelRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyChannelRequest) Reset()
- func (x *ModifyChannelRequest) String() string
- type ModifyChannelRequest_ChannelPermissionOverwritesValue
- func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) GetValues() []*model.ChannelData_ChannelPermissionOverwriteData
- func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) ProtoMessage()
- func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) ProtoReflect() protoreflect.Message
- func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) Reset()
- func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) String() string
- type ModifyChannelResponse
- func (*ModifyChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyChannelResponse) GetData() *ModifyChannelResponse_Data
- func (x *ModifyChannelResponse) GetError() *RestError
- func (m *ModifyChannelResponse) GetResponse() isModifyChannelResponse_Response
- func (*ModifyChannelResponse) ProtoMessage()
- func (x *ModifyChannelResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyChannelResponse) Reset()
- func (x *ModifyChannelResponse) String() string
- type ModifyChannelResponse_Data
- func (*ModifyChannelResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyChannelResponse_Data) GetChannel() *model.ChannelData
- func (*ModifyChannelResponse_Data) ProtoMessage()
- func (x *ModifyChannelResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ModifyChannelResponse_Data) Reset()
- func (x *ModifyChannelResponse_Data) String() string
- type ModifyChannelResponse_Data_
- type ModifyChannelResponse_Error
- type ModifyCurrentUserNickRequest
- func (*ModifyCurrentUserNickRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCurrentUserNickRequest) GetNick() *wrappers.StringValue
- func (*ModifyCurrentUserNickRequest) ProtoMessage()
- func (x *ModifyCurrentUserNickRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyCurrentUserNickRequest) Reset()
- func (x *ModifyCurrentUserNickRequest) String() string
- type ModifyCurrentUserNickResponse
- func (*ModifyCurrentUserNickResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCurrentUserNickResponse) GetData() *empty.Empty
- func (x *ModifyCurrentUserNickResponse) GetError() *RestError
- func (m *ModifyCurrentUserNickResponse) GetResponse() isModifyCurrentUserNickResponse_Response
- func (*ModifyCurrentUserNickResponse) ProtoMessage()
- func (x *ModifyCurrentUserNickResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyCurrentUserNickResponse) Reset()
- func (x *ModifyCurrentUserNickResponse) String() string
- type ModifyCurrentUserNickResponse_Data
- type ModifyCurrentUserNickResponse_Error
- type ModifyCurrentUserRequest
- func (*ModifyCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCurrentUserRequest) GetAvatar() *wrappers.BytesValue
- func (x *ModifyCurrentUserRequest) GetUsername() *wrappers.StringValue
- func (*ModifyCurrentUserRequest) ProtoMessage()
- func (x *ModifyCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyCurrentUserRequest) Reset()
- func (x *ModifyCurrentUserRequest) String() string
- type ModifyCurrentUserResponse
- func (*ModifyCurrentUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCurrentUserResponse) GetData() *ModifyCurrentUserResponse_Data
- func (x *ModifyCurrentUserResponse) GetError() *RestError
- func (m *ModifyCurrentUserResponse) GetResponse() isModifyCurrentUserResponse_Response
- func (*ModifyCurrentUserResponse) ProtoMessage()
- func (x *ModifyCurrentUserResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyCurrentUserResponse) Reset()
- func (x *ModifyCurrentUserResponse) String() string
- type ModifyCurrentUserResponse_Data
- func (*ModifyCurrentUserResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCurrentUserResponse_Data) GetUser() *model.UserData
- func (*ModifyCurrentUserResponse_Data) ProtoMessage()
- func (x *ModifyCurrentUserResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ModifyCurrentUserResponse_Data) Reset()
- func (x *ModifyCurrentUserResponse_Data) String() string
- type ModifyCurrentUserResponse_Data_
- type ModifyCurrentUserResponse_Error
- type ModifyGuildChannelPositionsRequest
- func (*ModifyGuildChannelPositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildChannelPositionsRequest) GetChannelPositions() []*ModifyGuildChannelPositionsRequest_ChannelPosition
- func (*ModifyGuildChannelPositionsRequest) ProtoMessage()
- func (x *ModifyGuildChannelPositionsRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildChannelPositionsRequest) Reset()
- func (x *ModifyGuildChannelPositionsRequest) String() string
- type ModifyGuildChannelPositionsRequest_ChannelPosition
- func (*ModifyGuildChannelPositionsRequest_ChannelPosition) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) GetId() uint64
- func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) GetPosition() uint32
- func (*ModifyGuildChannelPositionsRequest_ChannelPosition) ProtoMessage()
- func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) Reset()
- func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) String() string
- type ModifyGuildChannelPositionsResponse
- func (*ModifyGuildChannelPositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildChannelPositionsResponse) GetData() *empty.Empty
- func (x *ModifyGuildChannelPositionsResponse) GetError() *RestError
- func (m *ModifyGuildChannelPositionsResponse) GetResponse() isModifyGuildChannelPositionsResponse_Response
- func (*ModifyGuildChannelPositionsResponse) ProtoMessage()
- func (x *ModifyGuildChannelPositionsResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildChannelPositionsResponse) Reset()
- func (x *ModifyGuildChannelPositionsResponse) String() string
- type ModifyGuildChannelPositionsResponse_Data
- type ModifyGuildChannelPositionsResponse_Error
- type ModifyGuildEmojiRequest
- func (*ModifyGuildEmojiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildEmojiRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *ModifyGuildEmojiRequest) GetEmojiId() uint64
- func (x *ModifyGuildEmojiRequest) GetName() *wrappers.StringValue
- func (x *ModifyGuildEmojiRequest) GetRoles() *model.SnowflakeListValue
- func (*ModifyGuildEmojiRequest) ProtoMessage()
- func (x *ModifyGuildEmojiRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildEmojiRequest) Reset()
- func (x *ModifyGuildEmojiRequest) String() string
- type ModifyGuildEmojiResponse
- func (*ModifyGuildEmojiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildEmojiResponse) GetData() *ModifyGuildEmojiResponse_Data
- func (x *ModifyGuildEmojiResponse) GetError() *RestError
- func (m *ModifyGuildEmojiResponse) GetResponse() isModifyGuildEmojiResponse_Response
- func (*ModifyGuildEmojiResponse) ProtoMessage()
- func (x *ModifyGuildEmojiResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildEmojiResponse) Reset()
- func (x *ModifyGuildEmojiResponse) String() string
- type ModifyGuildEmojiResponse_Data
- func (*ModifyGuildEmojiResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildEmojiResponse_Data) GetEmoji() *model.EmojiData
- func (*ModifyGuildEmojiResponse_Data) ProtoMessage()
- func (x *ModifyGuildEmojiResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildEmojiResponse_Data) Reset()
- func (x *ModifyGuildEmojiResponse_Data) String() string
- type ModifyGuildEmojiResponse_Data_
- type ModifyGuildEmojiResponse_Error
- type ModifyGuildMemberRequest
- func (*ModifyGuildMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildMemberRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *ModifyGuildMemberRequest) GetChannelId() *model.SnowflakeValue
- func (x *ModifyGuildMemberRequest) GetDeaf() *wrappers.BoolValue
- func (x *ModifyGuildMemberRequest) GetMute() *wrappers.BoolValue
- func (x *ModifyGuildMemberRequest) GetNick() *wrappers.StringValue
- func (x *ModifyGuildMemberRequest) GetRoles() *model.SnowflakeListValue
- func (x *ModifyGuildMemberRequest) GetUserId() uint64
- func (*ModifyGuildMemberRequest) ProtoMessage()
- func (x *ModifyGuildMemberRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildMemberRequest) Reset()
- func (x *ModifyGuildMemberRequest) String() string
- type ModifyGuildMemberResponse
- func (*ModifyGuildMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildMemberResponse) GetData() *empty.Empty
- func (x *ModifyGuildMemberResponse) GetError() *RestError
- func (m *ModifyGuildMemberResponse) GetResponse() isModifyGuildMemberResponse_Response
- func (*ModifyGuildMemberResponse) ProtoMessage()
- func (x *ModifyGuildMemberResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildMemberResponse) Reset()
- func (x *ModifyGuildMemberResponse) String() string
- type ModifyGuildMemberResponse_Data
- type ModifyGuildMemberResponse_Error
- type ModifyGuildRequest
- func (*ModifyGuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRequest) GetAfkChannelId() *model.SnowflakeValue
- func (x *ModifyGuildRequest) GetAfkTimeout() *wrappers.UInt32Value
- func (x *ModifyGuildRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *ModifyGuildRequest) GetBanner() *wrappers.BytesValue
- func (x *ModifyGuildRequest) GetDefaultMessageNotifications() *wrappers.UInt32Value
- func (x *ModifyGuildRequest) GetExplicitContentFilter() *wrappers.UInt32Value
- func (x *ModifyGuildRequest) GetIcon() *wrappers.BytesValue
- func (x *ModifyGuildRequest) GetName() *wrappers.StringValue
- func (x *ModifyGuildRequest) GetOwnerId() *model.SnowflakeValue
- func (x *ModifyGuildRequest) GetPreferredLocale() *wrappers.StringValue
- func (x *ModifyGuildRequest) GetPublicUpdatesChannelId() *model.SnowflakeValue
- func (x *ModifyGuildRequest) GetRegion() *wrappers.StringValue
- func (x *ModifyGuildRequest) GetRulesChannelId() *model.SnowflakeValue
- func (x *ModifyGuildRequest) GetSplash() *wrappers.BytesValue
- func (x *ModifyGuildRequest) GetSystemChannelId() *model.SnowflakeValue
- func (x *ModifyGuildRequest) GetVerificationLevel() *wrappers.UInt32Value
- func (*ModifyGuildRequest) ProtoMessage()
- func (x *ModifyGuildRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRequest) Reset()
- func (x *ModifyGuildRequest) String() string
- type ModifyGuildResponse
- func (*ModifyGuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildResponse) GetData() *ModifyGuildResponse_Data
- func (x *ModifyGuildResponse) GetError() *RestError
- func (m *ModifyGuildResponse) GetResponse() isModifyGuildResponse_Response
- func (*ModifyGuildResponse) ProtoMessage()
- func (x *ModifyGuildResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildResponse) Reset()
- func (x *ModifyGuildResponse) String() string
- type ModifyGuildResponse_Data
- func (*ModifyGuildResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildResponse_Data) GetGuild() *model.GuildData
- func (*ModifyGuildResponse_Data) ProtoMessage()
- func (x *ModifyGuildResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildResponse_Data) Reset()
- func (x *ModifyGuildResponse_Data) String() string
- type ModifyGuildResponse_Data_
- type ModifyGuildResponse_Error
- type ModifyGuildRolePositionsRequest
- func (*ModifyGuildRolePositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRolePositionsRequest) GetRolePositions() []*ModifyGuildRolePositionsRequest_RolePosition
- func (*ModifyGuildRolePositionsRequest) ProtoMessage()
- func (x *ModifyGuildRolePositionsRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRolePositionsRequest) Reset()
- func (x *ModifyGuildRolePositionsRequest) String() string
- type ModifyGuildRolePositionsRequest_RolePosition
- func (*ModifyGuildRolePositionsRequest_RolePosition) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRolePositionsRequest_RolePosition) GetId() uint64
- func (x *ModifyGuildRolePositionsRequest_RolePosition) GetPosition() uint32
- func (*ModifyGuildRolePositionsRequest_RolePosition) ProtoMessage()
- func (x *ModifyGuildRolePositionsRequest_RolePosition) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRolePositionsRequest_RolePosition) Reset()
- func (x *ModifyGuildRolePositionsRequest_RolePosition) String() string
- type ModifyGuildRolePositionsResponse
- func (*ModifyGuildRolePositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRolePositionsResponse) GetData() *ModifyGuildRolePositionsResponse_Data
- func (x *ModifyGuildRolePositionsResponse) GetError() *RestError
- func (m *ModifyGuildRolePositionsResponse) GetResponse() isModifyGuildRolePositionsResponse_Response
- func (*ModifyGuildRolePositionsResponse) ProtoMessage()
- func (x *ModifyGuildRolePositionsResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRolePositionsResponse) Reset()
- func (x *ModifyGuildRolePositionsResponse) String() string
- type ModifyGuildRolePositionsResponse_Data
- func (*ModifyGuildRolePositionsResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRolePositionsResponse_Data) GetRoles() []*model.RoleData
- func (*ModifyGuildRolePositionsResponse_Data) ProtoMessage()
- func (x *ModifyGuildRolePositionsResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRolePositionsResponse_Data) Reset()
- func (x *ModifyGuildRolePositionsResponse_Data) String() string
- type ModifyGuildRolePositionsResponse_Data_
- type ModifyGuildRolePositionsResponse_Error
- type ModifyGuildRoleRequest
- func (*ModifyGuildRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRoleRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *ModifyGuildRoleRequest) GetColor() *wrappers.UInt32Value
- func (x *ModifyGuildRoleRequest) GetHoist() *wrappers.BoolValue
- func (x *ModifyGuildRoleRequest) GetMentionable() *wrappers.BoolValue
- func (x *ModifyGuildRoleRequest) GetName() *wrappers.StringValue
- func (x *ModifyGuildRoleRequest) GetPermissions() *model.PermissionsValue
- func (x *ModifyGuildRoleRequest) GetRoleId() uint64
- func (*ModifyGuildRoleRequest) ProtoMessage()
- func (x *ModifyGuildRoleRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRoleRequest) Reset()
- func (x *ModifyGuildRoleRequest) String() string
- type ModifyGuildRoleResponse
- func (*ModifyGuildRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRoleResponse) GetData() *ModifyGuildRoleResponse_Data
- func (x *ModifyGuildRoleResponse) GetError() *RestError
- func (m *ModifyGuildRoleResponse) GetResponse() isModifyGuildRoleResponse_Response
- func (*ModifyGuildRoleResponse) ProtoMessage()
- func (x *ModifyGuildRoleResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRoleResponse) Reset()
- func (x *ModifyGuildRoleResponse) String() string
- type ModifyGuildRoleResponse_Data
- func (*ModifyGuildRoleResponse_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGuildRoleResponse_Data) GetRole() *model.RoleData
- func (*ModifyGuildRoleResponse_Data) ProtoMessage()
- func (x *ModifyGuildRoleResponse_Data) ProtoReflect() protoreflect.Message
- func (x *ModifyGuildRoleResponse_Data) Reset()
- func (x *ModifyGuildRoleResponse_Data) String() string
- type ModifyGuildRoleResponse_Data_
- type ModifyGuildRoleResponse_Error
- type RemoveGuildBanRequest
- func (*RemoveGuildBanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGuildBanRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *RemoveGuildBanRequest) GetUserId() uint64
- func (*RemoveGuildBanRequest) ProtoMessage()
- func (x *RemoveGuildBanRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveGuildBanRequest) Reset()
- func (x *RemoveGuildBanRequest) String() string
- type RemoveGuildBanResponse
- func (*RemoveGuildBanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGuildBanResponse) GetData() *empty.Empty
- func (x *RemoveGuildBanResponse) GetError() *RestError
- func (m *RemoveGuildBanResponse) GetResponse() isRemoveGuildBanResponse_Response
- func (*RemoveGuildBanResponse) ProtoMessage()
- func (x *RemoveGuildBanResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveGuildBanResponse) Reset()
- func (x *RemoveGuildBanResponse) String() string
- type RemoveGuildBanResponse_Data
- type RemoveGuildBanResponse_Error
- type RemoveGuildMemberRequest
- func (*RemoveGuildMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGuildMemberRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *RemoveGuildMemberRequest) GetUserId() uint64
- func (*RemoveGuildMemberRequest) ProtoMessage()
- func (x *RemoveGuildMemberRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveGuildMemberRequest) Reset()
- func (x *RemoveGuildMemberRequest) String() string
- type RemoveGuildMemberResponse
- func (*RemoveGuildMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGuildMemberResponse) GetData() *empty.Empty
- func (x *RemoveGuildMemberResponse) GetError() *RestError
- func (m *RemoveGuildMemberResponse) GetResponse() isRemoveGuildMemberResponse_Response
- func (*RemoveGuildMemberResponse) ProtoMessage()
- func (x *RemoveGuildMemberResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveGuildMemberResponse) Reset()
- func (x *RemoveGuildMemberResponse) String() string
- type RemoveGuildMemberResponse_Data
- type RemoveGuildMemberResponse_Error
- type RemoveGuildMemberRoleRequest
- func (*RemoveGuildMemberRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGuildMemberRoleRequest) GetAuditLogReason() *wrappers.StringValue
- func (x *RemoveGuildMemberRoleRequest) GetRoleId() uint64
- func (x *RemoveGuildMemberRoleRequest) GetUserId() uint64
- func (*RemoveGuildMemberRoleRequest) ProtoMessage()
- func (x *RemoveGuildMemberRoleRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveGuildMemberRoleRequest) Reset()
- func (x *RemoveGuildMemberRoleRequest) String() string
- type RemoveGuildMemberRoleResponse
- func (*RemoveGuildMemberRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGuildMemberRoleResponse) GetData() *empty.Empty
- func (x *RemoveGuildMemberRoleResponse) GetError() *RestError
- func (m *RemoveGuildMemberRoleResponse) GetResponse() isRemoveGuildMemberRoleResponse_Response
- func (*RemoveGuildMemberRoleResponse) ProtoMessage()
- func (x *RemoveGuildMemberRoleResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveGuildMemberRoleResponse) Reset()
- func (x *RemoveGuildMemberRoleResponse) String() string
- type RemoveGuildMemberRoleResponse_Data
- type RemoveGuildMemberRoleResponse_Error
- type RestError
- func (*RestError) Descriptor() ([]byte, []int)deprecated
- func (x *RestError) GetAccessDenied() *RestError_AccessDenied
- func (m *RestError) GetErrorType() isRestError_ErrorType
- func (x *RestError) GetRateLimited() *RestError_RateLimited
- func (x *RestError) GetResourceNotFound() *RestError_ResourceNotFound
- func (x *RestError) GetUnknownError() *RestError_UnknownError
- func (x *RestError) GetValidationError() *RestError_ValidationError
- func (*RestError) ProtoMessage()
- func (x *RestError) ProtoReflect() protoreflect.Message
- func (x *RestError) Reset()
- func (x *RestError) String() string
- type RestError_AccessDenied
- func (*RestError_AccessDenied) Descriptor() ([]byte, []int)deprecated
- func (x *RestError_AccessDenied) GetCode() uint32
- func (x *RestError_AccessDenied) GetMessage() string
- func (*RestError_AccessDenied) ProtoMessage()
- func (x *RestError_AccessDenied) ProtoReflect() protoreflect.Message
- func (x *RestError_AccessDenied) Reset()
- func (x *RestError_AccessDenied) String() string
- type RestError_AccessDenied_
- type RestError_RateLimited
- func (*RestError_RateLimited) Descriptor() ([]byte, []int)deprecated
- func (x *RestError_RateLimited) GetGlobal() bool
- func (x *RestError_RateLimited) GetRetryAt() uint32
- func (*RestError_RateLimited) ProtoMessage()
- func (x *RestError_RateLimited) ProtoReflect() protoreflect.Message
- func (x *RestError_RateLimited) Reset()
- func (x *RestError_RateLimited) String() string
- type RestError_RateLimited_
- type RestError_ResourceNotFound
- func (*RestError_ResourceNotFound) Descriptor() ([]byte, []int)deprecated
- func (x *RestError_ResourceNotFound) GetCode() uint32
- func (x *RestError_ResourceNotFound) GetMessage() string
- func (*RestError_ResourceNotFound) ProtoMessage()
- func (x *RestError_ResourceNotFound) ProtoReflect() protoreflect.Message
- func (x *RestError_ResourceNotFound) Reset()
- func (x *RestError_ResourceNotFound) String() string
- type RestError_ResourceNotFound_
- type RestError_UnknownError
- func (*RestError_UnknownError) Descriptor() ([]byte, []int)deprecated
- func (x *RestError_UnknownError) GetCode() uint32
- func (x *RestError_UnknownError) GetHttpStatus() uint32
- func (x *RestError_UnknownError) GetMessage() string
- func (*RestError_UnknownError) ProtoMessage()
- func (x *RestError_UnknownError) ProtoReflect() protoreflect.Message
- func (x *RestError_UnknownError) Reset()
- func (x *RestError_UnknownError) String() string
- type RestError_UnknownError_
- type RestError_ValidationError
- func (*RestError_ValidationError) Descriptor() ([]byte, []int)deprecated
- func (x *RestError_ValidationError) GetFields() []*RestError_ValidationError_Field
- func (x *RestError_ValidationError) GetMessage() string
- func (*RestError_ValidationError) ProtoMessage()
- func (x *RestError_ValidationError) ProtoReflect() protoreflect.Message
- func (x *RestError_ValidationError) Reset()
- func (x *RestError_ValidationError) String() string
- type RestError_ValidationError_
- type RestError_ValidationError_Field
- func (*RestError_ValidationError_Field) Descriptor() ([]byte, []int)deprecated
- func (x *RestError_ValidationError_Field) GetCode() string
- func (x *RestError_ValidationError_Field) GetMessage() string
- func (x *RestError_ValidationError_Field) GetPath() string
- func (*RestError_ValidationError_Field) ProtoMessage()
- func (x *RestError_ValidationError_Field) ProtoReflect() protoreflect.Message
- func (x *RestError_ValidationError_Field) Reset()
- func (x *RestError_ValidationError_Field) String() string
- type TriggerTypingIndicatorRequest
- func (*TriggerTypingIndicatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerTypingIndicatorRequest) GetChannelId() uint64
- func (*TriggerTypingIndicatorRequest) ProtoMessage()
- func (x *TriggerTypingIndicatorRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerTypingIndicatorRequest) Reset()
- func (x *TriggerTypingIndicatorRequest) String() string
- type TriggerTypingIndicatorResponse
- func (*TriggerTypingIndicatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerTypingIndicatorResponse) GetData() *empty.Empty
- func (x *TriggerTypingIndicatorResponse) GetError() *RestError
- func (m *TriggerTypingIndicatorResponse) GetResponse() isTriggerTypingIndicatorResponse_Response
- func (*TriggerTypingIndicatorResponse) ProtoMessage()
- func (x *TriggerTypingIndicatorResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerTypingIndicatorResponse) Reset()
- func (x *TriggerTypingIndicatorResponse) String() string
- type TriggerTypingIndicatorResponse_Data
- type TriggerTypingIndicatorResponse_Error
Constants ¶
This section is empty.
Variables ¶
var File_discord_v1_rest_rest_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddGuildMemberRequest ¶
type AddGuildMemberRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` Nick *wrappers.StringValue `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"` Roles *model.SnowflakeListValue `protobuf:"bytes,4,opt,name=roles,proto3" json:"roles,omitempty"` Mute *wrappers.BoolValue `protobuf:"bytes,5,opt,name=mute,proto3" json:"mute,omitempty"` Deaf *wrappers.BoolValue `protobuf:"bytes,6,opt,name=deaf,proto3" json:"deaf,omitempty"` // contains filtered or unexported fields }
func (*AddGuildMemberRequest) Descriptor
deprecated
func (*AddGuildMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddGuildMemberRequest.ProtoReflect.Descriptor instead.
func (*AddGuildMemberRequest) GetAccessToken ¶
func (x *AddGuildMemberRequest) GetAccessToken() string
func (*AddGuildMemberRequest) GetDeaf ¶
func (x *AddGuildMemberRequest) GetDeaf() *wrappers.BoolValue
func (*AddGuildMemberRequest) GetMute ¶
func (x *AddGuildMemberRequest) GetMute() *wrappers.BoolValue
func (*AddGuildMemberRequest) GetNick ¶
func (x *AddGuildMemberRequest) GetNick() *wrappers.StringValue
func (*AddGuildMemberRequest) GetRoles ¶
func (x *AddGuildMemberRequest) GetRoles() *model.SnowflakeListValue
func (*AddGuildMemberRequest) GetUserId ¶
func (x *AddGuildMemberRequest) GetUserId() uint64
func (*AddGuildMemberRequest) ProtoMessage ¶
func (*AddGuildMemberRequest) ProtoMessage()
func (*AddGuildMemberRequest) ProtoReflect ¶
func (x *AddGuildMemberRequest) ProtoReflect() protoreflect.Message
func (*AddGuildMemberRequest) Reset ¶
func (x *AddGuildMemberRequest) Reset()
func (*AddGuildMemberRequest) String ¶
func (x *AddGuildMemberRequest) String() string
type AddGuildMemberResponse ¶
type AddGuildMemberResponse struct { // Types that are assignable to Response: // *AddGuildMemberResponse_Error // *AddGuildMemberResponse_Data_ Response isAddGuildMemberResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*AddGuildMemberResponse) Descriptor
deprecated
func (*AddGuildMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddGuildMemberResponse.ProtoReflect.Descriptor instead.
func (*AddGuildMemberResponse) GetData ¶
func (x *AddGuildMemberResponse) GetData() *AddGuildMemberResponse_Data
func (*AddGuildMemberResponse) GetError ¶
func (x *AddGuildMemberResponse) GetError() *RestError
func (*AddGuildMemberResponse) GetResponse ¶
func (m *AddGuildMemberResponse) GetResponse() isAddGuildMemberResponse_Response
func (*AddGuildMemberResponse) ProtoMessage ¶
func (*AddGuildMemberResponse) ProtoMessage()
func (*AddGuildMemberResponse) ProtoReflect ¶
func (x *AddGuildMemberResponse) ProtoReflect() protoreflect.Message
func (*AddGuildMemberResponse) Reset ¶
func (x *AddGuildMemberResponse) Reset()
func (*AddGuildMemberResponse) String ¶
func (x *AddGuildMemberResponse) String() string
type AddGuildMemberResponse_Data ¶
type AddGuildMemberResponse_Data struct { Added bool `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"` // contains filtered or unexported fields }
func (*AddGuildMemberResponse_Data) Descriptor
deprecated
func (*AddGuildMemberResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use AddGuildMemberResponse_Data.ProtoReflect.Descriptor instead.
func (*AddGuildMemberResponse_Data) GetAdded ¶
func (x *AddGuildMemberResponse_Data) GetAdded() bool
func (*AddGuildMemberResponse_Data) ProtoMessage ¶
func (*AddGuildMemberResponse_Data) ProtoMessage()
func (*AddGuildMemberResponse_Data) ProtoReflect ¶
func (x *AddGuildMemberResponse_Data) ProtoReflect() protoreflect.Message
func (*AddGuildMemberResponse_Data) Reset ¶
func (x *AddGuildMemberResponse_Data) Reset()
func (*AddGuildMemberResponse_Data) String ¶
func (x *AddGuildMemberResponse_Data) String() string
type AddGuildMemberResponse_Data_ ¶
type AddGuildMemberResponse_Data_ struct {
Data *AddGuildMemberResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type AddGuildMemberResponse_Error ¶
type AddGuildMemberResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type AddGuildMemberRoleRequest ¶
type AddGuildMemberRoleRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint64 `protobuf:"fixed64,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*AddGuildMemberRoleRequest) Descriptor
deprecated
func (*AddGuildMemberRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddGuildMemberRoleRequest.ProtoReflect.Descriptor instead.
func (*AddGuildMemberRoleRequest) GetAuditLogReason ¶
func (x *AddGuildMemberRoleRequest) GetAuditLogReason() *wrappers.StringValue
func (*AddGuildMemberRoleRequest) GetRoleId ¶
func (x *AddGuildMemberRoleRequest) GetRoleId() uint64
func (*AddGuildMemberRoleRequest) GetUserId ¶
func (x *AddGuildMemberRoleRequest) GetUserId() uint64
func (*AddGuildMemberRoleRequest) ProtoMessage ¶
func (*AddGuildMemberRoleRequest) ProtoMessage()
func (*AddGuildMemberRoleRequest) ProtoReflect ¶
func (x *AddGuildMemberRoleRequest) ProtoReflect() protoreflect.Message
func (*AddGuildMemberRoleRequest) Reset ¶
func (x *AddGuildMemberRoleRequest) Reset()
func (*AddGuildMemberRoleRequest) String ¶
func (x *AddGuildMemberRoleRequest) String() string
type AddGuildMemberRoleResponse ¶
type AddGuildMemberRoleResponse struct { // Types that are assignable to Response: // *AddGuildMemberRoleResponse_Error // *AddGuildMemberRoleResponse_Data Response isAddGuildMemberRoleResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*AddGuildMemberRoleResponse) Descriptor
deprecated
func (*AddGuildMemberRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddGuildMemberRoleResponse.ProtoReflect.Descriptor instead.
func (*AddGuildMemberRoleResponse) GetData ¶
func (x *AddGuildMemberRoleResponse) GetData() *empty.Empty
func (*AddGuildMemberRoleResponse) GetError ¶
func (x *AddGuildMemberRoleResponse) GetError() *RestError
func (*AddGuildMemberRoleResponse) GetResponse ¶
func (m *AddGuildMemberRoleResponse) GetResponse() isAddGuildMemberRoleResponse_Response
func (*AddGuildMemberRoleResponse) ProtoMessage ¶
func (*AddGuildMemberRoleResponse) ProtoMessage()
func (*AddGuildMemberRoleResponse) ProtoReflect ¶
func (x *AddGuildMemberRoleResponse) ProtoReflect() protoreflect.Message
func (*AddGuildMemberRoleResponse) Reset ¶
func (x *AddGuildMemberRoleResponse) Reset()
func (*AddGuildMemberRoleResponse) String ¶
func (x *AddGuildMemberRoleResponse) String() string
type AddGuildMemberRoleResponse_Error ¶
type AddGuildMemberRoleResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type AddPinnedChannelMessageRequest ¶
type AddPinnedChannelMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*AddPinnedChannelMessageRequest) Descriptor
deprecated
func (*AddPinnedChannelMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddPinnedChannelMessageRequest.ProtoReflect.Descriptor instead.
func (*AddPinnedChannelMessageRequest) GetAuditLogReason ¶
func (x *AddPinnedChannelMessageRequest) GetAuditLogReason() *wrappers.StringValue
func (*AddPinnedChannelMessageRequest) GetChannelId ¶
func (x *AddPinnedChannelMessageRequest) GetChannelId() uint64
func (*AddPinnedChannelMessageRequest) GetMessageId ¶
func (x *AddPinnedChannelMessageRequest) GetMessageId() uint64
func (*AddPinnedChannelMessageRequest) ProtoMessage ¶
func (*AddPinnedChannelMessageRequest) ProtoMessage()
func (*AddPinnedChannelMessageRequest) ProtoReflect ¶
func (x *AddPinnedChannelMessageRequest) ProtoReflect() protoreflect.Message
func (*AddPinnedChannelMessageRequest) Reset ¶
func (x *AddPinnedChannelMessageRequest) Reset()
func (*AddPinnedChannelMessageRequest) String ¶
func (x *AddPinnedChannelMessageRequest) String() string
type AddPinnedChannelMessageResponse ¶
type AddPinnedChannelMessageResponse struct { // Types that are assignable to Response: // *AddPinnedChannelMessageResponse_Error // *AddPinnedChannelMessageResponse_Data Response isAddPinnedChannelMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*AddPinnedChannelMessageResponse) Descriptor
deprecated
func (*AddPinnedChannelMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddPinnedChannelMessageResponse.ProtoReflect.Descriptor instead.
func (*AddPinnedChannelMessageResponse) GetData ¶
func (x *AddPinnedChannelMessageResponse) GetData() *empty.Empty
func (*AddPinnedChannelMessageResponse) GetError ¶
func (x *AddPinnedChannelMessageResponse) GetError() *RestError
func (*AddPinnedChannelMessageResponse) GetResponse ¶
func (m *AddPinnedChannelMessageResponse) GetResponse() isAddPinnedChannelMessageResponse_Response
func (*AddPinnedChannelMessageResponse) ProtoMessage ¶
func (*AddPinnedChannelMessageResponse) ProtoMessage()
func (*AddPinnedChannelMessageResponse) ProtoReflect ¶
func (x *AddPinnedChannelMessageResponse) ProtoReflect() protoreflect.Message
func (*AddPinnedChannelMessageResponse) Reset ¶
func (x *AddPinnedChannelMessageResponse) Reset()
func (*AddPinnedChannelMessageResponse) String ¶
func (x *AddPinnedChannelMessageResponse) String() string
type AddPinnedChannelMessageResponse_Error ¶
type AddPinnedChannelMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type BeginGuildPruneRequest ¶
type BeginGuildPruneRequest struct { Days *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=days,proto3" json:"days,omitempty"` IncludeRoles *model.SnowflakeListValue `protobuf:"bytes,2,opt,name=include_roles,json=includeRoles,proto3" json:"include_roles,omitempty"` ComputePruneCount *wrappers.BoolValue `protobuf:"bytes,3,opt,name=compute_prune_count,json=computePruneCount,proto3" json:"compute_prune_count,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*BeginGuildPruneRequest) Descriptor
deprecated
func (*BeginGuildPruneRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginGuildPruneRequest.ProtoReflect.Descriptor instead.
func (*BeginGuildPruneRequest) GetAuditLogReason ¶
func (x *BeginGuildPruneRequest) GetAuditLogReason() *wrappers.StringValue
func (*BeginGuildPruneRequest) GetComputePruneCount ¶
func (x *BeginGuildPruneRequest) GetComputePruneCount() *wrappers.BoolValue
func (*BeginGuildPruneRequest) GetDays ¶
func (x *BeginGuildPruneRequest) GetDays() *wrappers.UInt32Value
func (*BeginGuildPruneRequest) GetIncludeRoles ¶
func (x *BeginGuildPruneRequest) GetIncludeRoles() *model.SnowflakeListValue
func (*BeginGuildPruneRequest) ProtoMessage ¶
func (*BeginGuildPruneRequest) ProtoMessage()
func (*BeginGuildPruneRequest) ProtoReflect ¶
func (x *BeginGuildPruneRequest) ProtoReflect() protoreflect.Message
func (*BeginGuildPruneRequest) Reset ¶
func (x *BeginGuildPruneRequest) Reset()
func (*BeginGuildPruneRequest) String ¶
func (x *BeginGuildPruneRequest) String() string
type BeginGuildPruneResponse ¶
type BeginGuildPruneResponse struct { // Types that are assignable to Response: // *BeginGuildPruneResponse_Error // *BeginGuildPruneResponse_Data Response isBeginGuildPruneResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*BeginGuildPruneResponse) Descriptor
deprecated
func (*BeginGuildPruneResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeginGuildPruneResponse.ProtoReflect.Descriptor instead.
func (*BeginGuildPruneResponse) GetData ¶
func (x *BeginGuildPruneResponse) GetData() *empty.Empty
func (*BeginGuildPruneResponse) GetError ¶
func (x *BeginGuildPruneResponse) GetError() *RestError
func (*BeginGuildPruneResponse) GetResponse ¶
func (m *BeginGuildPruneResponse) GetResponse() isBeginGuildPruneResponse_Response
func (*BeginGuildPruneResponse) ProtoMessage ¶
func (*BeginGuildPruneResponse) ProtoMessage()
func (*BeginGuildPruneResponse) ProtoReflect ¶
func (x *BeginGuildPruneResponse) ProtoReflect() protoreflect.Message
func (*BeginGuildPruneResponse) Reset ¶
func (x *BeginGuildPruneResponse) Reset()
func (*BeginGuildPruneResponse) String ¶
func (x *BeginGuildPruneResponse) String() string
type BeginGuildPruneResponse_Error ¶
type BeginGuildPruneResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type BulkDeleteMessagesRequest ¶
type BulkDeleteMessagesRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageIds []uint64 `protobuf:"fixed64,2,rep,packed,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*BulkDeleteMessagesRequest) Descriptor
deprecated
func (*BulkDeleteMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteMessagesRequest.ProtoReflect.Descriptor instead.
func (*BulkDeleteMessagesRequest) GetAuditLogReason ¶
func (x *BulkDeleteMessagesRequest) GetAuditLogReason() *wrappers.StringValue
func (*BulkDeleteMessagesRequest) GetChannelId ¶
func (x *BulkDeleteMessagesRequest) GetChannelId() uint64
func (*BulkDeleteMessagesRequest) GetMessageIds ¶
func (x *BulkDeleteMessagesRequest) GetMessageIds() []uint64
func (*BulkDeleteMessagesRequest) ProtoMessage ¶
func (*BulkDeleteMessagesRequest) ProtoMessage()
func (*BulkDeleteMessagesRequest) ProtoReflect ¶
func (x *BulkDeleteMessagesRequest) ProtoReflect() protoreflect.Message
func (*BulkDeleteMessagesRequest) Reset ¶
func (x *BulkDeleteMessagesRequest) Reset()
func (*BulkDeleteMessagesRequest) String ¶
func (x *BulkDeleteMessagesRequest) String() string
type BulkDeleteMessagesResponse ¶
type BulkDeleteMessagesResponse struct { // Types that are assignable to Response: // *BulkDeleteMessagesResponse_Error // *BulkDeleteMessagesResponse_Data Response isBulkDeleteMessagesResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*BulkDeleteMessagesResponse) Descriptor
deprecated
func (*BulkDeleteMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteMessagesResponse.ProtoReflect.Descriptor instead.
func (*BulkDeleteMessagesResponse) GetData ¶
func (x *BulkDeleteMessagesResponse) GetData() *empty.Empty
func (*BulkDeleteMessagesResponse) GetError ¶
func (x *BulkDeleteMessagesResponse) GetError() *RestError
func (*BulkDeleteMessagesResponse) GetResponse ¶
func (m *BulkDeleteMessagesResponse) GetResponse() isBulkDeleteMessagesResponse_Response
func (*BulkDeleteMessagesResponse) ProtoMessage ¶
func (*BulkDeleteMessagesResponse) ProtoMessage()
func (*BulkDeleteMessagesResponse) ProtoReflect ¶
func (x *BulkDeleteMessagesResponse) ProtoReflect() protoreflect.Message
func (*BulkDeleteMessagesResponse) Reset ¶
func (x *BulkDeleteMessagesResponse) Reset()
func (*BulkDeleteMessagesResponse) String ¶
func (x *BulkDeleteMessagesResponse) String() string
type BulkDeleteMessagesResponse_Error ¶
type BulkDeleteMessagesResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateChannelInviteRequest ¶
type CreateChannelInviteRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MaxAge *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"` MaxUses *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_uses,json=maxUses,proto3" json:"max_uses,omitempty"` Temporary *wrappers.BoolValue `protobuf:"bytes,4,opt,name=temporary,proto3" json:"temporary,omitempty"` Unique *wrappers.BoolValue `protobuf:"bytes,5,opt,name=unique,proto3" json:"unique,omitempty"` TargetUser *model.SnowflakeValue `protobuf:"bytes,6,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty"` TargetUserType model.InviteData_InviteTargetUserType `` /* 166-byte string literal not displayed */ AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelInviteRequest) Descriptor
deprecated
func (*CreateChannelInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelInviteRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelInviteRequest) GetAuditLogReason ¶
func (x *CreateChannelInviteRequest) GetAuditLogReason() *wrappers.StringValue
func (*CreateChannelInviteRequest) GetChannelId ¶
func (x *CreateChannelInviteRequest) GetChannelId() uint64
func (*CreateChannelInviteRequest) GetMaxAge ¶
func (x *CreateChannelInviteRequest) GetMaxAge() *wrappers.UInt32Value
func (*CreateChannelInviteRequest) GetMaxUses ¶
func (x *CreateChannelInviteRequest) GetMaxUses() *wrappers.UInt32Value
func (*CreateChannelInviteRequest) GetTargetUser ¶
func (x *CreateChannelInviteRequest) GetTargetUser() *model.SnowflakeValue
func (*CreateChannelInviteRequest) GetTargetUserType ¶
func (x *CreateChannelInviteRequest) GetTargetUserType() model.InviteData_InviteTargetUserType
func (*CreateChannelInviteRequest) GetTemporary ¶
func (x *CreateChannelInviteRequest) GetTemporary() *wrappers.BoolValue
func (*CreateChannelInviteRequest) GetUnique ¶
func (x *CreateChannelInviteRequest) GetUnique() *wrappers.BoolValue
func (*CreateChannelInviteRequest) ProtoMessage ¶
func (*CreateChannelInviteRequest) ProtoMessage()
func (*CreateChannelInviteRequest) ProtoReflect ¶
func (x *CreateChannelInviteRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelInviteRequest) Reset ¶
func (x *CreateChannelInviteRequest) Reset()
func (*CreateChannelInviteRequest) String ¶
func (x *CreateChannelInviteRequest) String() string
type CreateChannelInviteResponse ¶
type CreateChannelInviteResponse struct { // Types that are assignable to Response: // *CreateChannelInviteResponse_Error // *CreateChannelInviteResponse_Data_ Response isCreateChannelInviteResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateChannelInviteResponse) Descriptor
deprecated
func (*CreateChannelInviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelInviteResponse.ProtoReflect.Descriptor instead.
func (*CreateChannelInviteResponse) GetData ¶
func (x *CreateChannelInviteResponse) GetData() *CreateChannelInviteResponse_Data
func (*CreateChannelInviteResponse) GetError ¶
func (x *CreateChannelInviteResponse) GetError() *RestError
func (*CreateChannelInviteResponse) GetResponse ¶
func (m *CreateChannelInviteResponse) GetResponse() isCreateChannelInviteResponse_Response
func (*CreateChannelInviteResponse) ProtoMessage ¶
func (*CreateChannelInviteResponse) ProtoMessage()
func (*CreateChannelInviteResponse) ProtoReflect ¶
func (x *CreateChannelInviteResponse) ProtoReflect() protoreflect.Message
func (*CreateChannelInviteResponse) Reset ¶
func (x *CreateChannelInviteResponse) Reset()
func (*CreateChannelInviteResponse) String ¶
func (x *CreateChannelInviteResponse) String() string
type CreateChannelInviteResponse_Data ¶
type CreateChannelInviteResponse_Data struct { Invite *model.InviteData `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelInviteResponse_Data) Descriptor
deprecated
func (*CreateChannelInviteResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelInviteResponse_Data.ProtoReflect.Descriptor instead.
func (*CreateChannelInviteResponse_Data) GetInvite ¶
func (x *CreateChannelInviteResponse_Data) GetInvite() *model.InviteData
func (*CreateChannelInviteResponse_Data) ProtoMessage ¶
func (*CreateChannelInviteResponse_Data) ProtoMessage()
func (*CreateChannelInviteResponse_Data) ProtoReflect ¶
func (x *CreateChannelInviteResponse_Data) ProtoReflect() protoreflect.Message
func (*CreateChannelInviteResponse_Data) Reset ¶
func (x *CreateChannelInviteResponse_Data) Reset()
func (*CreateChannelInviteResponse_Data) String ¶
func (x *CreateChannelInviteResponse_Data) String() string
type CreateChannelInviteResponse_Data_ ¶
type CreateChannelInviteResponse_Data_ struct {
Data *CreateChannelInviteResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CreateChannelInviteResponse_Error ¶
type CreateChannelInviteResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateDmRequest ¶
type CreateDmRequest struct { RecipientId uint64 `protobuf:"fixed64,1,opt,name=recipient_id,json=recipientId,proto3" json:"recipient_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDmRequest) Descriptor
deprecated
func (*CreateDmRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDmRequest.ProtoReflect.Descriptor instead.
func (*CreateDmRequest) GetRecipientId ¶
func (x *CreateDmRequest) GetRecipientId() uint64
func (*CreateDmRequest) ProtoMessage ¶
func (*CreateDmRequest) ProtoMessage()
func (*CreateDmRequest) ProtoReflect ¶
func (x *CreateDmRequest) ProtoReflect() protoreflect.Message
func (*CreateDmRequest) Reset ¶
func (x *CreateDmRequest) Reset()
func (*CreateDmRequest) String ¶
func (x *CreateDmRequest) String() string
type CreateDmResponse ¶
type CreateDmResponse struct { // Types that are assignable to Response: // *CreateDmResponse_Error // *CreateDmResponse_Data_ Response isCreateDmResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateDmResponse) Descriptor
deprecated
func (*CreateDmResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDmResponse.ProtoReflect.Descriptor instead.
func (*CreateDmResponse) GetData ¶
func (x *CreateDmResponse) GetData() *CreateDmResponse_Data
func (*CreateDmResponse) GetError ¶
func (x *CreateDmResponse) GetError() *RestError
func (*CreateDmResponse) GetResponse ¶
func (m *CreateDmResponse) GetResponse() isCreateDmResponse_Response
func (*CreateDmResponse) ProtoMessage ¶
func (*CreateDmResponse) ProtoMessage()
func (*CreateDmResponse) ProtoReflect ¶
func (x *CreateDmResponse) ProtoReflect() protoreflect.Message
func (*CreateDmResponse) Reset ¶
func (x *CreateDmResponse) Reset()
func (*CreateDmResponse) String ¶
func (x *CreateDmResponse) String() string
type CreateDmResponse_Data ¶
type CreateDmResponse_Data struct { Channel *model.ChannelData `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*CreateDmResponse_Data) Descriptor
deprecated
func (*CreateDmResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateDmResponse_Data.ProtoReflect.Descriptor instead.
func (*CreateDmResponse_Data) GetChannel ¶
func (x *CreateDmResponse_Data) GetChannel() *model.ChannelData
func (*CreateDmResponse_Data) ProtoMessage ¶
func (*CreateDmResponse_Data) ProtoMessage()
func (*CreateDmResponse_Data) ProtoReflect ¶
func (x *CreateDmResponse_Data) ProtoReflect() protoreflect.Message
func (*CreateDmResponse_Data) Reset ¶
func (x *CreateDmResponse_Data) Reset()
func (*CreateDmResponse_Data) String ¶
func (x *CreateDmResponse_Data) String() string
type CreateDmResponse_Data_ ¶
type CreateDmResponse_Data_ struct {
Data *CreateDmResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CreateDmResponse_Error ¶
type CreateDmResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateGuildBanRequest ¶
type CreateGuildBanRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` DeleteMessageDays *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=delete_message_days,json=deleteMessageDays,proto3" json:"delete_message_days,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildBanRequest) Descriptor
deprecated
func (*CreateGuildBanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildBanRequest.ProtoReflect.Descriptor instead.
func (*CreateGuildBanRequest) GetAuditLogReason ¶
func (x *CreateGuildBanRequest) GetAuditLogReason() *wrappers.StringValue
func (*CreateGuildBanRequest) GetDeleteMessageDays ¶
func (x *CreateGuildBanRequest) GetDeleteMessageDays() *wrappers.UInt32Value
func (*CreateGuildBanRequest) GetUserId ¶
func (x *CreateGuildBanRequest) GetUserId() uint64
func (*CreateGuildBanRequest) ProtoMessage ¶
func (*CreateGuildBanRequest) ProtoMessage()
func (*CreateGuildBanRequest) ProtoReflect ¶
func (x *CreateGuildBanRequest) ProtoReflect() protoreflect.Message
func (*CreateGuildBanRequest) Reset ¶
func (x *CreateGuildBanRequest) Reset()
func (*CreateGuildBanRequest) String ¶
func (x *CreateGuildBanRequest) String() string
type CreateGuildBanResponse ¶
type CreateGuildBanResponse struct { // Types that are assignable to Response: // *CreateGuildBanResponse_Error // *CreateGuildBanResponse_Data Response isCreateGuildBanResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateGuildBanResponse) Descriptor
deprecated
func (*CreateGuildBanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildBanResponse.ProtoReflect.Descriptor instead.
func (*CreateGuildBanResponse) GetData ¶
func (x *CreateGuildBanResponse) GetData() *empty.Empty
func (*CreateGuildBanResponse) GetError ¶
func (x *CreateGuildBanResponse) GetError() *RestError
func (*CreateGuildBanResponse) GetResponse ¶
func (m *CreateGuildBanResponse) GetResponse() isCreateGuildBanResponse_Response
func (*CreateGuildBanResponse) ProtoMessage ¶
func (*CreateGuildBanResponse) ProtoMessage()
func (*CreateGuildBanResponse) ProtoReflect ¶
func (x *CreateGuildBanResponse) ProtoReflect() protoreflect.Message
func (*CreateGuildBanResponse) Reset ¶
func (x *CreateGuildBanResponse) Reset()
func (*CreateGuildBanResponse) String ¶
func (x *CreateGuildBanResponse) String() string
type CreateGuildBanResponse_Error ¶
type CreateGuildBanResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateGuildChannelRequest ¶
type CreateGuildChannelRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type model.ChannelData_ChannelType `protobuf:"varint,2,opt,name=type,proto3,enum=pylon.discord.v1.model.ChannelData_ChannelType" json:"type,omitempty"` Topic *wrappers.StringValue `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Bitrate *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` UserLimit *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=user_limit,json=userLimit,proto3" json:"user_limit,omitempty"` RateLimitPerUser *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=rate_limit_per_user,json=rateLimitPerUser,proto3" json:"rate_limit_per_user,omitempty"` Position *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=position,proto3" json:"position,omitempty"` PermissionOverwrites []*model.ChannelData_ChannelPermissionOverwriteData `protobuf:"bytes,8,rep,name=permission_overwrites,json=permissionOverwrites,proto3" json:"permission_overwrites,omitempty"` ParentId *model.SnowflakeValue `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Nsfw *wrappers.BoolValue `protobuf:"bytes,10,opt,name=nsfw,proto3" json:"nsfw,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildChannelRequest) Descriptor
deprecated
func (*CreateGuildChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildChannelRequest.ProtoReflect.Descriptor instead.
func (*CreateGuildChannelRequest) GetAuditLogReason ¶
func (x *CreateGuildChannelRequest) GetAuditLogReason() *wrappers.StringValue
func (*CreateGuildChannelRequest) GetBitrate ¶
func (x *CreateGuildChannelRequest) GetBitrate() *wrappers.UInt32Value
func (*CreateGuildChannelRequest) GetName ¶
func (x *CreateGuildChannelRequest) GetName() string
func (*CreateGuildChannelRequest) GetNsfw ¶
func (x *CreateGuildChannelRequest) GetNsfw() *wrappers.BoolValue
func (*CreateGuildChannelRequest) GetParentId ¶
func (x *CreateGuildChannelRequest) GetParentId() *model.SnowflakeValue
func (*CreateGuildChannelRequest) GetPermissionOverwrites ¶
func (x *CreateGuildChannelRequest) GetPermissionOverwrites() []*model.ChannelData_ChannelPermissionOverwriteData
func (*CreateGuildChannelRequest) GetPosition ¶
func (x *CreateGuildChannelRequest) GetPosition() *wrappers.UInt32Value
func (*CreateGuildChannelRequest) GetRateLimitPerUser ¶
func (x *CreateGuildChannelRequest) GetRateLimitPerUser() *wrappers.UInt32Value
func (*CreateGuildChannelRequest) GetTopic ¶
func (x *CreateGuildChannelRequest) GetTopic() *wrappers.StringValue
func (*CreateGuildChannelRequest) GetType ¶
func (x *CreateGuildChannelRequest) GetType() model.ChannelData_ChannelType
func (*CreateGuildChannelRequest) GetUserLimit ¶
func (x *CreateGuildChannelRequest) GetUserLimit() *wrappers.UInt32Value
func (*CreateGuildChannelRequest) ProtoMessage ¶
func (*CreateGuildChannelRequest) ProtoMessage()
func (*CreateGuildChannelRequest) ProtoReflect ¶
func (x *CreateGuildChannelRequest) ProtoReflect() protoreflect.Message
func (*CreateGuildChannelRequest) Reset ¶
func (x *CreateGuildChannelRequest) Reset()
func (*CreateGuildChannelRequest) String ¶
func (x *CreateGuildChannelRequest) String() string
type CreateGuildChannelResponse ¶
type CreateGuildChannelResponse struct { // Types that are assignable to Response: // *CreateGuildChannelResponse_Error // *CreateGuildChannelResponse_Data_ Response isCreateGuildChannelResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateGuildChannelResponse) Descriptor
deprecated
func (*CreateGuildChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildChannelResponse.ProtoReflect.Descriptor instead.
func (*CreateGuildChannelResponse) GetData ¶
func (x *CreateGuildChannelResponse) GetData() *CreateGuildChannelResponse_Data
func (*CreateGuildChannelResponse) GetError ¶
func (x *CreateGuildChannelResponse) GetError() *RestError
func (*CreateGuildChannelResponse) GetResponse ¶
func (m *CreateGuildChannelResponse) GetResponse() isCreateGuildChannelResponse_Response
func (*CreateGuildChannelResponse) ProtoMessage ¶
func (*CreateGuildChannelResponse) ProtoMessage()
func (*CreateGuildChannelResponse) ProtoReflect ¶
func (x *CreateGuildChannelResponse) ProtoReflect() protoreflect.Message
func (*CreateGuildChannelResponse) Reset ¶
func (x *CreateGuildChannelResponse) Reset()
func (*CreateGuildChannelResponse) String ¶
func (x *CreateGuildChannelResponse) String() string
type CreateGuildChannelResponse_Data ¶
type CreateGuildChannelResponse_Data struct { Channel *model.ChannelData `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildChannelResponse_Data) Descriptor
deprecated
func (*CreateGuildChannelResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildChannelResponse_Data.ProtoReflect.Descriptor instead.
func (*CreateGuildChannelResponse_Data) GetChannel ¶
func (x *CreateGuildChannelResponse_Data) GetChannel() *model.ChannelData
func (*CreateGuildChannelResponse_Data) ProtoMessage ¶
func (*CreateGuildChannelResponse_Data) ProtoMessage()
func (*CreateGuildChannelResponse_Data) ProtoReflect ¶
func (x *CreateGuildChannelResponse_Data) ProtoReflect() protoreflect.Message
func (*CreateGuildChannelResponse_Data) Reset ¶
func (x *CreateGuildChannelResponse_Data) Reset()
func (*CreateGuildChannelResponse_Data) String ¶
func (x *CreateGuildChannelResponse_Data) String() string
type CreateGuildChannelResponse_Data_ ¶
type CreateGuildChannelResponse_Data_ struct {
Data *CreateGuildChannelResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CreateGuildChannelResponse_Error ¶
type CreateGuildChannelResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateGuildEmojiRequest ¶
type CreateGuildEmojiRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image *wrappers.BytesValue `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Roles *model.SnowflakeListValue `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildEmojiRequest) Descriptor
deprecated
func (*CreateGuildEmojiRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildEmojiRequest.ProtoReflect.Descriptor instead.
func (*CreateGuildEmojiRequest) GetAuditLogReason ¶
func (x *CreateGuildEmojiRequest) GetAuditLogReason() *wrappers.StringValue
func (*CreateGuildEmojiRequest) GetImage ¶
func (x *CreateGuildEmojiRequest) GetImage() *wrappers.BytesValue
func (*CreateGuildEmojiRequest) GetName ¶
func (x *CreateGuildEmojiRequest) GetName() string
func (*CreateGuildEmojiRequest) GetRoles ¶
func (x *CreateGuildEmojiRequest) GetRoles() *model.SnowflakeListValue
func (*CreateGuildEmojiRequest) ProtoMessage ¶
func (*CreateGuildEmojiRequest) ProtoMessage()
func (*CreateGuildEmojiRequest) ProtoReflect ¶
func (x *CreateGuildEmojiRequest) ProtoReflect() protoreflect.Message
func (*CreateGuildEmojiRequest) Reset ¶
func (x *CreateGuildEmojiRequest) Reset()
func (*CreateGuildEmojiRequest) String ¶
func (x *CreateGuildEmojiRequest) String() string
type CreateGuildEmojiResponse ¶
type CreateGuildEmojiResponse struct { // Types that are assignable to Response: // *CreateGuildEmojiResponse_Error // *CreateGuildEmojiResponse_Data_ Response isCreateGuildEmojiResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateGuildEmojiResponse) Descriptor
deprecated
func (*CreateGuildEmojiResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildEmojiResponse.ProtoReflect.Descriptor instead.
func (*CreateGuildEmojiResponse) GetData ¶
func (x *CreateGuildEmojiResponse) GetData() *CreateGuildEmojiResponse_Data
func (*CreateGuildEmojiResponse) GetError ¶
func (x *CreateGuildEmojiResponse) GetError() *RestError
func (*CreateGuildEmojiResponse) GetResponse ¶
func (m *CreateGuildEmojiResponse) GetResponse() isCreateGuildEmojiResponse_Response
func (*CreateGuildEmojiResponse) ProtoMessage ¶
func (*CreateGuildEmojiResponse) ProtoMessage()
func (*CreateGuildEmojiResponse) ProtoReflect ¶
func (x *CreateGuildEmojiResponse) ProtoReflect() protoreflect.Message
func (*CreateGuildEmojiResponse) Reset ¶
func (x *CreateGuildEmojiResponse) Reset()
func (*CreateGuildEmojiResponse) String ¶
func (x *CreateGuildEmojiResponse) String() string
type CreateGuildEmojiResponse_Data ¶
type CreateGuildEmojiResponse_Data struct { Emoji *model.EmojiData `protobuf:"bytes,1,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildEmojiResponse_Data) Descriptor
deprecated
func (*CreateGuildEmojiResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildEmojiResponse_Data.ProtoReflect.Descriptor instead.
func (*CreateGuildEmojiResponse_Data) GetEmoji ¶
func (x *CreateGuildEmojiResponse_Data) GetEmoji() *model.EmojiData
func (*CreateGuildEmojiResponse_Data) ProtoMessage ¶
func (*CreateGuildEmojiResponse_Data) ProtoMessage()
func (*CreateGuildEmojiResponse_Data) ProtoReflect ¶
func (x *CreateGuildEmojiResponse_Data) ProtoReflect() protoreflect.Message
func (*CreateGuildEmojiResponse_Data) Reset ¶
func (x *CreateGuildEmojiResponse_Data) Reset()
func (*CreateGuildEmojiResponse_Data) String ¶
func (x *CreateGuildEmojiResponse_Data) String() string
type CreateGuildEmojiResponse_Data_ ¶
type CreateGuildEmojiResponse_Data_ struct {
Data *CreateGuildEmojiResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CreateGuildEmojiResponse_Error ¶
type CreateGuildEmojiResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateGuildRoleRequest ¶
type CreateGuildRoleRequest struct { Name *wrappers.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Permissions *model.PermissionsValue `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` Color *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` Hoist *wrappers.BoolValue `protobuf:"bytes,4,opt,name=hoist,proto3" json:"hoist,omitempty"` Mentionable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=mentionable,proto3" json:"mentionable,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildRoleRequest) Descriptor
deprecated
func (*CreateGuildRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateGuildRoleRequest) GetAuditLogReason ¶
func (x *CreateGuildRoleRequest) GetAuditLogReason() *wrappers.StringValue
func (*CreateGuildRoleRequest) GetColor ¶
func (x *CreateGuildRoleRequest) GetColor() *wrappers.UInt32Value
func (*CreateGuildRoleRequest) GetHoist ¶
func (x *CreateGuildRoleRequest) GetHoist() *wrappers.BoolValue
func (*CreateGuildRoleRequest) GetMentionable ¶
func (x *CreateGuildRoleRequest) GetMentionable() *wrappers.BoolValue
func (*CreateGuildRoleRequest) GetName ¶
func (x *CreateGuildRoleRequest) GetName() *wrappers.StringValue
func (*CreateGuildRoleRequest) GetPermissions ¶
func (x *CreateGuildRoleRequest) GetPermissions() *model.PermissionsValue
func (*CreateGuildRoleRequest) ProtoMessage ¶
func (*CreateGuildRoleRequest) ProtoMessage()
func (*CreateGuildRoleRequest) ProtoReflect ¶
func (x *CreateGuildRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateGuildRoleRequest) Reset ¶
func (x *CreateGuildRoleRequest) Reset()
func (*CreateGuildRoleRequest) String ¶
func (x *CreateGuildRoleRequest) String() string
type CreateGuildRoleResponse ¶
type CreateGuildRoleResponse struct { // Types that are assignable to Response: // *CreateGuildRoleResponse_Error // *CreateGuildRoleResponse_Data_ Response isCreateGuildRoleResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateGuildRoleResponse) Descriptor
deprecated
func (*CreateGuildRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildRoleResponse.ProtoReflect.Descriptor instead.
func (*CreateGuildRoleResponse) GetData ¶
func (x *CreateGuildRoleResponse) GetData() *CreateGuildRoleResponse_Data
func (*CreateGuildRoleResponse) GetError ¶
func (x *CreateGuildRoleResponse) GetError() *RestError
func (*CreateGuildRoleResponse) GetResponse ¶
func (m *CreateGuildRoleResponse) GetResponse() isCreateGuildRoleResponse_Response
func (*CreateGuildRoleResponse) ProtoMessage ¶
func (*CreateGuildRoleResponse) ProtoMessage()
func (*CreateGuildRoleResponse) ProtoReflect ¶
func (x *CreateGuildRoleResponse) ProtoReflect() protoreflect.Message
func (*CreateGuildRoleResponse) Reset ¶
func (x *CreateGuildRoleResponse) Reset()
func (*CreateGuildRoleResponse) String ¶
func (x *CreateGuildRoleResponse) String() string
type CreateGuildRoleResponse_Data ¶
type CreateGuildRoleResponse_Data struct { Role *model.RoleData `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateGuildRoleResponse_Data) Descriptor
deprecated
func (*CreateGuildRoleResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuildRoleResponse_Data.ProtoReflect.Descriptor instead.
func (*CreateGuildRoleResponse_Data) GetRole ¶
func (x *CreateGuildRoleResponse_Data) GetRole() *model.RoleData
func (*CreateGuildRoleResponse_Data) ProtoMessage ¶
func (*CreateGuildRoleResponse_Data) ProtoMessage()
func (*CreateGuildRoleResponse_Data) ProtoReflect ¶
func (x *CreateGuildRoleResponse_Data) ProtoReflect() protoreflect.Message
func (*CreateGuildRoleResponse_Data) Reset ¶
func (x *CreateGuildRoleResponse_Data) Reset()
func (*CreateGuildRoleResponse_Data) String ¶
func (x *CreateGuildRoleResponse_Data) String() string
type CreateGuildRoleResponse_Data_ ¶
type CreateGuildRoleResponse_Data_ struct {
Data *CreateGuildRoleResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CreateGuildRoleResponse_Error ¶
type CreateGuildRoleResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateMessageRequest ¶
type CreateMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Nonce *wrappers.StringValue `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` Tts *wrappers.BoolValue `protobuf:"bytes,4,opt,name=tts,proto3" json:"tts,omitempty"` Embed *model.MessageData_MessageEmbedData `protobuf:"bytes,5,opt,name=embed,proto3" json:"embed,omitempty"` AllowedMentions *model.MessageData_MessageAllowedMentionsData `protobuf:"bytes,6,opt,name=allowed_mentions,json=allowedMentions,proto3" json:"allowed_mentions,omitempty"` MessageReference *CreateMessageRequest_MessageReference `protobuf:"bytes,7,opt,name=message_reference,json=messageReference,proto3" json:"message_reference,omitempty"` Components []*model.MessageData_MessageComponentData `protobuf:"bytes,8,rep,name=components,proto3" json:"components,omitempty"` Attachment *CreateMessageRequest_Attachment `protobuf:"bytes,99,opt,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageRequest) Descriptor
deprecated
func (*CreateMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.
func (*CreateMessageRequest) GetAllowedMentions ¶
func (x *CreateMessageRequest) GetAllowedMentions() *model.MessageData_MessageAllowedMentionsData
func (*CreateMessageRequest) GetAttachment ¶
func (x *CreateMessageRequest) GetAttachment() *CreateMessageRequest_Attachment
func (*CreateMessageRequest) GetChannelId ¶
func (x *CreateMessageRequest) GetChannelId() uint64
func (*CreateMessageRequest) GetComponents ¶
func (x *CreateMessageRequest) GetComponents() []*model.MessageData_MessageComponentData
func (*CreateMessageRequest) GetContent ¶
func (x *CreateMessageRequest) GetContent() string
func (*CreateMessageRequest) GetEmbed ¶
func (x *CreateMessageRequest) GetEmbed() *model.MessageData_MessageEmbedData
func (*CreateMessageRequest) GetMessageReference ¶
func (x *CreateMessageRequest) GetMessageReference() *CreateMessageRequest_MessageReference
func (*CreateMessageRequest) GetNonce ¶
func (x *CreateMessageRequest) GetNonce() *wrappers.StringValue
func (*CreateMessageRequest) GetTts ¶
func (x *CreateMessageRequest) GetTts() *wrappers.BoolValue
func (*CreateMessageRequest) ProtoMessage ¶
func (*CreateMessageRequest) ProtoMessage()
func (*CreateMessageRequest) ProtoReflect ¶
func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
func (*CreateMessageRequest) Reset ¶
func (x *CreateMessageRequest) Reset()
func (*CreateMessageRequest) String ¶
func (x *CreateMessageRequest) String() string
type CreateMessageRequest_Attachment ¶
type CreateMessageRequest_Attachment struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageRequest_Attachment) Descriptor
deprecated
func (*CreateMessageRequest_Attachment) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageRequest_Attachment.ProtoReflect.Descriptor instead.
func (*CreateMessageRequest_Attachment) GetContent ¶
func (x *CreateMessageRequest_Attachment) GetContent() []byte
func (*CreateMessageRequest_Attachment) GetName ¶
func (x *CreateMessageRequest_Attachment) GetName() string
func (*CreateMessageRequest_Attachment) ProtoMessage ¶
func (*CreateMessageRequest_Attachment) ProtoMessage()
func (*CreateMessageRequest_Attachment) ProtoReflect ¶
func (x *CreateMessageRequest_Attachment) ProtoReflect() protoreflect.Message
func (*CreateMessageRequest_Attachment) Reset ¶
func (x *CreateMessageRequest_Attachment) Reset()
func (*CreateMessageRequest_Attachment) String ¶
func (x *CreateMessageRequest_Attachment) String() string
type CreateMessageRequest_MessageReference ¶
type CreateMessageRequest_MessageReference struct { MessageId uint64 `protobuf:"fixed64,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` ChannelId uint64 `protobuf:"fixed64,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` GuildId uint64 `protobuf:"fixed64,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` FailIfNotExists bool `protobuf:"varint,4,opt,name=fail_if_not_exists,json=failIfNotExists,proto3" json:"fail_if_not_exists,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageRequest_MessageReference) Descriptor
deprecated
func (*CreateMessageRequest_MessageReference) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageRequest_MessageReference.ProtoReflect.Descriptor instead.
func (*CreateMessageRequest_MessageReference) GetChannelId ¶
func (x *CreateMessageRequest_MessageReference) GetChannelId() uint64
func (*CreateMessageRequest_MessageReference) GetFailIfNotExists ¶
func (x *CreateMessageRequest_MessageReference) GetFailIfNotExists() bool
func (*CreateMessageRequest_MessageReference) GetGuildId ¶
func (x *CreateMessageRequest_MessageReference) GetGuildId() uint64
func (*CreateMessageRequest_MessageReference) GetMessageId ¶
func (x *CreateMessageRequest_MessageReference) GetMessageId() uint64
func (*CreateMessageRequest_MessageReference) ProtoMessage ¶
func (*CreateMessageRequest_MessageReference) ProtoMessage()
func (*CreateMessageRequest_MessageReference) ProtoReflect ¶
func (x *CreateMessageRequest_MessageReference) ProtoReflect() protoreflect.Message
func (*CreateMessageRequest_MessageReference) Reset ¶
func (x *CreateMessageRequest_MessageReference) Reset()
func (*CreateMessageRequest_MessageReference) String ¶
func (x *CreateMessageRequest_MessageReference) String() string
type CreateMessageResponse ¶
type CreateMessageResponse struct { // Types that are assignable to Response: // *CreateMessageResponse_Error // *CreateMessageResponse_Data_ Response isCreateMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateMessageResponse) Descriptor
deprecated
func (*CreateMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageResponse.ProtoReflect.Descriptor instead.
func (*CreateMessageResponse) GetData ¶
func (x *CreateMessageResponse) GetData() *CreateMessageResponse_Data
func (*CreateMessageResponse) GetError ¶
func (x *CreateMessageResponse) GetError() *RestError
func (*CreateMessageResponse) GetResponse ¶
func (m *CreateMessageResponse) GetResponse() isCreateMessageResponse_Response
func (*CreateMessageResponse) ProtoMessage ¶
func (*CreateMessageResponse) ProtoMessage()
func (*CreateMessageResponse) ProtoReflect ¶
func (x *CreateMessageResponse) ProtoReflect() protoreflect.Message
func (*CreateMessageResponse) Reset ¶
func (x *CreateMessageResponse) Reset()
func (*CreateMessageResponse) String ¶
func (x *CreateMessageResponse) String() string
type CreateMessageResponse_Data ¶
type CreateMessageResponse_Data struct { Message *model.MessageData `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageResponse_Data) Descriptor
deprecated
func (*CreateMessageResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageResponse_Data.ProtoReflect.Descriptor instead.
func (*CreateMessageResponse_Data) GetMessage ¶
func (x *CreateMessageResponse_Data) GetMessage() *model.MessageData
func (*CreateMessageResponse_Data) ProtoMessage ¶
func (*CreateMessageResponse_Data) ProtoMessage()
func (*CreateMessageResponse_Data) ProtoReflect ¶
func (x *CreateMessageResponse_Data) ProtoReflect() protoreflect.Message
func (*CreateMessageResponse_Data) Reset ¶
func (x *CreateMessageResponse_Data) Reset()
func (*CreateMessageResponse_Data) String ¶
func (x *CreateMessageResponse_Data) String() string
type CreateMessageResponse_Data_ ¶
type CreateMessageResponse_Data_ struct {
Data *CreateMessageResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CreateMessageResponse_Error ¶
type CreateMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CreateReactionRequest ¶
type CreateReactionRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
func (*CreateReactionRequest) Descriptor
deprecated
func (*CreateReactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReactionRequest.ProtoReflect.Descriptor instead.
func (*CreateReactionRequest) GetChannelId ¶
func (x *CreateReactionRequest) GetChannelId() uint64
func (*CreateReactionRequest) GetEmoji ¶
func (x *CreateReactionRequest) GetEmoji() string
func (*CreateReactionRequest) GetMessageId ¶
func (x *CreateReactionRequest) GetMessageId() uint64
func (*CreateReactionRequest) ProtoMessage ¶
func (*CreateReactionRequest) ProtoMessage()
func (*CreateReactionRequest) ProtoReflect ¶
func (x *CreateReactionRequest) ProtoReflect() protoreflect.Message
func (*CreateReactionRequest) Reset ¶
func (x *CreateReactionRequest) Reset()
func (*CreateReactionRequest) String ¶
func (x *CreateReactionRequest) String() string
type CreateReactionResponse ¶
type CreateReactionResponse struct { // Types that are assignable to Response: // *CreateReactionResponse_Error // *CreateReactionResponse_Data Response isCreateReactionResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CreateReactionResponse) Descriptor
deprecated
func (*CreateReactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateReactionResponse.ProtoReflect.Descriptor instead.
func (*CreateReactionResponse) GetData ¶
func (x *CreateReactionResponse) GetData() *empty.Empty
func (*CreateReactionResponse) GetError ¶
func (x *CreateReactionResponse) GetError() *RestError
func (*CreateReactionResponse) GetResponse ¶
func (m *CreateReactionResponse) GetResponse() isCreateReactionResponse_Response
func (*CreateReactionResponse) ProtoMessage ¶
func (*CreateReactionResponse) ProtoMessage()
func (*CreateReactionResponse) ProtoReflect ¶
func (x *CreateReactionResponse) ProtoReflect() protoreflect.Message
func (*CreateReactionResponse) Reset ¶
func (x *CreateReactionResponse) Reset()
func (*CreateReactionResponse) String ¶
func (x *CreateReactionResponse) String() string
type CreateReactionResponse_Error ¶
type CreateReactionResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CrosspostMessageRequest ¶
type CrosspostMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*CrosspostMessageRequest) Descriptor
deprecated
func (*CrosspostMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrosspostMessageRequest.ProtoReflect.Descriptor instead.
func (*CrosspostMessageRequest) GetChannelId ¶
func (x *CrosspostMessageRequest) GetChannelId() uint64
func (*CrosspostMessageRequest) GetMessageId ¶
func (x *CrosspostMessageRequest) GetMessageId() uint64
func (*CrosspostMessageRequest) ProtoMessage ¶
func (*CrosspostMessageRequest) ProtoMessage()
func (*CrosspostMessageRequest) ProtoReflect ¶
func (x *CrosspostMessageRequest) ProtoReflect() protoreflect.Message
func (*CrosspostMessageRequest) Reset ¶
func (x *CrosspostMessageRequest) Reset()
func (*CrosspostMessageRequest) String ¶
func (x *CrosspostMessageRequest) String() string
type CrosspostMessageResponse ¶
type CrosspostMessageResponse struct { // Types that are assignable to Response: // *CrosspostMessageResponse_Error // *CrosspostMessageResponse_Data_ Response isCrosspostMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CrosspostMessageResponse) Descriptor
deprecated
func (*CrosspostMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrosspostMessageResponse.ProtoReflect.Descriptor instead.
func (*CrosspostMessageResponse) GetData ¶
func (x *CrosspostMessageResponse) GetData() *CrosspostMessageResponse_Data
func (*CrosspostMessageResponse) GetError ¶
func (x *CrosspostMessageResponse) GetError() *RestError
func (*CrosspostMessageResponse) GetResponse ¶
func (m *CrosspostMessageResponse) GetResponse() isCrosspostMessageResponse_Response
func (*CrosspostMessageResponse) ProtoMessage ¶
func (*CrosspostMessageResponse) ProtoMessage()
func (*CrosspostMessageResponse) ProtoReflect ¶
func (x *CrosspostMessageResponse) ProtoReflect() protoreflect.Message
func (*CrosspostMessageResponse) Reset ¶
func (x *CrosspostMessageResponse) Reset()
func (*CrosspostMessageResponse) String ¶
func (x *CrosspostMessageResponse) String() string
type CrosspostMessageResponse_Data ¶
type CrosspostMessageResponse_Data struct { Message *model.MessageData `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CrosspostMessageResponse_Data) Descriptor
deprecated
func (*CrosspostMessageResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use CrosspostMessageResponse_Data.ProtoReflect.Descriptor instead.
func (*CrosspostMessageResponse_Data) GetMessage ¶
func (x *CrosspostMessageResponse_Data) GetMessage() *model.MessageData
func (*CrosspostMessageResponse_Data) ProtoMessage ¶
func (*CrosspostMessageResponse_Data) ProtoMessage()
func (*CrosspostMessageResponse_Data) ProtoReflect ¶
func (x *CrosspostMessageResponse_Data) ProtoReflect() protoreflect.Message
func (*CrosspostMessageResponse_Data) Reset ¶
func (x *CrosspostMessageResponse_Data) Reset()
func (*CrosspostMessageResponse_Data) String ¶
func (x *CrosspostMessageResponse_Data) String() string
type CrosspostMessageResponse_Data_ ¶
type CrosspostMessageResponse_Data_ struct {
Data *CrosspostMessageResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type CrosspostMessageResponse_Error ¶
type CrosspostMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteAllReactionsForEmojiRequest ¶
type DeleteAllReactionsForEmojiRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
func (*DeleteAllReactionsForEmojiRequest) Descriptor
deprecated
func (*DeleteAllReactionsForEmojiRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllReactionsForEmojiRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllReactionsForEmojiRequest) GetChannelId ¶
func (x *DeleteAllReactionsForEmojiRequest) GetChannelId() uint64
func (*DeleteAllReactionsForEmojiRequest) GetEmoji ¶
func (x *DeleteAllReactionsForEmojiRequest) GetEmoji() string
func (*DeleteAllReactionsForEmojiRequest) GetMessageId ¶
func (x *DeleteAllReactionsForEmojiRequest) GetMessageId() uint64
func (*DeleteAllReactionsForEmojiRequest) ProtoMessage ¶
func (*DeleteAllReactionsForEmojiRequest) ProtoMessage()
func (*DeleteAllReactionsForEmojiRequest) ProtoReflect ¶
func (x *DeleteAllReactionsForEmojiRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllReactionsForEmojiRequest) Reset ¶
func (x *DeleteAllReactionsForEmojiRequest) Reset()
func (*DeleteAllReactionsForEmojiRequest) String ¶
func (x *DeleteAllReactionsForEmojiRequest) String() string
type DeleteAllReactionsForEmojiResponse ¶
type DeleteAllReactionsForEmojiResponse struct { // Types that are assignable to Response: // *DeleteAllReactionsForEmojiResponse_Error // *DeleteAllReactionsForEmojiResponse_Data Response isDeleteAllReactionsForEmojiResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteAllReactionsForEmojiResponse) Descriptor
deprecated
func (*DeleteAllReactionsForEmojiResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllReactionsForEmojiResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllReactionsForEmojiResponse) GetData ¶
func (x *DeleteAllReactionsForEmojiResponse) GetData() *empty.Empty
func (*DeleteAllReactionsForEmojiResponse) GetError ¶
func (x *DeleteAllReactionsForEmojiResponse) GetError() *RestError
func (*DeleteAllReactionsForEmojiResponse) GetResponse ¶
func (m *DeleteAllReactionsForEmojiResponse) GetResponse() isDeleteAllReactionsForEmojiResponse_Response
func (*DeleteAllReactionsForEmojiResponse) ProtoMessage ¶
func (*DeleteAllReactionsForEmojiResponse) ProtoMessage()
func (*DeleteAllReactionsForEmojiResponse) ProtoReflect ¶
func (x *DeleteAllReactionsForEmojiResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllReactionsForEmojiResponse) Reset ¶
func (x *DeleteAllReactionsForEmojiResponse) Reset()
func (*DeleteAllReactionsForEmojiResponse) String ¶
func (x *DeleteAllReactionsForEmojiResponse) String() string
type DeleteAllReactionsForEmojiResponse_Error ¶
type DeleteAllReactionsForEmojiResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteAllReactionsRequest ¶
type DeleteAllReactionsRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAllReactionsRequest) Descriptor
deprecated
func (*DeleteAllReactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllReactionsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllReactionsRequest) GetChannelId ¶
func (x *DeleteAllReactionsRequest) GetChannelId() uint64
func (*DeleteAllReactionsRequest) GetMessageId ¶
func (x *DeleteAllReactionsRequest) GetMessageId() uint64
func (*DeleteAllReactionsRequest) ProtoMessage ¶
func (*DeleteAllReactionsRequest) ProtoMessage()
func (*DeleteAllReactionsRequest) ProtoReflect ¶
func (x *DeleteAllReactionsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllReactionsRequest) Reset ¶
func (x *DeleteAllReactionsRequest) Reset()
func (*DeleteAllReactionsRequest) String ¶
func (x *DeleteAllReactionsRequest) String() string
type DeleteAllReactionsResponse ¶
type DeleteAllReactionsResponse struct { // Types that are assignable to Response: // *DeleteAllReactionsResponse_Error // *DeleteAllReactionsResponse_Data Response isDeleteAllReactionsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteAllReactionsResponse) Descriptor
deprecated
func (*DeleteAllReactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllReactionsResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllReactionsResponse) GetData ¶
func (x *DeleteAllReactionsResponse) GetData() *empty.Empty
func (*DeleteAllReactionsResponse) GetError ¶
func (x *DeleteAllReactionsResponse) GetError() *RestError
func (*DeleteAllReactionsResponse) GetResponse ¶
func (m *DeleteAllReactionsResponse) GetResponse() isDeleteAllReactionsResponse_Response
func (*DeleteAllReactionsResponse) ProtoMessage ¶
func (*DeleteAllReactionsResponse) ProtoMessage()
func (*DeleteAllReactionsResponse) ProtoReflect ¶
func (x *DeleteAllReactionsResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllReactionsResponse) Reset ¶
func (x *DeleteAllReactionsResponse) Reset()
func (*DeleteAllReactionsResponse) String ¶
func (x *DeleteAllReactionsResponse) String() string
type DeleteAllReactionsResponse_Error ¶
type DeleteAllReactionsResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteChannelPermissionRequest ¶
type DeleteChannelPermissionRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` OverwriteId uint64 `protobuf:"fixed64,2,opt,name=overwrite_id,json=overwriteId,proto3" json:"overwrite_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*DeleteChannelPermissionRequest) Descriptor
deprecated
func (*DeleteChannelPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelPermissionRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelPermissionRequest) GetAuditLogReason ¶
func (x *DeleteChannelPermissionRequest) GetAuditLogReason() *wrappers.StringValue
func (*DeleteChannelPermissionRequest) GetChannelId ¶
func (x *DeleteChannelPermissionRequest) GetChannelId() uint64
func (*DeleteChannelPermissionRequest) GetOverwriteId ¶
func (x *DeleteChannelPermissionRequest) GetOverwriteId() uint64
func (*DeleteChannelPermissionRequest) ProtoMessage ¶
func (*DeleteChannelPermissionRequest) ProtoMessage()
func (*DeleteChannelPermissionRequest) ProtoReflect ¶
func (x *DeleteChannelPermissionRequest) ProtoReflect() protoreflect.Message
func (*DeleteChannelPermissionRequest) Reset ¶
func (x *DeleteChannelPermissionRequest) Reset()
func (*DeleteChannelPermissionRequest) String ¶
func (x *DeleteChannelPermissionRequest) String() string
type DeleteChannelPermissionResponse ¶
type DeleteChannelPermissionResponse struct { // Types that are assignable to Response: // *DeleteChannelPermissionResponse_Error // *DeleteChannelPermissionResponse_Data Response isDeleteChannelPermissionResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteChannelPermissionResponse) Descriptor
deprecated
func (*DeleteChannelPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelPermissionResponse.ProtoReflect.Descriptor instead.
func (*DeleteChannelPermissionResponse) GetData ¶
func (x *DeleteChannelPermissionResponse) GetData() *empty.Empty
func (*DeleteChannelPermissionResponse) GetError ¶
func (x *DeleteChannelPermissionResponse) GetError() *RestError
func (*DeleteChannelPermissionResponse) GetResponse ¶
func (m *DeleteChannelPermissionResponse) GetResponse() isDeleteChannelPermissionResponse_Response
func (*DeleteChannelPermissionResponse) ProtoMessage ¶
func (*DeleteChannelPermissionResponse) ProtoMessage()
func (*DeleteChannelPermissionResponse) ProtoReflect ¶
func (x *DeleteChannelPermissionResponse) ProtoReflect() protoreflect.Message
func (*DeleteChannelPermissionResponse) Reset ¶
func (x *DeleteChannelPermissionResponse) Reset()
func (*DeleteChannelPermissionResponse) String ¶
func (x *DeleteChannelPermissionResponse) String() string
type DeleteChannelPermissionResponse_Error ¶
type DeleteChannelPermissionResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteChannelRequest ¶
type DeleteChannelRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*DeleteChannelRequest) Descriptor
deprecated
func (*DeleteChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelRequest) GetAuditLogReason ¶
func (x *DeleteChannelRequest) GetAuditLogReason() *wrappers.StringValue
func (*DeleteChannelRequest) GetChannelId ¶
func (x *DeleteChannelRequest) GetChannelId() uint64
func (*DeleteChannelRequest) ProtoMessage ¶
func (*DeleteChannelRequest) ProtoMessage()
func (*DeleteChannelRequest) ProtoReflect ¶
func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message
func (*DeleteChannelRequest) Reset ¶
func (x *DeleteChannelRequest) Reset()
func (*DeleteChannelRequest) String ¶
func (x *DeleteChannelRequest) String() string
type DeleteChannelResponse ¶
type DeleteChannelResponse struct { // Types that are assignable to Response: // *DeleteChannelResponse_Error // *DeleteChannelResponse_Data Response isDeleteChannelResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteChannelResponse) Descriptor
deprecated
func (*DeleteChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelResponse.ProtoReflect.Descriptor instead.
func (*DeleteChannelResponse) GetData ¶
func (x *DeleteChannelResponse) GetData() *empty.Empty
func (*DeleteChannelResponse) GetError ¶
func (x *DeleteChannelResponse) GetError() *RestError
func (*DeleteChannelResponse) GetResponse ¶
func (m *DeleteChannelResponse) GetResponse() isDeleteChannelResponse_Response
func (*DeleteChannelResponse) ProtoMessage ¶
func (*DeleteChannelResponse) ProtoMessage()
func (*DeleteChannelResponse) ProtoReflect ¶
func (x *DeleteChannelResponse) ProtoReflect() protoreflect.Message
func (*DeleteChannelResponse) Reset ¶
func (x *DeleteChannelResponse) Reset()
func (*DeleteChannelResponse) String ¶
func (x *DeleteChannelResponse) String() string
type DeleteChannelResponse_Error ¶
type DeleteChannelResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteGuildEmojiRequest ¶
type DeleteGuildEmojiRequest struct { EmojiId uint64 `protobuf:"fixed64,1,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*DeleteGuildEmojiRequest) Descriptor
deprecated
func (*DeleteGuildEmojiRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGuildEmojiRequest.ProtoReflect.Descriptor instead.
func (*DeleteGuildEmojiRequest) GetAuditLogReason ¶
func (x *DeleteGuildEmojiRequest) GetAuditLogReason() *wrappers.StringValue
func (*DeleteGuildEmojiRequest) GetEmojiId ¶
func (x *DeleteGuildEmojiRequest) GetEmojiId() uint64
func (*DeleteGuildEmojiRequest) ProtoMessage ¶
func (*DeleteGuildEmojiRequest) ProtoMessage()
func (*DeleteGuildEmojiRequest) ProtoReflect ¶
func (x *DeleteGuildEmojiRequest) ProtoReflect() protoreflect.Message
func (*DeleteGuildEmojiRequest) Reset ¶
func (x *DeleteGuildEmojiRequest) Reset()
func (*DeleteGuildEmojiRequest) String ¶
func (x *DeleteGuildEmojiRequest) String() string
type DeleteGuildEmojiResponse ¶
type DeleteGuildEmojiResponse struct { // Types that are assignable to Response: // *DeleteGuildEmojiResponse_Error // *DeleteGuildEmojiResponse_Data Response isDeleteGuildEmojiResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteGuildEmojiResponse) Descriptor
deprecated
func (*DeleteGuildEmojiResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGuildEmojiResponse.ProtoReflect.Descriptor instead.
func (*DeleteGuildEmojiResponse) GetData ¶
func (x *DeleteGuildEmojiResponse) GetData() *empty.Empty
func (*DeleteGuildEmojiResponse) GetError ¶
func (x *DeleteGuildEmojiResponse) GetError() *RestError
func (*DeleteGuildEmojiResponse) GetResponse ¶
func (m *DeleteGuildEmojiResponse) GetResponse() isDeleteGuildEmojiResponse_Response
func (*DeleteGuildEmojiResponse) ProtoMessage ¶
func (*DeleteGuildEmojiResponse) ProtoMessage()
func (*DeleteGuildEmojiResponse) ProtoReflect ¶
func (x *DeleteGuildEmojiResponse) ProtoReflect() protoreflect.Message
func (*DeleteGuildEmojiResponse) Reset ¶
func (x *DeleteGuildEmojiResponse) Reset()
func (*DeleteGuildEmojiResponse) String ¶
func (x *DeleteGuildEmojiResponse) String() string
type DeleteGuildEmojiResponse_Error ¶
type DeleteGuildEmojiResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteGuildRoleRequest ¶
type DeleteGuildRoleRequest struct { RoleId uint64 `protobuf:"fixed64,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*DeleteGuildRoleRequest) Descriptor
deprecated
func (*DeleteGuildRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGuildRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteGuildRoleRequest) GetAuditLogReason ¶
func (x *DeleteGuildRoleRequest) GetAuditLogReason() *wrappers.StringValue
func (*DeleteGuildRoleRequest) GetRoleId ¶
func (x *DeleteGuildRoleRequest) GetRoleId() uint64
func (*DeleteGuildRoleRequest) ProtoMessage ¶
func (*DeleteGuildRoleRequest) ProtoMessage()
func (*DeleteGuildRoleRequest) ProtoReflect ¶
func (x *DeleteGuildRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteGuildRoleRequest) Reset ¶
func (x *DeleteGuildRoleRequest) Reset()
func (*DeleteGuildRoleRequest) String ¶
func (x *DeleteGuildRoleRequest) String() string
type DeleteGuildRoleResponse ¶
type DeleteGuildRoleResponse struct { // Types that are assignable to Response: // *DeleteGuildRoleResponse_Error // *DeleteGuildRoleResponse_Data Response isDeleteGuildRoleResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteGuildRoleResponse) Descriptor
deprecated
func (*DeleteGuildRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGuildRoleResponse.ProtoReflect.Descriptor instead.
func (*DeleteGuildRoleResponse) GetData ¶
func (x *DeleteGuildRoleResponse) GetData() *empty.Empty
func (*DeleteGuildRoleResponse) GetError ¶
func (x *DeleteGuildRoleResponse) GetError() *RestError
func (*DeleteGuildRoleResponse) GetResponse ¶
func (m *DeleteGuildRoleResponse) GetResponse() isDeleteGuildRoleResponse_Response
func (*DeleteGuildRoleResponse) ProtoMessage ¶
func (*DeleteGuildRoleResponse) ProtoMessage()
func (*DeleteGuildRoleResponse) ProtoReflect ¶
func (x *DeleteGuildRoleResponse) ProtoReflect() protoreflect.Message
func (*DeleteGuildRoleResponse) Reset ¶
func (x *DeleteGuildRoleResponse) Reset()
func (*DeleteGuildRoleResponse) String ¶
func (x *DeleteGuildRoleResponse) String() string
type DeleteGuildRoleResponse_Error ¶
type DeleteGuildRoleResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteMessageRequest ¶
type DeleteMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*DeleteMessageRequest) Descriptor
deprecated
func (*DeleteMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageRequest.ProtoReflect.Descriptor instead.
func (*DeleteMessageRequest) GetAuditLogReason ¶
func (x *DeleteMessageRequest) GetAuditLogReason() *wrappers.StringValue
func (*DeleteMessageRequest) GetChannelId ¶
func (x *DeleteMessageRequest) GetChannelId() uint64
func (*DeleteMessageRequest) GetMessageId ¶
func (x *DeleteMessageRequest) GetMessageId() uint64
func (*DeleteMessageRequest) ProtoMessage ¶
func (*DeleteMessageRequest) ProtoMessage()
func (*DeleteMessageRequest) ProtoReflect ¶
func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message
func (*DeleteMessageRequest) Reset ¶
func (x *DeleteMessageRequest) Reset()
func (*DeleteMessageRequest) String ¶
func (x *DeleteMessageRequest) String() string
type DeleteMessageResponse ¶
type DeleteMessageResponse struct { // Types that are assignable to Response: // *DeleteMessageResponse_Error // *DeleteMessageResponse_Data Response isDeleteMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteMessageResponse) Descriptor
deprecated
func (*DeleteMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageResponse.ProtoReflect.Descriptor instead.
func (*DeleteMessageResponse) GetData ¶
func (x *DeleteMessageResponse) GetData() *empty.Empty
func (*DeleteMessageResponse) GetError ¶
func (x *DeleteMessageResponse) GetError() *RestError
func (*DeleteMessageResponse) GetResponse ¶
func (m *DeleteMessageResponse) GetResponse() isDeleteMessageResponse_Response
func (*DeleteMessageResponse) ProtoMessage ¶
func (*DeleteMessageResponse) ProtoMessage()
func (*DeleteMessageResponse) ProtoReflect ¶
func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message
func (*DeleteMessageResponse) Reset ¶
func (x *DeleteMessageResponse) Reset()
func (*DeleteMessageResponse) String ¶
func (x *DeleteMessageResponse) String() string
type DeleteMessageResponse_Error ¶
type DeleteMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteOwnReactionRequest ¶
type DeleteOwnReactionRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
func (*DeleteOwnReactionRequest) Descriptor
deprecated
func (*DeleteOwnReactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOwnReactionRequest.ProtoReflect.Descriptor instead.
func (*DeleteOwnReactionRequest) GetChannelId ¶
func (x *DeleteOwnReactionRequest) GetChannelId() uint64
func (*DeleteOwnReactionRequest) GetEmoji ¶
func (x *DeleteOwnReactionRequest) GetEmoji() string
func (*DeleteOwnReactionRequest) GetMessageId ¶
func (x *DeleteOwnReactionRequest) GetMessageId() uint64
func (*DeleteOwnReactionRequest) ProtoMessage ¶
func (*DeleteOwnReactionRequest) ProtoMessage()
func (*DeleteOwnReactionRequest) ProtoReflect ¶
func (x *DeleteOwnReactionRequest) ProtoReflect() protoreflect.Message
func (*DeleteOwnReactionRequest) Reset ¶
func (x *DeleteOwnReactionRequest) Reset()
func (*DeleteOwnReactionRequest) String ¶
func (x *DeleteOwnReactionRequest) String() string
type DeleteOwnReactionResponse ¶
type DeleteOwnReactionResponse struct { // Types that are assignable to Response: // *DeleteOwnReactionResponse_Error // *DeleteOwnReactionResponse_Data Response isDeleteOwnReactionResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteOwnReactionResponse) Descriptor
deprecated
func (*DeleteOwnReactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOwnReactionResponse.ProtoReflect.Descriptor instead.
func (*DeleteOwnReactionResponse) GetData ¶
func (x *DeleteOwnReactionResponse) GetData() *empty.Empty
func (*DeleteOwnReactionResponse) GetError ¶
func (x *DeleteOwnReactionResponse) GetError() *RestError
func (*DeleteOwnReactionResponse) GetResponse ¶
func (m *DeleteOwnReactionResponse) GetResponse() isDeleteOwnReactionResponse_Response
func (*DeleteOwnReactionResponse) ProtoMessage ¶
func (*DeleteOwnReactionResponse) ProtoMessage()
func (*DeleteOwnReactionResponse) ProtoReflect ¶
func (x *DeleteOwnReactionResponse) ProtoReflect() protoreflect.Message
func (*DeleteOwnReactionResponse) Reset ¶
func (x *DeleteOwnReactionResponse) Reset()
func (*DeleteOwnReactionResponse) String ¶
func (x *DeleteOwnReactionResponse) String() string
type DeleteOwnReactionResponse_Error ¶
type DeleteOwnReactionResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeletePinnedChannelMessageRequest ¶
type DeletePinnedChannelMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*DeletePinnedChannelMessageRequest) Descriptor
deprecated
func (*DeletePinnedChannelMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePinnedChannelMessageRequest.ProtoReflect.Descriptor instead.
func (*DeletePinnedChannelMessageRequest) GetAuditLogReason ¶
func (x *DeletePinnedChannelMessageRequest) GetAuditLogReason() *wrappers.StringValue
func (*DeletePinnedChannelMessageRequest) GetChannelId ¶
func (x *DeletePinnedChannelMessageRequest) GetChannelId() uint64
func (*DeletePinnedChannelMessageRequest) GetMessageId ¶
func (x *DeletePinnedChannelMessageRequest) GetMessageId() uint64
func (*DeletePinnedChannelMessageRequest) ProtoMessage ¶
func (*DeletePinnedChannelMessageRequest) ProtoMessage()
func (*DeletePinnedChannelMessageRequest) ProtoReflect ¶
func (x *DeletePinnedChannelMessageRequest) ProtoReflect() protoreflect.Message
func (*DeletePinnedChannelMessageRequest) Reset ¶
func (x *DeletePinnedChannelMessageRequest) Reset()
func (*DeletePinnedChannelMessageRequest) String ¶
func (x *DeletePinnedChannelMessageRequest) String() string
type DeletePinnedChannelMessageResponse ¶
type DeletePinnedChannelMessageResponse struct { // Types that are assignable to Response: // *DeletePinnedChannelMessageResponse_Error // *DeletePinnedChannelMessageResponse_Data Response isDeletePinnedChannelMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeletePinnedChannelMessageResponse) Descriptor
deprecated
func (*DeletePinnedChannelMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePinnedChannelMessageResponse.ProtoReflect.Descriptor instead.
func (*DeletePinnedChannelMessageResponse) GetData ¶
func (x *DeletePinnedChannelMessageResponse) GetData() *empty.Empty
func (*DeletePinnedChannelMessageResponse) GetError ¶
func (x *DeletePinnedChannelMessageResponse) GetError() *RestError
func (*DeletePinnedChannelMessageResponse) GetResponse ¶
func (m *DeletePinnedChannelMessageResponse) GetResponse() isDeletePinnedChannelMessageResponse_Response
func (*DeletePinnedChannelMessageResponse) ProtoMessage ¶
func (*DeletePinnedChannelMessageResponse) ProtoMessage()
func (*DeletePinnedChannelMessageResponse) ProtoReflect ¶
func (x *DeletePinnedChannelMessageResponse) ProtoReflect() protoreflect.Message
func (*DeletePinnedChannelMessageResponse) Reset ¶
func (x *DeletePinnedChannelMessageResponse) Reset()
func (*DeletePinnedChannelMessageResponse) String ¶
func (x *DeletePinnedChannelMessageResponse) String() string
type DeletePinnedChannelMessageResponse_Error ¶
type DeletePinnedChannelMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type DeleteUserReactionRequest ¶
type DeleteUserReactionRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"` UserId uint64 `protobuf:"fixed64,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserReactionRequest) Descriptor
deprecated
func (*DeleteUserReactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReactionRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserReactionRequest) GetChannelId ¶
func (x *DeleteUserReactionRequest) GetChannelId() uint64
func (*DeleteUserReactionRequest) GetEmoji ¶
func (x *DeleteUserReactionRequest) GetEmoji() string
func (*DeleteUserReactionRequest) GetMessageId ¶
func (x *DeleteUserReactionRequest) GetMessageId() uint64
func (*DeleteUserReactionRequest) GetUserId ¶
func (x *DeleteUserReactionRequest) GetUserId() uint64
func (*DeleteUserReactionRequest) ProtoMessage ¶
func (*DeleteUserReactionRequest) ProtoMessage()
func (*DeleteUserReactionRequest) ProtoReflect ¶
func (x *DeleteUserReactionRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserReactionRequest) Reset ¶
func (x *DeleteUserReactionRequest) Reset()
func (*DeleteUserReactionRequest) String ¶
func (x *DeleteUserReactionRequest) String() string
type DeleteUserReactionResponse ¶
type DeleteUserReactionResponse struct { // Types that are assignable to Response: // *DeleteUserReactionResponse_Error // *DeleteUserReactionResponse_Data Response isDeleteUserReactionResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*DeleteUserReactionResponse) Descriptor
deprecated
func (*DeleteUserReactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReactionResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserReactionResponse) GetData ¶
func (x *DeleteUserReactionResponse) GetData() *empty.Empty
func (*DeleteUserReactionResponse) GetError ¶
func (x *DeleteUserReactionResponse) GetError() *RestError
func (*DeleteUserReactionResponse) GetResponse ¶
func (m *DeleteUserReactionResponse) GetResponse() isDeleteUserReactionResponse_Response
func (*DeleteUserReactionResponse) ProtoMessage ¶
func (*DeleteUserReactionResponse) ProtoMessage()
func (*DeleteUserReactionResponse) ProtoReflect ¶
func (x *DeleteUserReactionResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserReactionResponse) Reset ¶
func (x *DeleteUserReactionResponse) Reset()
func (*DeleteUserReactionResponse) String ¶
func (x *DeleteUserReactionResponse) String() string
type DeleteUserReactionResponse_Error ¶
type DeleteUserReactionResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type EditChannelPermissionsRequest ¶
type EditChannelPermissionsRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` OverwriteId uint64 `protobuf:"fixed64,2,opt,name=overwrite_id,json=overwriteId,proto3" json:"overwrite_id,omitempty"` Allow uint64 `protobuf:"varint,3,opt,name=allow,proto3" json:"allow,omitempty"` Deny uint64 `protobuf:"varint,4,opt,name=deny,proto3" json:"deny,omitempty"` Type model.ChannelData_ChannelPermissionOverwriteData_ChannelPermissionOverwriteType `` /* 164-byte string literal not displayed */ AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*EditChannelPermissionsRequest) Descriptor
deprecated
func (*EditChannelPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditChannelPermissionsRequest.ProtoReflect.Descriptor instead.
func (*EditChannelPermissionsRequest) GetAllow ¶
func (x *EditChannelPermissionsRequest) GetAllow() uint64
func (*EditChannelPermissionsRequest) GetAuditLogReason ¶
func (x *EditChannelPermissionsRequest) GetAuditLogReason() *wrappers.StringValue
func (*EditChannelPermissionsRequest) GetChannelId ¶
func (x *EditChannelPermissionsRequest) GetChannelId() uint64
func (*EditChannelPermissionsRequest) GetDeny ¶
func (x *EditChannelPermissionsRequest) GetDeny() uint64
func (*EditChannelPermissionsRequest) GetOverwriteId ¶
func (x *EditChannelPermissionsRequest) GetOverwriteId() uint64
func (*EditChannelPermissionsRequest) ProtoMessage ¶
func (*EditChannelPermissionsRequest) ProtoMessage()
func (*EditChannelPermissionsRequest) ProtoReflect ¶
func (x *EditChannelPermissionsRequest) ProtoReflect() protoreflect.Message
func (*EditChannelPermissionsRequest) Reset ¶
func (x *EditChannelPermissionsRequest) Reset()
func (*EditChannelPermissionsRequest) String ¶
func (x *EditChannelPermissionsRequest) String() string
type EditChannelPermissionsResponse ¶
type EditChannelPermissionsResponse struct { // Types that are assignable to Response: // *EditChannelPermissionsResponse_Error // *EditChannelPermissionsResponse_Data Response isEditChannelPermissionsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*EditChannelPermissionsResponse) Descriptor
deprecated
func (*EditChannelPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditChannelPermissionsResponse.ProtoReflect.Descriptor instead.
func (*EditChannelPermissionsResponse) GetData ¶
func (x *EditChannelPermissionsResponse) GetData() *empty.Empty
func (*EditChannelPermissionsResponse) GetError ¶
func (x *EditChannelPermissionsResponse) GetError() *RestError
func (*EditChannelPermissionsResponse) GetResponse ¶
func (m *EditChannelPermissionsResponse) GetResponse() isEditChannelPermissionsResponse_Response
func (*EditChannelPermissionsResponse) ProtoMessage ¶
func (*EditChannelPermissionsResponse) ProtoMessage()
func (*EditChannelPermissionsResponse) ProtoReflect ¶
func (x *EditChannelPermissionsResponse) ProtoReflect() protoreflect.Message
func (*EditChannelPermissionsResponse) Reset ¶
func (x *EditChannelPermissionsResponse) Reset()
func (*EditChannelPermissionsResponse) String ¶
func (x *EditChannelPermissionsResponse) String() string
type EditChannelPermissionsResponse_Error ¶
type EditChannelPermissionsResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type EditMessageRequest ¶
type EditMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Content *wrappers.StringValue `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Embed *model.MessageData_MessageEmbedData `protobuf:"bytes,4,opt,name=embed,proto3" json:"embed,omitempty"` Flags *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*EditMessageRequest) Descriptor
deprecated
func (*EditMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditMessageRequest.ProtoReflect.Descriptor instead.
func (*EditMessageRequest) GetChannelId ¶
func (x *EditMessageRequest) GetChannelId() uint64
func (*EditMessageRequest) GetContent ¶
func (x *EditMessageRequest) GetContent() *wrappers.StringValue
func (*EditMessageRequest) GetEmbed ¶
func (x *EditMessageRequest) GetEmbed() *model.MessageData_MessageEmbedData
func (*EditMessageRequest) GetFlags ¶
func (x *EditMessageRequest) GetFlags() *wrappers.UInt32Value
func (*EditMessageRequest) GetMessageId ¶
func (x *EditMessageRequest) GetMessageId() uint64
func (*EditMessageRequest) ProtoMessage ¶
func (*EditMessageRequest) ProtoMessage()
func (*EditMessageRequest) ProtoReflect ¶
func (x *EditMessageRequest) ProtoReflect() protoreflect.Message
func (*EditMessageRequest) Reset ¶
func (x *EditMessageRequest) Reset()
func (*EditMessageRequest) String ¶
func (x *EditMessageRequest) String() string
type EditMessageResponse ¶
type EditMessageResponse struct { // Types that are assignable to Response: // *EditMessageResponse_Error // *EditMessageResponse_Data_ Response isEditMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*EditMessageResponse) Descriptor
deprecated
func (*EditMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditMessageResponse.ProtoReflect.Descriptor instead.
func (*EditMessageResponse) GetData ¶
func (x *EditMessageResponse) GetData() *EditMessageResponse_Data
func (*EditMessageResponse) GetError ¶
func (x *EditMessageResponse) GetError() *RestError
func (*EditMessageResponse) GetResponse ¶
func (m *EditMessageResponse) GetResponse() isEditMessageResponse_Response
func (*EditMessageResponse) ProtoMessage ¶
func (*EditMessageResponse) ProtoMessage()
func (*EditMessageResponse) ProtoReflect ¶
func (x *EditMessageResponse) ProtoReflect() protoreflect.Message
func (*EditMessageResponse) Reset ¶
func (x *EditMessageResponse) Reset()
func (*EditMessageResponse) String ¶
func (x *EditMessageResponse) String() string
type EditMessageResponse_Data ¶
type EditMessageResponse_Data struct { Message *model.MessageData `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*EditMessageResponse_Data) Descriptor
deprecated
func (*EditMessageResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use EditMessageResponse_Data.ProtoReflect.Descriptor instead.
func (*EditMessageResponse_Data) GetMessage ¶
func (x *EditMessageResponse_Data) GetMessage() *model.MessageData
func (*EditMessageResponse_Data) ProtoMessage ¶
func (*EditMessageResponse_Data) ProtoMessage()
func (*EditMessageResponse_Data) ProtoReflect ¶
func (x *EditMessageResponse_Data) ProtoReflect() protoreflect.Message
func (*EditMessageResponse_Data) Reset ¶
func (x *EditMessageResponse_Data) Reset()
func (*EditMessageResponse_Data) String ¶
func (x *EditMessageResponse_Data) String() string
type EditMessageResponse_Data_ ¶
type EditMessageResponse_Data_ struct {
Data *EditMessageResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type EditMessageResponse_Error ¶
type EditMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type FollowNewsChannelRequest ¶
type FollowNewsChannelRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` WebhookChannelId uint64 `protobuf:"fixed64,2,opt,name=webhook_channel_id,json=webhookChannelId,proto3" json:"webhook_channel_id,omitempty"` // contains filtered or unexported fields }
func (*FollowNewsChannelRequest) Descriptor
deprecated
func (*FollowNewsChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use FollowNewsChannelRequest.ProtoReflect.Descriptor instead.
func (*FollowNewsChannelRequest) GetChannelId ¶
func (x *FollowNewsChannelRequest) GetChannelId() uint64
func (*FollowNewsChannelRequest) GetWebhookChannelId ¶
func (x *FollowNewsChannelRequest) GetWebhookChannelId() uint64
func (*FollowNewsChannelRequest) ProtoMessage ¶
func (*FollowNewsChannelRequest) ProtoMessage()
func (*FollowNewsChannelRequest) ProtoReflect ¶
func (x *FollowNewsChannelRequest) ProtoReflect() protoreflect.Message
func (*FollowNewsChannelRequest) Reset ¶
func (x *FollowNewsChannelRequest) Reset()
func (*FollowNewsChannelRequest) String ¶
func (x *FollowNewsChannelRequest) String() string
type FollowNewsChannelResponse ¶
type FollowNewsChannelResponse struct { // Types that are assignable to Response: // *FollowNewsChannelResponse_Error // *FollowNewsChannelResponse_Data_ Response isFollowNewsChannelResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*FollowNewsChannelResponse) Descriptor
deprecated
func (*FollowNewsChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use FollowNewsChannelResponse.ProtoReflect.Descriptor instead.
func (*FollowNewsChannelResponse) GetData ¶
func (x *FollowNewsChannelResponse) GetData() *FollowNewsChannelResponse_Data
func (*FollowNewsChannelResponse) GetError ¶
func (x *FollowNewsChannelResponse) GetError() *RestError
func (*FollowNewsChannelResponse) GetResponse ¶
func (m *FollowNewsChannelResponse) GetResponse() isFollowNewsChannelResponse_Response
func (*FollowNewsChannelResponse) ProtoMessage ¶
func (*FollowNewsChannelResponse) ProtoMessage()
func (*FollowNewsChannelResponse) ProtoReflect ¶
func (x *FollowNewsChannelResponse) ProtoReflect() protoreflect.Message
func (*FollowNewsChannelResponse) Reset ¶
func (x *FollowNewsChannelResponse) Reset()
func (*FollowNewsChannelResponse) String ¶
func (x *FollowNewsChannelResponse) String() string
type FollowNewsChannelResponse_Data ¶
type FollowNewsChannelResponse_Data struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` WebhookId uint64 `protobuf:"fixed64,2,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` // contains filtered or unexported fields }
func (*FollowNewsChannelResponse_Data) Descriptor
deprecated
func (*FollowNewsChannelResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use FollowNewsChannelResponse_Data.ProtoReflect.Descriptor instead.
func (*FollowNewsChannelResponse_Data) GetChannelId ¶
func (x *FollowNewsChannelResponse_Data) GetChannelId() uint64
func (*FollowNewsChannelResponse_Data) GetWebhookId ¶
func (x *FollowNewsChannelResponse_Data) GetWebhookId() uint64
func (*FollowNewsChannelResponse_Data) ProtoMessage ¶
func (*FollowNewsChannelResponse_Data) ProtoMessage()
func (*FollowNewsChannelResponse_Data) ProtoReflect ¶
func (x *FollowNewsChannelResponse_Data) ProtoReflect() protoreflect.Message
func (*FollowNewsChannelResponse_Data) Reset ¶
func (x *FollowNewsChannelResponse_Data) Reset()
func (*FollowNewsChannelResponse_Data) String ¶
func (x *FollowNewsChannelResponse_Data) String() string
type FollowNewsChannelResponse_Data_ ¶
type FollowNewsChannelResponse_Data_ struct {
Data *FollowNewsChannelResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type FollowNewsChannelResponse_Error ¶
type FollowNewsChannelResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetChannelInvitesRequest ¶
type GetChannelInvitesRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
func (*GetChannelInvitesRequest) Descriptor
deprecated
func (*GetChannelInvitesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelInvitesRequest.ProtoReflect.Descriptor instead.
func (*GetChannelInvitesRequest) GetChannelId ¶
func (x *GetChannelInvitesRequest) GetChannelId() uint64
func (*GetChannelInvitesRequest) ProtoMessage ¶
func (*GetChannelInvitesRequest) ProtoMessage()
func (*GetChannelInvitesRequest) ProtoReflect ¶
func (x *GetChannelInvitesRequest) ProtoReflect() protoreflect.Message
func (*GetChannelInvitesRequest) Reset ¶
func (x *GetChannelInvitesRequest) Reset()
func (*GetChannelInvitesRequest) String ¶
func (x *GetChannelInvitesRequest) String() string
type GetChannelInvitesResponse ¶
type GetChannelInvitesResponse struct { // Types that are assignable to Response: // *GetChannelInvitesResponse_Error // *GetChannelInvitesResponse_Data_ Response isGetChannelInvitesResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetChannelInvitesResponse) Descriptor
deprecated
func (*GetChannelInvitesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelInvitesResponse.ProtoReflect.Descriptor instead.
func (*GetChannelInvitesResponse) GetData ¶
func (x *GetChannelInvitesResponse) GetData() *GetChannelInvitesResponse_Data
func (*GetChannelInvitesResponse) GetError ¶
func (x *GetChannelInvitesResponse) GetError() *RestError
func (*GetChannelInvitesResponse) GetResponse ¶
func (m *GetChannelInvitesResponse) GetResponse() isGetChannelInvitesResponse_Response
func (*GetChannelInvitesResponse) ProtoMessage ¶
func (*GetChannelInvitesResponse) ProtoMessage()
func (*GetChannelInvitesResponse) ProtoReflect ¶
func (x *GetChannelInvitesResponse) ProtoReflect() protoreflect.Message
func (*GetChannelInvitesResponse) Reset ¶
func (x *GetChannelInvitesResponse) Reset()
func (*GetChannelInvitesResponse) String ¶
func (x *GetChannelInvitesResponse) String() string
type GetChannelInvitesResponse_Data ¶
type GetChannelInvitesResponse_Data struct { Invites []*model.InviteData `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*GetChannelInvitesResponse_Data) Descriptor
deprecated
func (*GetChannelInvitesResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelInvitesResponse_Data.ProtoReflect.Descriptor instead.
func (*GetChannelInvitesResponse_Data) GetInvites ¶
func (x *GetChannelInvitesResponse_Data) GetInvites() []*model.InviteData
func (*GetChannelInvitesResponse_Data) ProtoMessage ¶
func (*GetChannelInvitesResponse_Data) ProtoMessage()
func (*GetChannelInvitesResponse_Data) ProtoReflect ¶
func (x *GetChannelInvitesResponse_Data) ProtoReflect() protoreflect.Message
func (*GetChannelInvitesResponse_Data) Reset ¶
func (x *GetChannelInvitesResponse_Data) Reset()
func (*GetChannelInvitesResponse_Data) String ¶
func (x *GetChannelInvitesResponse_Data) String() string
type GetChannelInvitesResponse_Data_ ¶
type GetChannelInvitesResponse_Data_ struct {
Data *GetChannelInvitesResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetChannelInvitesResponse_Error ¶
type GetChannelInvitesResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetChannelMessageRequest ¶
type GetChannelMessageRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint64 `protobuf:"fixed64,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*GetChannelMessageRequest) Descriptor
deprecated
func (*GetChannelMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessageRequest.ProtoReflect.Descriptor instead.
func (*GetChannelMessageRequest) GetChannelId ¶
func (x *GetChannelMessageRequest) GetChannelId() uint64
func (*GetChannelMessageRequest) GetMessageId ¶
func (x *GetChannelMessageRequest) GetMessageId() uint64
func (*GetChannelMessageRequest) ProtoMessage ¶
func (*GetChannelMessageRequest) ProtoMessage()
func (*GetChannelMessageRequest) ProtoReflect ¶
func (x *GetChannelMessageRequest) ProtoReflect() protoreflect.Message
func (*GetChannelMessageRequest) Reset ¶
func (x *GetChannelMessageRequest) Reset()
func (*GetChannelMessageRequest) String ¶
func (x *GetChannelMessageRequest) String() string
type GetChannelMessageResponse ¶
type GetChannelMessageResponse struct { // Types that are assignable to Response: // *GetChannelMessageResponse_Error // *GetChannelMessageResponse_Data_ Response isGetChannelMessageResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetChannelMessageResponse) Descriptor
deprecated
func (*GetChannelMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessageResponse.ProtoReflect.Descriptor instead.
func (*GetChannelMessageResponse) GetData ¶
func (x *GetChannelMessageResponse) GetData() *GetChannelMessageResponse_Data
func (*GetChannelMessageResponse) GetError ¶
func (x *GetChannelMessageResponse) GetError() *RestError
func (*GetChannelMessageResponse) GetResponse ¶
func (m *GetChannelMessageResponse) GetResponse() isGetChannelMessageResponse_Response
func (*GetChannelMessageResponse) ProtoMessage ¶
func (*GetChannelMessageResponse) ProtoMessage()
func (*GetChannelMessageResponse) ProtoReflect ¶
func (x *GetChannelMessageResponse) ProtoReflect() protoreflect.Message
func (*GetChannelMessageResponse) Reset ¶
func (x *GetChannelMessageResponse) Reset()
func (*GetChannelMessageResponse) String ¶
func (x *GetChannelMessageResponse) String() string
type GetChannelMessageResponse_Data ¶
type GetChannelMessageResponse_Data struct { Message *model.MessageData `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*GetChannelMessageResponse_Data) Descriptor
deprecated
func (*GetChannelMessageResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessageResponse_Data.ProtoReflect.Descriptor instead.
func (*GetChannelMessageResponse_Data) GetMessage ¶
func (x *GetChannelMessageResponse_Data) GetMessage() *model.MessageData
func (*GetChannelMessageResponse_Data) ProtoMessage ¶
func (*GetChannelMessageResponse_Data) ProtoMessage()
func (*GetChannelMessageResponse_Data) ProtoReflect ¶
func (x *GetChannelMessageResponse_Data) ProtoReflect() protoreflect.Message
func (*GetChannelMessageResponse_Data) Reset ¶
func (x *GetChannelMessageResponse_Data) Reset()
func (*GetChannelMessageResponse_Data) String ¶
func (x *GetChannelMessageResponse_Data) String() string
type GetChannelMessageResponse_Data_ ¶
type GetChannelMessageResponse_Data_ struct {
Data *GetChannelMessageResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetChannelMessageResponse_Error ¶
type GetChannelMessageResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetChannelMessagesRequest ¶
type GetChannelMessagesRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Around *model.SnowflakeValue `protobuf:"bytes,2,opt,name=around,proto3" json:"around,omitempty"` Before *model.SnowflakeValue `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"` After *model.SnowflakeValue `protobuf:"bytes,4,opt,name=after,proto3" json:"after,omitempty"` Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetChannelMessagesRequest) Descriptor
deprecated
func (*GetChannelMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetChannelMessagesRequest) GetAfter ¶
func (x *GetChannelMessagesRequest) GetAfter() *model.SnowflakeValue
func (*GetChannelMessagesRequest) GetAround ¶
func (x *GetChannelMessagesRequest) GetAround() *model.SnowflakeValue
func (*GetChannelMessagesRequest) GetBefore ¶
func (x *GetChannelMessagesRequest) GetBefore() *model.SnowflakeValue
func (*GetChannelMessagesRequest) GetChannelId ¶
func (x *GetChannelMessagesRequest) GetChannelId() uint64
func (*GetChannelMessagesRequest) GetLimit ¶
func (x *GetChannelMessagesRequest) GetLimit() uint32
func (*GetChannelMessagesRequest) ProtoMessage ¶
func (*GetChannelMessagesRequest) ProtoMessage()
func (*GetChannelMessagesRequest) ProtoReflect ¶
func (x *GetChannelMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetChannelMessagesRequest) Reset ¶
func (x *GetChannelMessagesRequest) Reset()
func (*GetChannelMessagesRequest) String ¶
func (x *GetChannelMessagesRequest) String() string
type GetChannelMessagesResponse ¶
type GetChannelMessagesResponse struct { // Types that are assignable to Response: // *GetChannelMessagesResponse_Error // *GetChannelMessagesResponse_Data_ Response isGetChannelMessagesResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetChannelMessagesResponse) Descriptor
deprecated
func (*GetChannelMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessagesResponse.ProtoReflect.Descriptor instead.
func (*GetChannelMessagesResponse) GetData ¶
func (x *GetChannelMessagesResponse) GetData() *GetChannelMessagesResponse_Data
func (*GetChannelMessagesResponse) GetError ¶
func (x *GetChannelMessagesResponse) GetError() *RestError
func (*GetChannelMessagesResponse) GetResponse ¶
func (m *GetChannelMessagesResponse) GetResponse() isGetChannelMessagesResponse_Response
func (*GetChannelMessagesResponse) ProtoMessage ¶
func (*GetChannelMessagesResponse) ProtoMessage()
func (*GetChannelMessagesResponse) ProtoReflect ¶
func (x *GetChannelMessagesResponse) ProtoReflect() protoreflect.Message
func (*GetChannelMessagesResponse) Reset ¶
func (x *GetChannelMessagesResponse) Reset()
func (*GetChannelMessagesResponse) String ¶
func (x *GetChannelMessagesResponse) String() string
type GetChannelMessagesResponse_Data ¶
type GetChannelMessagesResponse_Data struct { Messages []*model.MessageData `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*GetChannelMessagesResponse_Data) Descriptor
deprecated
func (*GetChannelMessagesResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessagesResponse_Data.ProtoReflect.Descriptor instead.
func (*GetChannelMessagesResponse_Data) GetMessages ¶
func (x *GetChannelMessagesResponse_Data) GetMessages() []*model.MessageData
func (*GetChannelMessagesResponse_Data) ProtoMessage ¶
func (*GetChannelMessagesResponse_Data) ProtoMessage()
func (*GetChannelMessagesResponse_Data) ProtoReflect ¶
func (x *GetChannelMessagesResponse_Data) ProtoReflect() protoreflect.Message
func (*GetChannelMessagesResponse_Data) Reset ¶
func (x *GetChannelMessagesResponse_Data) Reset()
func (*GetChannelMessagesResponse_Data) String ¶
func (x *GetChannelMessagesResponse_Data) String() string
type GetChannelMessagesResponse_Data_ ¶
type GetChannelMessagesResponse_Data_ struct {
Data *GetChannelMessagesResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetChannelMessagesResponse_Error ¶
type GetChannelMessagesResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetCurrentUserRequest ¶
type GetCurrentUserRequest struct {
// contains filtered or unexported fields
}
func (*GetCurrentUserRequest) Descriptor
deprecated
func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*GetCurrentUserRequest) ProtoMessage ¶
func (*GetCurrentUserRequest) ProtoMessage()
func (*GetCurrentUserRequest) ProtoReflect ¶
func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentUserRequest) Reset ¶
func (x *GetCurrentUserRequest) Reset()
func (*GetCurrentUserRequest) String ¶
func (x *GetCurrentUserRequest) String() string
type GetCurrentUserResponse ¶
type GetCurrentUserResponse struct { // Types that are assignable to Response: // *GetCurrentUserResponse_Error // *GetCurrentUserResponse_Data_ Response isGetCurrentUserResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetCurrentUserResponse) Descriptor
deprecated
func (*GetCurrentUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead.
func (*GetCurrentUserResponse) GetData ¶
func (x *GetCurrentUserResponse) GetData() *GetCurrentUserResponse_Data
func (*GetCurrentUserResponse) GetError ¶
func (x *GetCurrentUserResponse) GetError() *RestError
func (*GetCurrentUserResponse) GetResponse ¶
func (m *GetCurrentUserResponse) GetResponse() isGetCurrentUserResponse_Response
func (*GetCurrentUserResponse) ProtoMessage ¶
func (*GetCurrentUserResponse) ProtoMessage()
func (*GetCurrentUserResponse) ProtoReflect ¶
func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
func (*GetCurrentUserResponse) Reset ¶
func (x *GetCurrentUserResponse) Reset()
func (*GetCurrentUserResponse) String ¶
func (x *GetCurrentUserResponse) String() string
type GetCurrentUserResponse_Data ¶
type GetCurrentUserResponse_Data struct { User *model.UserData `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetCurrentUserResponse_Data) Descriptor
deprecated
func (*GetCurrentUserResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserResponse_Data.ProtoReflect.Descriptor instead.
func (*GetCurrentUserResponse_Data) GetUser ¶
func (x *GetCurrentUserResponse_Data) GetUser() *model.UserData
func (*GetCurrentUserResponse_Data) ProtoMessage ¶
func (*GetCurrentUserResponse_Data) ProtoMessage()
func (*GetCurrentUserResponse_Data) ProtoReflect ¶
func (x *GetCurrentUserResponse_Data) ProtoReflect() protoreflect.Message
func (*GetCurrentUserResponse_Data) Reset ¶
func (x *GetCurrentUserResponse_Data) Reset()
func (*GetCurrentUserResponse_Data) String ¶
func (x *GetCurrentUserResponse_Data) String() string
type GetCurrentUserResponse_Data_ ¶
type GetCurrentUserResponse_Data_ struct {
Data *GetCurrentUserResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetCurrentUserResponse_Error ¶
type GetCurrentUserResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetGuildBanRequest ¶
type GetGuildBanRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetGuildBanRequest) Descriptor
deprecated
func (*GetGuildBanRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildBanRequest.ProtoReflect.Descriptor instead.
func (*GetGuildBanRequest) GetUserId ¶
func (x *GetGuildBanRequest) GetUserId() uint64
func (*GetGuildBanRequest) ProtoMessage ¶
func (*GetGuildBanRequest) ProtoMessage()
func (*GetGuildBanRequest) ProtoReflect ¶
func (x *GetGuildBanRequest) ProtoReflect() protoreflect.Message
func (*GetGuildBanRequest) Reset ¶
func (x *GetGuildBanRequest) Reset()
func (*GetGuildBanRequest) String ¶
func (x *GetGuildBanRequest) String() string
type GetGuildBanResponse ¶
type GetGuildBanResponse struct { // Types that are assignable to Response: // *GetGuildBanResponse_Error // *GetGuildBanResponse_Data_ Response isGetGuildBanResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetGuildBanResponse) Descriptor
deprecated
func (*GetGuildBanResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildBanResponse.ProtoReflect.Descriptor instead.
func (*GetGuildBanResponse) GetData ¶
func (x *GetGuildBanResponse) GetData() *GetGuildBanResponse_Data
func (*GetGuildBanResponse) GetError ¶
func (x *GetGuildBanResponse) GetError() *RestError
func (*GetGuildBanResponse) GetResponse ¶
func (m *GetGuildBanResponse) GetResponse() isGetGuildBanResponse_Response
func (*GetGuildBanResponse) ProtoMessage ¶
func (*GetGuildBanResponse) ProtoMessage()
func (*GetGuildBanResponse) ProtoReflect ¶
func (x *GetGuildBanResponse) ProtoReflect() protoreflect.Message
func (*GetGuildBanResponse) Reset ¶
func (x *GetGuildBanResponse) Reset()
func (*GetGuildBanResponse) String ¶
func (x *GetGuildBanResponse) String() string
type GetGuildBanResponse_Data ¶
type GetGuildBanResponse_Data struct { Ban *model.GuildBanData `protobuf:"bytes,1,opt,name=ban,proto3" json:"ban,omitempty"` // contains filtered or unexported fields }
func (*GetGuildBanResponse_Data) Descriptor
deprecated
func (*GetGuildBanResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildBanResponse_Data.ProtoReflect.Descriptor instead.
func (*GetGuildBanResponse_Data) GetBan ¶
func (x *GetGuildBanResponse_Data) GetBan() *model.GuildBanData
func (*GetGuildBanResponse_Data) ProtoMessage ¶
func (*GetGuildBanResponse_Data) ProtoMessage()
func (*GetGuildBanResponse_Data) ProtoReflect ¶
func (x *GetGuildBanResponse_Data) ProtoReflect() protoreflect.Message
func (*GetGuildBanResponse_Data) Reset ¶
func (x *GetGuildBanResponse_Data) Reset()
func (*GetGuildBanResponse_Data) String ¶
func (x *GetGuildBanResponse_Data) String() string
type GetGuildBanResponse_Data_ ¶
type GetGuildBanResponse_Data_ struct {
Data *GetGuildBanResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetGuildBanResponse_Error ¶
type GetGuildBanResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetGuildBansRequest ¶
type GetGuildBansRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetGuildBansRequest) Descriptor
deprecated
func (*GetGuildBansRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildBansRequest.ProtoReflect.Descriptor instead.
func (*GetGuildBansRequest) GetUserId ¶
func (x *GetGuildBansRequest) GetUserId() uint64
func (*GetGuildBansRequest) ProtoMessage ¶
func (*GetGuildBansRequest) ProtoMessage()
func (*GetGuildBansRequest) ProtoReflect ¶
func (x *GetGuildBansRequest) ProtoReflect() protoreflect.Message
func (*GetGuildBansRequest) Reset ¶
func (x *GetGuildBansRequest) Reset()
func (*GetGuildBansRequest) String ¶
func (x *GetGuildBansRequest) String() string
type GetGuildBansResponse ¶
type GetGuildBansResponse struct { // Types that are assignable to Response: // *GetGuildBansResponse_Error // *GetGuildBansResponse_Data_ Response isGetGuildBansResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetGuildBansResponse) Descriptor
deprecated
func (*GetGuildBansResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildBansResponse.ProtoReflect.Descriptor instead.
func (*GetGuildBansResponse) GetData ¶
func (x *GetGuildBansResponse) GetData() *GetGuildBansResponse_Data
func (*GetGuildBansResponse) GetError ¶
func (x *GetGuildBansResponse) GetError() *RestError
func (*GetGuildBansResponse) GetResponse ¶
func (m *GetGuildBansResponse) GetResponse() isGetGuildBansResponse_Response
func (*GetGuildBansResponse) ProtoMessage ¶
func (*GetGuildBansResponse) ProtoMessage()
func (*GetGuildBansResponse) ProtoReflect ¶
func (x *GetGuildBansResponse) ProtoReflect() protoreflect.Message
func (*GetGuildBansResponse) Reset ¶
func (x *GetGuildBansResponse) Reset()
func (*GetGuildBansResponse) String ¶
func (x *GetGuildBansResponse) String() string
type GetGuildBansResponse_Data ¶
type GetGuildBansResponse_Data struct { Bans []*model.GuildBanData `protobuf:"bytes,1,rep,name=bans,proto3" json:"bans,omitempty"` // contains filtered or unexported fields }
func (*GetGuildBansResponse_Data) Descriptor
deprecated
func (*GetGuildBansResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildBansResponse_Data.ProtoReflect.Descriptor instead.
func (*GetGuildBansResponse_Data) GetBans ¶
func (x *GetGuildBansResponse_Data) GetBans() []*model.GuildBanData
func (*GetGuildBansResponse_Data) ProtoMessage ¶
func (*GetGuildBansResponse_Data) ProtoMessage()
func (*GetGuildBansResponse_Data) ProtoReflect ¶
func (x *GetGuildBansResponse_Data) ProtoReflect() protoreflect.Message
func (*GetGuildBansResponse_Data) Reset ¶
func (x *GetGuildBansResponse_Data) Reset()
func (*GetGuildBansResponse_Data) String ¶
func (x *GetGuildBansResponse_Data) String() string
type GetGuildBansResponse_Data_ ¶
type GetGuildBansResponse_Data_ struct {
Data *GetGuildBansResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetGuildBansResponse_Error ¶
type GetGuildBansResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetGuildEmojiRequest ¶
type GetGuildEmojiRequest struct { EmojiId uint64 `protobuf:"fixed64,1,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"` // contains filtered or unexported fields }
func (*GetGuildEmojiRequest) Descriptor
deprecated
func (*GetGuildEmojiRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildEmojiRequest.ProtoReflect.Descriptor instead.
func (*GetGuildEmojiRequest) GetEmojiId ¶
func (x *GetGuildEmojiRequest) GetEmojiId() uint64
func (*GetGuildEmojiRequest) ProtoMessage ¶
func (*GetGuildEmojiRequest) ProtoMessage()
func (*GetGuildEmojiRequest) ProtoReflect ¶
func (x *GetGuildEmojiRequest) ProtoReflect() protoreflect.Message
func (*GetGuildEmojiRequest) Reset ¶
func (x *GetGuildEmojiRequest) Reset()
func (*GetGuildEmojiRequest) String ¶
func (x *GetGuildEmojiRequest) String() string
type GetGuildEmojiResponse ¶
type GetGuildEmojiResponse struct { // Types that are assignable to Response: // *GetGuildEmojiResponse_Error // *GetGuildEmojiResponse_Data_ Response isGetGuildEmojiResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetGuildEmojiResponse) Descriptor
deprecated
func (*GetGuildEmojiResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildEmojiResponse.ProtoReflect.Descriptor instead.
func (*GetGuildEmojiResponse) GetData ¶
func (x *GetGuildEmojiResponse) GetData() *GetGuildEmojiResponse_Data
func (*GetGuildEmojiResponse) GetError ¶
func (x *GetGuildEmojiResponse) GetError() *RestError
func (*GetGuildEmojiResponse) GetResponse ¶
func (m *GetGuildEmojiResponse) GetResponse() isGetGuildEmojiResponse_Response
func (*GetGuildEmojiResponse) ProtoMessage ¶
func (*GetGuildEmojiResponse) ProtoMessage()
func (*GetGuildEmojiResponse) ProtoReflect ¶
func (x *GetGuildEmojiResponse) ProtoReflect() protoreflect.Message
func (*GetGuildEmojiResponse) Reset ¶
func (x *GetGuildEmojiResponse) Reset()
func (*GetGuildEmojiResponse) String ¶
func (x *GetGuildEmojiResponse) String() string
type GetGuildEmojiResponse_Data ¶
type GetGuildEmojiResponse_Data struct { Emoji *model.EmojiData `protobuf:"bytes,1,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
func (*GetGuildEmojiResponse_Data) Descriptor
deprecated
func (*GetGuildEmojiResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildEmojiResponse_Data.ProtoReflect.Descriptor instead.
func (*GetGuildEmojiResponse_Data) GetEmoji ¶
func (x *GetGuildEmojiResponse_Data) GetEmoji() *model.EmojiData
func (*GetGuildEmojiResponse_Data) ProtoMessage ¶
func (*GetGuildEmojiResponse_Data) ProtoMessage()
func (*GetGuildEmojiResponse_Data) ProtoReflect ¶
func (x *GetGuildEmojiResponse_Data) ProtoReflect() protoreflect.Message
func (*GetGuildEmojiResponse_Data) Reset ¶
func (x *GetGuildEmojiResponse_Data) Reset()
func (*GetGuildEmojiResponse_Data) String ¶
func (x *GetGuildEmojiResponse_Data) String() string
type GetGuildEmojiResponse_Data_ ¶
type GetGuildEmojiResponse_Data_ struct {
Data *GetGuildEmojiResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetGuildEmojiResponse_Error ¶
type GetGuildEmojiResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetGuildInvitesRequest ¶
type GetGuildInvitesRequest struct {
// contains filtered or unexported fields
}
func (*GetGuildInvitesRequest) Descriptor
deprecated
func (*GetGuildInvitesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildInvitesRequest.ProtoReflect.Descriptor instead.
func (*GetGuildInvitesRequest) ProtoMessage ¶
func (*GetGuildInvitesRequest) ProtoMessage()
func (*GetGuildInvitesRequest) ProtoReflect ¶
func (x *GetGuildInvitesRequest) ProtoReflect() protoreflect.Message
func (*GetGuildInvitesRequest) Reset ¶
func (x *GetGuildInvitesRequest) Reset()
func (*GetGuildInvitesRequest) String ¶
func (x *GetGuildInvitesRequest) String() string
type GetGuildInvitesResponse ¶
type GetGuildInvitesResponse struct { // Types that are assignable to Response: // *GetGuildInvitesResponse_Error // *GetGuildInvitesResponse_Data_ Response isGetGuildInvitesResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetGuildInvitesResponse) Descriptor
deprecated
func (*GetGuildInvitesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildInvitesResponse.ProtoReflect.Descriptor instead.
func (*GetGuildInvitesResponse) GetData ¶
func (x *GetGuildInvitesResponse) GetData() *GetGuildInvitesResponse_Data
func (*GetGuildInvitesResponse) GetError ¶
func (x *GetGuildInvitesResponse) GetError() *RestError
func (*GetGuildInvitesResponse) GetResponse ¶
func (m *GetGuildInvitesResponse) GetResponse() isGetGuildInvitesResponse_Response
func (*GetGuildInvitesResponse) ProtoMessage ¶
func (*GetGuildInvitesResponse) ProtoMessage()
func (*GetGuildInvitesResponse) ProtoReflect ¶
func (x *GetGuildInvitesResponse) ProtoReflect() protoreflect.Message
func (*GetGuildInvitesResponse) Reset ¶
func (x *GetGuildInvitesResponse) Reset()
func (*GetGuildInvitesResponse) String ¶
func (x *GetGuildInvitesResponse) String() string
type GetGuildInvitesResponse_Data ¶
type GetGuildInvitesResponse_Data struct { Invites []*model.InviteData `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` // contains filtered or unexported fields }
func (*GetGuildInvitesResponse_Data) Descriptor
deprecated
func (*GetGuildInvitesResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildInvitesResponse_Data.ProtoReflect.Descriptor instead.
func (*GetGuildInvitesResponse_Data) GetInvites ¶
func (x *GetGuildInvitesResponse_Data) GetInvites() []*model.InviteData
func (*GetGuildInvitesResponse_Data) ProtoMessage ¶
func (*GetGuildInvitesResponse_Data) ProtoMessage()
func (*GetGuildInvitesResponse_Data) ProtoReflect ¶
func (x *GetGuildInvitesResponse_Data) ProtoReflect() protoreflect.Message
func (*GetGuildInvitesResponse_Data) Reset ¶
func (x *GetGuildInvitesResponse_Data) Reset()
func (*GetGuildInvitesResponse_Data) String ¶
func (x *GetGuildInvitesResponse_Data) String() string
type GetGuildInvitesResponse_Data_ ¶
type GetGuildInvitesResponse_Data_ struct {
Data *GetGuildInvitesResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetGuildInvitesResponse_Error ¶
type GetGuildInvitesResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetGuildPruneCountRequest ¶
type GetGuildPruneCountRequest struct { Days *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=days,proto3" json:"days,omitempty"` IncludeRoles *model.SnowflakeListValue `protobuf:"bytes,2,opt,name=include_roles,json=includeRoles,proto3" json:"include_roles,omitempty"` // contains filtered or unexported fields }
func (*GetGuildPruneCountRequest) Descriptor
deprecated
func (*GetGuildPruneCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildPruneCountRequest.ProtoReflect.Descriptor instead.
func (*GetGuildPruneCountRequest) GetDays ¶
func (x *GetGuildPruneCountRequest) GetDays() *wrappers.UInt32Value
func (*GetGuildPruneCountRequest) GetIncludeRoles ¶
func (x *GetGuildPruneCountRequest) GetIncludeRoles() *model.SnowflakeListValue
func (*GetGuildPruneCountRequest) ProtoMessage ¶
func (*GetGuildPruneCountRequest) ProtoMessage()
func (*GetGuildPruneCountRequest) ProtoReflect ¶
func (x *GetGuildPruneCountRequest) ProtoReflect() protoreflect.Message
func (*GetGuildPruneCountRequest) Reset ¶
func (x *GetGuildPruneCountRequest) Reset()
func (*GetGuildPruneCountRequest) String ¶
func (x *GetGuildPruneCountRequest) String() string
type GetGuildPruneCountResponse ¶
type GetGuildPruneCountResponse struct { // Types that are assignable to Response: // *GetGuildPruneCountResponse_Error // *GetGuildPruneCountResponse_Data Response isGetGuildPruneCountResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetGuildPruneCountResponse) Descriptor
deprecated
func (*GetGuildPruneCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildPruneCountResponse.ProtoReflect.Descriptor instead.
func (*GetGuildPruneCountResponse) GetData ¶
func (x *GetGuildPruneCountResponse) GetData() *empty.Empty
func (*GetGuildPruneCountResponse) GetError ¶
func (x *GetGuildPruneCountResponse) GetError() *RestError
func (*GetGuildPruneCountResponse) GetResponse ¶
func (m *GetGuildPruneCountResponse) GetResponse() isGetGuildPruneCountResponse_Response
func (*GetGuildPruneCountResponse) ProtoMessage ¶
func (*GetGuildPruneCountResponse) ProtoMessage()
func (*GetGuildPruneCountResponse) ProtoReflect ¶
func (x *GetGuildPruneCountResponse) ProtoReflect() protoreflect.Message
func (*GetGuildPruneCountResponse) Reset ¶
func (x *GetGuildPruneCountResponse) Reset()
func (*GetGuildPruneCountResponse) String ¶
func (x *GetGuildPruneCountResponse) String() string
type GetGuildPruneCountResponse_Error ¶
type GetGuildPruneCountResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetGuildVoiceRegionsRequest ¶
type GetGuildVoiceRegionsRequest struct {
// contains filtered or unexported fields
}
func (*GetGuildVoiceRegionsRequest) Descriptor
deprecated
func (*GetGuildVoiceRegionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildVoiceRegionsRequest.ProtoReflect.Descriptor instead.
func (*GetGuildVoiceRegionsRequest) ProtoMessage ¶
func (*GetGuildVoiceRegionsRequest) ProtoMessage()
func (*GetGuildVoiceRegionsRequest) ProtoReflect ¶
func (x *GetGuildVoiceRegionsRequest) ProtoReflect() protoreflect.Message
func (*GetGuildVoiceRegionsRequest) Reset ¶
func (x *GetGuildVoiceRegionsRequest) Reset()
func (*GetGuildVoiceRegionsRequest) String ¶
func (x *GetGuildVoiceRegionsRequest) String() string
type GetGuildVoiceRegionsResponse ¶
type GetGuildVoiceRegionsResponse struct { // Types that are assignable to Response: // *GetGuildVoiceRegionsResponse_Error // *GetGuildVoiceRegionsResponse_Data_ Response isGetGuildVoiceRegionsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetGuildVoiceRegionsResponse) Descriptor
deprecated
func (*GetGuildVoiceRegionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildVoiceRegionsResponse.ProtoReflect.Descriptor instead.
func (*GetGuildVoiceRegionsResponse) GetData ¶
func (x *GetGuildVoiceRegionsResponse) GetData() *GetGuildVoiceRegionsResponse_Data
func (*GetGuildVoiceRegionsResponse) GetError ¶
func (x *GetGuildVoiceRegionsResponse) GetError() *RestError
func (*GetGuildVoiceRegionsResponse) GetResponse ¶
func (m *GetGuildVoiceRegionsResponse) GetResponse() isGetGuildVoiceRegionsResponse_Response
func (*GetGuildVoiceRegionsResponse) ProtoMessage ¶
func (*GetGuildVoiceRegionsResponse) ProtoMessage()
func (*GetGuildVoiceRegionsResponse) ProtoReflect ¶
func (x *GetGuildVoiceRegionsResponse) ProtoReflect() protoreflect.Message
func (*GetGuildVoiceRegionsResponse) Reset ¶
func (x *GetGuildVoiceRegionsResponse) Reset()
func (*GetGuildVoiceRegionsResponse) String ¶
func (x *GetGuildVoiceRegionsResponse) String() string
type GetGuildVoiceRegionsResponse_Data ¶
type GetGuildVoiceRegionsResponse_Data struct { Regions []string `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` // contains filtered or unexported fields }
func (*GetGuildVoiceRegionsResponse_Data) Descriptor
deprecated
func (*GetGuildVoiceRegionsResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetGuildVoiceRegionsResponse_Data.ProtoReflect.Descriptor instead.
func (*GetGuildVoiceRegionsResponse_Data) GetRegions ¶
func (x *GetGuildVoiceRegionsResponse_Data) GetRegions() []string
func (*GetGuildVoiceRegionsResponse_Data) ProtoMessage ¶
func (*GetGuildVoiceRegionsResponse_Data) ProtoMessage()
func (*GetGuildVoiceRegionsResponse_Data) ProtoReflect ¶
func (x *GetGuildVoiceRegionsResponse_Data) ProtoReflect() protoreflect.Message
func (*GetGuildVoiceRegionsResponse_Data) Reset ¶
func (x *GetGuildVoiceRegionsResponse_Data) Reset()
func (*GetGuildVoiceRegionsResponse_Data) String ¶
func (x *GetGuildVoiceRegionsResponse_Data) String() string
type GetGuildVoiceRegionsResponse_Data_ ¶
type GetGuildVoiceRegionsResponse_Data_ struct {
Data *GetGuildVoiceRegionsResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetGuildVoiceRegionsResponse_Error ¶
type GetGuildVoiceRegionsResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetPinnedMessagesRequest ¶
type GetPinnedMessagesRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
func (*GetPinnedMessagesRequest) Descriptor
deprecated
func (*GetPinnedMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPinnedMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetPinnedMessagesRequest) GetChannelId ¶
func (x *GetPinnedMessagesRequest) GetChannelId() uint64
func (*GetPinnedMessagesRequest) ProtoMessage ¶
func (*GetPinnedMessagesRequest) ProtoMessage()
func (*GetPinnedMessagesRequest) ProtoReflect ¶
func (x *GetPinnedMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetPinnedMessagesRequest) Reset ¶
func (x *GetPinnedMessagesRequest) Reset()
func (*GetPinnedMessagesRequest) String ¶
func (x *GetPinnedMessagesRequest) String() string
type GetPinnedMessagesResponse ¶
type GetPinnedMessagesResponse struct { // Types that are assignable to Response: // *GetPinnedMessagesResponse_Error // *GetPinnedMessagesResponse_Data_ Response isGetPinnedMessagesResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetPinnedMessagesResponse) Descriptor
deprecated
func (*GetPinnedMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPinnedMessagesResponse.ProtoReflect.Descriptor instead.
func (*GetPinnedMessagesResponse) GetData ¶
func (x *GetPinnedMessagesResponse) GetData() *GetPinnedMessagesResponse_Data
func (*GetPinnedMessagesResponse) GetError ¶
func (x *GetPinnedMessagesResponse) GetError() *RestError
func (*GetPinnedMessagesResponse) GetResponse ¶
func (m *GetPinnedMessagesResponse) GetResponse() isGetPinnedMessagesResponse_Response
func (*GetPinnedMessagesResponse) ProtoMessage ¶
func (*GetPinnedMessagesResponse) ProtoMessage()
func (*GetPinnedMessagesResponse) ProtoReflect ¶
func (x *GetPinnedMessagesResponse) ProtoReflect() protoreflect.Message
func (*GetPinnedMessagesResponse) Reset ¶
func (x *GetPinnedMessagesResponse) Reset()
func (*GetPinnedMessagesResponse) String ¶
func (x *GetPinnedMessagesResponse) String() string
type GetPinnedMessagesResponse_Data ¶
type GetPinnedMessagesResponse_Data struct { Messages []*model.MessageData `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*GetPinnedMessagesResponse_Data) Descriptor
deprecated
func (*GetPinnedMessagesResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetPinnedMessagesResponse_Data.ProtoReflect.Descriptor instead.
func (*GetPinnedMessagesResponse_Data) GetMessages ¶
func (x *GetPinnedMessagesResponse_Data) GetMessages() []*model.MessageData
func (*GetPinnedMessagesResponse_Data) ProtoMessage ¶
func (*GetPinnedMessagesResponse_Data) ProtoMessage()
func (*GetPinnedMessagesResponse_Data) ProtoReflect ¶
func (x *GetPinnedMessagesResponse_Data) ProtoReflect() protoreflect.Message
func (*GetPinnedMessagesResponse_Data) Reset ¶
func (x *GetPinnedMessagesResponse_Data) Reset()
func (*GetPinnedMessagesResponse_Data) String ¶
func (x *GetPinnedMessagesResponse_Data) String() string
type GetPinnedMessagesResponse_Data_ ¶
type GetPinnedMessagesResponse_Data_ struct {
Data *GetPinnedMessagesResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetPinnedMessagesResponse_Error ¶
type GetPinnedMessagesResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type GetUserRequest ¶
type GetUserRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() uint64
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { // Types that are assignable to Response: // *GetUserResponse_Error // *GetUserResponse_Data_ Response isGetUserResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetData ¶
func (x *GetUserResponse) GetData() *GetUserResponse_Data
func (*GetUserResponse) GetError ¶
func (x *GetUserResponse) GetError() *RestError
func (*GetUserResponse) GetResponse ¶
func (m *GetUserResponse) GetResponse() isGetUserResponse_Response
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUserResponse_Data ¶
type GetUserResponse_Data struct { User *model.UserData `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse_Data) Descriptor
deprecated
func (*GetUserResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse_Data.ProtoReflect.Descriptor instead.
func (*GetUserResponse_Data) GetUser ¶
func (x *GetUserResponse_Data) GetUser() *model.UserData
func (*GetUserResponse_Data) ProtoMessage ¶
func (*GetUserResponse_Data) ProtoMessage()
func (*GetUserResponse_Data) ProtoReflect ¶
func (x *GetUserResponse_Data) ProtoReflect() protoreflect.Message
func (*GetUserResponse_Data) Reset ¶
func (x *GetUserResponse_Data) Reset()
func (*GetUserResponse_Data) String ¶
func (x *GetUserResponse_Data) String() string
type GetUserResponse_Data_ ¶
type GetUserResponse_Data_ struct {
Data *GetUserResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type GetUserResponse_Error ¶
type GetUserResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type InteractionFollowupMessageCreateRequest ¶
type InteractionFollowupMessageCreateRequest struct { ApplicationId *model.SnowflakeValue `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Message *model.MessageData `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageCreateRequest) Descriptor
deprecated
func (*InteractionFollowupMessageCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageCreateRequest.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageCreateRequest) GetApplicationId ¶
func (x *InteractionFollowupMessageCreateRequest) GetApplicationId() *model.SnowflakeValue
func (*InteractionFollowupMessageCreateRequest) GetMessage ¶
func (x *InteractionFollowupMessageCreateRequest) GetMessage() *model.MessageData
func (*InteractionFollowupMessageCreateRequest) GetToken ¶
func (x *InteractionFollowupMessageCreateRequest) GetToken() string
func (*InteractionFollowupMessageCreateRequest) ProtoMessage ¶
func (*InteractionFollowupMessageCreateRequest) ProtoMessage()
func (*InteractionFollowupMessageCreateRequest) ProtoReflect ¶
func (x *InteractionFollowupMessageCreateRequest) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageCreateRequest) Reset ¶
func (x *InteractionFollowupMessageCreateRequest) Reset()
func (*InteractionFollowupMessageCreateRequest) String ¶
func (x *InteractionFollowupMessageCreateRequest) String() string
type InteractionFollowupMessageCreateResponse ¶
type InteractionFollowupMessageCreateResponse struct { // Types that are assignable to Response: // *InteractionFollowupMessageCreateResponse_Error // *InteractionFollowupMessageCreateResponse_Data_ Response isInteractionFollowupMessageCreateResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageCreateResponse) Descriptor
deprecated
func (*InteractionFollowupMessageCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageCreateResponse.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageCreateResponse) GetData ¶
func (x *InteractionFollowupMessageCreateResponse) GetData() *InteractionFollowupMessageCreateResponse_Data
func (*InteractionFollowupMessageCreateResponse) GetError ¶
func (x *InteractionFollowupMessageCreateResponse) GetError() *RestError
func (*InteractionFollowupMessageCreateResponse) GetResponse ¶
func (m *InteractionFollowupMessageCreateResponse) GetResponse() isInteractionFollowupMessageCreateResponse_Response
func (*InteractionFollowupMessageCreateResponse) ProtoMessage ¶
func (*InteractionFollowupMessageCreateResponse) ProtoMessage()
func (*InteractionFollowupMessageCreateResponse) ProtoReflect ¶
func (x *InteractionFollowupMessageCreateResponse) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageCreateResponse) Reset ¶
func (x *InteractionFollowupMessageCreateResponse) Reset()
func (*InteractionFollowupMessageCreateResponse) String ¶
func (x *InteractionFollowupMessageCreateResponse) String() string
type InteractionFollowupMessageCreateResponse_Data ¶
type InteractionFollowupMessageCreateResponse_Data struct { Message *model.MessageData `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageCreateResponse_Data) Descriptor
deprecated
func (*InteractionFollowupMessageCreateResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageCreateResponse_Data.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageCreateResponse_Data) GetMessage ¶
func (x *InteractionFollowupMessageCreateResponse_Data) GetMessage() *model.MessageData
func (*InteractionFollowupMessageCreateResponse_Data) ProtoMessage ¶
func (*InteractionFollowupMessageCreateResponse_Data) ProtoMessage()
func (*InteractionFollowupMessageCreateResponse_Data) ProtoReflect ¶
func (x *InteractionFollowupMessageCreateResponse_Data) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageCreateResponse_Data) Reset ¶
func (x *InteractionFollowupMessageCreateResponse_Data) Reset()
func (*InteractionFollowupMessageCreateResponse_Data) String ¶
func (x *InteractionFollowupMessageCreateResponse_Data) String() string
type InteractionFollowupMessageCreateResponse_Data_ ¶
type InteractionFollowupMessageCreateResponse_Data_ struct {
Data *InteractionFollowupMessageCreateResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type InteractionFollowupMessageCreateResponse_Error ¶
type InteractionFollowupMessageCreateResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type InteractionFollowupMessageDeleteRequest ¶
type InteractionFollowupMessageDeleteRequest struct { ApplicationId *model.SnowflakeValue `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // either @original or a messageId // contains filtered or unexported fields }
func (*InteractionFollowupMessageDeleteRequest) Descriptor
deprecated
func (*InteractionFollowupMessageDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageDeleteRequest.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageDeleteRequest) GetApplicationId ¶
func (x *InteractionFollowupMessageDeleteRequest) GetApplicationId() *model.SnowflakeValue
func (*InteractionFollowupMessageDeleteRequest) GetMessageId ¶
func (x *InteractionFollowupMessageDeleteRequest) GetMessageId() string
func (*InteractionFollowupMessageDeleteRequest) GetToken ¶
func (x *InteractionFollowupMessageDeleteRequest) GetToken() string
func (*InteractionFollowupMessageDeleteRequest) ProtoMessage ¶
func (*InteractionFollowupMessageDeleteRequest) ProtoMessage()
func (*InteractionFollowupMessageDeleteRequest) ProtoReflect ¶
func (x *InteractionFollowupMessageDeleteRequest) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageDeleteRequest) Reset ¶
func (x *InteractionFollowupMessageDeleteRequest) Reset()
func (*InteractionFollowupMessageDeleteRequest) String ¶
func (x *InteractionFollowupMessageDeleteRequest) String() string
type InteractionFollowupMessageDeleteResponse ¶
type InteractionFollowupMessageDeleteResponse struct { // Types that are assignable to Response: // *InteractionFollowupMessageDeleteResponse_Error // *InteractionFollowupMessageDeleteResponse_Data Response isInteractionFollowupMessageDeleteResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageDeleteResponse) Descriptor
deprecated
func (*InteractionFollowupMessageDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageDeleteResponse.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageDeleteResponse) GetData ¶
func (x *InteractionFollowupMessageDeleteResponse) GetData() *empty.Empty
func (*InteractionFollowupMessageDeleteResponse) GetError ¶
func (x *InteractionFollowupMessageDeleteResponse) GetError() *RestError
func (*InteractionFollowupMessageDeleteResponse) GetResponse ¶
func (m *InteractionFollowupMessageDeleteResponse) GetResponse() isInteractionFollowupMessageDeleteResponse_Response
func (*InteractionFollowupMessageDeleteResponse) ProtoMessage ¶
func (*InteractionFollowupMessageDeleteResponse) ProtoMessage()
func (*InteractionFollowupMessageDeleteResponse) ProtoReflect ¶
func (x *InteractionFollowupMessageDeleteResponse) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageDeleteResponse) Reset ¶
func (x *InteractionFollowupMessageDeleteResponse) Reset()
func (*InteractionFollowupMessageDeleteResponse) String ¶
func (x *InteractionFollowupMessageDeleteResponse) String() string
type InteractionFollowupMessageDeleteResponse_Error ¶
type InteractionFollowupMessageDeleteResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type InteractionFollowupMessageEditRequest ¶
type InteractionFollowupMessageEditRequest struct { ApplicationId *model.SnowflakeValue `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // either @original or a messageId Message *model.MessageData `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageEditRequest) Descriptor
deprecated
func (*InteractionFollowupMessageEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageEditRequest.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageEditRequest) GetApplicationId ¶
func (x *InteractionFollowupMessageEditRequest) GetApplicationId() *model.SnowflakeValue
func (*InteractionFollowupMessageEditRequest) GetMessage ¶
func (x *InteractionFollowupMessageEditRequest) GetMessage() *model.MessageData
func (*InteractionFollowupMessageEditRequest) GetMessageId ¶
func (x *InteractionFollowupMessageEditRequest) GetMessageId() string
func (*InteractionFollowupMessageEditRequest) GetToken ¶
func (x *InteractionFollowupMessageEditRequest) GetToken() string
func (*InteractionFollowupMessageEditRequest) ProtoMessage ¶
func (*InteractionFollowupMessageEditRequest) ProtoMessage()
func (*InteractionFollowupMessageEditRequest) ProtoReflect ¶
func (x *InteractionFollowupMessageEditRequest) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageEditRequest) Reset ¶
func (x *InteractionFollowupMessageEditRequest) Reset()
func (*InteractionFollowupMessageEditRequest) String ¶
func (x *InteractionFollowupMessageEditRequest) String() string
type InteractionFollowupMessageEditResponse ¶
type InteractionFollowupMessageEditResponse struct { // Types that are assignable to Response: // *InteractionFollowupMessageEditResponse_Error // *InteractionFollowupMessageEditResponse_Data_ Response isInteractionFollowupMessageEditResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageEditResponse) Descriptor
deprecated
func (*InteractionFollowupMessageEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageEditResponse.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageEditResponse) GetData ¶
func (x *InteractionFollowupMessageEditResponse) GetData() *InteractionFollowupMessageEditResponse_Data
func (*InteractionFollowupMessageEditResponse) GetError ¶
func (x *InteractionFollowupMessageEditResponse) GetError() *RestError
func (*InteractionFollowupMessageEditResponse) GetResponse ¶
func (m *InteractionFollowupMessageEditResponse) GetResponse() isInteractionFollowupMessageEditResponse_Response
func (*InteractionFollowupMessageEditResponse) ProtoMessage ¶
func (*InteractionFollowupMessageEditResponse) ProtoMessage()
func (*InteractionFollowupMessageEditResponse) ProtoReflect ¶
func (x *InteractionFollowupMessageEditResponse) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageEditResponse) Reset ¶
func (x *InteractionFollowupMessageEditResponse) Reset()
func (*InteractionFollowupMessageEditResponse) String ¶
func (x *InteractionFollowupMessageEditResponse) String() string
type InteractionFollowupMessageEditResponse_Data ¶
type InteractionFollowupMessageEditResponse_Data struct { Message *model.MessageData `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InteractionFollowupMessageEditResponse_Data) Descriptor
deprecated
func (*InteractionFollowupMessageEditResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use InteractionFollowupMessageEditResponse_Data.ProtoReflect.Descriptor instead.
func (*InteractionFollowupMessageEditResponse_Data) GetMessage ¶
func (x *InteractionFollowupMessageEditResponse_Data) GetMessage() *model.MessageData
func (*InteractionFollowupMessageEditResponse_Data) ProtoMessage ¶
func (*InteractionFollowupMessageEditResponse_Data) ProtoMessage()
func (*InteractionFollowupMessageEditResponse_Data) ProtoReflect ¶
func (x *InteractionFollowupMessageEditResponse_Data) ProtoReflect() protoreflect.Message
func (*InteractionFollowupMessageEditResponse_Data) Reset ¶
func (x *InteractionFollowupMessageEditResponse_Data) Reset()
func (*InteractionFollowupMessageEditResponse_Data) String ¶
func (x *InteractionFollowupMessageEditResponse_Data) String() string
type InteractionFollowupMessageEditResponse_Data_ ¶
type InteractionFollowupMessageEditResponse_Data_ struct {
Data *InteractionFollowupMessageEditResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type InteractionFollowupMessageEditResponse_Error ¶
type InteractionFollowupMessageEditResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type InteractionResponseCreateRequest ¶
type InteractionResponseCreateRequest struct { InteractionId *model.SnowflakeValue `protobuf:"bytes,1,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` InteractionResponse *model.InteractionResponse `protobuf:"bytes,3,opt,name=interaction_response,json=interactionResponse,proto3" json:"interaction_response,omitempty"` // contains filtered or unexported fields }
func (*InteractionResponseCreateRequest) Descriptor
deprecated
func (*InteractionResponseCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InteractionResponseCreateRequest.ProtoReflect.Descriptor instead.
func (*InteractionResponseCreateRequest) GetInteractionId ¶
func (x *InteractionResponseCreateRequest) GetInteractionId() *model.SnowflakeValue
func (*InteractionResponseCreateRequest) GetInteractionResponse ¶
func (x *InteractionResponseCreateRequest) GetInteractionResponse() *model.InteractionResponse
func (*InteractionResponseCreateRequest) GetToken ¶
func (x *InteractionResponseCreateRequest) GetToken() string
func (*InteractionResponseCreateRequest) ProtoMessage ¶
func (*InteractionResponseCreateRequest) ProtoMessage()
func (*InteractionResponseCreateRequest) ProtoReflect ¶
func (x *InteractionResponseCreateRequest) ProtoReflect() protoreflect.Message
func (*InteractionResponseCreateRequest) Reset ¶
func (x *InteractionResponseCreateRequest) Reset()
func (*InteractionResponseCreateRequest) String ¶
func (x *InteractionResponseCreateRequest) String() string
type InteractionResponseCreateResponse ¶
type InteractionResponseCreateResponse struct { // Types that are assignable to Response: // *InteractionResponseCreateResponse_Error // *InteractionResponseCreateResponse_Data Response isInteractionResponseCreateResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*InteractionResponseCreateResponse) Descriptor
deprecated
func (*InteractionResponseCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InteractionResponseCreateResponse.ProtoReflect.Descriptor instead.
func (*InteractionResponseCreateResponse) GetData ¶
func (x *InteractionResponseCreateResponse) GetData() *empty.Empty
func (*InteractionResponseCreateResponse) GetError ¶
func (x *InteractionResponseCreateResponse) GetError() *RestError
func (*InteractionResponseCreateResponse) GetResponse ¶
func (m *InteractionResponseCreateResponse) GetResponse() isInteractionResponseCreateResponse_Response
func (*InteractionResponseCreateResponse) ProtoMessage ¶
func (*InteractionResponseCreateResponse) ProtoMessage()
func (*InteractionResponseCreateResponse) ProtoReflect ¶
func (x *InteractionResponseCreateResponse) ProtoReflect() protoreflect.Message
func (*InteractionResponseCreateResponse) Reset ¶
func (x *InteractionResponseCreateResponse) Reset()
func (*InteractionResponseCreateResponse) String ¶
func (x *InteractionResponseCreateResponse) String() string
type InteractionResponseCreateResponse_Error ¶
type InteractionResponseCreateResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type LeaveGuildRequest ¶
type LeaveGuildRequest struct {
// contains filtered or unexported fields
}
func (*LeaveGuildRequest) Descriptor
deprecated
func (*LeaveGuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaveGuildRequest.ProtoReflect.Descriptor instead.
func (*LeaveGuildRequest) ProtoMessage ¶
func (*LeaveGuildRequest) ProtoMessage()
func (*LeaveGuildRequest) ProtoReflect ¶
func (x *LeaveGuildRequest) ProtoReflect() protoreflect.Message
func (*LeaveGuildRequest) Reset ¶
func (x *LeaveGuildRequest) Reset()
func (*LeaveGuildRequest) String ¶
func (x *LeaveGuildRequest) String() string
type LeaveGuildResponse ¶
type LeaveGuildResponse struct { // Types that are assignable to Response: // *LeaveGuildResponse_Error // *LeaveGuildResponse_Data Response isLeaveGuildResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*LeaveGuildResponse) Descriptor
deprecated
func (*LeaveGuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaveGuildResponse.ProtoReflect.Descriptor instead.
func (*LeaveGuildResponse) GetData ¶
func (x *LeaveGuildResponse) GetData() *empty.Empty
func (*LeaveGuildResponse) GetError ¶
func (x *LeaveGuildResponse) GetError() *RestError
func (*LeaveGuildResponse) GetResponse ¶
func (m *LeaveGuildResponse) GetResponse() isLeaveGuildResponse_Response
func (*LeaveGuildResponse) ProtoMessage ¶
func (*LeaveGuildResponse) ProtoMessage()
func (*LeaveGuildResponse) ProtoReflect ¶
func (x *LeaveGuildResponse) ProtoReflect() protoreflect.Message
func (*LeaveGuildResponse) Reset ¶
func (x *LeaveGuildResponse) Reset()
func (*LeaveGuildResponse) String ¶
func (x *LeaveGuildResponse) String() string
type LeaveGuildResponse_Data ¶
type LeaveGuildResponse_Error ¶
type LeaveGuildResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ListGuildEmojisRequest ¶
type ListGuildEmojisRequest struct {
// contains filtered or unexported fields
}
func (*ListGuildEmojisRequest) Descriptor
deprecated
func (*ListGuildEmojisRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGuildEmojisRequest.ProtoReflect.Descriptor instead.
func (*ListGuildEmojisRequest) ProtoMessage ¶
func (*ListGuildEmojisRequest) ProtoMessage()
func (*ListGuildEmojisRequest) ProtoReflect ¶
func (x *ListGuildEmojisRequest) ProtoReflect() protoreflect.Message
func (*ListGuildEmojisRequest) Reset ¶
func (x *ListGuildEmojisRequest) Reset()
func (*ListGuildEmojisRequest) String ¶
func (x *ListGuildEmojisRequest) String() string
type ListGuildEmojisResponse ¶
type ListGuildEmojisResponse struct { // Types that are assignable to Response: // *ListGuildEmojisResponse_Error // *ListGuildEmojisResponse_Data_ Response isListGuildEmojisResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ListGuildEmojisResponse) Descriptor
deprecated
func (*ListGuildEmojisResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGuildEmojisResponse.ProtoReflect.Descriptor instead.
func (*ListGuildEmojisResponse) GetData ¶
func (x *ListGuildEmojisResponse) GetData() *ListGuildEmojisResponse_Data
func (*ListGuildEmojisResponse) GetError ¶
func (x *ListGuildEmojisResponse) GetError() *RestError
func (*ListGuildEmojisResponse) GetResponse ¶
func (m *ListGuildEmojisResponse) GetResponse() isListGuildEmojisResponse_Response
func (*ListGuildEmojisResponse) ProtoMessage ¶
func (*ListGuildEmojisResponse) ProtoMessage()
func (*ListGuildEmojisResponse) ProtoReflect ¶
func (x *ListGuildEmojisResponse) ProtoReflect() protoreflect.Message
func (*ListGuildEmojisResponse) Reset ¶
func (x *ListGuildEmojisResponse) Reset()
func (*ListGuildEmojisResponse) String ¶
func (x *ListGuildEmojisResponse) String() string
type ListGuildEmojisResponse_Data ¶
type ListGuildEmojisResponse_Data struct { Emojis []*model.EmojiData `protobuf:"bytes,1,rep,name=emojis,proto3" json:"emojis,omitempty"` // contains filtered or unexported fields }
func (*ListGuildEmojisResponse_Data) Descriptor
deprecated
func (*ListGuildEmojisResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ListGuildEmojisResponse_Data.ProtoReflect.Descriptor instead.
func (*ListGuildEmojisResponse_Data) GetEmojis ¶
func (x *ListGuildEmojisResponse_Data) GetEmojis() []*model.EmojiData
func (*ListGuildEmojisResponse_Data) ProtoMessage ¶
func (*ListGuildEmojisResponse_Data) ProtoMessage()
func (*ListGuildEmojisResponse_Data) ProtoReflect ¶
func (x *ListGuildEmojisResponse_Data) ProtoReflect() protoreflect.Message
func (*ListGuildEmojisResponse_Data) Reset ¶
func (x *ListGuildEmojisResponse_Data) Reset()
func (*ListGuildEmojisResponse_Data) String ¶
func (x *ListGuildEmojisResponse_Data) String() string
type ListGuildEmojisResponse_Data_ ¶
type ListGuildEmojisResponse_Data_ struct {
Data *ListGuildEmojisResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ListGuildEmojisResponse_Error ¶
type ListGuildEmojisResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyChannelRequest ¶
type ModifyChannelRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type model.ChannelData_ChannelType `protobuf:"varint,3,opt,name=type,proto3,enum=pylon.discord.v1.model.ChannelData_ChannelType" json:"type,omitempty"` Position *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` Topic *wrappers.StringValue `protobuf:"bytes,5,opt,name=topic,proto3" json:"topic,omitempty"` Nsfw *wrappers.BoolValue `protobuf:"bytes,6,opt,name=nsfw,proto3" json:"nsfw,omitempty"` RateLimitPerUser *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=rate_limit_per_user,json=rateLimitPerUser,proto3" json:"rate_limit_per_user,omitempty"` Bitrate *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=bitrate,proto3" json:"bitrate,omitempty"` UserLimit *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=user_limit,json=userLimit,proto3" json:"user_limit,omitempty"` PermissionOverwrites *ModifyChannelRequest_ChannelPermissionOverwritesValue `protobuf:"bytes,10,opt,name=permission_overwrites,json=permissionOverwrites,proto3" json:"permission_overwrites,omitempty"` ParentId *model.SnowflakeValue `protobuf:"bytes,11,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*ModifyChannelRequest) Descriptor
deprecated
func (*ModifyChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyChannelRequest.ProtoReflect.Descriptor instead.
func (*ModifyChannelRequest) GetAuditLogReason ¶
func (x *ModifyChannelRequest) GetAuditLogReason() *wrappers.StringValue
func (*ModifyChannelRequest) GetBitrate ¶
func (x *ModifyChannelRequest) GetBitrate() *wrappers.UInt32Value
func (*ModifyChannelRequest) GetChannelId ¶
func (x *ModifyChannelRequest) GetChannelId() uint64
func (*ModifyChannelRequest) GetName ¶
func (x *ModifyChannelRequest) GetName() *wrappers.StringValue
func (*ModifyChannelRequest) GetNsfw ¶
func (x *ModifyChannelRequest) GetNsfw() *wrappers.BoolValue
func (*ModifyChannelRequest) GetParentId ¶
func (x *ModifyChannelRequest) GetParentId() *model.SnowflakeValue
func (*ModifyChannelRequest) GetPermissionOverwrites ¶
func (x *ModifyChannelRequest) GetPermissionOverwrites() *ModifyChannelRequest_ChannelPermissionOverwritesValue
func (*ModifyChannelRequest) GetPosition ¶
func (x *ModifyChannelRequest) GetPosition() *wrappers.UInt32Value
func (*ModifyChannelRequest) GetRateLimitPerUser ¶
func (x *ModifyChannelRequest) GetRateLimitPerUser() *wrappers.UInt32Value
func (*ModifyChannelRequest) GetTopic ¶
func (x *ModifyChannelRequest) GetTopic() *wrappers.StringValue
func (*ModifyChannelRequest) GetType ¶
func (x *ModifyChannelRequest) GetType() model.ChannelData_ChannelType
func (*ModifyChannelRequest) GetUserLimit ¶
func (x *ModifyChannelRequest) GetUserLimit() *wrappers.UInt32Value
func (*ModifyChannelRequest) ProtoMessage ¶
func (*ModifyChannelRequest) ProtoMessage()
func (*ModifyChannelRequest) ProtoReflect ¶
func (x *ModifyChannelRequest) ProtoReflect() protoreflect.Message
func (*ModifyChannelRequest) Reset ¶
func (x *ModifyChannelRequest) Reset()
func (*ModifyChannelRequest) String ¶
func (x *ModifyChannelRequest) String() string
type ModifyChannelRequest_ChannelPermissionOverwritesValue ¶
type ModifyChannelRequest_ChannelPermissionOverwritesValue struct { Values []*model.ChannelData_ChannelPermissionOverwriteData `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) Descriptor
deprecated
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) Descriptor() ([]byte, []int)
Deprecated: Use ModifyChannelRequest_ChannelPermissionOverwritesValue.ProtoReflect.Descriptor instead.
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) GetValues ¶
func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) GetValues() []*model.ChannelData_ChannelPermissionOverwriteData
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) ProtoMessage ¶
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) ProtoMessage()
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) ProtoReflect ¶
func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) ProtoReflect() protoreflect.Message
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) Reset ¶
func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) Reset()
func (*ModifyChannelRequest_ChannelPermissionOverwritesValue) String ¶
func (x *ModifyChannelRequest_ChannelPermissionOverwritesValue) String() string
type ModifyChannelResponse ¶
type ModifyChannelResponse struct { // Types that are assignable to Response: // *ModifyChannelResponse_Error // *ModifyChannelResponse_Data_ Response isModifyChannelResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyChannelResponse) Descriptor
deprecated
func (*ModifyChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyChannelResponse.ProtoReflect.Descriptor instead.
func (*ModifyChannelResponse) GetData ¶
func (x *ModifyChannelResponse) GetData() *ModifyChannelResponse_Data
func (*ModifyChannelResponse) GetError ¶
func (x *ModifyChannelResponse) GetError() *RestError
func (*ModifyChannelResponse) GetResponse ¶
func (m *ModifyChannelResponse) GetResponse() isModifyChannelResponse_Response
func (*ModifyChannelResponse) ProtoMessage ¶
func (*ModifyChannelResponse) ProtoMessage()
func (*ModifyChannelResponse) ProtoReflect ¶
func (x *ModifyChannelResponse) ProtoReflect() protoreflect.Message
func (*ModifyChannelResponse) Reset ¶
func (x *ModifyChannelResponse) Reset()
func (*ModifyChannelResponse) String ¶
func (x *ModifyChannelResponse) String() string
type ModifyChannelResponse_Data ¶
type ModifyChannelResponse_Data struct { Channel *model.ChannelData `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*ModifyChannelResponse_Data) Descriptor
deprecated
func (*ModifyChannelResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ModifyChannelResponse_Data.ProtoReflect.Descriptor instead.
func (*ModifyChannelResponse_Data) GetChannel ¶
func (x *ModifyChannelResponse_Data) GetChannel() *model.ChannelData
func (*ModifyChannelResponse_Data) ProtoMessage ¶
func (*ModifyChannelResponse_Data) ProtoMessage()
func (*ModifyChannelResponse_Data) ProtoReflect ¶
func (x *ModifyChannelResponse_Data) ProtoReflect() protoreflect.Message
func (*ModifyChannelResponse_Data) Reset ¶
func (x *ModifyChannelResponse_Data) Reset()
func (*ModifyChannelResponse_Data) String ¶
func (x *ModifyChannelResponse_Data) String() string
type ModifyChannelResponse_Data_ ¶
type ModifyChannelResponse_Data_ struct {
Data *ModifyChannelResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ModifyChannelResponse_Error ¶
type ModifyChannelResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyCurrentUserNickRequest ¶
type ModifyCurrentUserNickRequest struct { Nick *wrappers.StringValue `protobuf:"bytes,1,opt,name=nick,proto3" json:"nick,omitempty"` // contains filtered or unexported fields }
func (*ModifyCurrentUserNickRequest) Descriptor
deprecated
func (*ModifyCurrentUserNickRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCurrentUserNickRequest.ProtoReflect.Descriptor instead.
func (*ModifyCurrentUserNickRequest) GetNick ¶
func (x *ModifyCurrentUserNickRequest) GetNick() *wrappers.StringValue
func (*ModifyCurrentUserNickRequest) ProtoMessage ¶
func (*ModifyCurrentUserNickRequest) ProtoMessage()
func (*ModifyCurrentUserNickRequest) ProtoReflect ¶
func (x *ModifyCurrentUserNickRequest) ProtoReflect() protoreflect.Message
func (*ModifyCurrentUserNickRequest) Reset ¶
func (x *ModifyCurrentUserNickRequest) Reset()
func (*ModifyCurrentUserNickRequest) String ¶
func (x *ModifyCurrentUserNickRequest) String() string
type ModifyCurrentUserNickResponse ¶
type ModifyCurrentUserNickResponse struct { // Types that are assignable to Response: // *ModifyCurrentUserNickResponse_Error // *ModifyCurrentUserNickResponse_Data Response isModifyCurrentUserNickResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyCurrentUserNickResponse) Descriptor
deprecated
func (*ModifyCurrentUserNickResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCurrentUserNickResponse.ProtoReflect.Descriptor instead.
func (*ModifyCurrentUserNickResponse) GetData ¶
func (x *ModifyCurrentUserNickResponse) GetData() *empty.Empty
func (*ModifyCurrentUserNickResponse) GetError ¶
func (x *ModifyCurrentUserNickResponse) GetError() *RestError
func (*ModifyCurrentUserNickResponse) GetResponse ¶
func (m *ModifyCurrentUserNickResponse) GetResponse() isModifyCurrentUserNickResponse_Response
func (*ModifyCurrentUserNickResponse) ProtoMessage ¶
func (*ModifyCurrentUserNickResponse) ProtoMessage()
func (*ModifyCurrentUserNickResponse) ProtoReflect ¶
func (x *ModifyCurrentUserNickResponse) ProtoReflect() protoreflect.Message
func (*ModifyCurrentUserNickResponse) Reset ¶
func (x *ModifyCurrentUserNickResponse) Reset()
func (*ModifyCurrentUserNickResponse) String ¶
func (x *ModifyCurrentUserNickResponse) String() string
type ModifyCurrentUserNickResponse_Error ¶
type ModifyCurrentUserNickResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyCurrentUserRequest ¶
type ModifyCurrentUserRequest struct { Username *wrappers.StringValue `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Avatar *wrappers.BytesValue `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"` // contains filtered or unexported fields }
func (*ModifyCurrentUserRequest) Descriptor
deprecated
func (*ModifyCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*ModifyCurrentUserRequest) GetAvatar ¶
func (x *ModifyCurrentUserRequest) GetAvatar() *wrappers.BytesValue
func (*ModifyCurrentUserRequest) GetUsername ¶
func (x *ModifyCurrentUserRequest) GetUsername() *wrappers.StringValue
func (*ModifyCurrentUserRequest) ProtoMessage ¶
func (*ModifyCurrentUserRequest) ProtoMessage()
func (*ModifyCurrentUserRequest) ProtoReflect ¶
func (x *ModifyCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*ModifyCurrentUserRequest) Reset ¶
func (x *ModifyCurrentUserRequest) Reset()
func (*ModifyCurrentUserRequest) String ¶
func (x *ModifyCurrentUserRequest) String() string
type ModifyCurrentUserResponse ¶
type ModifyCurrentUserResponse struct { // Types that are assignable to Response: // *ModifyCurrentUserResponse_Error // *ModifyCurrentUserResponse_Data_ Response isModifyCurrentUserResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyCurrentUserResponse) Descriptor
deprecated
func (*ModifyCurrentUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCurrentUserResponse.ProtoReflect.Descriptor instead.
func (*ModifyCurrentUserResponse) GetData ¶
func (x *ModifyCurrentUserResponse) GetData() *ModifyCurrentUserResponse_Data
func (*ModifyCurrentUserResponse) GetError ¶
func (x *ModifyCurrentUserResponse) GetError() *RestError
func (*ModifyCurrentUserResponse) GetResponse ¶
func (m *ModifyCurrentUserResponse) GetResponse() isModifyCurrentUserResponse_Response
func (*ModifyCurrentUserResponse) ProtoMessage ¶
func (*ModifyCurrentUserResponse) ProtoMessage()
func (*ModifyCurrentUserResponse) ProtoReflect ¶
func (x *ModifyCurrentUserResponse) ProtoReflect() protoreflect.Message
func (*ModifyCurrentUserResponse) Reset ¶
func (x *ModifyCurrentUserResponse) Reset()
func (*ModifyCurrentUserResponse) String ¶
func (x *ModifyCurrentUserResponse) String() string
type ModifyCurrentUserResponse_Data ¶
type ModifyCurrentUserResponse_Data struct { User *model.UserData `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ModifyCurrentUserResponse_Data) Descriptor
deprecated
func (*ModifyCurrentUserResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCurrentUserResponse_Data.ProtoReflect.Descriptor instead.
func (*ModifyCurrentUserResponse_Data) GetUser ¶
func (x *ModifyCurrentUserResponse_Data) GetUser() *model.UserData
func (*ModifyCurrentUserResponse_Data) ProtoMessage ¶
func (*ModifyCurrentUserResponse_Data) ProtoMessage()
func (*ModifyCurrentUserResponse_Data) ProtoReflect ¶
func (x *ModifyCurrentUserResponse_Data) ProtoReflect() protoreflect.Message
func (*ModifyCurrentUserResponse_Data) Reset ¶
func (x *ModifyCurrentUserResponse_Data) Reset()
func (*ModifyCurrentUserResponse_Data) String ¶
func (x *ModifyCurrentUserResponse_Data) String() string
type ModifyCurrentUserResponse_Data_ ¶
type ModifyCurrentUserResponse_Data_ struct {
Data *ModifyCurrentUserResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ModifyCurrentUserResponse_Error ¶
type ModifyCurrentUserResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyGuildChannelPositionsRequest ¶
type ModifyGuildChannelPositionsRequest struct { ChannelPositions []*ModifyGuildChannelPositionsRequest_ChannelPosition `protobuf:"bytes,1,rep,name=channel_positions,json=channelPositions,proto3" json:"channel_positions,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildChannelPositionsRequest) Descriptor
deprecated
func (*ModifyGuildChannelPositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildChannelPositionsRequest.ProtoReflect.Descriptor instead.
func (*ModifyGuildChannelPositionsRequest) GetChannelPositions ¶
func (x *ModifyGuildChannelPositionsRequest) GetChannelPositions() []*ModifyGuildChannelPositionsRequest_ChannelPosition
func (*ModifyGuildChannelPositionsRequest) ProtoMessage ¶
func (*ModifyGuildChannelPositionsRequest) ProtoMessage()
func (*ModifyGuildChannelPositionsRequest) ProtoReflect ¶
func (x *ModifyGuildChannelPositionsRequest) ProtoReflect() protoreflect.Message
func (*ModifyGuildChannelPositionsRequest) Reset ¶
func (x *ModifyGuildChannelPositionsRequest) Reset()
func (*ModifyGuildChannelPositionsRequest) String ¶
func (x *ModifyGuildChannelPositionsRequest) String() string
type ModifyGuildChannelPositionsRequest_ChannelPosition ¶
type ModifyGuildChannelPositionsRequest_ChannelPosition struct { Id uint64 `protobuf:"fixed64,1,opt,name=id,proto3" json:"id,omitempty"` Position uint32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) Descriptor
deprecated
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildChannelPositionsRequest_ChannelPosition.ProtoReflect.Descriptor instead.
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) GetId ¶
func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) GetId() uint64
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) GetPosition ¶
func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) GetPosition() uint32
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) ProtoMessage ¶
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) ProtoMessage()
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) ProtoReflect ¶
func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) ProtoReflect() protoreflect.Message
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) Reset ¶
func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) Reset()
func (*ModifyGuildChannelPositionsRequest_ChannelPosition) String ¶
func (x *ModifyGuildChannelPositionsRequest_ChannelPosition) String() string
type ModifyGuildChannelPositionsResponse ¶
type ModifyGuildChannelPositionsResponse struct { // Types that are assignable to Response: // *ModifyGuildChannelPositionsResponse_Error // *ModifyGuildChannelPositionsResponse_Data Response isModifyGuildChannelPositionsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyGuildChannelPositionsResponse) Descriptor
deprecated
func (*ModifyGuildChannelPositionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildChannelPositionsResponse.ProtoReflect.Descriptor instead.
func (*ModifyGuildChannelPositionsResponse) GetData ¶
func (x *ModifyGuildChannelPositionsResponse) GetData() *empty.Empty
func (*ModifyGuildChannelPositionsResponse) GetError ¶
func (x *ModifyGuildChannelPositionsResponse) GetError() *RestError
func (*ModifyGuildChannelPositionsResponse) GetResponse ¶
func (m *ModifyGuildChannelPositionsResponse) GetResponse() isModifyGuildChannelPositionsResponse_Response
func (*ModifyGuildChannelPositionsResponse) ProtoMessage ¶
func (*ModifyGuildChannelPositionsResponse) ProtoMessage()
func (*ModifyGuildChannelPositionsResponse) ProtoReflect ¶
func (x *ModifyGuildChannelPositionsResponse) ProtoReflect() protoreflect.Message
func (*ModifyGuildChannelPositionsResponse) Reset ¶
func (x *ModifyGuildChannelPositionsResponse) Reset()
func (*ModifyGuildChannelPositionsResponse) String ¶
func (x *ModifyGuildChannelPositionsResponse) String() string
type ModifyGuildChannelPositionsResponse_Error ¶
type ModifyGuildChannelPositionsResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyGuildEmojiRequest ¶
type ModifyGuildEmojiRequest struct { EmojiId uint64 `protobuf:"fixed64,1,opt,name=emoji_id,json=emojiId,proto3" json:"emoji_id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Roles *model.SnowflakeListValue `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildEmojiRequest) Descriptor
deprecated
func (*ModifyGuildEmojiRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildEmojiRequest.ProtoReflect.Descriptor instead.
func (*ModifyGuildEmojiRequest) GetAuditLogReason ¶
func (x *ModifyGuildEmojiRequest) GetAuditLogReason() *wrappers.StringValue
func (*ModifyGuildEmojiRequest) GetEmojiId ¶
func (x *ModifyGuildEmojiRequest) GetEmojiId() uint64
func (*ModifyGuildEmojiRequest) GetName ¶
func (x *ModifyGuildEmojiRequest) GetName() *wrappers.StringValue
func (*ModifyGuildEmojiRequest) GetRoles ¶
func (x *ModifyGuildEmojiRequest) GetRoles() *model.SnowflakeListValue
func (*ModifyGuildEmojiRequest) ProtoMessage ¶
func (*ModifyGuildEmojiRequest) ProtoMessage()
func (*ModifyGuildEmojiRequest) ProtoReflect ¶
func (x *ModifyGuildEmojiRequest) ProtoReflect() protoreflect.Message
func (*ModifyGuildEmojiRequest) Reset ¶
func (x *ModifyGuildEmojiRequest) Reset()
func (*ModifyGuildEmojiRequest) String ¶
func (x *ModifyGuildEmojiRequest) String() string
type ModifyGuildEmojiResponse ¶
type ModifyGuildEmojiResponse struct { // Types that are assignable to Response: // *ModifyGuildEmojiResponse_Error // *ModifyGuildEmojiResponse_Data_ Response isModifyGuildEmojiResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyGuildEmojiResponse) Descriptor
deprecated
func (*ModifyGuildEmojiResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildEmojiResponse.ProtoReflect.Descriptor instead.
func (*ModifyGuildEmojiResponse) GetData ¶
func (x *ModifyGuildEmojiResponse) GetData() *ModifyGuildEmojiResponse_Data
func (*ModifyGuildEmojiResponse) GetError ¶
func (x *ModifyGuildEmojiResponse) GetError() *RestError
func (*ModifyGuildEmojiResponse) GetResponse ¶
func (m *ModifyGuildEmojiResponse) GetResponse() isModifyGuildEmojiResponse_Response
func (*ModifyGuildEmojiResponse) ProtoMessage ¶
func (*ModifyGuildEmojiResponse) ProtoMessage()
func (*ModifyGuildEmojiResponse) ProtoReflect ¶
func (x *ModifyGuildEmojiResponse) ProtoReflect() protoreflect.Message
func (*ModifyGuildEmojiResponse) Reset ¶
func (x *ModifyGuildEmojiResponse) Reset()
func (*ModifyGuildEmojiResponse) String ¶
func (x *ModifyGuildEmojiResponse) String() string
type ModifyGuildEmojiResponse_Data ¶
type ModifyGuildEmojiResponse_Data struct { Emoji *model.EmojiData `protobuf:"bytes,1,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildEmojiResponse_Data) Descriptor
deprecated
func (*ModifyGuildEmojiResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildEmojiResponse_Data.ProtoReflect.Descriptor instead.
func (*ModifyGuildEmojiResponse_Data) GetEmoji ¶
func (x *ModifyGuildEmojiResponse_Data) GetEmoji() *model.EmojiData
func (*ModifyGuildEmojiResponse_Data) ProtoMessage ¶
func (*ModifyGuildEmojiResponse_Data) ProtoMessage()
func (*ModifyGuildEmojiResponse_Data) ProtoReflect ¶
func (x *ModifyGuildEmojiResponse_Data) ProtoReflect() protoreflect.Message
func (*ModifyGuildEmojiResponse_Data) Reset ¶
func (x *ModifyGuildEmojiResponse_Data) Reset()
func (*ModifyGuildEmojiResponse_Data) String ¶
func (x *ModifyGuildEmojiResponse_Data) String() string
type ModifyGuildEmojiResponse_Data_ ¶
type ModifyGuildEmojiResponse_Data_ struct {
Data *ModifyGuildEmojiResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ModifyGuildEmojiResponse_Error ¶
type ModifyGuildEmojiResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyGuildMemberRequest ¶
type ModifyGuildMemberRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Nick *wrappers.StringValue `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"` Roles *model.SnowflakeListValue `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"` Mute *wrappers.BoolValue `protobuf:"bytes,4,opt,name=mute,proto3" json:"mute,omitempty"` Deaf *wrappers.BoolValue `protobuf:"bytes,5,opt,name=deaf,proto3" json:"deaf,omitempty"` ChannelId *model.SnowflakeValue `protobuf:"bytes,6,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildMemberRequest) Descriptor
deprecated
func (*ModifyGuildMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildMemberRequest.ProtoReflect.Descriptor instead.
func (*ModifyGuildMemberRequest) GetAuditLogReason ¶
func (x *ModifyGuildMemberRequest) GetAuditLogReason() *wrappers.StringValue
func (*ModifyGuildMemberRequest) GetChannelId ¶
func (x *ModifyGuildMemberRequest) GetChannelId() *model.SnowflakeValue
func (*ModifyGuildMemberRequest) GetDeaf ¶
func (x *ModifyGuildMemberRequest) GetDeaf() *wrappers.BoolValue
func (*ModifyGuildMemberRequest) GetMute ¶
func (x *ModifyGuildMemberRequest) GetMute() *wrappers.BoolValue
func (*ModifyGuildMemberRequest) GetNick ¶
func (x *ModifyGuildMemberRequest) GetNick() *wrappers.StringValue
func (*ModifyGuildMemberRequest) GetRoles ¶
func (x *ModifyGuildMemberRequest) GetRoles() *model.SnowflakeListValue
func (*ModifyGuildMemberRequest) GetUserId ¶
func (x *ModifyGuildMemberRequest) GetUserId() uint64
func (*ModifyGuildMemberRequest) ProtoMessage ¶
func (*ModifyGuildMemberRequest) ProtoMessage()
func (*ModifyGuildMemberRequest) ProtoReflect ¶
func (x *ModifyGuildMemberRequest) ProtoReflect() protoreflect.Message
func (*ModifyGuildMemberRequest) Reset ¶
func (x *ModifyGuildMemberRequest) Reset()
func (*ModifyGuildMemberRequest) String ¶
func (x *ModifyGuildMemberRequest) String() string
type ModifyGuildMemberResponse ¶
type ModifyGuildMemberResponse struct { // Types that are assignable to Response: // *ModifyGuildMemberResponse_Error // *ModifyGuildMemberResponse_Data Response isModifyGuildMemberResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyGuildMemberResponse) Descriptor
deprecated
func (*ModifyGuildMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildMemberResponse.ProtoReflect.Descriptor instead.
func (*ModifyGuildMemberResponse) GetData ¶
func (x *ModifyGuildMemberResponse) GetData() *empty.Empty
func (*ModifyGuildMemberResponse) GetError ¶
func (x *ModifyGuildMemberResponse) GetError() *RestError
func (*ModifyGuildMemberResponse) GetResponse ¶
func (m *ModifyGuildMemberResponse) GetResponse() isModifyGuildMemberResponse_Response
func (*ModifyGuildMemberResponse) ProtoMessage ¶
func (*ModifyGuildMemberResponse) ProtoMessage()
func (*ModifyGuildMemberResponse) ProtoReflect ¶
func (x *ModifyGuildMemberResponse) ProtoReflect() protoreflect.Message
func (*ModifyGuildMemberResponse) Reset ¶
func (x *ModifyGuildMemberResponse) Reset()
func (*ModifyGuildMemberResponse) String ¶
func (x *ModifyGuildMemberResponse) String() string
type ModifyGuildMemberResponse_Error ¶
type ModifyGuildMemberResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyGuildRequest ¶
type ModifyGuildRequest struct { Name *wrappers.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Region *wrappers.StringValue `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` VerificationLevel *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=verification_level,json=verificationLevel,proto3" json:"verification_level,omitempty"` DefaultMessageNotifications *wrappers.UInt32Value `` /* 144-byte string literal not displayed */ ExplicitContentFilter *wrappers.UInt32Value `` /* 126-byte string literal not displayed */ AfkChannelId *model.SnowflakeValue `protobuf:"bytes,6,opt,name=afk_channel_id,json=afkChannelId,proto3" json:"afk_channel_id,omitempty"` AfkTimeout *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=afk_timeout,json=afkTimeout,proto3" json:"afk_timeout,omitempty"` Icon *wrappers.BytesValue `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"` OwnerId *model.SnowflakeValue `protobuf:"bytes,9,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Splash *wrappers.BytesValue `protobuf:"bytes,10,opt,name=splash,proto3" json:"splash,omitempty"` Banner *wrappers.BytesValue `protobuf:"bytes,11,opt,name=banner,proto3" json:"banner,omitempty"` SystemChannelId *model.SnowflakeValue `protobuf:"bytes,12,opt,name=system_channel_id,json=systemChannelId,proto3" json:"system_channel_id,omitempty"` RulesChannelId *model.SnowflakeValue `protobuf:"bytes,13,opt,name=rules_channel_id,json=rulesChannelId,proto3" json:"rules_channel_id,omitempty"` PublicUpdatesChannelId *model.SnowflakeValue `` /* 132-byte string literal not displayed */ PreferredLocale *wrappers.StringValue `protobuf:"bytes,15,opt,name=preferred_locale,json=preferredLocale,proto3" json:"preferred_locale,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildRequest) Descriptor
deprecated
func (*ModifyGuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRequest.ProtoReflect.Descriptor instead.
func (*ModifyGuildRequest) GetAfkChannelId ¶
func (x *ModifyGuildRequest) GetAfkChannelId() *model.SnowflakeValue
func (*ModifyGuildRequest) GetAfkTimeout ¶
func (x *ModifyGuildRequest) GetAfkTimeout() *wrappers.UInt32Value
func (*ModifyGuildRequest) GetAuditLogReason ¶
func (x *ModifyGuildRequest) GetAuditLogReason() *wrappers.StringValue
func (*ModifyGuildRequest) GetBanner ¶
func (x *ModifyGuildRequest) GetBanner() *wrappers.BytesValue
func (*ModifyGuildRequest) GetDefaultMessageNotifications ¶
func (x *ModifyGuildRequest) GetDefaultMessageNotifications() *wrappers.UInt32Value
func (*ModifyGuildRequest) GetExplicitContentFilter ¶
func (x *ModifyGuildRequest) GetExplicitContentFilter() *wrappers.UInt32Value
func (*ModifyGuildRequest) GetIcon ¶
func (x *ModifyGuildRequest) GetIcon() *wrappers.BytesValue
func (*ModifyGuildRequest) GetName ¶
func (x *ModifyGuildRequest) GetName() *wrappers.StringValue
func (*ModifyGuildRequest) GetOwnerId ¶
func (x *ModifyGuildRequest) GetOwnerId() *model.SnowflakeValue
func (*ModifyGuildRequest) GetPreferredLocale ¶
func (x *ModifyGuildRequest) GetPreferredLocale() *wrappers.StringValue
func (*ModifyGuildRequest) GetPublicUpdatesChannelId ¶
func (x *ModifyGuildRequest) GetPublicUpdatesChannelId() *model.SnowflakeValue
func (*ModifyGuildRequest) GetRegion ¶
func (x *ModifyGuildRequest) GetRegion() *wrappers.StringValue
func (*ModifyGuildRequest) GetRulesChannelId ¶
func (x *ModifyGuildRequest) GetRulesChannelId() *model.SnowflakeValue
func (*ModifyGuildRequest) GetSplash ¶
func (x *ModifyGuildRequest) GetSplash() *wrappers.BytesValue
func (*ModifyGuildRequest) GetSystemChannelId ¶
func (x *ModifyGuildRequest) GetSystemChannelId() *model.SnowflakeValue
func (*ModifyGuildRequest) GetVerificationLevel ¶
func (x *ModifyGuildRequest) GetVerificationLevel() *wrappers.UInt32Value
func (*ModifyGuildRequest) ProtoMessage ¶
func (*ModifyGuildRequest) ProtoMessage()
func (*ModifyGuildRequest) ProtoReflect ¶
func (x *ModifyGuildRequest) ProtoReflect() protoreflect.Message
func (*ModifyGuildRequest) Reset ¶
func (x *ModifyGuildRequest) Reset()
func (*ModifyGuildRequest) String ¶
func (x *ModifyGuildRequest) String() string
type ModifyGuildResponse ¶
type ModifyGuildResponse struct { // Types that are assignable to Response: // *ModifyGuildResponse_Error // *ModifyGuildResponse_Data_ Response isModifyGuildResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyGuildResponse) Descriptor
deprecated
func (*ModifyGuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildResponse.ProtoReflect.Descriptor instead.
func (*ModifyGuildResponse) GetData ¶
func (x *ModifyGuildResponse) GetData() *ModifyGuildResponse_Data
func (*ModifyGuildResponse) GetError ¶
func (x *ModifyGuildResponse) GetError() *RestError
func (*ModifyGuildResponse) GetResponse ¶
func (m *ModifyGuildResponse) GetResponse() isModifyGuildResponse_Response
func (*ModifyGuildResponse) ProtoMessage ¶
func (*ModifyGuildResponse) ProtoMessage()
func (*ModifyGuildResponse) ProtoReflect ¶
func (x *ModifyGuildResponse) ProtoReflect() protoreflect.Message
func (*ModifyGuildResponse) Reset ¶
func (x *ModifyGuildResponse) Reset()
func (*ModifyGuildResponse) String ¶
func (x *ModifyGuildResponse) String() string
type ModifyGuildResponse_Data ¶
type ModifyGuildResponse_Data struct { Guild *model.GuildData `protobuf:"bytes,1,opt,name=guild,proto3" json:"guild,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildResponse_Data) Descriptor
deprecated
func (*ModifyGuildResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildResponse_Data.ProtoReflect.Descriptor instead.
func (*ModifyGuildResponse_Data) GetGuild ¶
func (x *ModifyGuildResponse_Data) GetGuild() *model.GuildData
func (*ModifyGuildResponse_Data) ProtoMessage ¶
func (*ModifyGuildResponse_Data) ProtoMessage()
func (*ModifyGuildResponse_Data) ProtoReflect ¶
func (x *ModifyGuildResponse_Data) ProtoReflect() protoreflect.Message
func (*ModifyGuildResponse_Data) Reset ¶
func (x *ModifyGuildResponse_Data) Reset()
func (*ModifyGuildResponse_Data) String ¶
func (x *ModifyGuildResponse_Data) String() string
type ModifyGuildResponse_Data_ ¶
type ModifyGuildResponse_Data_ struct {
Data *ModifyGuildResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ModifyGuildResponse_Error ¶
type ModifyGuildResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyGuildRolePositionsRequest ¶
type ModifyGuildRolePositionsRequest struct { RolePositions []*ModifyGuildRolePositionsRequest_RolePosition `protobuf:"bytes,1,rep,name=role_positions,json=rolePositions,proto3" json:"role_positions,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildRolePositionsRequest) Descriptor
deprecated
func (*ModifyGuildRolePositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRolePositionsRequest.ProtoReflect.Descriptor instead.
func (*ModifyGuildRolePositionsRequest) GetRolePositions ¶
func (x *ModifyGuildRolePositionsRequest) GetRolePositions() []*ModifyGuildRolePositionsRequest_RolePosition
func (*ModifyGuildRolePositionsRequest) ProtoMessage ¶
func (*ModifyGuildRolePositionsRequest) ProtoMessage()
func (*ModifyGuildRolePositionsRequest) ProtoReflect ¶
func (x *ModifyGuildRolePositionsRequest) ProtoReflect() protoreflect.Message
func (*ModifyGuildRolePositionsRequest) Reset ¶
func (x *ModifyGuildRolePositionsRequest) Reset()
func (*ModifyGuildRolePositionsRequest) String ¶
func (x *ModifyGuildRolePositionsRequest) String() string
type ModifyGuildRolePositionsRequest_RolePosition ¶
type ModifyGuildRolePositionsRequest_RolePosition struct { Id uint64 `protobuf:"fixed64,1,opt,name=id,proto3" json:"id,omitempty"` Position uint32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildRolePositionsRequest_RolePosition) Descriptor
deprecated
func (*ModifyGuildRolePositionsRequest_RolePosition) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRolePositionsRequest_RolePosition.ProtoReflect.Descriptor instead.
func (*ModifyGuildRolePositionsRequest_RolePosition) GetId ¶
func (x *ModifyGuildRolePositionsRequest_RolePosition) GetId() uint64
func (*ModifyGuildRolePositionsRequest_RolePosition) GetPosition ¶
func (x *ModifyGuildRolePositionsRequest_RolePosition) GetPosition() uint32
func (*ModifyGuildRolePositionsRequest_RolePosition) ProtoMessage ¶
func (*ModifyGuildRolePositionsRequest_RolePosition) ProtoMessage()
func (*ModifyGuildRolePositionsRequest_RolePosition) ProtoReflect ¶
func (x *ModifyGuildRolePositionsRequest_RolePosition) ProtoReflect() protoreflect.Message
func (*ModifyGuildRolePositionsRequest_RolePosition) Reset ¶
func (x *ModifyGuildRolePositionsRequest_RolePosition) Reset()
func (*ModifyGuildRolePositionsRequest_RolePosition) String ¶
func (x *ModifyGuildRolePositionsRequest_RolePosition) String() string
type ModifyGuildRolePositionsResponse ¶
type ModifyGuildRolePositionsResponse struct { // Types that are assignable to Response: // *ModifyGuildRolePositionsResponse_Error // *ModifyGuildRolePositionsResponse_Data_ Response isModifyGuildRolePositionsResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyGuildRolePositionsResponse) Descriptor
deprecated
func (*ModifyGuildRolePositionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRolePositionsResponse.ProtoReflect.Descriptor instead.
func (*ModifyGuildRolePositionsResponse) GetData ¶
func (x *ModifyGuildRolePositionsResponse) GetData() *ModifyGuildRolePositionsResponse_Data
func (*ModifyGuildRolePositionsResponse) GetError ¶
func (x *ModifyGuildRolePositionsResponse) GetError() *RestError
func (*ModifyGuildRolePositionsResponse) GetResponse ¶
func (m *ModifyGuildRolePositionsResponse) GetResponse() isModifyGuildRolePositionsResponse_Response
func (*ModifyGuildRolePositionsResponse) ProtoMessage ¶
func (*ModifyGuildRolePositionsResponse) ProtoMessage()
func (*ModifyGuildRolePositionsResponse) ProtoReflect ¶
func (x *ModifyGuildRolePositionsResponse) ProtoReflect() protoreflect.Message
func (*ModifyGuildRolePositionsResponse) Reset ¶
func (x *ModifyGuildRolePositionsResponse) Reset()
func (*ModifyGuildRolePositionsResponse) String ¶
func (x *ModifyGuildRolePositionsResponse) String() string
type ModifyGuildRolePositionsResponse_Data ¶
type ModifyGuildRolePositionsResponse_Data struct { Roles []*model.RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildRolePositionsResponse_Data) Descriptor
deprecated
func (*ModifyGuildRolePositionsResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRolePositionsResponse_Data.ProtoReflect.Descriptor instead.
func (*ModifyGuildRolePositionsResponse_Data) GetRoles ¶
func (x *ModifyGuildRolePositionsResponse_Data) GetRoles() []*model.RoleData
func (*ModifyGuildRolePositionsResponse_Data) ProtoMessage ¶
func (*ModifyGuildRolePositionsResponse_Data) ProtoMessage()
func (*ModifyGuildRolePositionsResponse_Data) ProtoReflect ¶
func (x *ModifyGuildRolePositionsResponse_Data) ProtoReflect() protoreflect.Message
func (*ModifyGuildRolePositionsResponse_Data) Reset ¶
func (x *ModifyGuildRolePositionsResponse_Data) Reset()
func (*ModifyGuildRolePositionsResponse_Data) String ¶
func (x *ModifyGuildRolePositionsResponse_Data) String() string
type ModifyGuildRolePositionsResponse_Data_ ¶
type ModifyGuildRolePositionsResponse_Data_ struct {
Data *ModifyGuildRolePositionsResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ModifyGuildRolePositionsResponse_Error ¶
type ModifyGuildRolePositionsResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type ModifyGuildRoleRequest ¶
type ModifyGuildRoleRequest struct { RoleId uint64 `protobuf:"fixed64,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Permissions *model.PermissionsValue `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` Color *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` Hoist *wrappers.BoolValue `protobuf:"bytes,5,opt,name=hoist,proto3" json:"hoist,omitempty"` Mentionable *wrappers.BoolValue `protobuf:"bytes,6,opt,name=mentionable,proto3" json:"mentionable,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildRoleRequest) Descriptor
deprecated
func (*ModifyGuildRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRoleRequest.ProtoReflect.Descriptor instead.
func (*ModifyGuildRoleRequest) GetAuditLogReason ¶
func (x *ModifyGuildRoleRequest) GetAuditLogReason() *wrappers.StringValue
func (*ModifyGuildRoleRequest) GetColor ¶
func (x *ModifyGuildRoleRequest) GetColor() *wrappers.UInt32Value
func (*ModifyGuildRoleRequest) GetHoist ¶
func (x *ModifyGuildRoleRequest) GetHoist() *wrappers.BoolValue
func (*ModifyGuildRoleRequest) GetMentionable ¶
func (x *ModifyGuildRoleRequest) GetMentionable() *wrappers.BoolValue
func (*ModifyGuildRoleRequest) GetName ¶
func (x *ModifyGuildRoleRequest) GetName() *wrappers.StringValue
func (*ModifyGuildRoleRequest) GetPermissions ¶
func (x *ModifyGuildRoleRequest) GetPermissions() *model.PermissionsValue
func (*ModifyGuildRoleRequest) GetRoleId ¶
func (x *ModifyGuildRoleRequest) GetRoleId() uint64
func (*ModifyGuildRoleRequest) ProtoMessage ¶
func (*ModifyGuildRoleRequest) ProtoMessage()
func (*ModifyGuildRoleRequest) ProtoReflect ¶
func (x *ModifyGuildRoleRequest) ProtoReflect() protoreflect.Message
func (*ModifyGuildRoleRequest) Reset ¶
func (x *ModifyGuildRoleRequest) Reset()
func (*ModifyGuildRoleRequest) String ¶
func (x *ModifyGuildRoleRequest) String() string
type ModifyGuildRoleResponse ¶
type ModifyGuildRoleResponse struct { // Types that are assignable to Response: // *ModifyGuildRoleResponse_Error // *ModifyGuildRoleResponse_Data_ Response isModifyGuildRoleResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ModifyGuildRoleResponse) Descriptor
deprecated
func (*ModifyGuildRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRoleResponse.ProtoReflect.Descriptor instead.
func (*ModifyGuildRoleResponse) GetData ¶
func (x *ModifyGuildRoleResponse) GetData() *ModifyGuildRoleResponse_Data
func (*ModifyGuildRoleResponse) GetError ¶
func (x *ModifyGuildRoleResponse) GetError() *RestError
func (*ModifyGuildRoleResponse) GetResponse ¶
func (m *ModifyGuildRoleResponse) GetResponse() isModifyGuildRoleResponse_Response
func (*ModifyGuildRoleResponse) ProtoMessage ¶
func (*ModifyGuildRoleResponse) ProtoMessage()
func (*ModifyGuildRoleResponse) ProtoReflect ¶
func (x *ModifyGuildRoleResponse) ProtoReflect() protoreflect.Message
func (*ModifyGuildRoleResponse) Reset ¶
func (x *ModifyGuildRoleResponse) Reset()
func (*ModifyGuildRoleResponse) String ¶
func (x *ModifyGuildRoleResponse) String() string
type ModifyGuildRoleResponse_Data ¶
type ModifyGuildRoleResponse_Data struct { Role *model.RoleData `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ModifyGuildRoleResponse_Data) Descriptor
deprecated
func (*ModifyGuildRoleResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGuildRoleResponse_Data.ProtoReflect.Descriptor instead.
func (*ModifyGuildRoleResponse_Data) GetRole ¶
func (x *ModifyGuildRoleResponse_Data) GetRole() *model.RoleData
func (*ModifyGuildRoleResponse_Data) ProtoMessage ¶
func (*ModifyGuildRoleResponse_Data) ProtoMessage()
func (*ModifyGuildRoleResponse_Data) ProtoReflect ¶
func (x *ModifyGuildRoleResponse_Data) ProtoReflect() protoreflect.Message
func (*ModifyGuildRoleResponse_Data) Reset ¶
func (x *ModifyGuildRoleResponse_Data) Reset()
func (*ModifyGuildRoleResponse_Data) String ¶
func (x *ModifyGuildRoleResponse_Data) String() string
type ModifyGuildRoleResponse_Data_ ¶
type ModifyGuildRoleResponse_Data_ struct {
Data *ModifyGuildRoleResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ModifyGuildRoleResponse_Error ¶
type ModifyGuildRoleResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type RemoveGuildBanRequest ¶
type RemoveGuildBanRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*RemoveGuildBanRequest) Descriptor
deprecated
func (*RemoveGuildBanRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGuildBanRequest.ProtoReflect.Descriptor instead.
func (*RemoveGuildBanRequest) GetAuditLogReason ¶
func (x *RemoveGuildBanRequest) GetAuditLogReason() *wrappers.StringValue
func (*RemoveGuildBanRequest) GetUserId ¶
func (x *RemoveGuildBanRequest) GetUserId() uint64
func (*RemoveGuildBanRequest) ProtoMessage ¶
func (*RemoveGuildBanRequest) ProtoMessage()
func (*RemoveGuildBanRequest) ProtoReflect ¶
func (x *RemoveGuildBanRequest) ProtoReflect() protoreflect.Message
func (*RemoveGuildBanRequest) Reset ¶
func (x *RemoveGuildBanRequest) Reset()
func (*RemoveGuildBanRequest) String ¶
func (x *RemoveGuildBanRequest) String() string
type RemoveGuildBanResponse ¶
type RemoveGuildBanResponse struct { // Types that are assignable to Response: // *RemoveGuildBanResponse_Error // *RemoveGuildBanResponse_Data Response isRemoveGuildBanResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RemoveGuildBanResponse) Descriptor
deprecated
func (*RemoveGuildBanResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGuildBanResponse.ProtoReflect.Descriptor instead.
func (*RemoveGuildBanResponse) GetData ¶
func (x *RemoveGuildBanResponse) GetData() *empty.Empty
func (*RemoveGuildBanResponse) GetError ¶
func (x *RemoveGuildBanResponse) GetError() *RestError
func (*RemoveGuildBanResponse) GetResponse ¶
func (m *RemoveGuildBanResponse) GetResponse() isRemoveGuildBanResponse_Response
func (*RemoveGuildBanResponse) ProtoMessage ¶
func (*RemoveGuildBanResponse) ProtoMessage()
func (*RemoveGuildBanResponse) ProtoReflect ¶
func (x *RemoveGuildBanResponse) ProtoReflect() protoreflect.Message
func (*RemoveGuildBanResponse) Reset ¶
func (x *RemoveGuildBanResponse) Reset()
func (*RemoveGuildBanResponse) String ¶
func (x *RemoveGuildBanResponse) String() string
type RemoveGuildBanResponse_Error ¶
type RemoveGuildBanResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type RemoveGuildMemberRequest ¶
type RemoveGuildMemberRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*RemoveGuildMemberRequest) Descriptor
deprecated
func (*RemoveGuildMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGuildMemberRequest.ProtoReflect.Descriptor instead.
func (*RemoveGuildMemberRequest) GetAuditLogReason ¶
func (x *RemoveGuildMemberRequest) GetAuditLogReason() *wrappers.StringValue
func (*RemoveGuildMemberRequest) GetUserId ¶
func (x *RemoveGuildMemberRequest) GetUserId() uint64
func (*RemoveGuildMemberRequest) ProtoMessage ¶
func (*RemoveGuildMemberRequest) ProtoMessage()
func (*RemoveGuildMemberRequest) ProtoReflect ¶
func (x *RemoveGuildMemberRequest) ProtoReflect() protoreflect.Message
func (*RemoveGuildMemberRequest) Reset ¶
func (x *RemoveGuildMemberRequest) Reset()
func (*RemoveGuildMemberRequest) String ¶
func (x *RemoveGuildMemberRequest) String() string
type RemoveGuildMemberResponse ¶
type RemoveGuildMemberResponse struct { // Types that are assignable to Response: // *RemoveGuildMemberResponse_Error // *RemoveGuildMemberResponse_Data Response isRemoveGuildMemberResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RemoveGuildMemberResponse) Descriptor
deprecated
func (*RemoveGuildMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGuildMemberResponse.ProtoReflect.Descriptor instead.
func (*RemoveGuildMemberResponse) GetData ¶
func (x *RemoveGuildMemberResponse) GetData() *empty.Empty
func (*RemoveGuildMemberResponse) GetError ¶
func (x *RemoveGuildMemberResponse) GetError() *RestError
func (*RemoveGuildMemberResponse) GetResponse ¶
func (m *RemoveGuildMemberResponse) GetResponse() isRemoveGuildMemberResponse_Response
func (*RemoveGuildMemberResponse) ProtoMessage ¶
func (*RemoveGuildMemberResponse) ProtoMessage()
func (*RemoveGuildMemberResponse) ProtoReflect ¶
func (x *RemoveGuildMemberResponse) ProtoReflect() protoreflect.Message
func (*RemoveGuildMemberResponse) Reset ¶
func (x *RemoveGuildMemberResponse) Reset()
func (*RemoveGuildMemberResponse) String ¶
func (x *RemoveGuildMemberResponse) String() string
type RemoveGuildMemberResponse_Error ¶
type RemoveGuildMemberResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type RemoveGuildMemberRoleRequest ¶
type RemoveGuildMemberRoleRequest struct { UserId uint64 `protobuf:"fixed64,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint64 `protobuf:"fixed64,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` AuditLogReason *wrappers.StringValue `protobuf:"bytes,100,opt,name=audit_log_reason,json=auditLogReason,proto3" json:"audit_log_reason,omitempty"` // contains filtered or unexported fields }
func (*RemoveGuildMemberRoleRequest) Descriptor
deprecated
func (*RemoveGuildMemberRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGuildMemberRoleRequest.ProtoReflect.Descriptor instead.
func (*RemoveGuildMemberRoleRequest) GetAuditLogReason ¶
func (x *RemoveGuildMemberRoleRequest) GetAuditLogReason() *wrappers.StringValue
func (*RemoveGuildMemberRoleRequest) GetRoleId ¶
func (x *RemoveGuildMemberRoleRequest) GetRoleId() uint64
func (*RemoveGuildMemberRoleRequest) GetUserId ¶
func (x *RemoveGuildMemberRoleRequest) GetUserId() uint64
func (*RemoveGuildMemberRoleRequest) ProtoMessage ¶
func (*RemoveGuildMemberRoleRequest) ProtoMessage()
func (*RemoveGuildMemberRoleRequest) ProtoReflect ¶
func (x *RemoveGuildMemberRoleRequest) ProtoReflect() protoreflect.Message
func (*RemoveGuildMemberRoleRequest) Reset ¶
func (x *RemoveGuildMemberRoleRequest) Reset()
func (*RemoveGuildMemberRoleRequest) String ¶
func (x *RemoveGuildMemberRoleRequest) String() string
type RemoveGuildMemberRoleResponse ¶
type RemoveGuildMemberRoleResponse struct { // Types that are assignable to Response: // *RemoveGuildMemberRoleResponse_Error // *RemoveGuildMemberRoleResponse_Data Response isRemoveGuildMemberRoleResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*RemoveGuildMemberRoleResponse) Descriptor
deprecated
func (*RemoveGuildMemberRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGuildMemberRoleResponse.ProtoReflect.Descriptor instead.
func (*RemoveGuildMemberRoleResponse) GetData ¶
func (x *RemoveGuildMemberRoleResponse) GetData() *empty.Empty
func (*RemoveGuildMemberRoleResponse) GetError ¶
func (x *RemoveGuildMemberRoleResponse) GetError() *RestError
func (*RemoveGuildMemberRoleResponse) GetResponse ¶
func (m *RemoveGuildMemberRoleResponse) GetResponse() isRemoveGuildMemberRoleResponse_Response
func (*RemoveGuildMemberRoleResponse) ProtoMessage ¶
func (*RemoveGuildMemberRoleResponse) ProtoMessage()
func (*RemoveGuildMemberRoleResponse) ProtoReflect ¶
func (x *RemoveGuildMemberRoleResponse) ProtoReflect() protoreflect.Message
func (*RemoveGuildMemberRoleResponse) Reset ¶
func (x *RemoveGuildMemberRoleResponse) Reset()
func (*RemoveGuildMemberRoleResponse) String ¶
func (x *RemoveGuildMemberRoleResponse) String() string
type RemoveGuildMemberRoleResponse_Error ¶
type RemoveGuildMemberRoleResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type RestError ¶
type RestError struct { // Types that are assignable to ErrorType: // *RestError_UnknownError_ // *RestError_ValidationError_ // *RestError_ResourceNotFound_ // *RestError_AccessDenied_ // *RestError_RateLimited_ ErrorType isRestError_ErrorType `protobuf_oneof:"error_type"` // contains filtered or unexported fields }
func (*RestError) Descriptor
deprecated
func (*RestError) GetAccessDenied ¶
func (x *RestError) GetAccessDenied() *RestError_AccessDenied
func (*RestError) GetErrorType ¶
func (m *RestError) GetErrorType() isRestError_ErrorType
func (*RestError) GetRateLimited ¶
func (x *RestError) GetRateLimited() *RestError_RateLimited
func (*RestError) GetResourceNotFound ¶
func (x *RestError) GetResourceNotFound() *RestError_ResourceNotFound
func (*RestError) GetUnknownError ¶
func (x *RestError) GetUnknownError() *RestError_UnknownError
func (*RestError) GetValidationError ¶
func (x *RestError) GetValidationError() *RestError_ValidationError
func (*RestError) ProtoMessage ¶
func (*RestError) ProtoMessage()
func (*RestError) ProtoReflect ¶
func (x *RestError) ProtoReflect() protoreflect.Message
type RestError_AccessDenied ¶
type RestError_AccessDenied struct { Code uint32 `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 (*RestError_AccessDenied) Descriptor
deprecated
func (*RestError_AccessDenied) Descriptor() ([]byte, []int)
Deprecated: Use RestError_AccessDenied.ProtoReflect.Descriptor instead.
func (*RestError_AccessDenied) GetCode ¶
func (x *RestError_AccessDenied) GetCode() uint32
func (*RestError_AccessDenied) GetMessage ¶
func (x *RestError_AccessDenied) GetMessage() string
func (*RestError_AccessDenied) ProtoMessage ¶
func (*RestError_AccessDenied) ProtoMessage()
func (*RestError_AccessDenied) ProtoReflect ¶
func (x *RestError_AccessDenied) ProtoReflect() protoreflect.Message
func (*RestError_AccessDenied) Reset ¶
func (x *RestError_AccessDenied) Reset()
func (*RestError_AccessDenied) String ¶
func (x *RestError_AccessDenied) String() string
type RestError_AccessDenied_ ¶
type RestError_AccessDenied_ struct {
AccessDenied *RestError_AccessDenied `protobuf:"bytes,4,opt,name=access_denied,json=accessDenied,proto3,oneof"`
}
type RestError_RateLimited ¶
type RestError_RateLimited struct { Global bool `protobuf:"varint,1,opt,name=global,proto3" json:"global,omitempty"` RetryAt uint32 `protobuf:"varint,2,opt,name=retry_at,json=retryAt,proto3" json:"retry_at,omitempty"` // contains filtered or unexported fields }
func (*RestError_RateLimited) Descriptor
deprecated
func (*RestError_RateLimited) Descriptor() ([]byte, []int)
Deprecated: Use RestError_RateLimited.ProtoReflect.Descriptor instead.
func (*RestError_RateLimited) GetGlobal ¶
func (x *RestError_RateLimited) GetGlobal() bool
func (*RestError_RateLimited) GetRetryAt ¶
func (x *RestError_RateLimited) GetRetryAt() uint32
func (*RestError_RateLimited) ProtoMessage ¶
func (*RestError_RateLimited) ProtoMessage()
func (*RestError_RateLimited) ProtoReflect ¶
func (x *RestError_RateLimited) ProtoReflect() protoreflect.Message
func (*RestError_RateLimited) Reset ¶
func (x *RestError_RateLimited) Reset()
func (*RestError_RateLimited) String ¶
func (x *RestError_RateLimited) String() string
type RestError_RateLimited_ ¶
type RestError_RateLimited_ struct {
RateLimited *RestError_RateLimited `protobuf:"bytes,5,opt,name=rate_limited,json=rateLimited,proto3,oneof"`
}
type RestError_ResourceNotFound ¶
type RestError_ResourceNotFound struct { Code uint32 `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 (*RestError_ResourceNotFound) Descriptor
deprecated
func (*RestError_ResourceNotFound) Descriptor() ([]byte, []int)
Deprecated: Use RestError_ResourceNotFound.ProtoReflect.Descriptor instead.
func (*RestError_ResourceNotFound) GetCode ¶
func (x *RestError_ResourceNotFound) GetCode() uint32
func (*RestError_ResourceNotFound) GetMessage ¶
func (x *RestError_ResourceNotFound) GetMessage() string
func (*RestError_ResourceNotFound) ProtoMessage ¶
func (*RestError_ResourceNotFound) ProtoMessage()
func (*RestError_ResourceNotFound) ProtoReflect ¶
func (x *RestError_ResourceNotFound) ProtoReflect() protoreflect.Message
func (*RestError_ResourceNotFound) Reset ¶
func (x *RestError_ResourceNotFound) Reset()
func (*RestError_ResourceNotFound) String ¶
func (x *RestError_ResourceNotFound) String() string
type RestError_ResourceNotFound_ ¶
type RestError_ResourceNotFound_ struct {
ResourceNotFound *RestError_ResourceNotFound `protobuf:"bytes,3,opt,name=resource_not_found,json=resourceNotFound,proto3,oneof"`
}
type RestError_UnknownError ¶
type RestError_UnknownError struct { HttpStatus uint32 `protobuf:"varint,1,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"` Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RestError_UnknownError) Descriptor
deprecated
func (*RestError_UnknownError) Descriptor() ([]byte, []int)
Deprecated: Use RestError_UnknownError.ProtoReflect.Descriptor instead.
func (*RestError_UnknownError) GetCode ¶
func (x *RestError_UnknownError) GetCode() uint32
func (*RestError_UnknownError) GetHttpStatus ¶
func (x *RestError_UnknownError) GetHttpStatus() uint32
func (*RestError_UnknownError) GetMessage ¶
func (x *RestError_UnknownError) GetMessage() string
func (*RestError_UnknownError) ProtoMessage ¶
func (*RestError_UnknownError) ProtoMessage()
func (*RestError_UnknownError) ProtoReflect ¶
func (x *RestError_UnknownError) ProtoReflect() protoreflect.Message
func (*RestError_UnknownError) Reset ¶
func (x *RestError_UnknownError) Reset()
func (*RestError_UnknownError) String ¶
func (x *RestError_UnknownError) String() string
type RestError_UnknownError_ ¶
type RestError_UnknownError_ struct {
UnknownError *RestError_UnknownError `protobuf:"bytes,1,opt,name=unknown_error,json=unknownError,proto3,oneof"`
}
type RestError_ValidationError ¶
type RestError_ValidationError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Fields []*RestError_ValidationError_Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*RestError_ValidationError) Descriptor
deprecated
func (*RestError_ValidationError) Descriptor() ([]byte, []int)
Deprecated: Use RestError_ValidationError.ProtoReflect.Descriptor instead.
func (*RestError_ValidationError) GetFields ¶
func (x *RestError_ValidationError) GetFields() []*RestError_ValidationError_Field
func (*RestError_ValidationError) GetMessage ¶
func (x *RestError_ValidationError) GetMessage() string
func (*RestError_ValidationError) ProtoMessage ¶
func (*RestError_ValidationError) ProtoMessage()
func (*RestError_ValidationError) ProtoReflect ¶
func (x *RestError_ValidationError) ProtoReflect() protoreflect.Message
func (*RestError_ValidationError) Reset ¶
func (x *RestError_ValidationError) Reset()
func (*RestError_ValidationError) String ¶
func (x *RestError_ValidationError) String() string
type RestError_ValidationError_ ¶
type RestError_ValidationError_ struct {
ValidationError *RestError_ValidationError `protobuf:"bytes,2,opt,name=validation_error,json=validationError,proto3,oneof"`
}
type RestError_ValidationError_Field ¶
type RestError_ValidationError_Field struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RestError_ValidationError_Field) Descriptor
deprecated
func (*RestError_ValidationError_Field) Descriptor() ([]byte, []int)
Deprecated: Use RestError_ValidationError_Field.ProtoReflect.Descriptor instead.
func (*RestError_ValidationError_Field) GetCode ¶
func (x *RestError_ValidationError_Field) GetCode() string
func (*RestError_ValidationError_Field) GetMessage ¶
func (x *RestError_ValidationError_Field) GetMessage() string
func (*RestError_ValidationError_Field) GetPath ¶
func (x *RestError_ValidationError_Field) GetPath() string
func (*RestError_ValidationError_Field) ProtoMessage ¶
func (*RestError_ValidationError_Field) ProtoMessage()
func (*RestError_ValidationError_Field) ProtoReflect ¶
func (x *RestError_ValidationError_Field) ProtoReflect() protoreflect.Message
func (*RestError_ValidationError_Field) Reset ¶
func (x *RestError_ValidationError_Field) Reset()
func (*RestError_ValidationError_Field) String ¶
func (x *RestError_ValidationError_Field) String() string
type TriggerTypingIndicatorRequest ¶
type TriggerTypingIndicatorRequest struct { ChannelId uint64 `protobuf:"fixed64,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
func (*TriggerTypingIndicatorRequest) Descriptor
deprecated
func (*TriggerTypingIndicatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerTypingIndicatorRequest.ProtoReflect.Descriptor instead.
func (*TriggerTypingIndicatorRequest) GetChannelId ¶
func (x *TriggerTypingIndicatorRequest) GetChannelId() uint64
func (*TriggerTypingIndicatorRequest) ProtoMessage ¶
func (*TriggerTypingIndicatorRequest) ProtoMessage()
func (*TriggerTypingIndicatorRequest) ProtoReflect ¶
func (x *TriggerTypingIndicatorRequest) ProtoReflect() protoreflect.Message
func (*TriggerTypingIndicatorRequest) Reset ¶
func (x *TriggerTypingIndicatorRequest) Reset()
func (*TriggerTypingIndicatorRequest) String ¶
func (x *TriggerTypingIndicatorRequest) String() string
type TriggerTypingIndicatorResponse ¶
type TriggerTypingIndicatorResponse struct { // Types that are assignable to Response: // *TriggerTypingIndicatorResponse_Error // *TriggerTypingIndicatorResponse_Data Response isTriggerTypingIndicatorResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*TriggerTypingIndicatorResponse) Descriptor
deprecated
func (*TriggerTypingIndicatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerTypingIndicatorResponse.ProtoReflect.Descriptor instead.
func (*TriggerTypingIndicatorResponse) GetData ¶
func (x *TriggerTypingIndicatorResponse) GetData() *empty.Empty
func (*TriggerTypingIndicatorResponse) GetError ¶
func (x *TriggerTypingIndicatorResponse) GetError() *RestError
func (*TriggerTypingIndicatorResponse) GetResponse ¶
func (m *TriggerTypingIndicatorResponse) GetResponse() isTriggerTypingIndicatorResponse_Response
func (*TriggerTypingIndicatorResponse) ProtoMessage ¶
func (*TriggerTypingIndicatorResponse) ProtoMessage()
func (*TriggerTypingIndicatorResponse) ProtoReflect ¶
func (x *TriggerTypingIndicatorResponse) ProtoReflect() protoreflect.Message
func (*TriggerTypingIndicatorResponse) Reset ¶
func (x *TriggerTypingIndicatorResponse) Reset()
func (*TriggerTypingIndicatorResponse) String ¶
func (x *TriggerTypingIndicatorResponse) String() string
type TriggerTypingIndicatorResponse_Error ¶
type TriggerTypingIndicatorResponse_Error struct {
Error *RestError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}