chatv1

package
v0.0.0-...-a9cc36f Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ChannelKind_name = map[int32]string{
		0: "CHANNEL_KIND_TEXT_UNSPECIFIED",
		1: "CHANNEL_KIND_VOICE_MEDIA",
		2: "CHANNEL_KIND_CATEGORY",
	}
	ChannelKind_value = map[string]int32{
		"CHANNEL_KIND_TEXT_UNSPECIFIED": 0,
		"CHANNEL_KIND_VOICE_MEDIA":      1,
		"CHANNEL_KIND_CATEGORY":         2,
	}
)

Enum value maps for ChannelKind.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	LeaveReason_name = map[int32]string{
		0: "LEAVE_REASON_WILLINGLY_UNSPECIFIED",
		1: "LEAVE_REASON_BANNED",
		2: "LEAVE_REASON_KICKED",
	}
	LeaveReason_value = map[string]int32{
		"LEAVE_REASON_WILLINGLY_UNSPECIFIED": 0,
		"LEAVE_REASON_BANNED":                1,
		"LEAVE_REASON_KICKED":                2,
	}
)

Enum value maps for LeaveReason.

View Source
var (
	Guild_Kind_name = map[int32]string{
		0: "KIND_NORMAL_UNSPECIFIED",
		1: "KIND_ROOM",
		2: "KIND_DIRECT_MESSAGE",
	}
	Guild_Kind_value = map[string]int32{
		"KIND_NORMAL_UNSPECIFIED": 0,
		"KIND_ROOM":               1,
		"KIND_DIRECT_MESSAGE":     2,
	}
)

Enum value maps for Guild_Kind.

View Source
var (
	ReactionKind_name = map[int32]string{
		0: "REACTION_KIND_IMAGE_UNSPECIFIED",
		1: "REACTION_KIND_TEXT",
	}
	ReactionKind_value = map[string]int32{
		"REACTION_KIND_IMAGE_UNSPECIFIED": 0,
		"REACTION_KIND_TEXT":              1,
	}
)

Enum value maps for ReactionKind.

View Source
var (
	Action_Type_name = map[int32]string{
		0: "TYPE_NORMAL_UNSPECIFIED",
		1: "TYPE_PRIMARY",
		2: "TYPE_DESTRUCTIVE",
	}
	Action_Type_value = map[string]int32{
		"TYPE_NORMAL_UNSPECIFIED": 0,
		"TYPE_PRIMARY":            1,
		"TYPE_DESTRUCTIVE":        2,
	}
)

Enum value maps for Action_Type.

View Source
var (
	Format_Color_Kind_name = map[int32]string{
		0: "KIND_DIM_UNSPECIFIED",
		1: "KIND_BRIGHT",
		2: "KIND_NEGATIVE",
		3: "KIND_POSITIVE",
		4: "KIND_INFO",
		5: "KIND_WARNING",
	}
	Format_Color_Kind_value = map[string]int32{
		"KIND_DIM_UNSPECIFIED": 0,
		"KIND_BRIGHT":          1,
		"KIND_NEGATIVE":        2,
		"KIND_POSITIVE":        3,
		"KIND_INFO":            4,
		"KIND_WARNING":         5,
	}
)

Enum value maps for Format_Color_Kind.

View Source
var (
	GetChannelMessagesRequest_Direction_name = map[int32]string{
		0: "DIRECTION_BEFORE_UNSPECIFIED",
		1: "DIRECTION_AROUND",
		2: "DIRECTION_AFTER",
	}
	GetChannelMessagesRequest_Direction_value = map[string]int32{
		"DIRECTION_BEFORE_UNSPECIFIED": 0,
		"DIRECTION_AROUND":             1,
		"DIRECTION_AFTER":              2,
	}
)

Enum value maps for GetChannelMessagesRequest_Direction.

View Source
var File_chat_v1_channels_proto protoreflect.FileDescriptor
View Source
var File_chat_v1_chat_proto protoreflect.FileDescriptor
View Source
var File_chat_v1_guilds_proto protoreflect.FileDescriptor
View Source
var File_chat_v1_messages_proto protoreflect.FileDescriptor
View Source
var File_chat_v1_permissions_proto protoreflect.FileDescriptor
View Source
var File_chat_v1_stream_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Action

type Action struct {

	// Type of the action.
	ActionType Action_Type `` /* 126-byte string literal not displayed */
	// The kind of the action.
	//
	// Types that are assignable to Kind:
	//	*Action_Button_
	//	*Action_Dropdown_
	//	*Action_Input_
	Kind isAction_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Actions are interactive elements that can exist within an embed.

func (*Action) Descriptor deprecated

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetActionType

func (x *Action) GetActionType() Action_Type

func (*Action) GetButton

func (x *Action) GetButton() *Action_Button

func (*Action) GetDropdown

func (x *Action) GetDropdown() *Action_Dropdown

func (*Action) GetInput

func (x *Action) GetInput() *Action_Input

func (*Action) GetKind

func (m *Action) GetKind() isAction_Kind

func (*Action) MarshalToSizedBufferVT

func (m *Action) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action) MarshalToVT

func (m *Action) MarshalToVT(dAtA []byte) (int, error)

func (*Action) MarshalVT

func (m *Action) MarshalVT() (dAtA []byte, err error)

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) SizeVT

func (m *Action) SizeVT() (n int)

func (*Action) String

func (x *Action) String() string

func (*Action) UnmarshalVT

func (m *Action) UnmarshalVT(dAtA []byte) error

type ActionPayload

type ActionPayload struct {

	// The payload data.
	//
	// Types that are assignable to Payload:
	//	*ActionPayload_Button_
	//	*ActionPayload_Dropdown_
	//	*ActionPayload_Input_
	Payload isActionPayload_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

The payload sent to the bot when an action is triggered.

func (*ActionPayload) Descriptor deprecated

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

Deprecated: Use ActionPayload.ProtoReflect.Descriptor instead.

func (*ActionPayload) GetButton

func (x *ActionPayload) GetButton() *ActionPayload_Button

func (*ActionPayload) GetDropdown

func (x *ActionPayload) GetDropdown() *ActionPayload_Dropdown

func (*ActionPayload) GetInput

func (x *ActionPayload) GetInput() *ActionPayload_Input

func (*ActionPayload) GetPayload

func (m *ActionPayload) GetPayload() isActionPayload_Payload

func (*ActionPayload) MarshalToSizedBufferVT

func (m *ActionPayload) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload) MarshalToVT

func (m *ActionPayload) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload) MarshalVT

func (m *ActionPayload) MarshalVT() (dAtA []byte, err error)

func (*ActionPayload) ProtoMessage

func (*ActionPayload) ProtoMessage()

func (*ActionPayload) ProtoReflect

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

func (*ActionPayload) Reset

func (x *ActionPayload) Reset()

func (*ActionPayload) SizeVT

func (m *ActionPayload) SizeVT() (n int)

func (*ActionPayload) String

func (x *ActionPayload) String() string

func (*ActionPayload) UnmarshalVT

func (m *ActionPayload) UnmarshalVT(dAtA []byte) error

type ActionPayload_Button

type ActionPayload_Button struct {

	// The data from the Button action.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The payload data for a button action.

func (*ActionPayload_Button) Descriptor deprecated

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

Deprecated: Use ActionPayload_Button.ProtoReflect.Descriptor instead.

func (*ActionPayload_Button) GetData

func (x *ActionPayload_Button) GetData() []byte

func (*ActionPayload_Button) MarshalToSizedBufferVT

func (m *ActionPayload_Button) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload_Button) MarshalToVT

func (m *ActionPayload_Button) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload_Button) MarshalVT

func (m *ActionPayload_Button) MarshalVT() (dAtA []byte, err error)

func (*ActionPayload_Button) ProtoMessage

func (*ActionPayload_Button) ProtoMessage()

func (*ActionPayload_Button) ProtoReflect

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

func (*ActionPayload_Button) Reset

func (x *ActionPayload_Button) Reset()

func (*ActionPayload_Button) SizeVT

func (m *ActionPayload_Button) SizeVT() (n int)

func (*ActionPayload_Button) String

func (x *ActionPayload_Button) String() string

func (*ActionPayload_Button) UnmarshalVT

func (m *ActionPayload_Button) UnmarshalVT(dAtA []byte) error

type ActionPayload_Button_

type ActionPayload_Button_ struct {
	// Payload for a button.
	Button *ActionPayload_Button `protobuf:"bytes,1,opt,name=button,proto3,oneof"`
}

func (*ActionPayload_Button_) MarshalToSizedBufferVT

func (m *ActionPayload_Button_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload_Button_) MarshalToVT

func (m *ActionPayload_Button_) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload_Button_) SizeVT

func (m *ActionPayload_Button_) SizeVT() (n int)

type ActionPayload_Dropdown

type ActionPayload_Dropdown struct {

	// The user choice from the dropdown.
	Choice []byte `protobuf:"bytes,1,opt,name=choice,proto3" json:"choice,omitempty"`
	// contains filtered or unexported fields
}

The payload for a dropdown action.

func (*ActionPayload_Dropdown) Descriptor deprecated

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

Deprecated: Use ActionPayload_Dropdown.ProtoReflect.Descriptor instead.

func (*ActionPayload_Dropdown) GetChoice

func (x *ActionPayload_Dropdown) GetChoice() []byte

func (*ActionPayload_Dropdown) MarshalToSizedBufferVT

func (m *ActionPayload_Dropdown) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload_Dropdown) MarshalToVT

func (m *ActionPayload_Dropdown) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload_Dropdown) MarshalVT

func (m *ActionPayload_Dropdown) MarshalVT() (dAtA []byte, err error)

func (*ActionPayload_Dropdown) ProtoMessage

func (*ActionPayload_Dropdown) ProtoMessage()

func (*ActionPayload_Dropdown) ProtoReflect

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

func (*ActionPayload_Dropdown) Reset

func (x *ActionPayload_Dropdown) Reset()

func (*ActionPayload_Dropdown) SizeVT

func (m *ActionPayload_Dropdown) SizeVT() (n int)

func (*ActionPayload_Dropdown) String

func (x *ActionPayload_Dropdown) String() string

func (*ActionPayload_Dropdown) UnmarshalVT

func (m *ActionPayload_Dropdown) UnmarshalVT(dAtA []byte) error

type ActionPayload_Dropdown_

type ActionPayload_Dropdown_ struct {
	// Payload for a dropdown.
	Dropdown *ActionPayload_Dropdown `protobuf:"bytes,2,opt,name=dropdown,proto3,oneof"`
}

func (*ActionPayload_Dropdown_) MarshalToSizedBufferVT

func (m *ActionPayload_Dropdown_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload_Dropdown_) MarshalToVT

func (m *ActionPayload_Dropdown_) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload_Dropdown_) SizeVT

func (m *ActionPayload_Dropdown_) SizeVT() (n int)

type ActionPayload_Input

type ActionPayload_Input struct {

	// The user input.
	Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// The bot-provided data.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The payload for a text input action.

func (*ActionPayload_Input) Descriptor deprecated

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

Deprecated: Use ActionPayload_Input.ProtoReflect.Descriptor instead.

func (*ActionPayload_Input) GetData

func (x *ActionPayload_Input) GetData() []byte

func (*ActionPayload_Input) GetInput

func (x *ActionPayload_Input) GetInput() string

func (*ActionPayload_Input) MarshalToSizedBufferVT

func (m *ActionPayload_Input) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload_Input) MarshalToVT

func (m *ActionPayload_Input) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload_Input) MarshalVT

func (m *ActionPayload_Input) MarshalVT() (dAtA []byte, err error)

func (*ActionPayload_Input) ProtoMessage

func (*ActionPayload_Input) ProtoMessage()

func (*ActionPayload_Input) ProtoReflect

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

func (*ActionPayload_Input) Reset

func (x *ActionPayload_Input) Reset()

func (*ActionPayload_Input) SizeVT

func (m *ActionPayload_Input) SizeVT() (n int)

func (*ActionPayload_Input) String

func (x *ActionPayload_Input) String() string

func (*ActionPayload_Input) UnmarshalVT

func (m *ActionPayload_Input) UnmarshalVT(dAtA []byte) error

type ActionPayload_Input_

type ActionPayload_Input_ struct {
	// Payload for a text input.
	Input *ActionPayload_Input `protobuf:"bytes,3,opt,name=input,proto3,oneof"`
}

func (*ActionPayload_Input_) MarshalToSizedBufferVT

func (m *ActionPayload_Input_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActionPayload_Input_) MarshalToVT

func (m *ActionPayload_Input_) MarshalToVT(dAtA []byte) (int, error)

func (*ActionPayload_Input_) SizeVT

func (m *ActionPayload_Input_) SizeVT() (n int)

type Action_Button

type Action_Button struct {

	// The text to show on the button.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Action data, which should be used in the call to perform the action.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// An external URL that the button links to.
	//
	// This makes it so that tapping this button will open said URL instead
	// of triggering the action.
	Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// contains filtered or unexported fields
}

A button that users can click on to trigger an action.

func (*Action_Button) Descriptor deprecated

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

Deprecated: Use Action_Button.ProtoReflect.Descriptor instead.

func (*Action_Button) GetData

func (x *Action_Button) GetData() []byte

func (*Action_Button) GetText

func (x *Action_Button) GetText() string

func (*Action_Button) GetUrl

func (x *Action_Button) GetUrl() string

func (*Action_Button) MarshalToSizedBufferVT

func (m *Action_Button) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Button) MarshalToVT

func (m *Action_Button) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Button) MarshalVT

func (m *Action_Button) MarshalVT() (dAtA []byte, err error)

func (*Action_Button) ProtoMessage

func (*Action_Button) ProtoMessage()

func (*Action_Button) ProtoReflect

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

func (*Action_Button) Reset

func (x *Action_Button) Reset()

func (*Action_Button) SizeVT

func (m *Action_Button) SizeVT() (n int)

func (*Action_Button) String

func (x *Action_Button) String() string

func (*Action_Button) UnmarshalVT

func (m *Action_Button) UnmarshalVT(dAtA []byte) error

type Action_Button_

type Action_Button_ struct {
	// Button action.
	Button *Action_Button `protobuf:"bytes,2,opt,name=button,proto3,oneof"`
}

func (*Action_Button_) MarshalToSizedBufferVT

func (m *Action_Button_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Button_) MarshalToVT

func (m *Action_Button_) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Button_) SizeVT

func (m *Action_Button_) SizeVT() (n int)

type Action_Dropdown

type Action_Dropdown struct {

	// The text describing the dropdown.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// The options in the dropdown.
	Entries []*Action_Dropdown_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

A dropdown menu that users can click on to trigger an action.

func (*Action_Dropdown) Descriptor deprecated

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

Deprecated: Use Action_Dropdown.ProtoReflect.Descriptor instead.

func (*Action_Dropdown) GetEntries

func (x *Action_Dropdown) GetEntries() []*Action_Dropdown_Entry

func (*Action_Dropdown) GetLabel

func (x *Action_Dropdown) GetLabel() string

func (*Action_Dropdown) MarshalToSizedBufferVT

func (m *Action_Dropdown) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Dropdown) MarshalToVT

func (m *Action_Dropdown) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Dropdown) MarshalVT

func (m *Action_Dropdown) MarshalVT() (dAtA []byte, err error)

func (*Action_Dropdown) ProtoMessage

func (*Action_Dropdown) ProtoMessage()

func (*Action_Dropdown) ProtoReflect

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

func (*Action_Dropdown) Reset

func (x *Action_Dropdown) Reset()

func (*Action_Dropdown) SizeVT

func (m *Action_Dropdown) SizeVT() (n int)

func (*Action_Dropdown) String

func (x *Action_Dropdown) String() string

func (*Action_Dropdown) UnmarshalVT

func (m *Action_Dropdown) UnmarshalVT(dAtA []byte) error

type Action_Dropdown_

type Action_Dropdown_ struct {
	// Dropdown action.
	Dropdown *Action_Dropdown `protobuf:"bytes,3,opt,name=dropdown,proto3,oneof"`
}

func (*Action_Dropdown_) MarshalToSizedBufferVT

func (m *Action_Dropdown_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Dropdown_) MarshalToVT

func (m *Action_Dropdown_) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Dropdown_) SizeVT

func (m *Action_Dropdown_) SizeVT() (n int)

type Action_Dropdown_Entry

type Action_Dropdown_Entry struct {

	// The dropdown's UI label.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// The dropdown's associated data.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

An entry in the dropdown.

func (*Action_Dropdown_Entry) Descriptor deprecated

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

Deprecated: Use Action_Dropdown_Entry.ProtoReflect.Descriptor instead.

func (*Action_Dropdown_Entry) GetData

func (x *Action_Dropdown_Entry) GetData() []byte

func (*Action_Dropdown_Entry) GetLabel

func (x *Action_Dropdown_Entry) GetLabel() string

func (*Action_Dropdown_Entry) MarshalToSizedBufferVT

func (m *Action_Dropdown_Entry) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Dropdown_Entry) MarshalToVT

func (m *Action_Dropdown_Entry) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Dropdown_Entry) MarshalVT

func (m *Action_Dropdown_Entry) MarshalVT() (dAtA []byte, err error)

func (*Action_Dropdown_Entry) ProtoMessage

func (*Action_Dropdown_Entry) ProtoMessage()

func (*Action_Dropdown_Entry) ProtoReflect

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

func (*Action_Dropdown_Entry) Reset

func (x *Action_Dropdown_Entry) Reset()

func (*Action_Dropdown_Entry) SizeVT

func (m *Action_Dropdown_Entry) SizeVT() (n int)

func (*Action_Dropdown_Entry) String

func (x *Action_Dropdown_Entry) String() string

func (*Action_Dropdown_Entry) UnmarshalVT

func (m *Action_Dropdown_Entry) UnmarshalVT(dAtA []byte) error

type Action_Input

type Action_Input struct {

	// The label describing the input.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Whether this text input should be a multiline one or not.
	Multiline bool `protobuf:"varint,2,opt,name=multiline,proto3" json:"multiline,omitempty"`
	// Contextual data allowing the bot to discern what the user input is for.
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

A text input that users can type in to trigger an action.

func (*Action_Input) Descriptor deprecated

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

Deprecated: Use Action_Input.ProtoReflect.Descriptor instead.

func (*Action_Input) GetData

func (x *Action_Input) GetData() []byte

func (*Action_Input) GetLabel

func (x *Action_Input) GetLabel() string

func (*Action_Input) GetMultiline

func (x *Action_Input) GetMultiline() bool

func (*Action_Input) MarshalToSizedBufferVT

func (m *Action_Input) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Input) MarshalToVT

func (m *Action_Input) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Input) MarshalVT

func (m *Action_Input) MarshalVT() (dAtA []byte, err error)

func (*Action_Input) ProtoMessage

func (*Action_Input) ProtoMessage()

func (*Action_Input) ProtoReflect

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

func (*Action_Input) Reset

func (x *Action_Input) Reset()

func (*Action_Input) SizeVT

func (m *Action_Input) SizeVT() (n int)

func (*Action_Input) String

func (x *Action_Input) String() string

func (*Action_Input) UnmarshalVT

func (m *Action_Input) UnmarshalVT(dAtA []byte) error

type Action_Input_

type Action_Input_ struct {
	// Input action.
	Input *Action_Input `protobuf:"bytes,4,opt,name=input,proto3,oneof"`
}

func (*Action_Input_) MarshalToSizedBufferVT

func (m *Action_Input_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Action_Input_) MarshalToVT

func (m *Action_Input_) MarshalToVT(dAtA []byte) (int, error)

func (*Action_Input_) SizeVT

func (m *Action_Input_) SizeVT() (n int)

type Action_Type

type Action_Type int32

The action type. This is primarily used to change the look of the action to the user (example: Destructive actions will have a red background).

const (
	// A normal action.
	Action_TYPE_NORMAL_UNSPECIFIED Action_Type = 0
	// A primary action.
	Action_TYPE_PRIMARY Action_Type = 1
	// A destructive / dangerous action.
	Action_TYPE_DESTRUCTIVE Action_Type = 2
)

func (Action_Type) Descriptor

func (Action_Type) Enum

func (x Action_Type) Enum() *Action_Type

func (Action_Type) EnumDescriptor deprecated

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

Deprecated: Use Action_Type.Descriptor instead.

func (Action_Type) Number

func (x Action_Type) Number() protoreflect.EnumNumber

func (Action_Type) String

func (x Action_Type) String() string

func (Action_Type) Type

type AddGuildRoleRequest

type AddGuildRoleRequest struct {

	// The guild ID to add the role to.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The role name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The role color.
	Color int32 `protobuf:"varint,3,opt,name=color,proto3" json:"color,omitempty"`
	// Whether the role is hoisted or not.
	Hoist bool `protobuf:"varint,4,opt,name=hoist,proto3" json:"hoist,omitempty"`
	// Whether the role is mentionable or not.
	Pingable bool `protobuf:"varint,5,opt,name=pingable,proto3" json:"pingable,omitempty"`
	// contains filtered or unexported fields
}

Used in the `AddGuildRole` endpoint.

func (*AddGuildRoleRequest) Descriptor deprecated

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

Deprecated: Use AddGuildRoleRequest.ProtoReflect.Descriptor instead.

func (*AddGuildRoleRequest) GetColor

func (x *AddGuildRoleRequest) GetColor() int32

func (*AddGuildRoleRequest) GetGuildId

func (x *AddGuildRoleRequest) GetGuildId() uint64

func (*AddGuildRoleRequest) GetHoist

func (x *AddGuildRoleRequest) GetHoist() bool

func (*AddGuildRoleRequest) GetName

func (x *AddGuildRoleRequest) GetName() string

func (*AddGuildRoleRequest) GetPingable

func (x *AddGuildRoleRequest) GetPingable() bool

func (*AddGuildRoleRequest) MarshalToSizedBufferVT

func (m *AddGuildRoleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddGuildRoleRequest) MarshalToVT

func (m *AddGuildRoleRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AddGuildRoleRequest) MarshalVT

func (m *AddGuildRoleRequest) MarshalVT() (dAtA []byte, err error)

func (*AddGuildRoleRequest) ProtoMessage

func (*AddGuildRoleRequest) ProtoMessage()

func (*AddGuildRoleRequest) ProtoReflect

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

func (*AddGuildRoleRequest) Reset

func (x *AddGuildRoleRequest) Reset()

func (*AddGuildRoleRequest) SizeVT

func (m *AddGuildRoleRequest) SizeVT() (n int)

func (*AddGuildRoleRequest) String

func (x *AddGuildRoleRequest) String() string

func (*AddGuildRoleRequest) UnmarshalVT

func (m *AddGuildRoleRequest) UnmarshalVT(dAtA []byte) error

type AddGuildRoleResponse

type AddGuildRoleResponse struct {

	// The ID of the newly created role.
	RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `AddGuildRole` endpoint.

func (*AddGuildRoleResponse) Descriptor deprecated

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

Deprecated: Use AddGuildRoleResponse.ProtoReflect.Descriptor instead.

func (*AddGuildRoleResponse) GetRoleId

func (x *AddGuildRoleResponse) GetRoleId() uint64

func (*AddGuildRoleResponse) MarshalToSizedBufferVT

func (m *AddGuildRoleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddGuildRoleResponse) MarshalToVT

func (m *AddGuildRoleResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AddGuildRoleResponse) MarshalVT

func (m *AddGuildRoleResponse) MarshalVT() (dAtA []byte, err error)

func (*AddGuildRoleResponse) ProtoMessage

func (*AddGuildRoleResponse) ProtoMessage()

func (*AddGuildRoleResponse) ProtoReflect

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

func (*AddGuildRoleResponse) Reset

func (x *AddGuildRoleResponse) Reset()

func (*AddGuildRoleResponse) SizeVT

func (m *AddGuildRoleResponse) SizeVT() (n int)

func (*AddGuildRoleResponse) String

func (x *AddGuildRoleResponse) String() string

func (*AddGuildRoleResponse) UnmarshalVT

func (m *AddGuildRoleResponse) UnmarshalVT(dAtA []byte) error

type AddReactionRequest

type AddReactionRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message we want to add a reaction to.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The kind of the reaction we want to react with.
	ReactionKind ReactionKind `` /* 133-byte string literal not displayed */
	// The data of the reaction we want to react with.
	ReactionData string `protobuf:"bytes,5,opt,name=reaction_data,json=reactionData,proto3" json:"reaction_data,omitempty"`
	// The name of the reaction we want to react with.
	ReactionName string `protobuf:"bytes,6,opt,name=reaction_name,json=reactionName,proto3" json:"reaction_name,omitempty"`
	// contains filtered or unexported fields
}

Used in `AddReaction` endpoint.

func (*AddReactionRequest) Descriptor deprecated

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

Deprecated: Use AddReactionRequest.ProtoReflect.Descriptor instead.

func (*AddReactionRequest) GetChannelId

func (x *AddReactionRequest) GetChannelId() uint64

func (*AddReactionRequest) GetGuildId

func (x *AddReactionRequest) GetGuildId() uint64

func (*AddReactionRequest) GetMessageId

func (x *AddReactionRequest) GetMessageId() uint64

func (*AddReactionRequest) GetReactionData

func (x *AddReactionRequest) GetReactionData() string

func (*AddReactionRequest) GetReactionKind

func (x *AddReactionRequest) GetReactionKind() ReactionKind

func (*AddReactionRequest) GetReactionName

func (x *AddReactionRequest) GetReactionName() string

func (*AddReactionRequest) MarshalToSizedBufferVT

func (m *AddReactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddReactionRequest) MarshalToVT

func (m *AddReactionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AddReactionRequest) MarshalVT

func (m *AddReactionRequest) MarshalVT() (dAtA []byte, err error)

func (*AddReactionRequest) ProtoMessage

func (*AddReactionRequest) ProtoMessage()

func (*AddReactionRequest) ProtoReflect

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

func (*AddReactionRequest) Reset

func (x *AddReactionRequest) Reset()

func (*AddReactionRequest) SizeVT

func (m *AddReactionRequest) SizeVT() (n int)

func (*AddReactionRequest) String

func (x *AddReactionRequest) String() string

func (*AddReactionRequest) UnmarshalVT

func (m *AddReactionRequest) UnmarshalVT(dAtA []byte) error

type AddReactionResponse

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

Used in `AddReaction` endpoint.

func (*AddReactionResponse) Descriptor deprecated

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

Deprecated: Use AddReactionResponse.ProtoReflect.Descriptor instead.

func (*AddReactionResponse) MarshalToSizedBufferVT

func (m *AddReactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddReactionResponse) MarshalToVT

func (m *AddReactionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AddReactionResponse) MarshalVT

func (m *AddReactionResponse) MarshalVT() (dAtA []byte, err error)

func (*AddReactionResponse) ProtoMessage

func (*AddReactionResponse) ProtoMessage()

func (*AddReactionResponse) ProtoReflect

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

func (*AddReactionResponse) Reset

func (x *AddReactionResponse) Reset()

func (*AddReactionResponse) SizeVT

func (m *AddReactionResponse) SizeVT() (n int)

func (*AddReactionResponse) String

func (x *AddReactionResponse) String() string

func (*AddReactionResponse) UnmarshalVT

func (m *AddReactionResponse) UnmarshalVT(dAtA []byte) error

type Attachment

type Attachment struct {

	// File ID of this attachment.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Filename of this attachment.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Mimetype of this attachment.
	Mimetype string `protobuf:"bytes,3,opt,name=mimetype,proto3" json:"mimetype,omitempty"`
	// File size of this attachment, in bytes.
	Size uint32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// Extra info.
	//
	// Types that are assignable to Info:
	//	*Attachment_Image
	Info isAttachment_Info `protobuf_oneof:"info"`
	// contains filtered or unexported fields
}

Object representing a generic message attachment.

func (*Attachment) Descriptor deprecated

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

Deprecated: Use Attachment.ProtoReflect.Descriptor instead.

func (*Attachment) GetId

func (x *Attachment) GetId() string

func (*Attachment) GetImage

func (x *Attachment) GetImage() *Attachment_ImageInfo

func (*Attachment) GetInfo

func (m *Attachment) GetInfo() isAttachment_Info

func (*Attachment) GetMimetype

func (x *Attachment) GetMimetype() string

func (*Attachment) GetName

func (x *Attachment) GetName() string

func (*Attachment) GetSize

func (x *Attachment) GetSize() uint32

func (*Attachment) MarshalToSizedBufferVT

func (m *Attachment) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Attachment) MarshalToVT

func (m *Attachment) MarshalToVT(dAtA []byte) (int, error)

func (*Attachment) MarshalVT

func (m *Attachment) MarshalVT() (dAtA []byte, err error)

func (*Attachment) ProtoMessage

func (*Attachment) ProtoMessage()

func (*Attachment) ProtoReflect

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

func (*Attachment) Reset

func (x *Attachment) Reset()

func (*Attachment) SizeVT

func (m *Attachment) SizeVT() (n int)

func (*Attachment) String

func (x *Attachment) String() string

func (*Attachment) UnmarshalVT

func (m *Attachment) UnmarshalVT(dAtA []byte) error

type Attachment_Image

type Attachment_Image struct {
	// Image info.
	Image *Attachment_ImageInfo `protobuf:"bytes,5,opt,name=image,proto3,oneof"`
}

func (*Attachment_Image) MarshalToSizedBufferVT

func (m *Attachment_Image) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Attachment_Image) MarshalToVT

func (m *Attachment_Image) MarshalToVT(dAtA []byte) (int, error)

func (*Attachment_Image) SizeVT

func (m *Attachment_Image) SizeVT() (n int)

type Attachment_ImageInfo

type Attachment_ImageInfo struct {

	// The width of the image, in pixels.
	Width uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
	// The height of the image, in pixels.
	Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// A thumbnail for the image.
	Minithumbnail *Minithumbnail `protobuf:"bytes,3,opt,name=minithumbnail,proto3" json:"minithumbnail,omitempty"`
	// The image's caption.
	Caption *string `protobuf:"bytes,4,opt,name=caption,proto3,oneof" json:"caption,omitempty"`
	// contains filtered or unexported fields
}

Contains data about an image.

func (*Attachment_ImageInfo) Descriptor deprecated

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

Deprecated: Use Attachment_ImageInfo.ProtoReflect.Descriptor instead.

func (*Attachment_ImageInfo) GetCaption

func (x *Attachment_ImageInfo) GetCaption() string

func (*Attachment_ImageInfo) GetHeight

func (x *Attachment_ImageInfo) GetHeight() uint32

func (*Attachment_ImageInfo) GetMinithumbnail

func (x *Attachment_ImageInfo) GetMinithumbnail() *Minithumbnail

func (*Attachment_ImageInfo) GetWidth

func (x *Attachment_ImageInfo) GetWidth() uint32

func (*Attachment_ImageInfo) MarshalToSizedBufferVT

func (m *Attachment_ImageInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Attachment_ImageInfo) MarshalToVT

func (m *Attachment_ImageInfo) MarshalToVT(dAtA []byte) (int, error)

func (*Attachment_ImageInfo) MarshalVT

func (m *Attachment_ImageInfo) MarshalVT() (dAtA []byte, err error)

func (*Attachment_ImageInfo) ProtoMessage

func (*Attachment_ImageInfo) ProtoMessage()

func (*Attachment_ImageInfo) ProtoReflect

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

func (*Attachment_ImageInfo) Reset

func (x *Attachment_ImageInfo) Reset()

func (*Attachment_ImageInfo) SizeVT

func (m *Attachment_ImageInfo) SizeVT() (n int)

func (*Attachment_ImageInfo) String

func (x *Attachment_ImageInfo) String() string

func (*Attachment_ImageInfo) UnmarshalVT

func (m *Attachment_ImageInfo) UnmarshalVT(dAtA []byte) error

type BanUserRequest

type BanUserRequest struct {

	// The guild ID of the guild to ban the user from.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The ID of the user to ban.
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `BanUser` endpoint.

func (*BanUserRequest) Descriptor deprecated

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

Deprecated: Use BanUserRequest.ProtoReflect.Descriptor instead.

func (*BanUserRequest) GetGuildId

func (x *BanUserRequest) GetGuildId() uint64

func (*BanUserRequest) GetUserId

func (x *BanUserRequest) GetUserId() uint64

func (*BanUserRequest) MarshalToSizedBufferVT

func (m *BanUserRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BanUserRequest) MarshalToVT

func (m *BanUserRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BanUserRequest) MarshalVT

func (m *BanUserRequest) MarshalVT() (dAtA []byte, err error)

func (*BanUserRequest) ProtoMessage

func (*BanUserRequest) ProtoMessage()

func (*BanUserRequest) ProtoReflect

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

func (*BanUserRequest) Reset

func (x *BanUserRequest) Reset()

func (*BanUserRequest) SizeVT

func (m *BanUserRequest) SizeVT() (n int)

func (*BanUserRequest) String

func (x *BanUserRequest) String() string

func (*BanUserRequest) UnmarshalVT

func (m *BanUserRequest) UnmarshalVT(dAtA []byte) error

type BanUserResponse

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

Used in `BanUser` endpoint.

func (*BanUserResponse) Descriptor deprecated

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

Deprecated: Use BanUserResponse.ProtoReflect.Descriptor instead.

func (*BanUserResponse) MarshalToSizedBufferVT

func (m *BanUserResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BanUserResponse) MarshalToVT

func (m *BanUserResponse) MarshalToVT(dAtA []byte) (int, error)

func (*BanUserResponse) MarshalVT

func (m *BanUserResponse) MarshalVT() (dAtA []byte, err error)

func (*BanUserResponse) ProtoMessage

func (*BanUserResponse) ProtoMessage()

func (*BanUserResponse) ProtoReflect

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

func (*BanUserResponse) Reset

func (x *BanUserResponse) Reset()

func (*BanUserResponse) SizeVT

func (m *BanUserResponse) SizeVT() (n int)

func (*BanUserResponse) String

func (x *BanUserResponse) String() string

func (*BanUserResponse) UnmarshalVT

func (m *BanUserResponse) UnmarshalVT(dAtA []byte) error

type Channel

type Channel struct {

	// The name of this channel.
	ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	// The kind of channel this is.
	// Data does not get inherently stored in the Channel type
	// Instead, clients who understand a certain ChannelKind should
	// fetch them from a separate RPC.
	Kind ChannelKind `protobuf:"varint,2,opt,name=kind,proto3,enum=protocol.chat.v1.ChannelKind" json:"kind,omitempty"`
	// The metadata of this channel.
	Metadata *v1.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

An object representing a channel, without the ID.

func (*Channel) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetChannelName

func (x *Channel) GetChannelName() string

func (*Channel) GetKind

func (x *Channel) GetKind() ChannelKind

func (*Channel) GetMetadata

func (x *Channel) GetMetadata() *v1.Metadata

func (*Channel) MarshalToSizedBufferVT

func (m *Channel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Channel) MarshalToVT

func (m *Channel) MarshalToVT(dAtA []byte) (int, error)

func (*Channel) MarshalVT

func (m *Channel) MarshalVT() (dAtA []byte, err error)

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

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

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) SizeVT

func (m *Channel) SizeVT() (n int)

func (*Channel) String

func (x *Channel) String() string

func (*Channel) UnmarshalVT

func (m *Channel) UnmarshalVT(dAtA []byte) error

type ChannelKind

type ChannelKind int32

What kind the channel is.

const (
	// A text channel. Allows you to simply send messages to a group of people.
	ChannelKind_CHANNEL_KIND_TEXT_UNSPECIFIED ChannelKind = 0
	// A voice channel. Allows you to talk to other people with voice.
	ChannelKind_CHANNEL_KIND_VOICE_MEDIA ChannelKind = 1
	// A category channel. All channels under this channel down to another
	// category channel belongs to this category channel.
	ChannelKind_CHANNEL_KIND_CATEGORY ChannelKind = 2
)

func (ChannelKind) Descriptor

func (ChannelKind) Enum

func (x ChannelKind) Enum() *ChannelKind

func (ChannelKind) EnumDescriptor deprecated

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

Deprecated: Use ChannelKind.Descriptor instead.

func (ChannelKind) Number

func (x ChannelKind) Number() protoreflect.EnumNumber

func (ChannelKind) String

func (x ChannelKind) String() string

func (ChannelKind) Type

type ChannelWithId

type ChannelWithId struct {

	// ID of the channel.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The channel data.
	Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

The channel alongside with an ID.

func (*ChannelWithId) Descriptor deprecated

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

Deprecated: Use ChannelWithId.ProtoReflect.Descriptor instead.

func (*ChannelWithId) GetChannel

func (x *ChannelWithId) GetChannel() *Channel

func (*ChannelWithId) GetChannelId

func (x *ChannelWithId) GetChannelId() uint64

func (*ChannelWithId) MarshalToSizedBufferVT

func (m *ChannelWithId) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ChannelWithId) MarshalToVT

func (m *ChannelWithId) MarshalToVT(dAtA []byte) (int, error)

func (*ChannelWithId) MarshalVT

func (m *ChannelWithId) MarshalVT() (dAtA []byte, err error)

func (*ChannelWithId) ProtoMessage

func (*ChannelWithId) ProtoMessage()

func (*ChannelWithId) ProtoReflect

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

func (*ChannelWithId) Reset

func (x *ChannelWithId) Reset()

func (*ChannelWithId) SizeVT

func (m *ChannelWithId) SizeVT() (n int)

func (*ChannelWithId) String

func (x *ChannelWithId) String() string

func (*ChannelWithId) UnmarshalVT

func (m *ChannelWithId) UnmarshalVT(dAtA []byte) error

type ChatService

type ChatService[T context.Context] interface {
	CreateGuild(T, *CreateGuildRequest) (*CreateGuildResponse, error)
	CreateRoom(T, *CreateRoomRequest) (*CreateRoomResponse, error)
	CreateDirectMessage(T, *CreateDirectMessageRequest) (*CreateDirectMessageResponse, error)
	UpgradeRoomToGuild(T, *UpgradeRoomToGuildRequest) (*UpgradeRoomToGuildResponse, error)
	CreateInvite(T, *CreateInviteRequest) (*CreateInviteResponse, error)
	CreateChannel(T, *CreateChannelRequest) (*CreateChannelResponse, error)
	GetGuildList(T, *GetGuildListRequest) (*GetGuildListResponse, error)
	InviteUserToGuild(T, *InviteUserToGuildRequest) (*InviteUserToGuildResponse, error)
	GetPendingInvites(T, *GetPendingInvitesRequest) (*GetPendingInvitesResponse, error)
	RejectPendingInvite(T, *RejectPendingInviteRequest) (*RejectPendingInviteResponse, error)
	IgnorePendingInvite(T, *IgnorePendingInviteRequest) (*IgnorePendingInviteResponse, error)
	GetGuild(T, *GetGuildRequest) (*GetGuildResponse, error)
	GetGuildInvites(T, *GetGuildInvitesRequest) (*GetGuildInvitesResponse, error)
	GetGuildMembers(T, *GetGuildMembersRequest) (*GetGuildMembersResponse, error)
	GetGuildChannels(T, *GetGuildChannelsRequest) (*GetGuildChannelsResponse, error)
	GetChannelMessages(T, *GetChannelMessagesRequest) (*GetChannelMessagesResponse, error)
	GetMessage(T, *GetMessageRequest) (*GetMessageResponse, error)
	UpdateGuildInformation(T, *UpdateGuildInformationRequest) (*UpdateGuildInformationResponse, error)
	UpdateChannelInformation(T, *UpdateChannelInformationRequest) (*UpdateChannelInformationResponse, error)
	UpdateChannelOrder(T, *UpdateChannelOrderRequest) (*UpdateChannelOrderResponse, error)
	UpdateAllChannelOrder(T, *UpdateAllChannelOrderRequest) (*UpdateAllChannelOrderResponse, error)
	UpdateMessageContent(T, *UpdateMessageContentRequest) (*UpdateMessageContentResponse, error)
	DeleteGuild(T, *DeleteGuildRequest) (*DeleteGuildResponse, error)
	DeleteInvite(T, *DeleteInviteRequest) (*DeleteInviteResponse, error)
	DeleteChannel(T, *DeleteChannelRequest) (*DeleteChannelResponse, error)
	DeleteMessage(T, *DeleteMessageRequest) (*DeleteMessageResponse, error)
	JoinGuild(T, *JoinGuildRequest) (*JoinGuildResponse, error)
	LeaveGuild(T, *LeaveGuildRequest) (*LeaveGuildResponse, error)
	TriggerAction(T, *TriggerActionRequest) (*TriggerActionResponse, error)
	SendMessage(T, *SendMessageRequest) (*SendMessageResponse, error)
	HasPermission(T, *HasPermissionRequest) (*HasPermissionResponse, error)
	SetPermissions(T, *SetPermissionsRequest) (*SetPermissionsResponse, error)
	GetPermissions(T, *GetPermissionsRequest) (*GetPermissionsResponse, error)
	MoveRole(T, *MoveRoleRequest) (*MoveRoleResponse, error)
	GetGuildRoles(T, *GetGuildRolesRequest) (*GetGuildRolesResponse, error)
	AddGuildRole(T, *AddGuildRoleRequest) (*AddGuildRoleResponse, error)
	ModifyGuildRole(T, *ModifyGuildRoleRequest) (*ModifyGuildRoleResponse, error)
	DeleteGuildRole(T, *DeleteGuildRoleRequest) (*DeleteGuildRoleResponse, error)
	ManageUserRoles(T, *ManageUserRolesRequest) (*ManageUserRolesResponse, error)
	GetUserRoles(T, *GetUserRolesRequest) (*GetUserRolesResponse, error)
	Typing(T, *TypingRequest) (*TypingResponse, error)
	PreviewGuild(T, *PreviewGuildRequest) (*PreviewGuildResponse, error)
	GetBannedUsers(T, *GetBannedUsersRequest) (*GetBannedUsersResponse, error)
	BanUser(T, *BanUserRequest) (*BanUserResponse, error)
	KickUser(T, *KickUserRequest) (*KickUserResponse, error)
	UnbanUser(T, *UnbanUserRequest) (*UnbanUserResponse, error)
	GetPinnedMessages(T, *GetPinnedMessagesRequest) (*GetPinnedMessagesResponse, error)
	PinMessage(T, *PinMessageRequest) (*PinMessageResponse, error)
	UnpinMessage(T, *UnpinMessageRequest) (*UnpinMessageResponse, error)
	AddReaction(T, *AddReactionRequest) (*AddReactionResponse, error)
	RemoveReaction(T, *RemoveReactionRequest) (*RemoveReactionResponse, error)
	GrantOwnership(T, *GrantOwnershipRequest) (*GrantOwnershipResponse, error)
	GiveUpOwnership(T, *GiveUpOwnershipRequest) (*GiveUpOwnershipResponse, error)
	StreamEvents(T, chan *StreamEventsRequest, chan *StreamEventsResponse) error
}

type ChatServiceHandler

type ChatServiceHandler[T context.Context] struct {
	Impl ChatService[T]
}

func (*ChatServiceHandler[T]) Routes

func (h *ChatServiceHandler[T]) Routes() map[string]goserver.UnaryMethodData[T]

func (*ChatServiceHandler[T]) StreamRoutes

func (h *ChatServiceHandler[T]) StreamRoutes() map[string]goserver.StreamMethodData[T]

type Content

type Content struct {

	// Text content of the message.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Text formatting of the text content.
	TextFormats []*Format `protobuf:"bytes,2,rep,name=text_formats,json=textFormats,proto3" json:"text_formats,omitempty"`
	// Embed content.
	Embeds []*Embed `protobuf:"bytes,3,rep,name=embeds,proto3" json:"embeds,omitempty"`
	// Attachment content.
	Attachments []*Attachment `protobuf:"bytes,4,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// Extra content data, in addition to the text content.
	//
	// Types that are assignable to Extra:
	//	*Content_InviteRejected_
	//	*Content_InviteAccepted_
	//	*Content_RoomUpgradedToGuild_
	Extra isContent_Extra `protobuf_oneof:"extra"`
	// contains filtered or unexported fields
}

Object representing a message's content other than text.

`InviteRejected`, `InviteAccepted` and `RoomUpgradedToGuild`, can only be used by servers themselves. Servers should reject messages with this content if they are sent by a user.

Text should be displayed before embeds, and embeds should be displayed before attachments.

func (*Content) Descriptor deprecated

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

Deprecated: Use Content.ProtoReflect.Descriptor instead.

func (*Content) GetAttachments

func (x *Content) GetAttachments() []*Attachment

func (*Content) GetEmbeds

func (x *Content) GetEmbeds() []*Embed

func (*Content) GetExtra

func (m *Content) GetExtra() isContent_Extra

func (*Content) GetInviteAccepted

func (x *Content) GetInviteAccepted() *Content_InviteAccepted

func (*Content) GetInviteRejected

func (x *Content) GetInviteRejected() *Content_InviteRejected

func (*Content) GetRoomUpgradedToGuild

func (x *Content) GetRoomUpgradedToGuild() *Content_RoomUpgradedToGuild

func (*Content) GetText

func (x *Content) GetText() string

func (*Content) GetTextFormats

func (x *Content) GetTextFormats() []*Format

func (*Content) MarshalToSizedBufferVT

func (m *Content) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content) MarshalToVT

func (m *Content) MarshalToVT(dAtA []byte) (int, error)

func (*Content) MarshalVT

func (m *Content) MarshalVT() (dAtA []byte, err error)

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) ProtoReflect

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

func (*Content) Reset

func (x *Content) Reset()

func (*Content) SizeVT

func (m *Content) SizeVT() (n int)

func (*Content) String

func (x *Content) String() string

func (*Content) UnmarshalVT

func (m *Content) UnmarshalVT(dAtA []byte) error

type Content_InviteAccepted

type Content_InviteAccepted struct {

	// User ID of the invitee.
	InviteeId uint64 `protobuf:"varint,1,opt,name=invitee_id,json=inviteeId,proto3" json:"invitee_id,omitempty"`
	// User ID of the inviter.
	InviterId uint64 `protobuf:"varint,2,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"`
	// contains filtered or unexported fields
}

Represents a user accepting an invite.

func (*Content_InviteAccepted) Descriptor deprecated

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

Deprecated: Use Content_InviteAccepted.ProtoReflect.Descriptor instead.

func (*Content_InviteAccepted) GetInviteeId

func (x *Content_InviteAccepted) GetInviteeId() uint64

func (*Content_InviteAccepted) GetInviterId

func (x *Content_InviteAccepted) GetInviterId() uint64

func (*Content_InviteAccepted) MarshalToSizedBufferVT

func (m *Content_InviteAccepted) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content_InviteAccepted) MarshalToVT

func (m *Content_InviteAccepted) MarshalToVT(dAtA []byte) (int, error)

func (*Content_InviteAccepted) MarshalVT

func (m *Content_InviteAccepted) MarshalVT() (dAtA []byte, err error)

func (*Content_InviteAccepted) ProtoMessage

func (*Content_InviteAccepted) ProtoMessage()

func (*Content_InviteAccepted) ProtoReflect

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

func (*Content_InviteAccepted) Reset

func (x *Content_InviteAccepted) Reset()

func (*Content_InviteAccepted) SizeVT

func (m *Content_InviteAccepted) SizeVT() (n int)

func (*Content_InviteAccepted) String

func (x *Content_InviteAccepted) String() string

func (*Content_InviteAccepted) UnmarshalVT

func (m *Content_InviteAccepted) UnmarshalVT(dAtA []byte) error

type Content_InviteAccepted_

type Content_InviteAccepted_ struct {
	// A user accepted an invite.
	InviteAccepted *Content_InviteAccepted `protobuf:"bytes,6,opt,name=invite_accepted,json=inviteAccepted,proto3,oneof"`
}

func (*Content_InviteAccepted_) MarshalToSizedBufferVT

func (m *Content_InviteAccepted_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content_InviteAccepted_) MarshalToVT

func (m *Content_InviteAccepted_) MarshalToVT(dAtA []byte) (int, error)

func (*Content_InviteAccepted_) SizeVT

func (m *Content_InviteAccepted_) SizeVT() (n int)

type Content_InviteRejected

type Content_InviteRejected struct {

	// User ID of the invitee.
	InviteeId uint64 `protobuf:"varint,1,opt,name=invitee_id,json=inviteeId,proto3" json:"invitee_id,omitempty"`
	// User ID of the inviter.
	InviterId uint64 `protobuf:"varint,2,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"`
	// contains filtered or unexported fields
}

Represents a user rejecting an invite.

func (*Content_InviteRejected) Descriptor deprecated

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

Deprecated: Use Content_InviteRejected.ProtoReflect.Descriptor instead.

func (*Content_InviteRejected) GetInviteeId

func (x *Content_InviteRejected) GetInviteeId() uint64

func (*Content_InviteRejected) GetInviterId

func (x *Content_InviteRejected) GetInviterId() uint64

func (*Content_InviteRejected) MarshalToSizedBufferVT

func (m *Content_InviteRejected) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content_InviteRejected) MarshalToVT

func (m *Content_InviteRejected) MarshalToVT(dAtA []byte) (int, error)

func (*Content_InviteRejected) MarshalVT

func (m *Content_InviteRejected) MarshalVT() (dAtA []byte, err error)

func (*Content_InviteRejected) ProtoMessage

func (*Content_InviteRejected) ProtoMessage()

func (*Content_InviteRejected) ProtoReflect

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

func (*Content_InviteRejected) Reset

func (x *Content_InviteRejected) Reset()

func (*Content_InviteRejected) SizeVT

func (m *Content_InviteRejected) SizeVT() (n int)

func (*Content_InviteRejected) String

func (x *Content_InviteRejected) String() string

func (*Content_InviteRejected) UnmarshalVT

func (m *Content_InviteRejected) UnmarshalVT(dAtA []byte) error

type Content_InviteRejected_

type Content_InviteRejected_ struct {
	// A user rejected an invite.
	InviteRejected *Content_InviteRejected `protobuf:"bytes,5,opt,name=invite_rejected,json=inviteRejected,proto3,oneof"`
}

func (*Content_InviteRejected_) MarshalToSizedBufferVT

func (m *Content_InviteRejected_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content_InviteRejected_) MarshalToVT

func (m *Content_InviteRejected_) MarshalToVT(dAtA []byte) (int, error)

func (*Content_InviteRejected_) SizeVT

func (m *Content_InviteRejected_) SizeVT() (n int)

type Content_RoomUpgradedToGuild

type Content_RoomUpgradedToGuild struct {

	// User ID of the user that upgraded the guild.
	UpgradedBy uint64 `protobuf:"varint,1,opt,name=upgraded_by,json=upgradedBy,proto3" json:"upgraded_by,omitempty"`
	// contains filtered or unexported fields
}

Represents a guild upgrade from "room" to "normal".

func (*Content_RoomUpgradedToGuild) Descriptor deprecated

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

Deprecated: Use Content_RoomUpgradedToGuild.ProtoReflect.Descriptor instead.

func (*Content_RoomUpgradedToGuild) GetUpgradedBy

func (x *Content_RoomUpgradedToGuild) GetUpgradedBy() uint64

func (*Content_RoomUpgradedToGuild) MarshalToSizedBufferVT

func (m *Content_RoomUpgradedToGuild) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content_RoomUpgradedToGuild) MarshalToVT

func (m *Content_RoomUpgradedToGuild) MarshalToVT(dAtA []byte) (int, error)

func (*Content_RoomUpgradedToGuild) MarshalVT

func (m *Content_RoomUpgradedToGuild) MarshalVT() (dAtA []byte, err error)

func (*Content_RoomUpgradedToGuild) ProtoMessage

func (*Content_RoomUpgradedToGuild) ProtoMessage()

func (*Content_RoomUpgradedToGuild) ProtoReflect

func (*Content_RoomUpgradedToGuild) Reset

func (x *Content_RoomUpgradedToGuild) Reset()

func (*Content_RoomUpgradedToGuild) SizeVT

func (m *Content_RoomUpgradedToGuild) SizeVT() (n int)

func (*Content_RoomUpgradedToGuild) String

func (x *Content_RoomUpgradedToGuild) String() string

func (*Content_RoomUpgradedToGuild) UnmarshalVT

func (m *Content_RoomUpgradedToGuild) UnmarshalVT(dAtA []byte) error

type Content_RoomUpgradedToGuild_

type Content_RoomUpgradedToGuild_ struct {
	// A user upgraded a guild from "room" to "normal".
	RoomUpgradedToGuild *Content_RoomUpgradedToGuild `protobuf:"bytes,7,opt,name=room_upgraded_to_guild,json=roomUpgradedToGuild,proto3,oneof"`
}

func (*Content_RoomUpgradedToGuild_) MarshalToSizedBufferVT

func (m *Content_RoomUpgradedToGuild_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Content_RoomUpgradedToGuild_) MarshalToVT

func (m *Content_RoomUpgradedToGuild_) MarshalToVT(dAtA []byte) (int, error)

func (*Content_RoomUpgradedToGuild_) SizeVT

func (m *Content_RoomUpgradedToGuild_) SizeVT() (n int)

type CreateChannelRequest

type CreateChannelRequest struct {

	// Guild ID of the guild to create a channel in.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The name of this channel.
	ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	// The kind of this channel.
	Kind ChannelKind `protobuf:"varint,3,opt,name=kind,proto3,enum=protocol.chat.v1.ChannelKind" json:"kind,omitempty"`
	// The metadata of this channel.
	Metadata *v1.Metadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// The position of your new channel in the channel list.
	//
	// If not specified, it will be put at the bottom of the channel list.
	Position *v1.ItemPosition `protobuf:"bytes,5,opt,name=position,proto3,oneof" json:"position,omitempty"`
	// contains filtered or unexported fields
}

Channel Kinds:

Channel kinds specified in an official Harmony protocol will start with a "h." prefix. Third-party extensions should not use the "h." prefix. If no kind is specified, the channel is a text channel.

Kinds indicate additional functionality a channel may have: for example, h.voice can indicate that a channel has voice functionalities alongside the usual text fare.

Used in the `CreateChannel` endpoint.

func (*CreateChannelRequest) Descriptor deprecated

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

Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateChannelRequest) GetChannelName

func (x *CreateChannelRequest) GetChannelName() string

func (*CreateChannelRequest) GetGuildId

func (x *CreateChannelRequest) GetGuildId() uint64

func (*CreateChannelRequest) GetKind

func (x *CreateChannelRequest) GetKind() ChannelKind

func (*CreateChannelRequest) GetMetadata

func (x *CreateChannelRequest) GetMetadata() *v1.Metadata

func (*CreateChannelRequest) GetPosition

func (x *CreateChannelRequest) GetPosition() *v1.ItemPosition

func (*CreateChannelRequest) MarshalToSizedBufferVT

func (m *CreateChannelRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateChannelRequest) MarshalToVT

func (m *CreateChannelRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateChannelRequest) MarshalVT

func (m *CreateChannelRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateChannelRequest) ProtoMessage

func (*CreateChannelRequest) ProtoMessage()

func (*CreateChannelRequest) ProtoReflect

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

func (*CreateChannelRequest) Reset

func (x *CreateChannelRequest) Reset()

func (*CreateChannelRequest) SizeVT

func (m *CreateChannelRequest) SizeVT() (n int)

func (*CreateChannelRequest) String

func (x *CreateChannelRequest) String() string

func (*CreateChannelRequest) UnmarshalVT

func (m *CreateChannelRequest) UnmarshalVT(dAtA []byte) error

type CreateChannelResponse

type CreateChannelResponse struct {

	// ID of the channel that was created.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateChannel` endpoint.

func (*CreateChannelResponse) Descriptor deprecated

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

Deprecated: Use CreateChannelResponse.ProtoReflect.Descriptor instead.

func (*CreateChannelResponse) GetChannelId

func (x *CreateChannelResponse) GetChannelId() uint64

func (*CreateChannelResponse) MarshalToSizedBufferVT

func (m *CreateChannelResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateChannelResponse) MarshalToVT

func (m *CreateChannelResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateChannelResponse) MarshalVT

func (m *CreateChannelResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateChannelResponse) ProtoMessage

func (*CreateChannelResponse) ProtoMessage()

func (*CreateChannelResponse) ProtoReflect

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

func (*CreateChannelResponse) Reset

func (x *CreateChannelResponse) Reset()

func (*CreateChannelResponse) SizeVT

func (m *CreateChannelResponse) SizeVT() (n int)

func (*CreateChannelResponse) String

func (x *CreateChannelResponse) String() string

func (*CreateChannelResponse) UnmarshalVT

func (m *CreateChannelResponse) UnmarshalVT(dAtA []byte) error

type CreateDirectMessageRequest

type CreateDirectMessageRequest struct {

	// The user name of the user to DM with.
	UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// The server ID of the server the user is on.
	//
	// Should be left unspecified if it's a user on the homeserver.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateDirectMessage` endpoint.

func (*CreateDirectMessageRequest) Descriptor deprecated

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

Deprecated: Use CreateDirectMessageRequest.ProtoReflect.Descriptor instead.

func (*CreateDirectMessageRequest) GetServerId

func (x *CreateDirectMessageRequest) GetServerId() string

func (*CreateDirectMessageRequest) GetUserName

func (x *CreateDirectMessageRequest) GetUserName() string

func (*CreateDirectMessageRequest) MarshalToSizedBufferVT

func (m *CreateDirectMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateDirectMessageRequest) MarshalToVT

func (m *CreateDirectMessageRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateDirectMessageRequest) MarshalVT

func (m *CreateDirectMessageRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateDirectMessageRequest) ProtoMessage

func (*CreateDirectMessageRequest) ProtoMessage()

func (*CreateDirectMessageRequest) ProtoReflect

func (*CreateDirectMessageRequest) Reset

func (x *CreateDirectMessageRequest) Reset()

func (*CreateDirectMessageRequest) SizeVT

func (m *CreateDirectMessageRequest) SizeVT() (n int)

func (*CreateDirectMessageRequest) String

func (x *CreateDirectMessageRequest) String() string

func (*CreateDirectMessageRequest) UnmarshalVT

func (m *CreateDirectMessageRequest) UnmarshalVT(dAtA []byte) error

type CreateDirectMessageResponse

type CreateDirectMessageResponse struct {

	// Guild ID of the just created "direct message" guild.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateDirectMessage` endpoint.

func (*CreateDirectMessageResponse) Descriptor deprecated

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

Deprecated: Use CreateDirectMessageResponse.ProtoReflect.Descriptor instead.

func (*CreateDirectMessageResponse) GetGuildId

func (x *CreateDirectMessageResponse) GetGuildId() uint64

func (*CreateDirectMessageResponse) MarshalToSizedBufferVT

func (m *CreateDirectMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateDirectMessageResponse) MarshalToVT

func (m *CreateDirectMessageResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateDirectMessageResponse) MarshalVT

func (m *CreateDirectMessageResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateDirectMessageResponse) ProtoMessage

func (*CreateDirectMessageResponse) ProtoMessage()

func (*CreateDirectMessageResponse) ProtoReflect

func (*CreateDirectMessageResponse) Reset

func (x *CreateDirectMessageResponse) Reset()

func (*CreateDirectMessageResponse) SizeVT

func (m *CreateDirectMessageResponse) SizeVT() (n int)

func (*CreateDirectMessageResponse) String

func (x *CreateDirectMessageResponse) String() string

func (*CreateDirectMessageResponse) UnmarshalVT

func (m *CreateDirectMessageResponse) UnmarshalVT(dAtA []byte) error

type CreateGuildRequest

type CreateGuildRequest struct {

	// The name of the guild.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The picture file ID of the guild.
	Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
	// Metadata of the guild.
	Metadata *v1.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Request type used in `CreateGuild` endpoint.

func (*CreateGuildRequest) Descriptor deprecated

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

Deprecated: Use CreateGuildRequest.ProtoReflect.Descriptor instead.

func (*CreateGuildRequest) GetMetadata

func (x *CreateGuildRequest) GetMetadata() *v1.Metadata

func (*CreateGuildRequest) GetName

func (x *CreateGuildRequest) GetName() string

func (*CreateGuildRequest) GetPicture

func (x *CreateGuildRequest) GetPicture() string

func (*CreateGuildRequest) MarshalToSizedBufferVT

func (m *CreateGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateGuildRequest) MarshalToVT

func (m *CreateGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateGuildRequest) MarshalVT

func (m *CreateGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateGuildRequest) ProtoMessage

func (*CreateGuildRequest) ProtoMessage()

func (*CreateGuildRequest) ProtoReflect

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

func (*CreateGuildRequest) Reset

func (x *CreateGuildRequest) Reset()

func (*CreateGuildRequest) SizeVT

func (m *CreateGuildRequest) SizeVT() (n int)

func (*CreateGuildRequest) String

func (x *CreateGuildRequest) String() string

func (*CreateGuildRequest) UnmarshalVT

func (m *CreateGuildRequest) UnmarshalVT(dAtA []byte) error

type CreateGuildResponse

type CreateGuildResponse struct {

	// Guild ID of the guild that was created.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateGuild` endpoint.

func (*CreateGuildResponse) Descriptor deprecated

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

Deprecated: Use CreateGuildResponse.ProtoReflect.Descriptor instead.

func (*CreateGuildResponse) GetGuildId

func (x *CreateGuildResponse) GetGuildId() uint64

func (*CreateGuildResponse) MarshalToSizedBufferVT

func (m *CreateGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateGuildResponse) MarshalToVT

func (m *CreateGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateGuildResponse) MarshalVT

func (m *CreateGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateGuildResponse) ProtoMessage

func (*CreateGuildResponse) ProtoMessage()

func (*CreateGuildResponse) ProtoReflect

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

func (*CreateGuildResponse) Reset

func (x *CreateGuildResponse) Reset()

func (*CreateGuildResponse) SizeVT

func (m *CreateGuildResponse) SizeVT() (n int)

func (*CreateGuildResponse) String

func (x *CreateGuildResponse) String() string

func (*CreateGuildResponse) UnmarshalVT

func (m *CreateGuildResponse) UnmarshalVT(dAtA []byte) error

type CreateInviteRequest

type CreateInviteRequest struct {

	// Guild ID of the guild to create an invite in.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The name of the invite.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The possible uses of the invite.
	//
	// A possible use of `0` means that the invite can be used infinitely many times.
	PossibleUses uint32 `protobuf:"varint,3,opt,name=possible_uses,json=possibleUses,proto3" json:"possible_uses,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateInvite` endpoint.

func (*CreateInviteRequest) Descriptor deprecated

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

Deprecated: Use CreateInviteRequest.ProtoReflect.Descriptor instead.

func (*CreateInviteRequest) GetGuildId

func (x *CreateInviteRequest) GetGuildId() uint64

func (*CreateInviteRequest) GetName

func (x *CreateInviteRequest) GetName() string

func (*CreateInviteRequest) GetPossibleUses

func (x *CreateInviteRequest) GetPossibleUses() uint32

func (*CreateInviteRequest) MarshalToSizedBufferVT

func (m *CreateInviteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateInviteRequest) MarshalToVT

func (m *CreateInviteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateInviteRequest) MarshalVT

func (m *CreateInviteRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateInviteRequest) ProtoMessage

func (*CreateInviteRequest) ProtoMessage()

func (*CreateInviteRequest) ProtoReflect

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

func (*CreateInviteRequest) Reset

func (x *CreateInviteRequest) Reset()

func (*CreateInviteRequest) SizeVT

func (m *CreateInviteRequest) SizeVT() (n int)

func (*CreateInviteRequest) String

func (x *CreateInviteRequest) String() string

func (*CreateInviteRequest) UnmarshalVT

func (m *CreateInviteRequest) UnmarshalVT(dAtA []byte) error

type CreateInviteResponse

type CreateInviteResponse struct {

	// The invite ID of the invite that was created.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateInvite` endpoint.

func (*CreateInviteResponse) Descriptor deprecated

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

Deprecated: Use CreateInviteResponse.ProtoReflect.Descriptor instead.

func (*CreateInviteResponse) GetInviteId

func (x *CreateInviteResponse) GetInviteId() string

func (*CreateInviteResponse) MarshalToSizedBufferVT

func (m *CreateInviteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateInviteResponse) MarshalToVT

func (m *CreateInviteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateInviteResponse) MarshalVT

func (m *CreateInviteResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateInviteResponse) ProtoMessage

func (*CreateInviteResponse) ProtoMessage()

func (*CreateInviteResponse) ProtoReflect

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

func (*CreateInviteResponse) Reset

func (x *CreateInviteResponse) Reset()

func (*CreateInviteResponse) SizeVT

func (m *CreateInviteResponse) SizeVT() (n int)

func (*CreateInviteResponse) String

func (x *CreateInviteResponse) String() string

func (*CreateInviteResponse) UnmarshalVT

func (m *CreateInviteResponse) UnmarshalVT(dAtA []byte) error

type CreateRoomRequest

type CreateRoomRequest struct {

	// The name of the guild.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The picture file ID of the guild.
	Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
	// Metadata of the guild.
	Metadata *v1.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Request type used in `CreateRoom` endpoint.

func (*CreateRoomRequest) Descriptor deprecated

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

Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.

func (*CreateRoomRequest) GetMetadata

func (x *CreateRoomRequest) GetMetadata() *v1.Metadata

func (*CreateRoomRequest) GetName

func (x *CreateRoomRequest) GetName() string

func (*CreateRoomRequest) GetPicture

func (x *CreateRoomRequest) GetPicture() string

func (*CreateRoomRequest) MarshalToSizedBufferVT

func (m *CreateRoomRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateRoomRequest) MarshalToVT

func (m *CreateRoomRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateRoomRequest) MarshalVT

func (m *CreateRoomRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateRoomRequest) ProtoMessage

func (*CreateRoomRequest) ProtoMessage()

func (*CreateRoomRequest) ProtoReflect

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

func (*CreateRoomRequest) Reset

func (x *CreateRoomRequest) Reset()

func (*CreateRoomRequest) SizeVT

func (m *CreateRoomRequest) SizeVT() (n int)

func (*CreateRoomRequest) String

func (x *CreateRoomRequest) String() string

func (*CreateRoomRequest) UnmarshalVT

func (m *CreateRoomRequest) UnmarshalVT(dAtA []byte) error

type CreateRoomResponse

type CreateRoomResponse struct {

	// Guild ID of the guild that was created.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `CreateRoom` endpoint.

func (*CreateRoomResponse) Descriptor deprecated

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

Deprecated: Use CreateRoomResponse.ProtoReflect.Descriptor instead.

func (*CreateRoomResponse) GetGuildId

func (x *CreateRoomResponse) GetGuildId() uint64

func (*CreateRoomResponse) MarshalToSizedBufferVT

func (m *CreateRoomResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateRoomResponse) MarshalToVT

func (m *CreateRoomResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateRoomResponse) MarshalVT

func (m *CreateRoomResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateRoomResponse) ProtoMessage

func (*CreateRoomResponse) ProtoMessage()

func (*CreateRoomResponse) ProtoReflect

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

func (*CreateRoomResponse) Reset

func (x *CreateRoomResponse) Reset()

func (*CreateRoomResponse) SizeVT

func (m *CreateRoomResponse) SizeVT() (n int)

func (*CreateRoomResponse) String

func (x *CreateRoomResponse) String() string

func (*CreateRoomResponse) UnmarshalVT

func (m *CreateRoomResponse) UnmarshalVT(dAtA []byte) error

type DeleteChannelRequest

type DeleteChannelRequest struct {

	// Guild ID of the guild that has the channel.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel you want to delete.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `DeleteChannel` endpoint.

func (*DeleteChannelRequest) Descriptor deprecated

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

Deprecated: Use DeleteChannelRequest.ProtoReflect.Descriptor instead.

func (*DeleteChannelRequest) GetChannelId

func (x *DeleteChannelRequest) GetChannelId() uint64

func (*DeleteChannelRequest) GetGuildId

func (x *DeleteChannelRequest) GetGuildId() uint64

func (*DeleteChannelRequest) MarshalToSizedBufferVT

func (m *DeleteChannelRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteChannelRequest) MarshalToVT

func (m *DeleteChannelRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteChannelRequest) MarshalVT

func (m *DeleteChannelRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteChannelRequest) ProtoMessage

func (*DeleteChannelRequest) ProtoMessage()

func (*DeleteChannelRequest) ProtoReflect

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

func (*DeleteChannelRequest) Reset

func (x *DeleteChannelRequest) Reset()

func (*DeleteChannelRequest) SizeVT

func (m *DeleteChannelRequest) SizeVT() (n int)

func (*DeleteChannelRequest) String

func (x *DeleteChannelRequest) String() string

func (*DeleteChannelRequest) UnmarshalVT

func (m *DeleteChannelRequest) UnmarshalVT(dAtA []byte) error

type DeleteChannelResponse

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

Used in the `DeleteChannel` endpoint.

func (*DeleteChannelResponse) Descriptor deprecated

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

Deprecated: Use DeleteChannelResponse.ProtoReflect.Descriptor instead.

func (*DeleteChannelResponse) MarshalToSizedBufferVT

func (m *DeleteChannelResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteChannelResponse) MarshalToVT

func (m *DeleteChannelResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteChannelResponse) MarshalVT

func (m *DeleteChannelResponse) MarshalVT() (dAtA []byte, err error)

func (*DeleteChannelResponse) ProtoMessage

func (*DeleteChannelResponse) ProtoMessage()

func (*DeleteChannelResponse) ProtoReflect

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

func (*DeleteChannelResponse) Reset

func (x *DeleteChannelResponse) Reset()

func (*DeleteChannelResponse) SizeVT

func (m *DeleteChannelResponse) SizeVT() (n int)

func (*DeleteChannelResponse) String

func (x *DeleteChannelResponse) String() string

func (*DeleteChannelResponse) UnmarshalVT

func (m *DeleteChannelResponse) UnmarshalVT(dAtA []byte) error

type DeleteGuildRequest

type DeleteGuildRequest struct {

	// Guild ID of the guild you want to delete.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `DeleteGuild` endpoint.

func (*DeleteGuildRequest) Descriptor deprecated

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

Deprecated: Use DeleteGuildRequest.ProtoReflect.Descriptor instead.

func (*DeleteGuildRequest) GetGuildId

func (x *DeleteGuildRequest) GetGuildId() uint64

func (*DeleteGuildRequest) MarshalToSizedBufferVT

func (m *DeleteGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteGuildRequest) MarshalToVT

func (m *DeleteGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteGuildRequest) MarshalVT

func (m *DeleteGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteGuildRequest) ProtoMessage

func (*DeleteGuildRequest) ProtoMessage()

func (*DeleteGuildRequest) ProtoReflect

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

func (*DeleteGuildRequest) Reset

func (x *DeleteGuildRequest) Reset()

func (*DeleteGuildRequest) SizeVT

func (m *DeleteGuildRequest) SizeVT() (n int)

func (*DeleteGuildRequest) String

func (x *DeleteGuildRequest) String() string

func (*DeleteGuildRequest) UnmarshalVT

func (m *DeleteGuildRequest) UnmarshalVT(dAtA []byte) error

type DeleteGuildResponse

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

Used in the `DeleteGuild` endpoint.

func (*DeleteGuildResponse) Descriptor deprecated

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

Deprecated: Use DeleteGuildResponse.ProtoReflect.Descriptor instead.

func (*DeleteGuildResponse) MarshalToSizedBufferVT

func (m *DeleteGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteGuildResponse) MarshalToVT

func (m *DeleteGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteGuildResponse) MarshalVT

func (m *DeleteGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*DeleteGuildResponse) ProtoMessage

func (*DeleteGuildResponse) ProtoMessage()

func (*DeleteGuildResponse) ProtoReflect

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

func (*DeleteGuildResponse) Reset

func (x *DeleteGuildResponse) Reset()

func (*DeleteGuildResponse) SizeVT

func (m *DeleteGuildResponse) SizeVT() (n int)

func (*DeleteGuildResponse) String

func (x *DeleteGuildResponse) String() string

func (*DeleteGuildResponse) UnmarshalVT

func (m *DeleteGuildResponse) UnmarshalVT(dAtA []byte) error

type DeleteGuildRoleRequest

type DeleteGuildRoleRequest struct {

	// The guild ID to delete the role from.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The role ID to delete.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `DeleteGuildRole` endpoint.

func (*DeleteGuildRoleRequest) Descriptor deprecated

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

Deprecated: Use DeleteGuildRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteGuildRoleRequest) GetGuildId

func (x *DeleteGuildRoleRequest) GetGuildId() uint64

func (*DeleteGuildRoleRequest) GetRoleId

func (x *DeleteGuildRoleRequest) GetRoleId() uint64

func (*DeleteGuildRoleRequest) MarshalToSizedBufferVT

func (m *DeleteGuildRoleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteGuildRoleRequest) MarshalToVT

func (m *DeleteGuildRoleRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteGuildRoleRequest) MarshalVT

func (m *DeleteGuildRoleRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteGuildRoleRequest) ProtoMessage

func (*DeleteGuildRoleRequest) ProtoMessage()

func (*DeleteGuildRoleRequest) ProtoReflect

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

func (*DeleteGuildRoleRequest) Reset

func (x *DeleteGuildRoleRequest) Reset()

func (*DeleteGuildRoleRequest) SizeVT

func (m *DeleteGuildRoleRequest) SizeVT() (n int)

func (*DeleteGuildRoleRequest) String

func (x *DeleteGuildRoleRequest) String() string

func (*DeleteGuildRoleRequest) UnmarshalVT

func (m *DeleteGuildRoleRequest) UnmarshalVT(dAtA []byte) error

type DeleteGuildRoleResponse

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

Used in the `DeleteGuildRole` endpoint.

func (*DeleteGuildRoleResponse) Descriptor deprecated

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

Deprecated: Use DeleteGuildRoleResponse.ProtoReflect.Descriptor instead.

func (*DeleteGuildRoleResponse) MarshalToSizedBufferVT

func (m *DeleteGuildRoleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteGuildRoleResponse) MarshalToVT

func (m *DeleteGuildRoleResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteGuildRoleResponse) MarshalVT

func (m *DeleteGuildRoleResponse) MarshalVT() (dAtA []byte, err error)

func (*DeleteGuildRoleResponse) ProtoMessage

func (*DeleteGuildRoleResponse) ProtoMessage()

func (*DeleteGuildRoleResponse) ProtoReflect

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

func (*DeleteGuildRoleResponse) Reset

func (x *DeleteGuildRoleResponse) Reset()

func (*DeleteGuildRoleResponse) SizeVT

func (m *DeleteGuildRoleResponse) SizeVT() (n int)

func (*DeleteGuildRoleResponse) String

func (x *DeleteGuildRoleResponse) String() string

func (*DeleteGuildRoleResponse) UnmarshalVT

func (m *DeleteGuildRoleResponse) UnmarshalVT(dAtA []byte) error

type DeleteInviteRequest

type DeleteInviteRequest struct {

	// Guild ID of the guild where the invite is located.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Invite ID of the invite you want to delete.
	InviteId string `protobuf:"bytes,2,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `DeleteInvite` endpoint.

func (*DeleteInviteRequest) Descriptor deprecated

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

Deprecated: Use DeleteInviteRequest.ProtoReflect.Descriptor instead.

func (*DeleteInviteRequest) GetGuildId

func (x *DeleteInviteRequest) GetGuildId() uint64

func (*DeleteInviteRequest) GetInviteId

func (x *DeleteInviteRequest) GetInviteId() string

func (*DeleteInviteRequest) MarshalToSizedBufferVT

func (m *DeleteInviteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteInviteRequest) MarshalToVT

func (m *DeleteInviteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteInviteRequest) MarshalVT

func (m *DeleteInviteRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteInviteRequest) ProtoMessage

func (*DeleteInviteRequest) ProtoMessage()

func (*DeleteInviteRequest) ProtoReflect

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

func (*DeleteInviteRequest) Reset

func (x *DeleteInviteRequest) Reset()

func (*DeleteInviteRequest) SizeVT

func (m *DeleteInviteRequest) SizeVT() (n int)

func (*DeleteInviteRequest) String

func (x *DeleteInviteRequest) String() string

func (*DeleteInviteRequest) UnmarshalVT

func (m *DeleteInviteRequest) UnmarshalVT(dAtA []byte) error

type DeleteInviteResponse

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

Used in the `DeleteInvite` endpoint.

func (*DeleteInviteResponse) Descriptor deprecated

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

Deprecated: Use DeleteInviteResponse.ProtoReflect.Descriptor instead.

func (*DeleteInviteResponse) MarshalToSizedBufferVT

func (m *DeleteInviteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteInviteResponse) MarshalToVT

func (m *DeleteInviteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteInviteResponse) MarshalVT

func (m *DeleteInviteResponse) MarshalVT() (dAtA []byte, err error)

func (*DeleteInviteResponse) ProtoMessage

func (*DeleteInviteResponse) ProtoMessage()

func (*DeleteInviteResponse) ProtoReflect

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

func (*DeleteInviteResponse) Reset

func (x *DeleteInviteResponse) Reset()

func (*DeleteInviteResponse) SizeVT

func (m *DeleteInviteResponse) SizeVT() (n int)

func (*DeleteInviteResponse) String

func (x *DeleteInviteResponse) String() string

func (*DeleteInviteResponse) UnmarshalVT

func (m *DeleteInviteResponse) UnmarshalVT(dAtA []byte) error

type DeleteMessageRequest

type DeleteMessageRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message you want to delete.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `DeleteMessage` endpoint.

func (*DeleteMessageRequest) Descriptor deprecated

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

Deprecated: Use DeleteMessageRequest.ProtoReflect.Descriptor instead.

func (*DeleteMessageRequest) GetChannelId

func (x *DeleteMessageRequest) GetChannelId() uint64

func (*DeleteMessageRequest) GetGuildId

func (x *DeleteMessageRequest) GetGuildId() uint64

func (*DeleteMessageRequest) GetMessageId

func (x *DeleteMessageRequest) GetMessageId() uint64

func (*DeleteMessageRequest) MarshalToSizedBufferVT

func (m *DeleteMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteMessageRequest) MarshalToVT

func (m *DeleteMessageRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteMessageRequest) MarshalVT

func (m *DeleteMessageRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteMessageRequest) ProtoMessage

func (*DeleteMessageRequest) ProtoMessage()

func (*DeleteMessageRequest) ProtoReflect

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

func (*DeleteMessageRequest) Reset

func (x *DeleteMessageRequest) Reset()

func (*DeleteMessageRequest) SizeVT

func (m *DeleteMessageRequest) SizeVT() (n int)

func (*DeleteMessageRequest) String

func (x *DeleteMessageRequest) String() string

func (*DeleteMessageRequest) UnmarshalVT

func (m *DeleteMessageRequest) UnmarshalVT(dAtA []byte) error

type DeleteMessageResponse

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

Used in the `DeleteMessage` endpoint.

func (*DeleteMessageResponse) Descriptor deprecated

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

Deprecated: Use DeleteMessageResponse.ProtoReflect.Descriptor instead.

func (*DeleteMessageResponse) MarshalToSizedBufferVT

func (m *DeleteMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteMessageResponse) MarshalToVT

func (m *DeleteMessageResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteMessageResponse) MarshalVT

func (m *DeleteMessageResponse) MarshalVT() (dAtA []byte, err error)

func (*DeleteMessageResponse) ProtoMessage

func (*DeleteMessageResponse) ProtoMessage()

func (*DeleteMessageResponse) ProtoReflect

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

func (*DeleteMessageResponse) Reset

func (x *DeleteMessageResponse) Reset()

func (*DeleteMessageResponse) SizeVT

func (m *DeleteMessageResponse) SizeVT() (n int)

func (*DeleteMessageResponse) String

func (x *DeleteMessageResponse) String() string

func (*DeleteMessageResponse) UnmarshalVT

func (m *DeleteMessageResponse) UnmarshalVT(dAtA []byte) error

type Embed

type Embed struct {

	// Embed heading for the header.
	Header *Embed_Heading `protobuf:"bytes,1,opt,name=header,proto3,oneof" json:"header,omitempty"`
	// Title of this embed.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Body text of this embed.
	Body *FormattedText `protobuf:"bytes,3,opt,name=body,proto3,oneof" json:"body,omitempty"`
	// Fields of this embed.
	Fields []*Embed_Field `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	// An image to display on this embed.
	Image *Embed_Image `protobuf:"bytes,5,opt,name=image,proto3,oneof" json:"image,omitempty"`
	// Actions to show on this field.
	Actions []*Action `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"`
	// Embed heading for the footer.
	Footer *Embed_Heading `protobuf:"bytes,7,opt,name=footer,proto3,oneof" json:"footer,omitempty"`
	// Color of this embed.
	Color *int32 `protobuf:"varint,8,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// contains filtered or unexported fields
}

Object representing a message embed.

func (*Embed) Descriptor deprecated

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

Deprecated: Use Embed.ProtoReflect.Descriptor instead.

func (*Embed) GetActions

func (x *Embed) GetActions() []*Action

func (*Embed) GetBody

func (x *Embed) GetBody() *FormattedText

func (*Embed) GetColor

func (x *Embed) GetColor() int32

func (*Embed) GetFields

func (x *Embed) GetFields() []*Embed_Field

func (*Embed) GetFooter

func (x *Embed) GetFooter() *Embed_Heading

func (*Embed) GetHeader

func (x *Embed) GetHeader() *Embed_Heading

func (*Embed) GetImage

func (x *Embed) GetImage() *Embed_Image

func (*Embed) GetTitle

func (x *Embed) GetTitle() string

func (*Embed) MarshalToSizedBufferVT

func (m *Embed) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Embed) MarshalToVT

func (m *Embed) MarshalToVT(dAtA []byte) (int, error)

func (*Embed) MarshalVT

func (m *Embed) MarshalVT() (dAtA []byte, err error)

func (*Embed) ProtoMessage

func (*Embed) ProtoMessage()

func (*Embed) ProtoReflect

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

func (*Embed) Reset

func (x *Embed) Reset()

func (*Embed) SizeVT

func (m *Embed) SizeVT() (n int)

func (*Embed) String

func (x *Embed) String() string

func (*Embed) UnmarshalVT

func (m *Embed) UnmarshalVT(dAtA []byte) error

type Embed_Field

type Embed_Field struct {

	// Title of this field (what is it?).
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Body of this field.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

A field for the embed. Fields usually contain small information and are not meant to be used for huge chunks of text.

func (*Embed_Field) Descriptor deprecated

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

Deprecated: Use Embed_Field.ProtoReflect.Descriptor instead.

func (*Embed_Field) GetBody

func (x *Embed_Field) GetBody() string

func (*Embed_Field) GetTitle

func (x *Embed_Field) GetTitle() string

func (*Embed_Field) MarshalToSizedBufferVT

func (m *Embed_Field) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Embed_Field) MarshalToVT

func (m *Embed_Field) MarshalToVT(dAtA []byte) (int, error)

func (*Embed_Field) MarshalVT

func (m *Embed_Field) MarshalVT() (dAtA []byte, err error)

func (*Embed_Field) ProtoMessage

func (*Embed_Field) ProtoMessage()

func (*Embed_Field) ProtoReflect

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

func (*Embed_Field) Reset

func (x *Embed_Field) Reset()

func (*Embed_Field) SizeVT

func (m *Embed_Field) SizeVT() (n int)

func (*Embed_Field) String

func (x *Embed_Field) String() string

func (*Embed_Field) UnmarshalVT

func (m *Embed_Field) UnmarshalVT(dAtA []byte) error

type Embed_Heading

type Embed_Heading struct {

	// Text of the heading.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// URL of the heading.
	//
	// If this is provided, clients should make it so that
	// interacting with the heading opens this URL, for example
	// clicking on it.
	Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// Icon of the heading. This must be a file ID that points
	// to an image.
	Icon *string `protobuf:"bytes,3,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

Object representing an embed heading.

func (*Embed_Heading) Descriptor deprecated

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

Deprecated: Use Embed_Heading.ProtoReflect.Descriptor instead.

func (*Embed_Heading) GetIcon

func (x *Embed_Heading) GetIcon() string

func (*Embed_Heading) GetText

func (x *Embed_Heading) GetText() string

func (*Embed_Heading) GetUrl

func (x *Embed_Heading) GetUrl() string

func (*Embed_Heading) MarshalToSizedBufferVT

func (m *Embed_Heading) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Embed_Heading) MarshalToVT

func (m *Embed_Heading) MarshalToVT(dAtA []byte) (int, error)

func (*Embed_Heading) MarshalVT

func (m *Embed_Heading) MarshalVT() (dAtA []byte, err error)

func (*Embed_Heading) ProtoMessage

func (*Embed_Heading) ProtoMessage()

func (*Embed_Heading) ProtoReflect

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

func (*Embed_Heading) Reset

func (x *Embed_Heading) Reset()

func (*Embed_Heading) SizeVT

func (m *Embed_Heading) SizeVT() (n int)

func (*Embed_Heading) String

func (x *Embed_Heading) String() string

func (*Embed_Heading) UnmarshalVT

func (m *Embed_Heading) UnmarshalVT(dAtA []byte) error

type Embed_Image

type Embed_Image struct {

	// File ID or external image URL of an image.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The width of the image, in pixels.
	Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	// The height of the image, in pixels.
	Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

Data for displaying an image in embed.

Servers should fill in the `width` and `height` fields, if the provided `id` is not external.

func (*Embed_Image) Descriptor deprecated

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

Deprecated: Use Embed_Image.ProtoReflect.Descriptor instead.

func (*Embed_Image) GetHeight

func (x *Embed_Image) GetHeight() uint32

func (*Embed_Image) GetId

func (x *Embed_Image) GetId() string

func (*Embed_Image) GetWidth

func (x *Embed_Image) GetWidth() uint32

func (*Embed_Image) MarshalToSizedBufferVT

func (m *Embed_Image) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Embed_Image) MarshalToVT

func (m *Embed_Image) MarshalToVT(dAtA []byte) (int, error)

func (*Embed_Image) MarshalVT

func (m *Embed_Image) MarshalVT() (dAtA []byte, err error)

func (*Embed_Image) ProtoMessage

func (*Embed_Image) ProtoMessage()

func (*Embed_Image) ProtoReflect

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

func (*Embed_Image) Reset

func (x *Embed_Image) Reset()

func (*Embed_Image) SizeVT

func (m *Embed_Image) SizeVT() (n int)

func (*Embed_Image) String

func (x *Embed_Image) String() string

func (*Embed_Image) UnmarshalVT

func (m *Embed_Image) UnmarshalVT(dAtA []byte) error

type Format

type Format struct {

	// Where the format begins to apply to.
	Start uint32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// How many characters the format is.
	Length uint32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	// The style if format to apply to this text.
	//
	// Types that are assignable to Format:
	//	*Format_Bold_
	//	*Format_Italic_
	//	*Format_Underline_
	//	*Format_Monospace_
	//	*Format_Superscript_
	//	*Format_Subscript_
	//	*Format_CodeBlock_
	//	*Format_UserMention_
	//	*Format_RoleMention_
	//	*Format_ChannelMention_
	//	*Format_GuildMention_
	//	*Format_Emoji_
	//	*Format_Color_
	Format isFormat_Format `protobuf_oneof:"format"`
	// contains filtered or unexported fields
}

A format for text.

func (*Format) Descriptor deprecated

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

Deprecated: Use Format.ProtoReflect.Descriptor instead.

func (*Format) GetBold

func (x *Format) GetBold() *Format_Bold

func (*Format) GetChannelMention

func (x *Format) GetChannelMention() *Format_ChannelMention

func (*Format) GetCodeBlock

func (x *Format) GetCodeBlock() *Format_CodeBlock

func (*Format) GetColor

func (x *Format) GetColor() *Format_Color

func (*Format) GetEmoji

func (x *Format) GetEmoji() *Format_Emoji

func (*Format) GetFormat

func (m *Format) GetFormat() isFormat_Format

func (*Format) GetGuildMention

func (x *Format) GetGuildMention() *Format_GuildMention

func (*Format) GetItalic

func (x *Format) GetItalic() *Format_Italic

func (*Format) GetLength

func (x *Format) GetLength() uint32

func (*Format) GetMonospace

func (x *Format) GetMonospace() *Format_Monospace

func (*Format) GetRoleMention

func (x *Format) GetRoleMention() *Format_RoleMention

func (*Format) GetStart

func (x *Format) GetStart() uint32

func (*Format) GetSubscript

func (x *Format) GetSubscript() *Format_Subscript

func (*Format) GetSuperscript

func (x *Format) GetSuperscript() *Format_Superscript

func (*Format) GetUnderline

func (x *Format) GetUnderline() *Format_Underline

func (*Format) GetUserMention

func (x *Format) GetUserMention() *Format_UserMention

func (*Format) MarshalToSizedBufferVT

func (m *Format) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format) MarshalToVT

func (m *Format) MarshalToVT(dAtA []byte) (int, error)

func (*Format) MarshalVT

func (m *Format) MarshalVT() (dAtA []byte, err error)

func (*Format) ProtoMessage

func (*Format) ProtoMessage()

func (*Format) ProtoReflect

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

func (*Format) Reset

func (x *Format) Reset()

func (*Format) SizeVT

func (m *Format) SizeVT() (n int)

func (*Format) String

func (x *Format) String() string

func (*Format) UnmarshalVT

func (m *Format) UnmarshalVT(dAtA []byte) error

type Format_Bold

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

Bold text.

func (*Format_Bold) Descriptor deprecated

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

Deprecated: Use Format_Bold.ProtoReflect.Descriptor instead.

func (*Format_Bold) MarshalToSizedBufferVT

func (m *Format_Bold) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Bold) MarshalToVT

func (m *Format_Bold) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Bold) MarshalVT

func (m *Format_Bold) MarshalVT() (dAtA []byte, err error)

func (*Format_Bold) ProtoMessage

func (*Format_Bold) ProtoMessage()

func (*Format_Bold) ProtoReflect

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

func (*Format_Bold) Reset

func (x *Format_Bold) Reset()

func (*Format_Bold) SizeVT

func (m *Format_Bold) SizeVT() (n int)

func (*Format_Bold) String

func (x *Format_Bold) String() string

func (*Format_Bold) UnmarshalVT

func (m *Format_Bold) UnmarshalVT(dAtA []byte) error

type Format_Bold_

type Format_Bold_ struct {
	// A text format for bold text.
	Bold *Format_Bold `protobuf:"bytes,3,opt,name=bold,proto3,oneof"`
}

func (*Format_Bold_) MarshalToSizedBufferVT

func (m *Format_Bold_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Bold_) MarshalToVT

func (m *Format_Bold_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Bold_) SizeVT

func (m *Format_Bold_) SizeVT() (n int)

type Format_ChannelMention

type Format_ChannelMention struct {

	// The channel being mentioned.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Mention of a channel (on the current guild).

func (*Format_ChannelMention) Descriptor deprecated

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

Deprecated: Use Format_ChannelMention.ProtoReflect.Descriptor instead.

func (*Format_ChannelMention) GetChannelId

func (x *Format_ChannelMention) GetChannelId() uint64

func (*Format_ChannelMention) MarshalToSizedBufferVT

func (m *Format_ChannelMention) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_ChannelMention) MarshalToVT

func (m *Format_ChannelMention) MarshalToVT(dAtA []byte) (int, error)

func (*Format_ChannelMention) MarshalVT

func (m *Format_ChannelMention) MarshalVT() (dAtA []byte, err error)

func (*Format_ChannelMention) ProtoMessage

func (*Format_ChannelMention) ProtoMessage()

func (*Format_ChannelMention) ProtoReflect

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

func (*Format_ChannelMention) Reset

func (x *Format_ChannelMention) Reset()

func (*Format_ChannelMention) SizeVT

func (m *Format_ChannelMention) SizeVT() (n int)

func (*Format_ChannelMention) String

func (x *Format_ChannelMention) String() string

func (*Format_ChannelMention) UnmarshalVT

func (m *Format_ChannelMention) UnmarshalVT(dAtA []byte) error

type Format_ChannelMention_

type Format_ChannelMention_ struct {
	// A text format for a channel mention.
	ChannelMention *Format_ChannelMention `protobuf:"bytes,12,opt,name=channel_mention,json=channelMention,proto3,oneof"`
}

func (*Format_ChannelMention_) MarshalToSizedBufferVT

func (m *Format_ChannelMention_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_ChannelMention_) MarshalToVT

func (m *Format_ChannelMention_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_ChannelMention_) SizeVT

func (m *Format_ChannelMention_) SizeVT() (n int)

type Format_CodeBlock

type Format_CodeBlock struct {

	// Programming language of the code block.
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

A larger codeblock, with a programming language specified.

Clients should ideally not bound the width of codeblock messages, possibly scrolling the codeblock horizontally separately from the rest of the message.

func (*Format_CodeBlock) Descriptor deprecated

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

Deprecated: Use Format_CodeBlock.ProtoReflect.Descriptor instead.

func (*Format_CodeBlock) GetLanguage

func (x *Format_CodeBlock) GetLanguage() string

func (*Format_CodeBlock) MarshalToSizedBufferVT

func (m *Format_CodeBlock) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_CodeBlock) MarshalToVT

func (m *Format_CodeBlock) MarshalToVT(dAtA []byte) (int, error)

func (*Format_CodeBlock) MarshalVT

func (m *Format_CodeBlock) MarshalVT() (dAtA []byte, err error)

func (*Format_CodeBlock) ProtoMessage

func (*Format_CodeBlock) ProtoMessage()

func (*Format_CodeBlock) ProtoReflect

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

func (*Format_CodeBlock) Reset

func (x *Format_CodeBlock) Reset()

func (*Format_CodeBlock) SizeVT

func (m *Format_CodeBlock) SizeVT() (n int)

func (*Format_CodeBlock) String

func (x *Format_CodeBlock) String() string

func (*Format_CodeBlock) UnmarshalVT

func (m *Format_CodeBlock) UnmarshalVT(dAtA []byte) error

type Format_CodeBlock_

type Format_CodeBlock_ struct {
	// A text format for a codeblock.
	CodeBlock *Format_CodeBlock `protobuf:"bytes,9,opt,name=code_block,json=codeBlock,proto3,oneof"`
}

func (*Format_CodeBlock_) MarshalToSizedBufferVT

func (m *Format_CodeBlock_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_CodeBlock_) MarshalToVT

func (m *Format_CodeBlock_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_CodeBlock_) SizeVT

func (m *Format_CodeBlock_) SizeVT() (n int)

type Format_Color

type Format_Color struct {

	// The kind of colour modification to apply.
	Kind Format_Color_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=protocol.chat.v1.Format_Color_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Colour modification.

func (*Format_Color) Descriptor deprecated

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

Deprecated: Use Format_Color.ProtoReflect.Descriptor instead.

func (*Format_Color) GetKind

func (x *Format_Color) GetKind() Format_Color_Kind

func (*Format_Color) MarshalToSizedBufferVT

func (m *Format_Color) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Color) MarshalToVT

func (m *Format_Color) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Color) MarshalVT

func (m *Format_Color) MarshalVT() (dAtA []byte, err error)

func (*Format_Color) ProtoMessage

func (*Format_Color) ProtoMessage()

func (*Format_Color) ProtoReflect

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

func (*Format_Color) Reset

func (x *Format_Color) Reset()

func (*Format_Color) SizeVT

func (m *Format_Color) SizeVT() (n int)

func (*Format_Color) String

func (x *Format_Color) String() string

func (*Format_Color) UnmarshalVT

func (m *Format_Color) UnmarshalVT(dAtA []byte) error

type Format_Color_

type Format_Color_ struct {
	// A text format for coloured text.
	Color *Format_Color `protobuf:"bytes,15,opt,name=color,proto3,oneof"`
}

func (*Format_Color_) MarshalToSizedBufferVT

func (m *Format_Color_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Color_) MarshalToVT

func (m *Format_Color_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Color_) SizeVT

func (m *Format_Color_) SizeVT() (n int)

type Format_Color_Kind

type Format_Color_Kind int32

The kind of colour modification to apply.

const (
	// Dimmed colour.
	Format_Color_KIND_DIM_UNSPECIFIED Format_Color_Kind = 0
	// Brightened colour.
	Format_Color_KIND_BRIGHT Format_Color_Kind = 1
	// Negative colour (usually red).
	Format_Color_KIND_NEGATIVE Format_Color_Kind = 2
	// Positive colour (usually green).
	Format_Color_KIND_POSITIVE Format_Color_Kind = 3
	// Informational colour (usually blue).
	Format_Color_KIND_INFO Format_Color_Kind = 4
	// Warning colour (usually yellow-orange).
	Format_Color_KIND_WARNING Format_Color_Kind = 5
)

func (Format_Color_Kind) Descriptor

func (Format_Color_Kind) Enum

func (Format_Color_Kind) EnumDescriptor deprecated

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

Deprecated: Use Format_Color_Kind.Descriptor instead.

func (Format_Color_Kind) Number

func (Format_Color_Kind) String

func (x Format_Color_Kind) String() string

func (Format_Color_Kind) Type

type Format_Emoji

type Format_Emoji struct {

	// The emote data of the emoji.
	Emote *v11.Emote `protobuf:"bytes,1,opt,name=emote,proto3" json:"emote,omitempty"`
	// contains filtered or unexported fields
}

An emoji.

func (*Format_Emoji) Descriptor deprecated

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

Deprecated: Use Format_Emoji.ProtoReflect.Descriptor instead.

func (*Format_Emoji) GetEmote

func (x *Format_Emoji) GetEmote() *v11.Emote

func (*Format_Emoji) MarshalToSizedBufferVT

func (m *Format_Emoji) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Emoji) MarshalToVT

func (m *Format_Emoji) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Emoji) MarshalVT

func (m *Format_Emoji) MarshalVT() (dAtA []byte, err error)

func (*Format_Emoji) ProtoMessage

func (*Format_Emoji) ProtoMessage()

func (*Format_Emoji) ProtoReflect

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

func (*Format_Emoji) Reset

func (x *Format_Emoji) Reset()

func (*Format_Emoji) SizeVT

func (m *Format_Emoji) SizeVT() (n int)

func (*Format_Emoji) String

func (x *Format_Emoji) String() string

func (*Format_Emoji) UnmarshalVT

func (m *Format_Emoji) UnmarshalVT(dAtA []byte) error

type Format_Emoji_

type Format_Emoji_ struct {
	// A text format for an emoji.
	Emoji *Format_Emoji `protobuf:"bytes,14,opt,name=emoji,proto3,oneof"`
}

func (*Format_Emoji_) MarshalToSizedBufferVT

func (m *Format_Emoji_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Emoji_) MarshalToVT

func (m *Format_Emoji_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Emoji_) SizeVT

func (m *Format_Emoji_) SizeVT() (n int)

type Format_GuildMention

type Format_GuildMention struct {

	// The guild being mentioned.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Which homeserver it belongs to.
	Homeserver string `protobuf:"bytes,2,opt,name=homeserver,proto3" json:"homeserver,omitempty"`
	// contains filtered or unexported fields
}

Mention of a guild.

func (*Format_GuildMention) Descriptor deprecated

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

Deprecated: Use Format_GuildMention.ProtoReflect.Descriptor instead.

func (*Format_GuildMention) GetGuildId

func (x *Format_GuildMention) GetGuildId() uint64

func (*Format_GuildMention) GetHomeserver

func (x *Format_GuildMention) GetHomeserver() string

func (*Format_GuildMention) MarshalToSizedBufferVT

func (m *Format_GuildMention) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_GuildMention) MarshalToVT

func (m *Format_GuildMention) MarshalToVT(dAtA []byte) (int, error)

func (*Format_GuildMention) MarshalVT

func (m *Format_GuildMention) MarshalVT() (dAtA []byte, err error)

func (*Format_GuildMention) ProtoMessage

func (*Format_GuildMention) ProtoMessage()

func (*Format_GuildMention) ProtoReflect

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

func (*Format_GuildMention) Reset

func (x *Format_GuildMention) Reset()

func (*Format_GuildMention) SizeVT

func (m *Format_GuildMention) SizeVT() (n int)

func (*Format_GuildMention) String

func (x *Format_GuildMention) String() string

func (*Format_GuildMention) UnmarshalVT

func (m *Format_GuildMention) UnmarshalVT(dAtA []byte) error

type Format_GuildMention_

type Format_GuildMention_ struct {
	// A text format for a guild mention.
	GuildMention *Format_GuildMention `protobuf:"bytes,13,opt,name=guild_mention,json=guildMention,proto3,oneof"`
}

func (*Format_GuildMention_) MarshalToSizedBufferVT

func (m *Format_GuildMention_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_GuildMention_) MarshalToVT

func (m *Format_GuildMention_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_GuildMention_) SizeVT

func (m *Format_GuildMention_) SizeVT() (n int)

type Format_Italic

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

Italic text.

func (*Format_Italic) Descriptor deprecated

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

Deprecated: Use Format_Italic.ProtoReflect.Descriptor instead.

func (*Format_Italic) MarshalToSizedBufferVT

func (m *Format_Italic) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Italic) MarshalToVT

func (m *Format_Italic) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Italic) MarshalVT

func (m *Format_Italic) MarshalVT() (dAtA []byte, err error)

func (*Format_Italic) ProtoMessage

func (*Format_Italic) ProtoMessage()

func (*Format_Italic) ProtoReflect

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

func (*Format_Italic) Reset

func (x *Format_Italic) Reset()

func (*Format_Italic) SizeVT

func (m *Format_Italic) SizeVT() (n int)

func (*Format_Italic) String

func (x *Format_Italic) String() string

func (*Format_Italic) UnmarshalVT

func (m *Format_Italic) UnmarshalVT(dAtA []byte) error

type Format_Italic_

type Format_Italic_ struct {
	// A text format for italic text.
	Italic *Format_Italic `protobuf:"bytes,4,opt,name=italic,proto3,oneof"`
}

func (*Format_Italic_) MarshalToSizedBufferVT

func (m *Format_Italic_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Italic_) MarshalToVT

func (m *Format_Italic_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Italic_) SizeVT

func (m *Format_Italic_) SizeVT() (n int)

type Format_Monospace

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

Monospace text.

func (*Format_Monospace) Descriptor deprecated

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

Deprecated: Use Format_Monospace.ProtoReflect.Descriptor instead.

func (*Format_Monospace) MarshalToSizedBufferVT

func (m *Format_Monospace) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Monospace) MarshalToVT

func (m *Format_Monospace) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Monospace) MarshalVT

func (m *Format_Monospace) MarshalVT() (dAtA []byte, err error)

func (*Format_Monospace) ProtoMessage

func (*Format_Monospace) ProtoMessage()

func (*Format_Monospace) ProtoReflect

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

func (*Format_Monospace) Reset

func (x *Format_Monospace) Reset()

func (*Format_Monospace) SizeVT

func (m *Format_Monospace) SizeVT() (n int)

func (*Format_Monospace) String

func (x *Format_Monospace) String() string

func (*Format_Monospace) UnmarshalVT

func (m *Format_Monospace) UnmarshalVT(dAtA []byte) error

type Format_Monospace_

type Format_Monospace_ struct {
	// A text format for monospace text.
	Monospace *Format_Monospace `protobuf:"bytes,6,opt,name=monospace,proto3,oneof"`
}

func (*Format_Monospace_) MarshalToSizedBufferVT

func (m *Format_Monospace_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Monospace_) MarshalToVT

func (m *Format_Monospace_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Monospace_) SizeVT

func (m *Format_Monospace_) SizeVT() (n int)

type Format_RoleMention

type Format_RoleMention struct {

	// The role being mentioned.
	RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

Mention of a role (on the current guild).

func (*Format_RoleMention) Descriptor deprecated

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

Deprecated: Use Format_RoleMention.ProtoReflect.Descriptor instead.

func (*Format_RoleMention) GetRoleId

func (x *Format_RoleMention) GetRoleId() uint64

func (*Format_RoleMention) MarshalToSizedBufferVT

func (m *Format_RoleMention) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_RoleMention) MarshalToVT

func (m *Format_RoleMention) MarshalToVT(dAtA []byte) (int, error)

func (*Format_RoleMention) MarshalVT

func (m *Format_RoleMention) MarshalVT() (dAtA []byte, err error)

func (*Format_RoleMention) ProtoMessage

func (*Format_RoleMention) ProtoMessage()

func (*Format_RoleMention) ProtoReflect

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

func (*Format_RoleMention) Reset

func (x *Format_RoleMention) Reset()

func (*Format_RoleMention) SizeVT

func (m *Format_RoleMention) SizeVT() (n int)

func (*Format_RoleMention) String

func (x *Format_RoleMention) String() string

func (*Format_RoleMention) UnmarshalVT

func (m *Format_RoleMention) UnmarshalVT(dAtA []byte) error

type Format_RoleMention_

type Format_RoleMention_ struct {
	// A text format for a role mention.
	RoleMention *Format_RoleMention `protobuf:"bytes,11,opt,name=role_mention,json=roleMention,proto3,oneof"`
}

func (*Format_RoleMention_) MarshalToSizedBufferVT

func (m *Format_RoleMention_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_RoleMention_) MarshalToVT

func (m *Format_RoleMention_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_RoleMention_) SizeVT

func (m *Format_RoleMention_) SizeVT() (n int)

type Format_Subscript

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

Subscript text.

func (*Format_Subscript) Descriptor deprecated

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

Deprecated: Use Format_Subscript.ProtoReflect.Descriptor instead.

func (*Format_Subscript) MarshalToSizedBufferVT

func (m *Format_Subscript) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Subscript) MarshalToVT

func (m *Format_Subscript) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Subscript) MarshalVT

func (m *Format_Subscript) MarshalVT() (dAtA []byte, err error)

func (*Format_Subscript) ProtoMessage

func (*Format_Subscript) ProtoMessage()

func (*Format_Subscript) ProtoReflect

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

func (*Format_Subscript) Reset

func (x *Format_Subscript) Reset()

func (*Format_Subscript) SizeVT

func (m *Format_Subscript) SizeVT() (n int)

func (*Format_Subscript) String

func (x *Format_Subscript) String() string

func (*Format_Subscript) UnmarshalVT

func (m *Format_Subscript) UnmarshalVT(dAtA []byte) error

type Format_Subscript_

type Format_Subscript_ struct {
	// A text format for subscript text.
	Subscript *Format_Subscript `protobuf:"bytes,8,opt,name=subscript,proto3,oneof"`
}

func (*Format_Subscript_) MarshalToSizedBufferVT

func (m *Format_Subscript_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Subscript_) MarshalToVT

func (m *Format_Subscript_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Subscript_) SizeVT

func (m *Format_Subscript_) SizeVT() (n int)

type Format_Superscript

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

Superscript text.

func (*Format_Superscript) Descriptor deprecated

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

Deprecated: Use Format_Superscript.ProtoReflect.Descriptor instead.

func (*Format_Superscript) MarshalToSizedBufferVT

func (m *Format_Superscript) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Superscript) MarshalToVT

func (m *Format_Superscript) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Superscript) MarshalVT

func (m *Format_Superscript) MarshalVT() (dAtA []byte, err error)

func (*Format_Superscript) ProtoMessage

func (*Format_Superscript) ProtoMessage()

func (*Format_Superscript) ProtoReflect

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

func (*Format_Superscript) Reset

func (x *Format_Superscript) Reset()

func (*Format_Superscript) SizeVT

func (m *Format_Superscript) SizeVT() (n int)

func (*Format_Superscript) String

func (x *Format_Superscript) String() string

func (*Format_Superscript) UnmarshalVT

func (m *Format_Superscript) UnmarshalVT(dAtA []byte) error

type Format_Superscript_

type Format_Superscript_ struct {
	// A text format for superscript text.
	Superscript *Format_Superscript `protobuf:"bytes,7,opt,name=superscript,proto3,oneof"`
}

func (*Format_Superscript_) MarshalToSizedBufferVT

func (m *Format_Superscript_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Superscript_) MarshalToVT

func (m *Format_Superscript_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Superscript_) SizeVT

func (m *Format_Superscript_) SizeVT() (n int)

type Format_Underline

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

Underlined text.

func (*Format_Underline) Descriptor deprecated

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

Deprecated: Use Format_Underline.ProtoReflect.Descriptor instead.

func (*Format_Underline) MarshalToSizedBufferVT

func (m *Format_Underline) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Underline) MarshalToVT

func (m *Format_Underline) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Underline) MarshalVT

func (m *Format_Underline) MarshalVT() (dAtA []byte, err error)

func (*Format_Underline) ProtoMessage

func (*Format_Underline) ProtoMessage()

func (*Format_Underline) ProtoReflect

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

func (*Format_Underline) Reset

func (x *Format_Underline) Reset()

func (*Format_Underline) SizeVT

func (m *Format_Underline) SizeVT() (n int)

func (*Format_Underline) String

func (x *Format_Underline) String() string

func (*Format_Underline) UnmarshalVT

func (m *Format_Underline) UnmarshalVT(dAtA []byte) error

type Format_Underline_

type Format_Underline_ struct {
	// A text format for underline text.
	Underline *Format_Underline `protobuf:"bytes,5,opt,name=underline,proto3,oneof"`
}

func (*Format_Underline_) MarshalToSizedBufferVT

func (m *Format_Underline_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_Underline_) MarshalToVT

func (m *Format_Underline_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_Underline_) SizeVT

func (m *Format_Underline_) SizeVT() (n int)

type Format_UserMention

type Format_UserMention struct {

	// User ID of the user being mentioned.
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Mention of a user (on the current homeserver).

func (*Format_UserMention) Descriptor deprecated

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

Deprecated: Use Format_UserMention.ProtoReflect.Descriptor instead.

func (*Format_UserMention) GetUserId

func (x *Format_UserMention) GetUserId() uint64

func (*Format_UserMention) MarshalToSizedBufferVT

func (m *Format_UserMention) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_UserMention) MarshalToVT

func (m *Format_UserMention) MarshalToVT(dAtA []byte) (int, error)

func (*Format_UserMention) MarshalVT

func (m *Format_UserMention) MarshalVT() (dAtA []byte, err error)

func (*Format_UserMention) ProtoMessage

func (*Format_UserMention) ProtoMessage()

func (*Format_UserMention) ProtoReflect

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

func (*Format_UserMention) Reset

func (x *Format_UserMention) Reset()

func (*Format_UserMention) SizeVT

func (m *Format_UserMention) SizeVT() (n int)

func (*Format_UserMention) String

func (x *Format_UserMention) String() string

func (*Format_UserMention) UnmarshalVT

func (m *Format_UserMention) UnmarshalVT(dAtA []byte) error

type Format_UserMention_

type Format_UserMention_ struct {
	// A text format for a user mention.
	UserMention *Format_UserMention `protobuf:"bytes,10,opt,name=user_mention,json=userMention,proto3,oneof"`
}

func (*Format_UserMention_) MarshalToSizedBufferVT

func (m *Format_UserMention_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Format_UserMention_) MarshalToVT

func (m *Format_UserMention_) MarshalToVT(dAtA []byte) (int, error)

func (*Format_UserMention_) SizeVT

func (m *Format_UserMention_) SizeVT() (n int)

type FormattedText

type FormattedText struct {

	// The textual content of a message.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// The formats for a message.
	Format []*Format `protobuf:"bytes,2,rep,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

Formatted text.

func (*FormattedText) Descriptor deprecated

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

Deprecated: Use FormattedText.ProtoReflect.Descriptor instead.

func (*FormattedText) GetFormat

func (x *FormattedText) GetFormat() []*Format

func (*FormattedText) GetText

func (x *FormattedText) GetText() string

func (*FormattedText) MarshalToSizedBufferVT

func (m *FormattedText) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FormattedText) MarshalToVT

func (m *FormattedText) MarshalToVT(dAtA []byte) (int, error)

func (*FormattedText) MarshalVT

func (m *FormattedText) MarshalVT() (dAtA []byte, err error)

func (*FormattedText) ProtoMessage

func (*FormattedText) ProtoMessage()

func (*FormattedText) ProtoReflect

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

func (*FormattedText) Reset

func (x *FormattedText) Reset()

func (*FormattedText) SizeVT

func (m *FormattedText) SizeVT() (n int)

func (*FormattedText) String

func (x *FormattedText) String() string

func (*FormattedText) UnmarshalVT

func (m *FormattedText) UnmarshalVT(dAtA []byte) error

type GetBannedUsersRequest

type GetBannedUsersRequest struct {

	// Guild ID to get banned users for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `GetBannedUsers` endpoint.

func (*GetBannedUsersRequest) Descriptor deprecated

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

Deprecated: Use GetBannedUsersRequest.ProtoReflect.Descriptor instead.

func (*GetBannedUsersRequest) GetGuildId

func (x *GetBannedUsersRequest) GetGuildId() uint64

func (*GetBannedUsersRequest) MarshalToSizedBufferVT

func (m *GetBannedUsersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetBannedUsersRequest) MarshalToVT

func (m *GetBannedUsersRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetBannedUsersRequest) MarshalVT

func (m *GetBannedUsersRequest) MarshalVT() (dAtA []byte, err error)

func (*GetBannedUsersRequest) ProtoMessage

func (*GetBannedUsersRequest) ProtoMessage()

func (*GetBannedUsersRequest) ProtoReflect

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

func (*GetBannedUsersRequest) Reset

func (x *GetBannedUsersRequest) Reset()

func (*GetBannedUsersRequest) SizeVT

func (m *GetBannedUsersRequest) SizeVT() (n int)

func (*GetBannedUsersRequest) String

func (x *GetBannedUsersRequest) String() string

func (*GetBannedUsersRequest) UnmarshalVT

func (m *GetBannedUsersRequest) UnmarshalVT(dAtA []byte) error

type GetBannedUsersResponse

type GetBannedUsersResponse struct {

	// The user IDs of banned users.
	BannedUsers []uint64 `protobuf:"varint,1,rep,packed,name=banned_users,json=bannedUsers,proto3" json:"banned_users,omitempty"`
	// contains filtered or unexported fields
}

Used in `GetBannedUsers` endpoint.

func (*GetBannedUsersResponse) Descriptor deprecated

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

Deprecated: Use GetBannedUsersResponse.ProtoReflect.Descriptor instead.

func (*GetBannedUsersResponse) GetBannedUsers

func (x *GetBannedUsersResponse) GetBannedUsers() []uint64

func (*GetBannedUsersResponse) MarshalToSizedBufferVT

func (m *GetBannedUsersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetBannedUsersResponse) MarshalToVT

func (m *GetBannedUsersResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetBannedUsersResponse) MarshalVT

func (m *GetBannedUsersResponse) MarshalVT() (dAtA []byte, err error)

func (*GetBannedUsersResponse) ProtoMessage

func (*GetBannedUsersResponse) ProtoMessage()

func (*GetBannedUsersResponse) ProtoReflect

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

func (*GetBannedUsersResponse) Reset

func (x *GetBannedUsersResponse) Reset()

func (*GetBannedUsersResponse) SizeVT

func (m *GetBannedUsersResponse) SizeVT() (n int)

func (*GetBannedUsersResponse) String

func (x *GetBannedUsersResponse) String() string

func (*GetBannedUsersResponse) UnmarshalVT

func (m *GetBannedUsersResponse) UnmarshalVT(dAtA []byte) error

type GetChannelMessagesRequest

type GetChannelMessagesRequest struct {

	// Guild ID of the guild that has the channel.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel to get messages from.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The ID of the message that will be used as an "anchor" point to figure out
	// where to get the messages.
	// If not specified, the `direction` will be ignored and the newest messages
	// will be returned.
	MessageId *uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3,oneof" json:"message_id,omitempty"`
	// On which direction to get the messages.
	//
	// - By default, it is "before", which means you will get messages before the
	// `message_id` message.
	// - If it is "around", you will get the messages around the `message_id`
	// message. This will include the `message_id` message itself, as the middle
	// item of the list returned.
	// - If it is "after", you will get the messages after the `message_id`
	// message.
	Direction *GetChannelMessagesRequest_Direction `` /* 136-byte string literal not displayed */
	// How many messages to get.
	//
	// - If `0`, a recommended message count to return is 25. If the direction is
	// "around", the recommended value is 12.
	// - If the direction to get the messages is "around", this count will not be
	// the *total* count of messages to return, but instead the count of messages
	// to return *for each direction*, before and after.
	// - Servers should enforce their own maximum limit, and clamp this value to
	// the limit.
	Count *uint32 `protobuf:"varint,5,opt,name=count,proto3,oneof" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetChannelMessages` endpoint.

func (*GetChannelMessagesRequest) Descriptor deprecated

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

Deprecated: Use GetChannelMessagesRequest.ProtoReflect.Descriptor instead.

func (*GetChannelMessagesRequest) GetChannelId

func (x *GetChannelMessagesRequest) GetChannelId() uint64

func (*GetChannelMessagesRequest) GetCount

func (x *GetChannelMessagesRequest) GetCount() uint32

func (*GetChannelMessagesRequest) GetDirection

func (*GetChannelMessagesRequest) GetGuildId

func (x *GetChannelMessagesRequest) GetGuildId() uint64

func (*GetChannelMessagesRequest) GetMessageId

func (x *GetChannelMessagesRequest) GetMessageId() uint64

func (*GetChannelMessagesRequest) MarshalToSizedBufferVT

func (m *GetChannelMessagesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetChannelMessagesRequest) MarshalToVT

func (m *GetChannelMessagesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetChannelMessagesRequest) MarshalVT

func (m *GetChannelMessagesRequest) MarshalVT() (dAtA []byte, err error)

func (*GetChannelMessagesRequest) ProtoMessage

func (*GetChannelMessagesRequest) ProtoMessage()

func (*GetChannelMessagesRequest) ProtoReflect

func (*GetChannelMessagesRequest) Reset

func (x *GetChannelMessagesRequest) Reset()

func (*GetChannelMessagesRequest) SizeVT

func (m *GetChannelMessagesRequest) SizeVT() (n int)

func (*GetChannelMessagesRequest) String

func (x *GetChannelMessagesRequest) String() string

func (*GetChannelMessagesRequest) UnmarshalVT

func (m *GetChannelMessagesRequest) UnmarshalVT(dAtA []byte) error

type GetChannelMessagesRequest_Direction

type GetChannelMessagesRequest_Direction int32

The direction relative to the `message_id` message to get messages from.

const (
	// Get messages before the anchor.
	GetChannelMessagesRequest_DIRECTION_BEFORE_UNSPECIFIED GetChannelMessagesRequest_Direction = 0
	// Get messages around the anchor, including the anchor.
	GetChannelMessagesRequest_DIRECTION_AROUND GetChannelMessagesRequest_Direction = 1
	// Get messages after the anchor.
	GetChannelMessagesRequest_DIRECTION_AFTER GetChannelMessagesRequest_Direction = 2
)

func (GetChannelMessagesRequest_Direction) Descriptor

func (GetChannelMessagesRequest_Direction) Enum

func (GetChannelMessagesRequest_Direction) EnumDescriptor deprecated

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

Deprecated: Use GetChannelMessagesRequest_Direction.Descriptor instead.

func (GetChannelMessagesRequest_Direction) Number

func (GetChannelMessagesRequest_Direction) String

func (GetChannelMessagesRequest_Direction) Type

type GetChannelMessagesResponse

type GetChannelMessagesResponse struct {

	// Has reached the top (first message) of the message history.
	ReachedTop bool `protobuf:"varint,1,opt,name=reached_top,json=reachedTop,proto3" json:"reached_top,omitempty"`
	// Has reached the bottom (last message) of the message history.
	ReachedBottom bool `protobuf:"varint,2,opt,name=reached_bottom,json=reachedBottom,proto3" json:"reached_bottom,omitempty"`
	// The messages requested.
	Messages []*MessageWithId `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetChannelMessages` endpoint.

func (*GetChannelMessagesResponse) Descriptor deprecated

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

Deprecated: Use GetChannelMessagesResponse.ProtoReflect.Descriptor instead.

func (*GetChannelMessagesResponse) GetMessages

func (x *GetChannelMessagesResponse) GetMessages() []*MessageWithId

func (*GetChannelMessagesResponse) GetReachedBottom

func (x *GetChannelMessagesResponse) GetReachedBottom() bool

func (*GetChannelMessagesResponse) GetReachedTop

func (x *GetChannelMessagesResponse) GetReachedTop() bool

func (*GetChannelMessagesResponse) MarshalToSizedBufferVT

func (m *GetChannelMessagesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetChannelMessagesResponse) MarshalToVT

func (m *GetChannelMessagesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetChannelMessagesResponse) MarshalVT

func (m *GetChannelMessagesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetChannelMessagesResponse) ProtoMessage

func (*GetChannelMessagesResponse) ProtoMessage()

func (*GetChannelMessagesResponse) ProtoReflect

func (*GetChannelMessagesResponse) Reset

func (x *GetChannelMessagesResponse) Reset()

func (*GetChannelMessagesResponse) SizeVT

func (m *GetChannelMessagesResponse) SizeVT() (n int)

func (*GetChannelMessagesResponse) String

func (x *GetChannelMessagesResponse) String() string

func (*GetChannelMessagesResponse) UnmarshalVT

func (m *GetChannelMessagesResponse) UnmarshalVT(dAtA []byte) error

type GetGuildChannelsRequest

type GetGuildChannelsRequest struct {

	// Guild ID of the guild you want to get channels from.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildChannels` endpoint.

func (*GetGuildChannelsRequest) Descriptor deprecated

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

Deprecated: Use GetGuildChannelsRequest.ProtoReflect.Descriptor instead.

func (*GetGuildChannelsRequest) GetGuildId

func (x *GetGuildChannelsRequest) GetGuildId() uint64

func (*GetGuildChannelsRequest) MarshalToSizedBufferVT

func (m *GetGuildChannelsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildChannelsRequest) MarshalToVT

func (m *GetGuildChannelsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildChannelsRequest) MarshalVT

func (m *GetGuildChannelsRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGuildChannelsRequest) ProtoMessage

func (*GetGuildChannelsRequest) ProtoMessage()

func (*GetGuildChannelsRequest) ProtoReflect

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

func (*GetGuildChannelsRequest) Reset

func (x *GetGuildChannelsRequest) Reset()

func (*GetGuildChannelsRequest) SizeVT

func (m *GetGuildChannelsRequest) SizeVT() (n int)

func (*GetGuildChannelsRequest) String

func (x *GetGuildChannelsRequest) String() string

func (*GetGuildChannelsRequest) UnmarshalVT

func (m *GetGuildChannelsRequest) UnmarshalVT(dAtA []byte) error

type GetGuildChannelsResponse

type GetGuildChannelsResponse struct {

	// Channels' data and ID the server responded with.
	Channels []*ChannelWithId `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildChannels` endpoint.

func (*GetGuildChannelsResponse) Descriptor deprecated

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

Deprecated: Use GetGuildChannelsResponse.ProtoReflect.Descriptor instead.

func (*GetGuildChannelsResponse) GetChannels

func (x *GetGuildChannelsResponse) GetChannels() []*ChannelWithId

func (*GetGuildChannelsResponse) MarshalToSizedBufferVT

func (m *GetGuildChannelsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildChannelsResponse) MarshalToVT

func (m *GetGuildChannelsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildChannelsResponse) MarshalVT

func (m *GetGuildChannelsResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGuildChannelsResponse) ProtoMessage

func (*GetGuildChannelsResponse) ProtoMessage()

func (*GetGuildChannelsResponse) ProtoReflect

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

func (*GetGuildChannelsResponse) Reset

func (x *GetGuildChannelsResponse) Reset()

func (*GetGuildChannelsResponse) SizeVT

func (m *GetGuildChannelsResponse) SizeVT() (n int)

func (*GetGuildChannelsResponse) String

func (x *GetGuildChannelsResponse) String() string

func (*GetGuildChannelsResponse) UnmarshalVT

func (m *GetGuildChannelsResponse) UnmarshalVT(dAtA []byte) error

type GetGuildInvitesRequest

type GetGuildInvitesRequest struct {

	// Guild ID of the guild you want to get invites of.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildInvites` endpoint.

func (*GetGuildInvitesRequest) Descriptor deprecated

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

Deprecated: Use GetGuildInvitesRequest.ProtoReflect.Descriptor instead.

func (*GetGuildInvitesRequest) GetGuildId

func (x *GetGuildInvitesRequest) GetGuildId() uint64

func (*GetGuildInvitesRequest) MarshalToSizedBufferVT

func (m *GetGuildInvitesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildInvitesRequest) MarshalToVT

func (m *GetGuildInvitesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildInvitesRequest) MarshalVT

func (m *GetGuildInvitesRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGuildInvitesRequest) ProtoMessage

func (*GetGuildInvitesRequest) ProtoMessage()

func (*GetGuildInvitesRequest) ProtoReflect

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

func (*GetGuildInvitesRequest) Reset

func (x *GetGuildInvitesRequest) Reset()

func (*GetGuildInvitesRequest) SizeVT

func (m *GetGuildInvitesRequest) SizeVT() (n int)

func (*GetGuildInvitesRequest) String

func (x *GetGuildInvitesRequest) String() string

func (*GetGuildInvitesRequest) UnmarshalVT

func (m *GetGuildInvitesRequest) UnmarshalVT(dAtA []byte) error

type GetGuildInvitesResponse

type GetGuildInvitesResponse struct {

	// The invites of the guild, with IDs.
	Invites []*InviteWithId `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildInvites` endpoint.

func (*GetGuildInvitesResponse) Descriptor deprecated

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

Deprecated: Use GetGuildInvitesResponse.ProtoReflect.Descriptor instead.

func (*GetGuildInvitesResponse) GetInvites

func (x *GetGuildInvitesResponse) GetInvites() []*InviteWithId

func (*GetGuildInvitesResponse) MarshalToSizedBufferVT

func (m *GetGuildInvitesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildInvitesResponse) MarshalToVT

func (m *GetGuildInvitesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildInvitesResponse) MarshalVT

func (m *GetGuildInvitesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGuildInvitesResponse) ProtoMessage

func (*GetGuildInvitesResponse) ProtoMessage()

func (*GetGuildInvitesResponse) ProtoReflect

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

func (*GetGuildInvitesResponse) Reset

func (x *GetGuildInvitesResponse) Reset()

func (*GetGuildInvitesResponse) SizeVT

func (m *GetGuildInvitesResponse) SizeVT() (n int)

func (*GetGuildInvitesResponse) String

func (x *GetGuildInvitesResponse) String() string

func (*GetGuildInvitesResponse) UnmarshalVT

func (m *GetGuildInvitesResponse) UnmarshalVT(dAtA []byte) error

type GetGuildListRequest

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

Used in the `GetGuildList` endpoint.

func (*GetGuildListRequest) Descriptor deprecated

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

Deprecated: Use GetGuildListRequest.ProtoReflect.Descriptor instead.

func (*GetGuildListRequest) MarshalToSizedBufferVT

func (m *GetGuildListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildListRequest) MarshalToVT

func (m *GetGuildListRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildListRequest) MarshalVT

func (m *GetGuildListRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGuildListRequest) ProtoMessage

func (*GetGuildListRequest) ProtoMessage()

func (*GetGuildListRequest) ProtoReflect

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

func (*GetGuildListRequest) Reset

func (x *GetGuildListRequest) Reset()

func (*GetGuildListRequest) SizeVT

func (m *GetGuildListRequest) SizeVT() (n int)

func (*GetGuildListRequest) String

func (x *GetGuildListRequest) String() string

func (*GetGuildListRequest) UnmarshalVT

func (m *GetGuildListRequest) UnmarshalVT(dAtA []byte) error

type GetGuildListResponse

type GetGuildListResponse struct {

	// Guild list returned by the server.
	Guilds []*GuildListEntry `protobuf:"bytes,1,rep,name=guilds,proto3" json:"guilds,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildList` endpoint.

func (*GetGuildListResponse) Descriptor deprecated

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

Deprecated: Use GetGuildListResponse.ProtoReflect.Descriptor instead.

func (*GetGuildListResponse) GetGuilds

func (x *GetGuildListResponse) GetGuilds() []*GuildListEntry

func (*GetGuildListResponse) MarshalToSizedBufferVT

func (m *GetGuildListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildListResponse) MarshalToVT

func (m *GetGuildListResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildListResponse) MarshalVT

func (m *GetGuildListResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGuildListResponse) ProtoMessage

func (*GetGuildListResponse) ProtoMessage()

func (*GetGuildListResponse) ProtoReflect

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

func (*GetGuildListResponse) Reset

func (x *GetGuildListResponse) Reset()

func (*GetGuildListResponse) SizeVT

func (m *GetGuildListResponse) SizeVT() (n int)

func (*GetGuildListResponse) String

func (x *GetGuildListResponse) String() string

func (*GetGuildListResponse) UnmarshalVT

func (m *GetGuildListResponse) UnmarshalVT(dAtA []byte) error

type GetGuildMembersRequest

type GetGuildMembersRequest struct {

	// Guild ID of the guild you want to get members of.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildMembers` endpoint.

func (*GetGuildMembersRequest) Descriptor deprecated

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

Deprecated: Use GetGuildMembersRequest.ProtoReflect.Descriptor instead.

func (*GetGuildMembersRequest) GetGuildId

func (x *GetGuildMembersRequest) GetGuildId() uint64

func (*GetGuildMembersRequest) MarshalToSizedBufferVT

func (m *GetGuildMembersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildMembersRequest) MarshalToVT

func (m *GetGuildMembersRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildMembersRequest) MarshalVT

func (m *GetGuildMembersRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGuildMembersRequest) ProtoMessage

func (*GetGuildMembersRequest) ProtoMessage()

func (*GetGuildMembersRequest) ProtoReflect

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

func (*GetGuildMembersRequest) Reset

func (x *GetGuildMembersRequest) Reset()

func (*GetGuildMembersRequest) SizeVT

func (m *GetGuildMembersRequest) SizeVT() (n int)

func (*GetGuildMembersRequest) String

func (x *GetGuildMembersRequest) String() string

func (*GetGuildMembersRequest) UnmarshalVT

func (m *GetGuildMembersRequest) UnmarshalVT(dAtA []byte) error

type GetGuildMembersResponse

type GetGuildMembersResponse struct {

	// User IDs of all the guild members.
	Members []uint64 `protobuf:"varint,1,rep,packed,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildMembers` endpoint.

func (*GetGuildMembersResponse) Descriptor deprecated

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

Deprecated: Use GetGuildMembersResponse.ProtoReflect.Descriptor instead.

func (*GetGuildMembersResponse) GetMembers

func (x *GetGuildMembersResponse) GetMembers() []uint64

func (*GetGuildMembersResponse) MarshalToSizedBufferVT

func (m *GetGuildMembersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildMembersResponse) MarshalToVT

func (m *GetGuildMembersResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildMembersResponse) MarshalVT

func (m *GetGuildMembersResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGuildMembersResponse) ProtoMessage

func (*GetGuildMembersResponse) ProtoMessage()

func (*GetGuildMembersResponse) ProtoReflect

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

func (*GetGuildMembersResponse) Reset

func (x *GetGuildMembersResponse) Reset()

func (*GetGuildMembersResponse) SizeVT

func (m *GetGuildMembersResponse) SizeVT() (n int)

func (*GetGuildMembersResponse) String

func (x *GetGuildMembersResponse) String() string

func (*GetGuildMembersResponse) UnmarshalVT

func (m *GetGuildMembersResponse) UnmarshalVT(dAtA []byte) error

type GetGuildRequest

type GetGuildRequest struct {

	// Guild ID(s) to get information about.
	GuildIds []uint64 `protobuf:"varint,1,rep,packed,name=guild_ids,json=guildIds,proto3" json:"guild_ids,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuild` endpoint.

func (*GetGuildRequest) Descriptor deprecated

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

Deprecated: Use GetGuildRequest.ProtoReflect.Descriptor instead.

func (*GetGuildRequest) GetGuildIds

func (x *GetGuildRequest) GetGuildIds() []uint64

func (*GetGuildRequest) MarshalToSizedBufferVT

func (m *GetGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildRequest) MarshalToVT

func (m *GetGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildRequest) MarshalVT

func (m *GetGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGuildRequest) ProtoMessage

func (*GetGuildRequest) ProtoMessage()

func (*GetGuildRequest) ProtoReflect

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

func (*GetGuildRequest) Reset

func (x *GetGuildRequest) Reset()

func (*GetGuildRequest) SizeVT

func (m *GetGuildRequest) SizeVT() (n int)

func (*GetGuildRequest) String

func (x *GetGuildRequest) String() string

func (*GetGuildRequest) UnmarshalVT

func (m *GetGuildRequest) UnmarshalVT(dAtA []byte) error

type GetGuildResponse

type GetGuildResponse struct {

	// The information(s) of the guild(s) requested.
	Guild map[uint64]*Guild `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used in the `GetGuild` endpoint.

func (*GetGuildResponse) Descriptor deprecated

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

Deprecated: Use GetGuildResponse.ProtoReflect.Descriptor instead.

func (*GetGuildResponse) GetGuild

func (x *GetGuildResponse) GetGuild() map[uint64]*Guild

func (*GetGuildResponse) MarshalToSizedBufferVT

func (m *GetGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildResponse) MarshalToVT

func (m *GetGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildResponse) MarshalVT

func (m *GetGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGuildResponse) ProtoMessage

func (*GetGuildResponse) ProtoMessage()

func (*GetGuildResponse) ProtoReflect

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

func (*GetGuildResponse) Reset

func (x *GetGuildResponse) Reset()

func (*GetGuildResponse) SizeVT

func (m *GetGuildResponse) SizeVT() (n int)

func (*GetGuildResponse) String

func (x *GetGuildResponse) String() string

func (*GetGuildResponse) UnmarshalVT

func (m *GetGuildResponse) UnmarshalVT(dAtA []byte) error

type GetGuildRolesRequest

type GetGuildRolesRequest struct {

	// The guild ID to get roles for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildRoles` endpoint.

func (*GetGuildRolesRequest) Descriptor deprecated

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

Deprecated: Use GetGuildRolesRequest.ProtoReflect.Descriptor instead.

func (*GetGuildRolesRequest) GetGuildId

func (x *GetGuildRolesRequest) GetGuildId() uint64

func (*GetGuildRolesRequest) MarshalToSizedBufferVT

func (m *GetGuildRolesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildRolesRequest) MarshalToVT

func (m *GetGuildRolesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildRolesRequest) MarshalVT

func (m *GetGuildRolesRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGuildRolesRequest) ProtoMessage

func (*GetGuildRolesRequest) ProtoMessage()

func (*GetGuildRolesRequest) ProtoReflect

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

func (*GetGuildRolesRequest) Reset

func (x *GetGuildRolesRequest) Reset()

func (*GetGuildRolesRequest) SizeVT

func (m *GetGuildRolesRequest) SizeVT() (n int)

func (*GetGuildRolesRequest) String

func (x *GetGuildRolesRequest) String() string

func (*GetGuildRolesRequest) UnmarshalVT

func (m *GetGuildRolesRequest) UnmarshalVT(dAtA []byte) error

type GetGuildRolesResponse

type GetGuildRolesResponse struct {

	// The list of roles in the guild.
	Roles []*RoleWithId `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetGuildRoles` endpoint.

func (*GetGuildRolesResponse) Descriptor deprecated

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

Deprecated: Use GetGuildRolesResponse.ProtoReflect.Descriptor instead.

func (*GetGuildRolesResponse) GetRoles

func (x *GetGuildRolesResponse) GetRoles() []*RoleWithId

func (*GetGuildRolesResponse) MarshalToSizedBufferVT

func (m *GetGuildRolesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGuildRolesResponse) MarshalToVT

func (m *GetGuildRolesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGuildRolesResponse) MarshalVT

func (m *GetGuildRolesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGuildRolesResponse) ProtoMessage

func (*GetGuildRolesResponse) ProtoMessage()

func (*GetGuildRolesResponse) ProtoReflect

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

func (*GetGuildRolesResponse) Reset

func (x *GetGuildRolesResponse) Reset()

func (*GetGuildRolesResponse) SizeVT

func (m *GetGuildRolesResponse) SizeVT() (n int)

func (*GetGuildRolesResponse) String

func (x *GetGuildRolesResponse) String() string

func (*GetGuildRolesResponse) UnmarshalVT

func (m *GetGuildRolesResponse) UnmarshalVT(dAtA []byte) error

type GetMessageRequest

type GetMessageRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message you want to get.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetMessage` endpoint.

func (*GetMessageRequest) Descriptor deprecated

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

Deprecated: Use GetMessageRequest.ProtoReflect.Descriptor instead.

func (*GetMessageRequest) GetChannelId

func (x *GetMessageRequest) GetChannelId() uint64

func (*GetMessageRequest) GetGuildId

func (x *GetMessageRequest) GetGuildId() uint64

func (*GetMessageRequest) GetMessageId

func (x *GetMessageRequest) GetMessageId() uint64

func (*GetMessageRequest) MarshalToSizedBufferVT

func (m *GetMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetMessageRequest) MarshalToVT

func (m *GetMessageRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetMessageRequest) MarshalVT

func (m *GetMessageRequest) MarshalVT() (dAtA []byte, err error)

func (*GetMessageRequest) ProtoMessage

func (*GetMessageRequest) ProtoMessage()

func (*GetMessageRequest) ProtoReflect

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

func (*GetMessageRequest) Reset

func (x *GetMessageRequest) Reset()

func (*GetMessageRequest) SizeVT

func (m *GetMessageRequest) SizeVT() (n int)

func (*GetMessageRequest) String

func (x *GetMessageRequest) String() string

func (*GetMessageRequest) UnmarshalVT

func (m *GetMessageRequest) UnmarshalVT(dAtA []byte) error

type GetMessageResponse

type GetMessageResponse struct {

	// The message requested.
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetMessage` endpoint.

func (*GetMessageResponse) Descriptor deprecated

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

Deprecated: Use GetMessageResponse.ProtoReflect.Descriptor instead.

func (*GetMessageResponse) GetMessage

func (x *GetMessageResponse) GetMessage() *Message

func (*GetMessageResponse) MarshalToSizedBufferVT

func (m *GetMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetMessageResponse) MarshalToVT

func (m *GetMessageResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetMessageResponse) MarshalVT

func (m *GetMessageResponse) MarshalVT() (dAtA []byte, err error)

func (*GetMessageResponse) ProtoMessage

func (*GetMessageResponse) ProtoMessage()

func (*GetMessageResponse) ProtoReflect

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

func (*GetMessageResponse) Reset

func (x *GetMessageResponse) Reset()

func (*GetMessageResponse) SizeVT

func (m *GetMessageResponse) SizeVT() (n int)

func (*GetMessageResponse) String

func (x *GetMessageResponse) String() string

func (*GetMessageResponse) UnmarshalVT

func (m *GetMessageResponse) UnmarshalVT(dAtA []byte) error

type GetPendingInvitesRequest

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

Used in `GetPendingInvites` endpoint.

func (*GetPendingInvitesRequest) Descriptor deprecated

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

Deprecated: Use GetPendingInvitesRequest.ProtoReflect.Descriptor instead.

func (*GetPendingInvitesRequest) MarshalToSizedBufferVT

func (m *GetPendingInvitesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPendingInvitesRequest) MarshalToVT

func (m *GetPendingInvitesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetPendingInvitesRequest) MarshalVT

func (m *GetPendingInvitesRequest) MarshalVT() (dAtA []byte, err error)

func (*GetPendingInvitesRequest) ProtoMessage

func (*GetPendingInvitesRequest) ProtoMessage()

func (*GetPendingInvitesRequest) ProtoReflect

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

func (*GetPendingInvitesRequest) Reset

func (x *GetPendingInvitesRequest) Reset()

func (*GetPendingInvitesRequest) SizeVT

func (m *GetPendingInvitesRequest) SizeVT() (n int)

func (*GetPendingInvitesRequest) String

func (x *GetPendingInvitesRequest) String() string

func (*GetPendingInvitesRequest) UnmarshalVT

func (m *GetPendingInvitesRequest) UnmarshalVT(dAtA []byte) error

type GetPendingInvitesResponse

type GetPendingInvitesResponse struct {

	// The pending invite(s).
	PendingInvites []*PendingInvite `protobuf:"bytes,1,rep,name=pending_invites,json=pendingInvites,proto3" json:"pending_invites,omitempty"`
	// contains filtered or unexported fields
}

Used in `GetPendingInvites` endpoint.

func (*GetPendingInvitesResponse) Descriptor deprecated

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

Deprecated: Use GetPendingInvitesResponse.ProtoReflect.Descriptor instead.

func (*GetPendingInvitesResponse) GetPendingInvites

func (x *GetPendingInvitesResponse) GetPendingInvites() []*PendingInvite

func (*GetPendingInvitesResponse) MarshalToSizedBufferVT

func (m *GetPendingInvitesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPendingInvitesResponse) MarshalToVT

func (m *GetPendingInvitesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetPendingInvitesResponse) MarshalVT

func (m *GetPendingInvitesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetPendingInvitesResponse) ProtoMessage

func (*GetPendingInvitesResponse) ProtoMessage()

func (*GetPendingInvitesResponse) ProtoReflect

func (*GetPendingInvitesResponse) Reset

func (x *GetPendingInvitesResponse) Reset()

func (*GetPendingInvitesResponse) SizeVT

func (m *GetPendingInvitesResponse) SizeVT() (n int)

func (*GetPendingInvitesResponse) String

func (x *GetPendingInvitesResponse) String() string

func (*GetPendingInvitesResponse) UnmarshalVT

func (m *GetPendingInvitesResponse) UnmarshalVT(dAtA []byte) error

type GetPermissionsRequest

type GetPermissionsRequest struct {

	// The guild ID to get permissions for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The channel ID(s) to get permissions for.
	// Only applicable for roles in a channel.
	ChannelIds []uint64 `protobuf:"varint,2,rep,packed,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"`
	// The role ID to get permissions for.
	RoleId uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetPermissions` endpoint.

func (*GetPermissionsRequest) Descriptor deprecated

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

Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionsRequest) GetChannelIds

func (x *GetPermissionsRequest) GetChannelIds() []uint64

func (*GetPermissionsRequest) GetGuildId

func (x *GetPermissionsRequest) GetGuildId() uint64

func (*GetPermissionsRequest) GetRoleId

func (x *GetPermissionsRequest) GetRoleId() uint64

func (*GetPermissionsRequest) MarshalToSizedBufferVT

func (m *GetPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPermissionsRequest) MarshalToVT

func (m *GetPermissionsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetPermissionsRequest) MarshalVT

func (m *GetPermissionsRequest) MarshalVT() (dAtA []byte, err error)

func (*GetPermissionsRequest) ProtoMessage

func (*GetPermissionsRequest) ProtoMessage()

func (*GetPermissionsRequest) ProtoReflect

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

func (*GetPermissionsRequest) Reset

func (x *GetPermissionsRequest) Reset()

func (*GetPermissionsRequest) SizeVT

func (m *GetPermissionsRequest) SizeVT() (n int)

func (*GetPermissionsRequest) String

func (x *GetPermissionsRequest) String() string

func (*GetPermissionsRequest) UnmarshalVT

func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error

type GetPermissionsResponse

type GetPermissionsResponse struct {

	// The permissions for the guild.
	GuildPerms *GetPermissionsResponse_Permissions `protobuf:"bytes,1,opt,name=guild_perms,json=guildPerms,proto3" json:"guild_perms,omitempty"`
	// The channel id -> permissions list map for the given role.
	//
	// This will contain permissions for any requested channels.
	ChannelPerms map[uint64]*GetPermissionsResponse_Permissions `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used in the `GetPermissions` endpoint.

func (*GetPermissionsResponse) Descriptor deprecated

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

Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*GetPermissionsResponse) GetChannelPerms

func (*GetPermissionsResponse) GetGuildPerms

func (*GetPermissionsResponse) MarshalToSizedBufferVT

func (m *GetPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPermissionsResponse) MarshalToVT

func (m *GetPermissionsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetPermissionsResponse) MarshalVT

func (m *GetPermissionsResponse) MarshalVT() (dAtA []byte, err error)

func (*GetPermissionsResponse) ProtoMessage

func (*GetPermissionsResponse) ProtoMessage()

func (*GetPermissionsResponse) ProtoReflect

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

func (*GetPermissionsResponse) Reset

func (x *GetPermissionsResponse) Reset()

func (*GetPermissionsResponse) SizeVT

func (m *GetPermissionsResponse) SizeVT() (n int)

func (*GetPermissionsResponse) String

func (x *GetPermissionsResponse) String() string

func (*GetPermissionsResponse) UnmarshalVT

func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error

type GetPermissionsResponse_Permissions

type GetPermissionsResponse_Permissions struct {

	// The permissions.
	Perms []*Permission `protobuf:"bytes,1,rep,name=perms,proto3" json:"perms,omitempty"`
	// contains filtered or unexported fields
}

Permissions of a role for a channel or guild.

func (*GetPermissionsResponse_Permissions) Descriptor deprecated

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

Deprecated: Use GetPermissionsResponse_Permissions.ProtoReflect.Descriptor instead.

func (*GetPermissionsResponse_Permissions) GetPerms

func (*GetPermissionsResponse_Permissions) MarshalToSizedBufferVT

func (m *GetPermissionsResponse_Permissions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPermissionsResponse_Permissions) MarshalToVT

func (m *GetPermissionsResponse_Permissions) MarshalToVT(dAtA []byte) (int, error)

func (*GetPermissionsResponse_Permissions) MarshalVT

func (m *GetPermissionsResponse_Permissions) MarshalVT() (dAtA []byte, err error)

func (*GetPermissionsResponse_Permissions) ProtoMessage

func (*GetPermissionsResponse_Permissions) ProtoMessage()

func (*GetPermissionsResponse_Permissions) ProtoReflect

func (*GetPermissionsResponse_Permissions) Reset

func (*GetPermissionsResponse_Permissions) SizeVT

func (m *GetPermissionsResponse_Permissions) SizeVT() (n int)

func (*GetPermissionsResponse_Permissions) String

func (*GetPermissionsResponse_Permissions) UnmarshalVT

func (m *GetPermissionsResponse_Permissions) UnmarshalVT(dAtA []byte) error

type GetPinnedMessagesRequest

type GetPinnedMessagesRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel we want to get pins of.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetPinnedMessages` endpoint.

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

func (x *GetPinnedMessagesRequest) GetGuildId() uint64

func (*GetPinnedMessagesRequest) MarshalToSizedBufferVT

func (m *GetPinnedMessagesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPinnedMessagesRequest) MarshalToVT

func (m *GetPinnedMessagesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetPinnedMessagesRequest) MarshalVT

func (m *GetPinnedMessagesRequest) MarshalVT() (dAtA []byte, err error)

func (*GetPinnedMessagesRequest) ProtoMessage

func (*GetPinnedMessagesRequest) ProtoMessage()

func (*GetPinnedMessagesRequest) ProtoReflect

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

func (*GetPinnedMessagesRequest) Reset

func (x *GetPinnedMessagesRequest) Reset()

func (*GetPinnedMessagesRequest) SizeVT

func (m *GetPinnedMessagesRequest) SizeVT() (n int)

func (*GetPinnedMessagesRequest) String

func (x *GetPinnedMessagesRequest) String() string

func (*GetPinnedMessagesRequest) UnmarshalVT

func (m *GetPinnedMessagesRequest) UnmarshalVT(dAtA []byte) error

type GetPinnedMessagesResponse

type GetPinnedMessagesResponse struct {

	// The IDs of the pinned messages.
	PinnedMessageIds []uint64 `protobuf:"varint,1,rep,packed,name=pinned_message_ids,json=pinnedMessageIds,proto3" json:"pinned_message_ids,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetPinnedMessages` endpoint.

func (*GetPinnedMessagesResponse) Descriptor deprecated

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

Deprecated: Use GetPinnedMessagesResponse.ProtoReflect.Descriptor instead.

func (*GetPinnedMessagesResponse) GetPinnedMessageIds

func (x *GetPinnedMessagesResponse) GetPinnedMessageIds() []uint64

func (*GetPinnedMessagesResponse) MarshalToSizedBufferVT

func (m *GetPinnedMessagesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetPinnedMessagesResponse) MarshalToVT

func (m *GetPinnedMessagesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetPinnedMessagesResponse) MarshalVT

func (m *GetPinnedMessagesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetPinnedMessagesResponse) ProtoMessage

func (*GetPinnedMessagesResponse) ProtoMessage()

func (*GetPinnedMessagesResponse) ProtoReflect

func (*GetPinnedMessagesResponse) Reset

func (x *GetPinnedMessagesResponse) Reset()

func (*GetPinnedMessagesResponse) SizeVT

func (m *GetPinnedMessagesResponse) SizeVT() (n int)

func (*GetPinnedMessagesResponse) String

func (x *GetPinnedMessagesResponse) String() string

func (*GetPinnedMessagesResponse) UnmarshalVT

func (m *GetPinnedMessagesResponse) UnmarshalVT(dAtA []byte) error

type GetUserRolesRequest

type GetUserRolesRequest struct {

	// The ID of the guild where the user(s) are located.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The ID(s) of the user to get roles for.
	UserIds []uint64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Used in the `GetUserRoles` endpoint.

func (*GetUserRolesRequest) Descriptor deprecated

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

Deprecated: Use GetUserRolesRequest.ProtoReflect.Descriptor instead.

func (*GetUserRolesRequest) GetGuildId

func (x *GetUserRolesRequest) GetGuildId() uint64

func (*GetUserRolesRequest) GetUserIds

func (x *GetUserRolesRequest) GetUserIds() []uint64

func (*GetUserRolesRequest) MarshalToSizedBufferVT

func (m *GetUserRolesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetUserRolesRequest) MarshalToVT

func (m *GetUserRolesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetUserRolesRequest) MarshalVT

func (m *GetUserRolesRequest) MarshalVT() (dAtA []byte, err error)

func (*GetUserRolesRequest) ProtoMessage

func (*GetUserRolesRequest) ProtoMessage()

func (*GetUserRolesRequest) ProtoReflect

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

func (*GetUserRolesRequest) Reset

func (x *GetUserRolesRequest) Reset()

func (*GetUserRolesRequest) SizeVT

func (m *GetUserRolesRequest) SizeVT() (n int)

func (*GetUserRolesRequest) String

func (x *GetUserRolesRequest) String() string

func (*GetUserRolesRequest) UnmarshalVT

func (m *GetUserRolesRequest) UnmarshalVT(dAtA []byte) error

type GetUserRolesResponse

type GetUserRolesResponse struct {

	// User ID -> user role IDs map for the requested user(s).
	UserRoles map[uint64]*GetUserRolesResponse_UserRoles `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used in the `GetUserRoles` endpoint.

func (*GetUserRolesResponse) Descriptor deprecated

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

Deprecated: Use GetUserRolesResponse.ProtoReflect.Descriptor instead.

func (*GetUserRolesResponse) GetUserRoles

func (*GetUserRolesResponse) MarshalToSizedBufferVT

func (m *GetUserRolesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetUserRolesResponse) MarshalToVT

func (m *GetUserRolesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetUserRolesResponse) MarshalVT

func (m *GetUserRolesResponse) MarshalVT() (dAtA []byte, err error)

func (*GetUserRolesResponse) ProtoMessage

func (*GetUserRolesResponse) ProtoMessage()

func (*GetUserRolesResponse) ProtoReflect

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

func (*GetUserRolesResponse) Reset

func (x *GetUserRolesResponse) Reset()

func (*GetUserRolesResponse) SizeVT

func (m *GetUserRolesResponse) SizeVT() (n int)

func (*GetUserRolesResponse) String

func (x *GetUserRolesResponse) String() string

func (*GetUserRolesResponse) UnmarshalVT

func (m *GetUserRolesResponse) UnmarshalVT(dAtA []byte) error

type GetUserRolesResponse_UserRoles

type GetUserRolesResponse_UserRoles struct {

	// A list of IDs of the roles the user has.
	Roles []uint64 `protobuf:"varint,1,rep,packed,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Contains role IDs for a user in a guild.

func (*GetUserRolesResponse_UserRoles) Descriptor deprecated

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

Deprecated: Use GetUserRolesResponse_UserRoles.ProtoReflect.Descriptor instead.

func (*GetUserRolesResponse_UserRoles) GetRoles

func (x *GetUserRolesResponse_UserRoles) GetRoles() []uint64

func (*GetUserRolesResponse_UserRoles) MarshalToSizedBufferVT

func (m *GetUserRolesResponse_UserRoles) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetUserRolesResponse_UserRoles) MarshalToVT

func (m *GetUserRolesResponse_UserRoles) MarshalToVT(dAtA []byte) (int, error)

func (*GetUserRolesResponse_UserRoles) MarshalVT

func (m *GetUserRolesResponse_UserRoles) MarshalVT() (dAtA []byte, err error)

func (*GetUserRolesResponse_UserRoles) ProtoMessage

func (*GetUserRolesResponse_UserRoles) ProtoMessage()

func (*GetUserRolesResponse_UserRoles) ProtoReflect

func (*GetUserRolesResponse_UserRoles) Reset

func (x *GetUserRolesResponse_UserRoles) Reset()

func (*GetUserRolesResponse_UserRoles) SizeVT

func (m *GetUserRolesResponse_UserRoles) SizeVT() (n int)

func (*GetUserRolesResponse_UserRoles) String

func (*GetUserRolesResponse_UserRoles) UnmarshalVT

func (m *GetUserRolesResponse_UserRoles) UnmarshalVT(dAtA []byte) error

type GiveUpOwnershipRequest

type GiveUpOwnershipRequest struct {

	// Guild ID to give up your ownership on.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Request for GiveUpOwnership

func (*GiveUpOwnershipRequest) Descriptor deprecated

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

Deprecated: Use GiveUpOwnershipRequest.ProtoReflect.Descriptor instead.

func (*GiveUpOwnershipRequest) GetGuildId

func (x *GiveUpOwnershipRequest) GetGuildId() uint64

func (*GiveUpOwnershipRequest) MarshalToSizedBufferVT

func (m *GiveUpOwnershipRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GiveUpOwnershipRequest) MarshalToVT

func (m *GiveUpOwnershipRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GiveUpOwnershipRequest) MarshalVT

func (m *GiveUpOwnershipRequest) MarshalVT() (dAtA []byte, err error)

func (*GiveUpOwnershipRequest) ProtoMessage

func (*GiveUpOwnershipRequest) ProtoMessage()

func (*GiveUpOwnershipRequest) ProtoReflect

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

func (*GiveUpOwnershipRequest) Reset

func (x *GiveUpOwnershipRequest) Reset()

func (*GiveUpOwnershipRequest) SizeVT

func (m *GiveUpOwnershipRequest) SizeVT() (n int)

func (*GiveUpOwnershipRequest) String

func (x *GiveUpOwnershipRequest) String() string

func (*GiveUpOwnershipRequest) UnmarshalVT

func (m *GiveUpOwnershipRequest) UnmarshalVT(dAtA []byte) error

type GiveUpOwnershipResponse

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

Response for GiveUpOwnership

func (*GiveUpOwnershipResponse) Descriptor deprecated

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

Deprecated: Use GiveUpOwnershipResponse.ProtoReflect.Descriptor instead.

func (*GiveUpOwnershipResponse) MarshalToSizedBufferVT

func (m *GiveUpOwnershipResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GiveUpOwnershipResponse) MarshalToVT

func (m *GiveUpOwnershipResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GiveUpOwnershipResponse) MarshalVT

func (m *GiveUpOwnershipResponse) MarshalVT() (dAtA []byte, err error)

func (*GiveUpOwnershipResponse) ProtoMessage

func (*GiveUpOwnershipResponse) ProtoMessage()

func (*GiveUpOwnershipResponse) ProtoReflect

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

func (*GiveUpOwnershipResponse) Reset

func (x *GiveUpOwnershipResponse) Reset()

func (*GiveUpOwnershipResponse) SizeVT

func (m *GiveUpOwnershipResponse) SizeVT() (n int)

func (*GiveUpOwnershipResponse) String

func (x *GiveUpOwnershipResponse) String() string

func (*GiveUpOwnershipResponse) UnmarshalVT

func (m *GiveUpOwnershipResponse) UnmarshalVT(dAtA []byte) error

type GrantOwnershipRequest

type GrantOwnershipRequest struct {

	// Guild ID of the guild to give a user ownership on.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The ID of the new owner to add.
	NewOwnerId uint64 `protobuf:"varint,2,opt,name=new_owner_id,json=newOwnerId,proto3" json:"new_owner_id,omitempty"`
	// contains filtered or unexported fields
}

Request for GrantOwnership

func (*GrantOwnershipRequest) Descriptor deprecated

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

Deprecated: Use GrantOwnershipRequest.ProtoReflect.Descriptor instead.

func (*GrantOwnershipRequest) GetGuildId

func (x *GrantOwnershipRequest) GetGuildId() uint64

func (*GrantOwnershipRequest) GetNewOwnerId

func (x *GrantOwnershipRequest) GetNewOwnerId() uint64

func (*GrantOwnershipRequest) MarshalToSizedBufferVT

func (m *GrantOwnershipRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GrantOwnershipRequest) MarshalToVT

func (m *GrantOwnershipRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GrantOwnershipRequest) MarshalVT

func (m *GrantOwnershipRequest) MarshalVT() (dAtA []byte, err error)

func (*GrantOwnershipRequest) ProtoMessage

func (*GrantOwnershipRequest) ProtoMessage()

func (*GrantOwnershipRequest) ProtoReflect

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

func (*GrantOwnershipRequest) Reset

func (x *GrantOwnershipRequest) Reset()

func (*GrantOwnershipRequest) SizeVT

func (m *GrantOwnershipRequest) SizeVT() (n int)

func (*GrantOwnershipRequest) String

func (x *GrantOwnershipRequest) String() string

func (*GrantOwnershipRequest) UnmarshalVT

func (m *GrantOwnershipRequest) UnmarshalVT(dAtA []byte) error

type GrantOwnershipResponse

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

Response for GrantOwnership

func (*GrantOwnershipResponse) Descriptor deprecated

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

Deprecated: Use GrantOwnershipResponse.ProtoReflect.Descriptor instead.

func (*GrantOwnershipResponse) MarshalToSizedBufferVT

func (m *GrantOwnershipResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GrantOwnershipResponse) MarshalToVT

func (m *GrantOwnershipResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GrantOwnershipResponse) MarshalVT

func (m *GrantOwnershipResponse) MarshalVT() (dAtA []byte, err error)

func (*GrantOwnershipResponse) ProtoMessage

func (*GrantOwnershipResponse) ProtoMessage()

func (*GrantOwnershipResponse) ProtoReflect

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

func (*GrantOwnershipResponse) Reset

func (x *GrantOwnershipResponse) Reset()

func (*GrantOwnershipResponse) SizeVT

func (m *GrantOwnershipResponse) SizeVT() (n int)

func (*GrantOwnershipResponse) String

func (x *GrantOwnershipResponse) String() string

func (*GrantOwnershipResponse) UnmarshalVT

func (m *GrantOwnershipResponse) UnmarshalVT(dAtA []byte) error

type Guild

type Guild struct {

	// The name of the guild.
	//
	// This will be empty if the guild kind is "direct message". See
	// the documentation of "direct message" guild kind on how to display
	// a name for those guilds.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The picture of the guild. This must be a file ID that points to an image.
	Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
	// User ID of the owners of the guild.
	OwnerIds []uint64 `protobuf:"varint,3,rep,packed,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// The kind of this guild.
	Kind Guild_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=protocol.chat.v1.Guild_Kind" json:"kind,omitempty"`
	// Metadata of the guild.
	Metadata *v1.Metadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Object representing a guild without the ID part.

func (*Guild) Descriptor deprecated

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

Deprecated: Use Guild.ProtoReflect.Descriptor instead.

func (*Guild) GetKind

func (x *Guild) GetKind() Guild_Kind

func (*Guild) GetMetadata

func (x *Guild) GetMetadata() *v1.Metadata

func (*Guild) GetName

func (x *Guild) GetName() string

func (*Guild) GetOwnerIds

func (x *Guild) GetOwnerIds() []uint64

func (*Guild) GetPicture

func (x *Guild) GetPicture() string

func (*Guild) MarshalToSizedBufferVT

func (m *Guild) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Guild) MarshalToVT

func (m *Guild) MarshalToVT(dAtA []byte) (int, error)

func (*Guild) MarshalVT

func (m *Guild) MarshalVT() (dAtA []byte, err error)

func (*Guild) ProtoMessage

func (*Guild) ProtoMessage()

func (*Guild) ProtoReflect

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

func (*Guild) Reset

func (x *Guild) Reset()

func (*Guild) SizeVT

func (m *Guild) SizeVT() (n int)

func (*Guild) String

func (x *Guild) String() string

func (*Guild) UnmarshalVT

func (m *Guild) UnmarshalVT(dAtA []byte) error

type GuildListEntry

type GuildListEntry struct {

	// Guild ID of this guild entry.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Server ID of the homeserver of this guild.
	ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

Object representing a guild list entry.

func (*GuildListEntry) Descriptor deprecated

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

Deprecated: Use GuildListEntry.ProtoReflect.Descriptor instead.

func (*GuildListEntry) GetGuildId

func (x *GuildListEntry) GetGuildId() uint64

func (*GuildListEntry) GetServerId

func (x *GuildListEntry) GetServerId() string

func (*GuildListEntry) MarshalToSizedBufferVT

func (m *GuildListEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GuildListEntry) MarshalToVT

func (m *GuildListEntry) MarshalToVT(dAtA []byte) (int, error)

func (*GuildListEntry) MarshalVT

func (m *GuildListEntry) MarshalVT() (dAtA []byte, err error)

func (*GuildListEntry) ProtoMessage

func (*GuildListEntry) ProtoMessage()

func (*GuildListEntry) ProtoReflect

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

func (*GuildListEntry) Reset

func (x *GuildListEntry) Reset()

func (*GuildListEntry) SizeVT

func (m *GuildListEntry) SizeVT() (n int)

func (*GuildListEntry) String

func (x *GuildListEntry) String() string

func (*GuildListEntry) UnmarshalVT

func (m *GuildListEntry) UnmarshalVT(dAtA []byte) error

type GuildWithId

type GuildWithId struct {

	// The ID of the guild.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The guild.
	Guild *Guild `protobuf:"bytes,2,opt,name=guild,proto3" json:"guild,omitempty"`
	// contains filtered or unexported fields
}

Object representing a guild with the ID part.

func (*GuildWithId) Descriptor deprecated

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

Deprecated: Use GuildWithId.ProtoReflect.Descriptor instead.

func (*GuildWithId) GetGuild

func (x *GuildWithId) GetGuild() *Guild

func (*GuildWithId) GetGuildId

func (x *GuildWithId) GetGuildId() uint64

func (*GuildWithId) MarshalToSizedBufferVT

func (m *GuildWithId) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GuildWithId) MarshalToVT

func (m *GuildWithId) MarshalToVT(dAtA []byte) (int, error)

func (*GuildWithId) MarshalVT

func (m *GuildWithId) MarshalVT() (dAtA []byte, err error)

func (*GuildWithId) ProtoMessage

func (*GuildWithId) ProtoMessage()

func (*GuildWithId) ProtoReflect

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

func (*GuildWithId) Reset

func (x *GuildWithId) Reset()

func (*GuildWithId) SizeVT

func (m *GuildWithId) SizeVT() (n int)

func (*GuildWithId) String

func (x *GuildWithId) String() string

func (*GuildWithId) UnmarshalVT

func (m *GuildWithId) UnmarshalVT(dAtA []byte) error

type Guild_Kind

type Guild_Kind int32

The kind of a guild.

const (
	// A "normal" guild as in a guild that allows multiple channels.
	Guild_KIND_NORMAL_UNSPECIFIED Guild_Kind = 0
	// A "room" guild as in a guild that only has one channel.
	//
	// - Clients should not show a channel list for guilds of this type.
	Guild_KIND_ROOM Guild_Kind = 1
	// A "direct message" guild as in a guild that has at most two members,
	// and has only one channel.
	//
	// - Clients should not show a channel list for guilds of this type.
	// - Clients should show this guild in the guild list with the profile picture
	// and the username of the other user.
	// - Servers should "upgrade" this guild to a "room" guild if another
	// user joins the guild. A name should be crafted using the algorithm
	// described below:
	//   - Get at most 3 members' usernames, by their
	//   - Concat them with ", " as a seperator.
	Guild_KIND_DIRECT_MESSAGE Guild_Kind = 2
)

func (Guild_Kind) Descriptor

func (Guild_Kind) Descriptor() protoreflect.EnumDescriptor

func (Guild_Kind) Enum

func (x Guild_Kind) Enum() *Guild_Kind

func (Guild_Kind) EnumDescriptor deprecated

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

Deprecated: Use Guild_Kind.Descriptor instead.

func (Guild_Kind) Number

func (x Guild_Kind) Number() protoreflect.EnumNumber

func (Guild_Kind) String

func (x Guild_Kind) String() string

func (Guild_Kind) Type

type HasPermissionRequest

type HasPermissionRequest struct {

	// The guild ID to query permissions for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The channel ID to query permissions for. If not set, it will query
	// permissions for the guild.
	ChannelId *uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	// The user ID to query permissions for (if not provided, the current user is
	// assumed).
	As *uint64 `protobuf:"varint,4,opt,name=as,proto3,oneof" json:"as,omitempty"`
	// The permission node(s) to check for.
	CheckFor []string `protobuf:"bytes,3,rep,name=check_for,json=checkFor,proto3" json:"check_for,omitempty"`
	// contains filtered or unexported fields
}

Used in the `HasPermission` endpoint.

func (*HasPermissionRequest) Descriptor deprecated

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

Deprecated: Use HasPermissionRequest.ProtoReflect.Descriptor instead.

func (*HasPermissionRequest) GetAs

func (x *HasPermissionRequest) GetAs() uint64

func (*HasPermissionRequest) GetChannelId

func (x *HasPermissionRequest) GetChannelId() uint64

func (*HasPermissionRequest) GetCheckFor

func (x *HasPermissionRequest) GetCheckFor() []string

func (*HasPermissionRequest) GetGuildId

func (x *HasPermissionRequest) GetGuildId() uint64

func (*HasPermissionRequest) MarshalToSizedBufferVT

func (m *HasPermissionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HasPermissionRequest) MarshalToVT

func (m *HasPermissionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*HasPermissionRequest) MarshalVT

func (m *HasPermissionRequest) MarshalVT() (dAtA []byte, err error)

func (*HasPermissionRequest) ProtoMessage

func (*HasPermissionRequest) ProtoMessage()

func (*HasPermissionRequest) ProtoReflect

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

func (*HasPermissionRequest) Reset

func (x *HasPermissionRequest) Reset()

func (*HasPermissionRequest) SizeVT

func (m *HasPermissionRequest) SizeVT() (n int)

func (*HasPermissionRequest) String

func (x *HasPermissionRequest) String() string

func (*HasPermissionRequest) UnmarshalVT

func (m *HasPermissionRequest) UnmarshalVT(dAtA []byte) error

type HasPermissionResponse

type HasPermissionResponse struct {

	// The permissions for the requested node(s).
	Perms []*Permission `protobuf:"bytes,1,rep,name=perms,proto3" json:"perms,omitempty"`
	// contains filtered or unexported fields
}

Used in the `HasPermission` endpoint.

func (*HasPermissionResponse) Descriptor deprecated

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

Deprecated: Use HasPermissionResponse.ProtoReflect.Descriptor instead.

func (*HasPermissionResponse) GetPerms

func (x *HasPermissionResponse) GetPerms() []*Permission

func (*HasPermissionResponse) MarshalToSizedBufferVT

func (m *HasPermissionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HasPermissionResponse) MarshalToVT

func (m *HasPermissionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*HasPermissionResponse) MarshalVT

func (m *HasPermissionResponse) MarshalVT() (dAtA []byte, err error)

func (*HasPermissionResponse) ProtoMessage

func (*HasPermissionResponse) ProtoMessage()

func (*HasPermissionResponse) ProtoReflect

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

func (*HasPermissionResponse) Reset

func (x *HasPermissionResponse) Reset()

func (*HasPermissionResponse) SizeVT

func (m *HasPermissionResponse) SizeVT() (n int)

func (*HasPermissionResponse) String

func (x *HasPermissionResponse) String() string

func (*HasPermissionResponse) UnmarshalVT

func (m *HasPermissionResponse) UnmarshalVT(dAtA []byte) error

type IgnorePendingInviteRequest

type IgnorePendingInviteRequest struct {

	// ID of the pending invite to ignore.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// Server ID of the pending invite to reject.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `IgnorePendingInvite` endpoint.

func (*IgnorePendingInviteRequest) Descriptor deprecated

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

Deprecated: Use IgnorePendingInviteRequest.ProtoReflect.Descriptor instead.

func (*IgnorePendingInviteRequest) GetInviteId

func (x *IgnorePendingInviteRequest) GetInviteId() string

func (*IgnorePendingInviteRequest) GetServerId

func (x *IgnorePendingInviteRequest) GetServerId() string

func (*IgnorePendingInviteRequest) MarshalToSizedBufferVT

func (m *IgnorePendingInviteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IgnorePendingInviteRequest) MarshalToVT

func (m *IgnorePendingInviteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*IgnorePendingInviteRequest) MarshalVT

func (m *IgnorePendingInviteRequest) MarshalVT() (dAtA []byte, err error)

func (*IgnorePendingInviteRequest) ProtoMessage

func (*IgnorePendingInviteRequest) ProtoMessage()

func (*IgnorePendingInviteRequest) ProtoReflect

func (*IgnorePendingInviteRequest) Reset

func (x *IgnorePendingInviteRequest) Reset()

func (*IgnorePendingInviteRequest) SizeVT

func (m *IgnorePendingInviteRequest) SizeVT() (n int)

func (*IgnorePendingInviteRequest) String

func (x *IgnorePendingInviteRequest) String() string

func (*IgnorePendingInviteRequest) UnmarshalVT

func (m *IgnorePendingInviteRequest) UnmarshalVT(dAtA []byte) error

type IgnorePendingInviteResponse

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

Used in `IgnorePendingInvite` endpoint.

func (*IgnorePendingInviteResponse) Descriptor deprecated

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

Deprecated: Use IgnorePendingInviteResponse.ProtoReflect.Descriptor instead.

func (*IgnorePendingInviteResponse) MarshalToSizedBufferVT

func (m *IgnorePendingInviteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IgnorePendingInviteResponse) MarshalToVT

func (m *IgnorePendingInviteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*IgnorePendingInviteResponse) MarshalVT

func (m *IgnorePendingInviteResponse) MarshalVT() (dAtA []byte, err error)

func (*IgnorePendingInviteResponse) ProtoMessage

func (*IgnorePendingInviteResponse) ProtoMessage()

func (*IgnorePendingInviteResponse) ProtoReflect

func (*IgnorePendingInviteResponse) Reset

func (x *IgnorePendingInviteResponse) Reset()

func (*IgnorePendingInviteResponse) SizeVT

func (m *IgnorePendingInviteResponse) SizeVT() (n int)

func (*IgnorePendingInviteResponse) String

func (x *IgnorePendingInviteResponse) String() string

func (*IgnorePendingInviteResponse) UnmarshalVT

func (m *IgnorePendingInviteResponse) UnmarshalVT(dAtA []byte) error

type Invite

type Invite struct {

	// Possible uses of this invite. A use of `0` means infinite uses.
	PossibleUses uint32 `protobuf:"varint,1,opt,name=possible_uses,json=possibleUses,proto3" json:"possible_uses,omitempty"`
	// Total use count of this invite.
	UseCount uint32 `protobuf:"varint,2,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"`
	// contains filtered or unexported fields
}

Object representing an invite without the ID part.

func (*Invite) Descriptor deprecated

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

Deprecated: Use Invite.ProtoReflect.Descriptor instead.

func (*Invite) GetPossibleUses

func (x *Invite) GetPossibleUses() uint32

func (*Invite) GetUseCount

func (x *Invite) GetUseCount() uint32

func (*Invite) MarshalToSizedBufferVT

func (m *Invite) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Invite) MarshalToVT

func (m *Invite) MarshalToVT(dAtA []byte) (int, error)

func (*Invite) MarshalVT

func (m *Invite) MarshalVT() (dAtA []byte, err error)

func (*Invite) ProtoMessage

func (*Invite) ProtoMessage()

func (*Invite) ProtoReflect

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

func (*Invite) Reset

func (x *Invite) Reset()

func (*Invite) SizeVT

func (m *Invite) SizeVT() (n int)

func (*Invite) String

func (x *Invite) String() string

func (*Invite) UnmarshalVT

func (m *Invite) UnmarshalVT(dAtA []byte) error

type InviteUserToGuildRequest

type InviteUserToGuildRequest struct {

	// User name of the user to invite.
	UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Server ID of the user if they are on another server.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// Guild ID of the guild to invite to.
	GuildId uint64 `protobuf:"varint,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `InviteUserToGuild` endpoint.

func (*InviteUserToGuildRequest) Descriptor deprecated

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

Deprecated: Use InviteUserToGuildRequest.ProtoReflect.Descriptor instead.

func (*InviteUserToGuildRequest) GetGuildId

func (x *InviteUserToGuildRequest) GetGuildId() uint64

func (*InviteUserToGuildRequest) GetServerId

func (x *InviteUserToGuildRequest) GetServerId() string

func (*InviteUserToGuildRequest) GetUserName

func (x *InviteUserToGuildRequest) GetUserName() string

func (*InviteUserToGuildRequest) MarshalToSizedBufferVT

func (m *InviteUserToGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InviteUserToGuildRequest) MarshalToVT

func (m *InviteUserToGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*InviteUserToGuildRequest) MarshalVT

func (m *InviteUserToGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*InviteUserToGuildRequest) ProtoMessage

func (*InviteUserToGuildRequest) ProtoMessage()

func (*InviteUserToGuildRequest) ProtoReflect

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

func (*InviteUserToGuildRequest) Reset

func (x *InviteUserToGuildRequest) Reset()

func (*InviteUserToGuildRequest) SizeVT

func (m *InviteUserToGuildRequest) SizeVT() (n int)

func (*InviteUserToGuildRequest) String

func (x *InviteUserToGuildRequest) String() string

func (*InviteUserToGuildRequest) UnmarshalVT

func (m *InviteUserToGuildRequest) UnmarshalVT(dAtA []byte) error

type InviteUserToGuildResponse

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

Used in `InviteUserToGuild` endpoint.

func (*InviteUserToGuildResponse) Descriptor deprecated

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

Deprecated: Use InviteUserToGuildResponse.ProtoReflect.Descriptor instead.

func (*InviteUserToGuildResponse) MarshalToSizedBufferVT

func (m *InviteUserToGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InviteUserToGuildResponse) MarshalToVT

func (m *InviteUserToGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*InviteUserToGuildResponse) MarshalVT

func (m *InviteUserToGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*InviteUserToGuildResponse) ProtoMessage

func (*InviteUserToGuildResponse) ProtoMessage()

func (*InviteUserToGuildResponse) ProtoReflect

func (*InviteUserToGuildResponse) Reset

func (x *InviteUserToGuildResponse) Reset()

func (*InviteUserToGuildResponse) SizeVT

func (m *InviteUserToGuildResponse) SizeVT() (n int)

func (*InviteUserToGuildResponse) String

func (x *InviteUserToGuildResponse) String() string

func (*InviteUserToGuildResponse) UnmarshalVT

func (m *InviteUserToGuildResponse) UnmarshalVT(dAtA []byte) error

type InviteWithId

type InviteWithId struct {

	// ID of the invite.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// The invite data.
	Invite *Invite `protobuf:"bytes,2,opt,name=invite,proto3" json:"invite,omitempty"`
	// contains filtered or unexported fields
}

Invite with ID.

func (*InviteWithId) Descriptor deprecated

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

Deprecated: Use InviteWithId.ProtoReflect.Descriptor instead.

func (*InviteWithId) GetInvite

func (x *InviteWithId) GetInvite() *Invite

func (*InviteWithId) GetInviteId

func (x *InviteWithId) GetInviteId() string

func (*InviteWithId) MarshalToSizedBufferVT

func (m *InviteWithId) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*InviteWithId) MarshalToVT

func (m *InviteWithId) MarshalToVT(dAtA []byte) (int, error)

func (*InviteWithId) MarshalVT

func (m *InviteWithId) MarshalVT() (dAtA []byte, err error)

func (*InviteWithId) ProtoMessage

func (*InviteWithId) ProtoMessage()

func (*InviteWithId) ProtoReflect

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

func (*InviteWithId) Reset

func (x *InviteWithId) Reset()

func (*InviteWithId) SizeVT

func (m *InviteWithId) SizeVT() (n int)

func (*InviteWithId) String

func (x *InviteWithId) String() string

func (*InviteWithId) UnmarshalVT

func (m *InviteWithId) UnmarshalVT(dAtA []byte) error

type JoinGuildRequest

type JoinGuildRequest struct {

	// Invite ID of the guild you want to join.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `JoinGuild` endpoint.

func (*JoinGuildRequest) Descriptor deprecated

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

Deprecated: Use JoinGuildRequest.ProtoReflect.Descriptor instead.

func (*JoinGuildRequest) GetInviteId

func (x *JoinGuildRequest) GetInviteId() string

func (*JoinGuildRequest) MarshalToSizedBufferVT

func (m *JoinGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*JoinGuildRequest) MarshalToVT

func (m *JoinGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*JoinGuildRequest) MarshalVT

func (m *JoinGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*JoinGuildRequest) ProtoMessage

func (*JoinGuildRequest) ProtoMessage()

func (*JoinGuildRequest) ProtoReflect

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

func (*JoinGuildRequest) Reset

func (x *JoinGuildRequest) Reset()

func (*JoinGuildRequest) SizeVT

func (m *JoinGuildRequest) SizeVT() (n int)

func (*JoinGuildRequest) String

func (x *JoinGuildRequest) String() string

func (*JoinGuildRequest) UnmarshalVT

func (m *JoinGuildRequest) UnmarshalVT(dAtA []byte) error

type JoinGuildResponse

type JoinGuildResponse struct {

	// Guild ID of the guild you joined.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `JoinGuild` endpoint.

func (*JoinGuildResponse) Descriptor deprecated

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

Deprecated: Use JoinGuildResponse.ProtoReflect.Descriptor instead.

func (*JoinGuildResponse) GetGuildId

func (x *JoinGuildResponse) GetGuildId() uint64

func (*JoinGuildResponse) MarshalToSizedBufferVT

func (m *JoinGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*JoinGuildResponse) MarshalToVT

func (m *JoinGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*JoinGuildResponse) MarshalVT

func (m *JoinGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*JoinGuildResponse) ProtoMessage

func (*JoinGuildResponse) ProtoMessage()

func (*JoinGuildResponse) ProtoReflect

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

func (*JoinGuildResponse) Reset

func (x *JoinGuildResponse) Reset()

func (*JoinGuildResponse) SizeVT

func (m *JoinGuildResponse) SizeVT() (n int)

func (*JoinGuildResponse) String

func (x *JoinGuildResponse) String() string

func (*JoinGuildResponse) UnmarshalVT

func (m *JoinGuildResponse) UnmarshalVT(dAtA []byte) error

type KickUserRequest

type KickUserRequest struct {

	// The guild ID of the guild to kick the user from.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The user ID of the user to kick.
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `KickUser` endpoint.

func (*KickUserRequest) Descriptor deprecated

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

Deprecated: Use KickUserRequest.ProtoReflect.Descriptor instead.

func (*KickUserRequest) GetGuildId

func (x *KickUserRequest) GetGuildId() uint64

func (*KickUserRequest) GetUserId

func (x *KickUserRequest) GetUserId() uint64

func (*KickUserRequest) MarshalToSizedBufferVT

func (m *KickUserRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KickUserRequest) MarshalToVT

func (m *KickUserRequest) MarshalToVT(dAtA []byte) (int, error)

func (*KickUserRequest) MarshalVT

func (m *KickUserRequest) MarshalVT() (dAtA []byte, err error)

func (*KickUserRequest) ProtoMessage

func (*KickUserRequest) ProtoMessage()

func (*KickUserRequest) ProtoReflect

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

func (*KickUserRequest) Reset

func (x *KickUserRequest) Reset()

func (*KickUserRequest) SizeVT

func (m *KickUserRequest) SizeVT() (n int)

func (*KickUserRequest) String

func (x *KickUserRequest) String() string

func (*KickUserRequest) UnmarshalVT

func (m *KickUserRequest) UnmarshalVT(dAtA []byte) error

type KickUserResponse

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

Used in `KickUser` endpoint.

func (*KickUserResponse) Descriptor deprecated

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

Deprecated: Use KickUserResponse.ProtoReflect.Descriptor instead.

func (*KickUserResponse) MarshalToSizedBufferVT

func (m *KickUserResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KickUserResponse) MarshalToVT

func (m *KickUserResponse) MarshalToVT(dAtA []byte) (int, error)

func (*KickUserResponse) MarshalVT

func (m *KickUserResponse) MarshalVT() (dAtA []byte, err error)

func (*KickUserResponse) ProtoMessage

func (*KickUserResponse) ProtoMessage()

func (*KickUserResponse) ProtoReflect

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

func (*KickUserResponse) Reset

func (x *KickUserResponse) Reset()

func (*KickUserResponse) SizeVT

func (m *KickUserResponse) SizeVT() (n int)

func (*KickUserResponse) String

func (x *KickUserResponse) String() string

func (*KickUserResponse) UnmarshalVT

func (m *KickUserResponse) UnmarshalVT(dAtA []byte) error

type LeaveGuildRequest

type LeaveGuildRequest struct {

	// Guild ID of the guild you want to leave.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `LeaveGuild` endpoint.

func (*LeaveGuildRequest) Descriptor deprecated

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

Deprecated: Use LeaveGuildRequest.ProtoReflect.Descriptor instead.

func (*LeaveGuildRequest) GetGuildId

func (x *LeaveGuildRequest) GetGuildId() uint64

func (*LeaveGuildRequest) MarshalToSizedBufferVT

func (m *LeaveGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LeaveGuildRequest) MarshalToVT

func (m *LeaveGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*LeaveGuildRequest) MarshalVT

func (m *LeaveGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*LeaveGuildRequest) ProtoMessage

func (*LeaveGuildRequest) ProtoMessage()

func (*LeaveGuildRequest) ProtoReflect

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

func (*LeaveGuildRequest) Reset

func (x *LeaveGuildRequest) Reset()

func (*LeaveGuildRequest) SizeVT

func (m *LeaveGuildRequest) SizeVT() (n int)

func (*LeaveGuildRequest) String

func (x *LeaveGuildRequest) String() string

func (*LeaveGuildRequest) UnmarshalVT

func (m *LeaveGuildRequest) UnmarshalVT(dAtA []byte) error

type LeaveGuildResponse

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

Used in the `LeaveGuild` endpoint.

func (*LeaveGuildResponse) Descriptor deprecated

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

Deprecated: Use LeaveGuildResponse.ProtoReflect.Descriptor instead.

func (*LeaveGuildResponse) MarshalToSizedBufferVT

func (m *LeaveGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LeaveGuildResponse) MarshalToVT

func (m *LeaveGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*LeaveGuildResponse) MarshalVT

func (m *LeaveGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*LeaveGuildResponse) ProtoMessage

func (*LeaveGuildResponse) ProtoMessage()

func (*LeaveGuildResponse) ProtoReflect

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

func (*LeaveGuildResponse) Reset

func (x *LeaveGuildResponse) Reset()

func (*LeaveGuildResponse) SizeVT

func (m *LeaveGuildResponse) SizeVT() (n int)

func (*LeaveGuildResponse) String

func (x *LeaveGuildResponse) String() string

func (*LeaveGuildResponse) UnmarshalVT

func (m *LeaveGuildResponse) UnmarshalVT(dAtA []byte) error

type LeaveReason

type LeaveReason int32

A reason for why a user has left a guild.

const (
	// The user left the guild willingly.
	LeaveReason_LEAVE_REASON_WILLINGLY_UNSPECIFIED LeaveReason = 0
	// The user was banned from the guild.
	LeaveReason_LEAVE_REASON_BANNED LeaveReason = 1
	// The user was kicked from the guild.
	LeaveReason_LEAVE_REASON_KICKED LeaveReason = 2
)

func (LeaveReason) Descriptor

func (LeaveReason) Enum

func (x LeaveReason) Enum() *LeaveReason

func (LeaveReason) EnumDescriptor deprecated

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

Deprecated: Use LeaveReason.Descriptor instead.

func (LeaveReason) Number

func (x LeaveReason) Number() protoreflect.EnumNumber

func (LeaveReason) String

func (x LeaveReason) String() string

func (LeaveReason) Type

type ManageUserRolesRequest

type ManageUserRolesRequest struct {

	// The ID of the guild where the user is being managed.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The ID of the user to modify.
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The IDs of the roles to add.
	GiveRoleIds []uint64 `protobuf:"varint,3,rep,packed,name=give_role_ids,json=giveRoleIds,proto3" json:"give_role_ids,omitempty"`
	// The IDs of the roles to remove.
	TakeRoleIds []uint64 `protobuf:"varint,4,rep,packed,name=take_role_ids,json=takeRoleIds,proto3" json:"take_role_ids,omitempty"`
	// contains filtered or unexported fields
}

Used in the `ManageUserRoles` endpoint.

func (*ManageUserRolesRequest) Descriptor deprecated

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

Deprecated: Use ManageUserRolesRequest.ProtoReflect.Descriptor instead.

func (*ManageUserRolesRequest) GetGiveRoleIds

func (x *ManageUserRolesRequest) GetGiveRoleIds() []uint64

func (*ManageUserRolesRequest) GetGuildId

func (x *ManageUserRolesRequest) GetGuildId() uint64

func (*ManageUserRolesRequest) GetTakeRoleIds

func (x *ManageUserRolesRequest) GetTakeRoleIds() []uint64

func (*ManageUserRolesRequest) GetUserId

func (x *ManageUserRolesRequest) GetUserId() uint64

func (*ManageUserRolesRequest) MarshalToSizedBufferVT

func (m *ManageUserRolesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ManageUserRolesRequest) MarshalToVT

func (m *ManageUserRolesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ManageUserRolesRequest) MarshalVT

func (m *ManageUserRolesRequest) MarshalVT() (dAtA []byte, err error)

func (*ManageUserRolesRequest) ProtoMessage

func (*ManageUserRolesRequest) ProtoMessage()

func (*ManageUserRolesRequest) ProtoReflect

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

func (*ManageUserRolesRequest) Reset

func (x *ManageUserRolesRequest) Reset()

func (*ManageUserRolesRequest) SizeVT

func (m *ManageUserRolesRequest) SizeVT() (n int)

func (*ManageUserRolesRequest) String

func (x *ManageUserRolesRequest) String() string

func (*ManageUserRolesRequest) UnmarshalVT

func (m *ManageUserRolesRequest) UnmarshalVT(dAtA []byte) error

type ManageUserRolesResponse

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

Used in the `ManageUserRoles` endpoint.

func (*ManageUserRolesResponse) Descriptor deprecated

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

Deprecated: Use ManageUserRolesResponse.ProtoReflect.Descriptor instead.

func (*ManageUserRolesResponse) MarshalToSizedBufferVT

func (m *ManageUserRolesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ManageUserRolesResponse) MarshalToVT

func (m *ManageUserRolesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ManageUserRolesResponse) MarshalVT

func (m *ManageUserRolesResponse) MarshalVT() (dAtA []byte, err error)

func (*ManageUserRolesResponse) ProtoMessage

func (*ManageUserRolesResponse) ProtoMessage()

func (*ManageUserRolesResponse) ProtoReflect

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

func (*ManageUserRolesResponse) Reset

func (x *ManageUserRolesResponse) Reset()

func (*ManageUserRolesResponse) SizeVT

func (m *ManageUserRolesResponse) SizeVT() (n int)

func (*ManageUserRolesResponse) String

func (x *ManageUserRolesResponse) String() string

func (*ManageUserRolesResponse) UnmarshalVT

func (m *ManageUserRolesResponse) UnmarshalVT(dAtA []byte) error

type Message

type Message struct {

	// Metadata of this message.
	Metadata *v1.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Overrides of this message.
	Overrides *Overrides `protobuf:"bytes,2,opt,name=overrides,proto3" json:"overrides,omitempty"`
	// User ID of the user who sent this message.
	AuthorId uint64 `protobuf:"varint,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	// When this message was created, in seconds since unix epoch.
	CreatedAt uint64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The most recent time this message was edited, in seconds since unix epoch.
	EditedAt *uint64 `protobuf:"varint,5,opt,name=edited_at,json=editedAt,proto3,oneof" json:"edited_at,omitempty"`
	// The message this message is a reply to.
	InReplyTo *uint64 `protobuf:"varint,6,opt,name=in_reply_to,json=inReplyTo,proto3,oneof" json:"in_reply_to,omitempty"`
	// The content of the message.
	Content *Content `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
	// The reactions of the message.
	Reactions []*Reaction `protobuf:"bytes,8,rep,name=reactions,proto3" json:"reactions,omitempty"`
	// contains filtered or unexported fields
}

Object representing a message without the ID part.

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetAuthorId

func (x *Message) GetAuthorId() uint64

func (*Message) GetContent

func (x *Message) GetContent() *Content

func (*Message) GetCreatedAt

func (x *Message) GetCreatedAt() uint64

func (*Message) GetEditedAt

func (x *Message) GetEditedAt() uint64

func (*Message) GetInReplyTo

func (x *Message) GetInReplyTo() uint64

func (*Message) GetMetadata

func (x *Message) GetMetadata() *v1.Metadata

func (*Message) GetOverrides

func (x *Message) GetOverrides() *Overrides

func (*Message) GetReactions

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

func (*Message) MarshalToSizedBufferVT

func (m *Message) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Message) MarshalToVT

func (m *Message) MarshalToVT(dAtA []byte) (int, error)

func (*Message) MarshalVT

func (m *Message) MarshalVT() (dAtA []byte, err error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) SizeVT

func (m *Message) SizeVT() (n int)

func (*Message) String

func (x *Message) String() string

func (*Message) UnmarshalVT

func (m *Message) UnmarshalVT(dAtA []byte) error

type MessageWithId

type MessageWithId struct {

	// ID of the message.
	MessageId uint64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The message data.
	Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Object representing a message with it's ID.

func (*MessageWithId) Descriptor deprecated

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

Deprecated: Use MessageWithId.ProtoReflect.Descriptor instead.

func (*MessageWithId) GetMessage

func (x *MessageWithId) GetMessage() *Message

func (*MessageWithId) GetMessageId

func (x *MessageWithId) GetMessageId() uint64

func (*MessageWithId) MarshalToSizedBufferVT

func (m *MessageWithId) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MessageWithId) MarshalToVT

func (m *MessageWithId) MarshalToVT(dAtA []byte) (int, error)

func (*MessageWithId) MarshalVT

func (m *MessageWithId) MarshalVT() (dAtA []byte, err error)

func (*MessageWithId) ProtoMessage

func (*MessageWithId) ProtoMessage()

func (*MessageWithId) ProtoReflect

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

func (*MessageWithId) Reset

func (x *MessageWithId) Reset()

func (*MessageWithId) SizeVT

func (m *MessageWithId) SizeVT() (n int)

func (*MessageWithId) String

func (x *MessageWithId) String() string

func (*MessageWithId) UnmarshalVT

func (m *MessageWithId) UnmarshalVT(dAtA []byte) error

type Minithumbnail

type Minithumbnail struct {

	// The width of the minithumbnail, in pixels.
	Width uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
	// The height of the minithumbnail, in pixels.
	Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// The data of the minithumbnail.
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

An extremely low-quality WebP thumbnail.

The resolution is usually no larger than 64x64.

func (*Minithumbnail) Descriptor deprecated

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

Deprecated: Use Minithumbnail.ProtoReflect.Descriptor instead.

func (*Minithumbnail) GetData

func (x *Minithumbnail) GetData() []byte

func (*Minithumbnail) GetHeight

func (x *Minithumbnail) GetHeight() uint32

func (*Minithumbnail) GetWidth

func (x *Minithumbnail) GetWidth() uint32

func (*Minithumbnail) MarshalToSizedBufferVT

func (m *Minithumbnail) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Minithumbnail) MarshalToVT

func (m *Minithumbnail) MarshalToVT(dAtA []byte) (int, error)

func (*Minithumbnail) MarshalVT

func (m *Minithumbnail) MarshalVT() (dAtA []byte, err error)

func (*Minithumbnail) ProtoMessage

func (*Minithumbnail) ProtoMessage()

func (*Minithumbnail) ProtoReflect

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

func (*Minithumbnail) Reset

func (x *Minithumbnail) Reset()

func (*Minithumbnail) SizeVT

func (m *Minithumbnail) SizeVT() (n int)

func (*Minithumbnail) String

func (x *Minithumbnail) String() string

func (*Minithumbnail) UnmarshalVT

func (m *Minithumbnail) UnmarshalVT(dAtA []byte) error

type ModifyGuildRoleRequest

type ModifyGuildRoleRequest struct {

	// The ID of the guild where the role is located.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The ID of the role to modify.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The new name of the role.
	NewName *string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
	// The new color of the role.
	NewColor *int32 `protobuf:"varint,4,opt,name=new_color,json=newColor,proto3,oneof" json:"new_color,omitempty"`
	// The new hoist status of the role.
	NewHoist *bool `protobuf:"varint,5,opt,name=new_hoist,json=newHoist,proto3,oneof" json:"new_hoist,omitempty"`
	// The new pingable status of the role.
	NewPingable *bool `protobuf:"varint,6,opt,name=new_pingable,json=newPingable,proto3,oneof" json:"new_pingable,omitempty"`
	// contains filtered or unexported fields
}

Used in the `ModifyGuildRole` endpoint.

func (*ModifyGuildRoleRequest) Descriptor deprecated

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

Deprecated: Use ModifyGuildRoleRequest.ProtoReflect.Descriptor instead.

func (*ModifyGuildRoleRequest) GetGuildId

func (x *ModifyGuildRoleRequest) GetGuildId() uint64

func (*ModifyGuildRoleRequest) GetNewColor

func (x *ModifyGuildRoleRequest) GetNewColor() int32

func (*ModifyGuildRoleRequest) GetNewHoist

func (x *ModifyGuildRoleRequest) GetNewHoist() bool

func (*ModifyGuildRoleRequest) GetNewName

func (x *ModifyGuildRoleRequest) GetNewName() string

func (*ModifyGuildRoleRequest) GetNewPingable

func (x *ModifyGuildRoleRequest) GetNewPingable() bool

func (*ModifyGuildRoleRequest) GetRoleId

func (x *ModifyGuildRoleRequest) GetRoleId() uint64

func (*ModifyGuildRoleRequest) MarshalToSizedBufferVT

func (m *ModifyGuildRoleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ModifyGuildRoleRequest) MarshalToVT

func (m *ModifyGuildRoleRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ModifyGuildRoleRequest) MarshalVT

func (m *ModifyGuildRoleRequest) MarshalVT() (dAtA []byte, err error)

func (*ModifyGuildRoleRequest) ProtoMessage

func (*ModifyGuildRoleRequest) ProtoMessage()

func (*ModifyGuildRoleRequest) ProtoReflect

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

func (*ModifyGuildRoleRequest) Reset

func (x *ModifyGuildRoleRequest) Reset()

func (*ModifyGuildRoleRequest) SizeVT

func (m *ModifyGuildRoleRequest) SizeVT() (n int)

func (*ModifyGuildRoleRequest) String

func (x *ModifyGuildRoleRequest) String() string

func (*ModifyGuildRoleRequest) UnmarshalVT

func (m *ModifyGuildRoleRequest) UnmarshalVT(dAtA []byte) error

type ModifyGuildRoleResponse

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

Used in the `ModifyGuildRole` endpoint.

func (*ModifyGuildRoleResponse) Descriptor deprecated

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

Deprecated: Use ModifyGuildRoleResponse.ProtoReflect.Descriptor instead.

func (*ModifyGuildRoleResponse) MarshalToSizedBufferVT

func (m *ModifyGuildRoleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ModifyGuildRoleResponse) MarshalToVT

func (m *ModifyGuildRoleResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ModifyGuildRoleResponse) MarshalVT

func (m *ModifyGuildRoleResponse) MarshalVT() (dAtA []byte, err error)

func (*ModifyGuildRoleResponse) ProtoMessage

func (*ModifyGuildRoleResponse) ProtoMessage()

func (*ModifyGuildRoleResponse) ProtoReflect

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

func (*ModifyGuildRoleResponse) Reset

func (x *ModifyGuildRoleResponse) Reset()

func (*ModifyGuildRoleResponse) SizeVT

func (m *ModifyGuildRoleResponse) SizeVT() (n int)

func (*ModifyGuildRoleResponse) String

func (x *ModifyGuildRoleResponse) String() string

func (*ModifyGuildRoleResponse) UnmarshalVT

func (m *ModifyGuildRoleResponse) UnmarshalVT(dAtA []byte) error

type MoveRoleRequest

type MoveRoleRequest struct {

	// The guild ID to move the role in.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The role ID to move.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The new position of the role.
	NewPosition *v1.ItemPosition `protobuf:"bytes,3,opt,name=new_position,json=newPosition,proto3" json:"new_position,omitempty"`
	// contains filtered or unexported fields
}

Used in the `MoveRole` endpoint.

func (*MoveRoleRequest) Descriptor deprecated

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

Deprecated: Use MoveRoleRequest.ProtoReflect.Descriptor instead.

func (*MoveRoleRequest) GetGuildId

func (x *MoveRoleRequest) GetGuildId() uint64

func (*MoveRoleRequest) GetNewPosition

func (x *MoveRoleRequest) GetNewPosition() *v1.ItemPosition

func (*MoveRoleRequest) GetRoleId

func (x *MoveRoleRequest) GetRoleId() uint64

func (*MoveRoleRequest) MarshalToSizedBufferVT

func (m *MoveRoleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MoveRoleRequest) MarshalToVT

func (m *MoveRoleRequest) MarshalToVT(dAtA []byte) (int, error)

func (*MoveRoleRequest) MarshalVT

func (m *MoveRoleRequest) MarshalVT() (dAtA []byte, err error)

func (*MoveRoleRequest) ProtoMessage

func (*MoveRoleRequest) ProtoMessage()

func (*MoveRoleRequest) ProtoReflect

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

func (*MoveRoleRequest) Reset

func (x *MoveRoleRequest) Reset()

func (*MoveRoleRequest) SizeVT

func (m *MoveRoleRequest) SizeVT() (n int)

func (*MoveRoleRequest) String

func (x *MoveRoleRequest) String() string

func (*MoveRoleRequest) UnmarshalVT

func (m *MoveRoleRequest) UnmarshalVT(dAtA []byte) error

type MoveRoleResponse

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

Used in the `MoveRole` endpoint.

func (*MoveRoleResponse) Descriptor deprecated

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

Deprecated: Use MoveRoleResponse.ProtoReflect.Descriptor instead.

func (*MoveRoleResponse) MarshalToSizedBufferVT

func (m *MoveRoleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MoveRoleResponse) MarshalToVT

func (m *MoveRoleResponse) MarshalToVT(dAtA []byte) (int, error)

func (*MoveRoleResponse) MarshalVT

func (m *MoveRoleResponse) MarshalVT() (dAtA []byte, err error)

func (*MoveRoleResponse) ProtoMessage

func (*MoveRoleResponse) ProtoMessage()

func (*MoveRoleResponse) ProtoReflect

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

func (*MoveRoleResponse) Reset

func (x *MoveRoleResponse) Reset()

func (*MoveRoleResponse) SizeVT

func (m *MoveRoleResponse) SizeVT() (n int)

func (*MoveRoleResponse) String

func (x *MoveRoleResponse) String() string

func (*MoveRoleResponse) UnmarshalVT

func (m *MoveRoleResponse) UnmarshalVT(dAtA []byte) error

type Overrides

type Overrides struct {

	// The overridden username.
	Username *string `protobuf:"bytes,1,opt,name=username,proto3,oneof" json:"username,omitempty"`
	// The overridden avatar.
	//
	// This can be a file ID or an external image URL.
	Avatar *string `protobuf:"bytes,2,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	// The reason for overriding username and avatar.
	//
	// Types that are assignable to Reason:
	//	*Overrides_UserDefined
	//	*Overrides_Webhook
	//	*Overrides_SystemPlurality
	//	*Overrides_SystemMessage
	//	*Overrides_Bridge
	Reason isOverrides_Reason `protobuf_oneof:"reason"`
	// contains filtered or unexported fields
}

Overrides provide a way to override the name and avatar of a message.

func (*Overrides) Descriptor deprecated

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

Deprecated: Use Overrides.ProtoReflect.Descriptor instead.

func (*Overrides) GetAvatar

func (x *Overrides) GetAvatar() string

func (*Overrides) GetBridge

func (x *Overrides) GetBridge() *v1.Empty

func (*Overrides) GetReason

func (m *Overrides) GetReason() isOverrides_Reason

func (*Overrides) GetSystemMessage

func (x *Overrides) GetSystemMessage() *v1.Empty

func (*Overrides) GetSystemPlurality

func (x *Overrides) GetSystemPlurality() *v1.Empty

func (*Overrides) GetUserDefined

func (x *Overrides) GetUserDefined() string

func (*Overrides) GetUsername

func (x *Overrides) GetUsername() string

func (*Overrides) GetWebhook

func (x *Overrides) GetWebhook() *v1.Empty

func (*Overrides) MarshalToSizedBufferVT

func (m *Overrides) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Overrides) MarshalToVT

func (m *Overrides) MarshalToVT(dAtA []byte) (int, error)

func (*Overrides) MarshalVT

func (m *Overrides) MarshalVT() (dAtA []byte, err error)

func (*Overrides) ProtoMessage

func (*Overrides) ProtoMessage()

func (*Overrides) ProtoReflect

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

func (*Overrides) Reset

func (x *Overrides) Reset()

func (*Overrides) SizeVT

func (m *Overrides) SizeVT() (n int)

func (*Overrides) String

func (x *Overrides) String() string

func (*Overrides) UnmarshalVT

func (m *Overrides) UnmarshalVT(dAtA []byte) error

type Overrides_Bridge

type Overrides_Bridge struct {
	// The override occured because of bridging.
	Bridge *v1.Empty `protobuf:"bytes,7,opt,name=bridge,proto3,oneof"`
}

func (*Overrides_Bridge) MarshalToSizedBufferVT

func (m *Overrides_Bridge) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Overrides_Bridge) MarshalToVT

func (m *Overrides_Bridge) MarshalToVT(dAtA []byte) (int, error)

func (*Overrides_Bridge) SizeVT

func (m *Overrides_Bridge) SizeVT() (n int)

type Overrides_SystemMessage

type Overrides_SystemMessage struct {
	// The override occured because it was made by the server.
	//
	// Servers should reject messages sent by users with this override.
	SystemMessage *v1.Empty `protobuf:"bytes,6,opt,name=system_message,json=systemMessage,proto3,oneof"`
}

func (*Overrides_SystemMessage) MarshalToSizedBufferVT

func (m *Overrides_SystemMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Overrides_SystemMessage) MarshalToVT

func (m *Overrides_SystemMessage) MarshalToVT(dAtA []byte) (int, error)

func (*Overrides_SystemMessage) SizeVT

func (m *Overrides_SystemMessage) SizeVT() (n int)

type Overrides_SystemPlurality

type Overrides_SystemPlurality struct {
	// Plurality, not system as in computer.
	SystemPlurality *v1.Empty `protobuf:"bytes,5,opt,name=system_plurality,json=systemPlurality,proto3,oneof"`
}

func (*Overrides_SystemPlurality) MarshalToSizedBufferVT

func (m *Overrides_SystemPlurality) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Overrides_SystemPlurality) MarshalToVT

func (m *Overrides_SystemPlurality) MarshalToVT(dAtA []byte) (int, error)

func (*Overrides_SystemPlurality) SizeVT

func (m *Overrides_SystemPlurality) SizeVT() (n int)

type Overrides_UserDefined

type Overrides_UserDefined struct {
	// A custom reason in case the builtin ones don't fit.
	UserDefined string `protobuf:"bytes,3,opt,name=user_defined,json=userDefined,proto3,oneof"`
}

func (*Overrides_UserDefined) MarshalToSizedBufferVT

func (m *Overrides_UserDefined) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Overrides_UserDefined) MarshalToVT

func (m *Overrides_UserDefined) MarshalToVT(dAtA []byte) (int, error)

func (*Overrides_UserDefined) SizeVT

func (m *Overrides_UserDefined) SizeVT() (n int)

type Overrides_Webhook

type Overrides_Webhook struct {
	// The override occured because of a webhook.
	Webhook *v1.Empty `protobuf:"bytes,4,opt,name=webhook,proto3,oneof"`
}

func (*Overrides_Webhook) MarshalToSizedBufferVT

func (m *Overrides_Webhook) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Overrides_Webhook) MarshalToVT

func (m *Overrides_Webhook) MarshalToVT(dAtA []byte) (int, error)

func (*Overrides_Webhook) SizeVT

func (m *Overrides_Webhook) SizeVT() (n int)

type PendingInvite

type PendingInvite struct {

	// Invite ID of the invite.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// Server ID of the server the inviter is on.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// User ID of the inviter.
	InviterId uint64 `protobuf:"varint,3,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"`
	// contains filtered or unexported fields
}

A pending invite.

func (*PendingInvite) Descriptor deprecated

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

Deprecated: Use PendingInvite.ProtoReflect.Descriptor instead.

func (*PendingInvite) GetInviteId

func (x *PendingInvite) GetInviteId() string

func (*PendingInvite) GetInviterId

func (x *PendingInvite) GetInviterId() uint64

func (*PendingInvite) GetServerId

func (x *PendingInvite) GetServerId() string

func (*PendingInvite) MarshalToSizedBufferVT

func (m *PendingInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PendingInvite) MarshalToVT

func (m *PendingInvite) MarshalToVT(dAtA []byte) (int, error)

func (*PendingInvite) MarshalVT

func (m *PendingInvite) MarshalVT() (dAtA []byte, err error)

func (*PendingInvite) ProtoMessage

func (*PendingInvite) ProtoMessage()

func (*PendingInvite) ProtoReflect

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

func (*PendingInvite) Reset

func (x *PendingInvite) Reset()

func (*PendingInvite) SizeVT

func (m *PendingInvite) SizeVT() (n int)

func (*PendingInvite) String

func (x *PendingInvite) String() string

func (*PendingInvite) UnmarshalVT

func (m *PendingInvite) UnmarshalVT(dAtA []byte) error

type Permission

type Permission struct {

	// The permission matcher. (example: roles.manage).
	Matches string `protobuf:"bytes,1,opt,name=matches,proto3" json:"matches,omitempty"`
	// Whether the permission is allowed or not.
	Ok bool `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

Object representing a single permission node.

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetMatches

func (x *Permission) GetMatches() string

func (*Permission) GetOk

func (x *Permission) GetOk() bool

func (*Permission) MarshalToSizedBufferVT

func (m *Permission) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Permission) MarshalToVT

func (m *Permission) MarshalToVT(dAtA []byte) (int, error)

func (*Permission) MarshalVT

func (m *Permission) MarshalVT() (dAtA []byte, err error)

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) SizeVT

func (m *Permission) SizeVT() (n int)

func (*Permission) String

func (x *Permission) String() string

func (*Permission) UnmarshalVT

func (m *Permission) UnmarshalVT(dAtA []byte) error

type PinMessageRequest

type PinMessageRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message we want to pin.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `PinMessage` endpoint.

func (*PinMessageRequest) Descriptor deprecated

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

Deprecated: Use PinMessageRequest.ProtoReflect.Descriptor instead.

func (*PinMessageRequest) GetChannelId

func (x *PinMessageRequest) GetChannelId() uint64

func (*PinMessageRequest) GetGuildId

func (x *PinMessageRequest) GetGuildId() uint64

func (*PinMessageRequest) GetMessageId

func (x *PinMessageRequest) GetMessageId() uint64

func (*PinMessageRequest) MarshalToSizedBufferVT

func (m *PinMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PinMessageRequest) MarshalToVT

func (m *PinMessageRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PinMessageRequest) MarshalVT

func (m *PinMessageRequest) MarshalVT() (dAtA []byte, err error)

func (*PinMessageRequest) ProtoMessage

func (*PinMessageRequest) ProtoMessage()

func (*PinMessageRequest) ProtoReflect

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

func (*PinMessageRequest) Reset

func (x *PinMessageRequest) Reset()

func (*PinMessageRequest) SizeVT

func (m *PinMessageRequest) SizeVT() (n int)

func (*PinMessageRequest) String

func (x *PinMessageRequest) String() string

func (*PinMessageRequest) UnmarshalVT

func (m *PinMessageRequest) UnmarshalVT(dAtA []byte) error

type PinMessageResponse

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

Used in the `UnpinMessage` endpoint.

func (*PinMessageResponse) Descriptor deprecated

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

Deprecated: Use PinMessageResponse.ProtoReflect.Descriptor instead.

func (*PinMessageResponse) MarshalToSizedBufferVT

func (m *PinMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PinMessageResponse) MarshalToVT

func (m *PinMessageResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PinMessageResponse) MarshalVT

func (m *PinMessageResponse) MarshalVT() (dAtA []byte, err error)

func (*PinMessageResponse) ProtoMessage

func (*PinMessageResponse) ProtoMessage()

func (*PinMessageResponse) ProtoReflect

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

func (*PinMessageResponse) Reset

func (x *PinMessageResponse) Reset()

func (*PinMessageResponse) SizeVT

func (m *PinMessageResponse) SizeVT() (n int)

func (*PinMessageResponse) String

func (x *PinMessageResponse) String() string

func (*PinMessageResponse) UnmarshalVT

func (m *PinMessageResponse) UnmarshalVT(dAtA []byte) error

type PreviewGuildRequest

type PreviewGuildRequest struct {

	// Invite ID of the guild you want to get information from.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `PreviewGuild` endpoint.

func (*PreviewGuildRequest) Descriptor deprecated

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

Deprecated: Use PreviewGuildRequest.ProtoReflect.Descriptor instead.

func (*PreviewGuildRequest) GetInviteId

func (x *PreviewGuildRequest) GetInviteId() string

func (*PreviewGuildRequest) MarshalToSizedBufferVT

func (m *PreviewGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PreviewGuildRequest) MarshalToVT

func (m *PreviewGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PreviewGuildRequest) MarshalVT

func (m *PreviewGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*PreviewGuildRequest) ProtoMessage

func (*PreviewGuildRequest) ProtoMessage()

func (*PreviewGuildRequest) ProtoReflect

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

func (*PreviewGuildRequest) Reset

func (x *PreviewGuildRequest) Reset()

func (*PreviewGuildRequest) SizeVT

func (m *PreviewGuildRequest) SizeVT() (n int)

func (*PreviewGuildRequest) String

func (x *PreviewGuildRequest) String() string

func (*PreviewGuildRequest) UnmarshalVT

func (m *PreviewGuildRequest) UnmarshalVT(dAtA []byte) error

type PreviewGuildResponse

type PreviewGuildResponse struct {

	// Name of the guild requested.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Picture of the guild requested.
	Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
	// Member count of the guild requested.
	MemberCount uint64 `protobuf:"varint,3,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
	// contains filtered or unexported fields
}

Used in the `PreviewGuild` endpoint.

func (*PreviewGuildResponse) Descriptor deprecated

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

Deprecated: Use PreviewGuildResponse.ProtoReflect.Descriptor instead.

func (*PreviewGuildResponse) GetMemberCount

func (x *PreviewGuildResponse) GetMemberCount() uint64

func (*PreviewGuildResponse) GetName

func (x *PreviewGuildResponse) GetName() string

func (*PreviewGuildResponse) GetPicture

func (x *PreviewGuildResponse) GetPicture() string

func (*PreviewGuildResponse) MarshalToSizedBufferVT

func (m *PreviewGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PreviewGuildResponse) MarshalToVT

func (m *PreviewGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PreviewGuildResponse) MarshalVT

func (m *PreviewGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*PreviewGuildResponse) ProtoMessage

func (*PreviewGuildResponse) ProtoMessage()

func (*PreviewGuildResponse) ProtoReflect

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

func (*PreviewGuildResponse) Reset

func (x *PreviewGuildResponse) Reset()

func (*PreviewGuildResponse) SizeVT

func (m *PreviewGuildResponse) SizeVT() (n int)

func (*PreviewGuildResponse) String

func (x *PreviewGuildResponse) String() string

func (*PreviewGuildResponse) UnmarshalVT

func (m *PreviewGuildResponse) UnmarshalVT(dAtA []byte) error

type Reaction

type Reaction struct {

	// The kind of the reaction.
	Kind ReactionKind `protobuf:"varint,1,opt,name=kind,proto3,enum=protocol.chat.v1.ReactionKind" json:"kind,omitempty"`
	// The reaction's data. This is interpreted using the `kind`.
	//
	// This is used as a unique identifier for reactions.
	Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// The name of the reaction.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// How many times this reaction has been used.
	Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Object representing a reaction.

func (*Reaction) Descriptor deprecated

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

Deprecated: Use Reaction.ProtoReflect.Descriptor instead.

func (*Reaction) GetCount

func (x *Reaction) GetCount() uint32

func (*Reaction) GetData

func (x *Reaction) GetData() string

func (*Reaction) GetKind

func (x *Reaction) GetKind() ReactionKind

func (*Reaction) GetName

func (x *Reaction) GetName() string

func (*Reaction) MarshalToSizedBufferVT

func (m *Reaction) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Reaction) MarshalToVT

func (m *Reaction) MarshalToVT(dAtA []byte) (int, error)

func (*Reaction) MarshalVT

func (m *Reaction) MarshalVT() (dAtA []byte, err error)

func (*Reaction) ProtoMessage

func (*Reaction) ProtoMessage()

func (*Reaction) ProtoReflect

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

func (*Reaction) Reset

func (x *Reaction) Reset()

func (*Reaction) SizeVT

func (m *Reaction) SizeVT() (n int)

func (*Reaction) String

func (x *Reaction) String() string

func (*Reaction) UnmarshalVT

func (m *Reaction) UnmarshalVT(dAtA []byte) error

type ReactionKind

type ReactionKind int32

The kind of this reaction.

const (
	// A reaction that uses an image.
	//
	// The `data` field of the reaction should be interpreted
	// as a file ID that points to an image.
	ReactionKind_REACTION_KIND_IMAGE_UNSPECIFIED ReactionKind = 0
	// A reaction that uses text. For example, this
	// can be used to send unicode emojis.
	//
	// The `data` field of the reaction should be interpreted
	// as text to display.
	ReactionKind_REACTION_KIND_TEXT ReactionKind = 1
)

func (ReactionKind) Descriptor

func (ReactionKind) Enum

func (x ReactionKind) Enum() *ReactionKind

func (ReactionKind) EnumDescriptor deprecated

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

Deprecated: Use ReactionKind.Descriptor instead.

func (ReactionKind) Number

func (ReactionKind) String

func (x ReactionKind) String() string

func (ReactionKind) Type

type RejectPendingInviteRequest

type RejectPendingInviteRequest struct {

	// Invite ID of the pending invite to reject.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// Server ID of the pending invite to reject.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `RejectPendingInvite` endpoint.

func (*RejectPendingInviteRequest) Descriptor deprecated

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

Deprecated: Use RejectPendingInviteRequest.ProtoReflect.Descriptor instead.

func (*RejectPendingInviteRequest) GetInviteId

func (x *RejectPendingInviteRequest) GetInviteId() string

func (*RejectPendingInviteRequest) GetServerId

func (x *RejectPendingInviteRequest) GetServerId() string

func (*RejectPendingInviteRequest) MarshalToSizedBufferVT

func (m *RejectPendingInviteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RejectPendingInviteRequest) MarshalToVT

func (m *RejectPendingInviteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RejectPendingInviteRequest) MarshalVT

func (m *RejectPendingInviteRequest) MarshalVT() (dAtA []byte, err error)

func (*RejectPendingInviteRequest) ProtoMessage

func (*RejectPendingInviteRequest) ProtoMessage()

func (*RejectPendingInviteRequest) ProtoReflect

func (*RejectPendingInviteRequest) Reset

func (x *RejectPendingInviteRequest) Reset()

func (*RejectPendingInviteRequest) SizeVT

func (m *RejectPendingInviteRequest) SizeVT() (n int)

func (*RejectPendingInviteRequest) String

func (x *RejectPendingInviteRequest) String() string

func (*RejectPendingInviteRequest) UnmarshalVT

func (m *RejectPendingInviteRequest) UnmarshalVT(dAtA []byte) error

type RejectPendingInviteResponse

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

Used in `RejectPendingInvite` endpoint.

func (*RejectPendingInviteResponse) Descriptor deprecated

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

Deprecated: Use RejectPendingInviteResponse.ProtoReflect.Descriptor instead.

func (*RejectPendingInviteResponse) MarshalToSizedBufferVT

func (m *RejectPendingInviteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RejectPendingInviteResponse) MarshalToVT

func (m *RejectPendingInviteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RejectPendingInviteResponse) MarshalVT

func (m *RejectPendingInviteResponse) MarshalVT() (dAtA []byte, err error)

func (*RejectPendingInviteResponse) ProtoMessage

func (*RejectPendingInviteResponse) ProtoMessage()

func (*RejectPendingInviteResponse) ProtoReflect

func (*RejectPendingInviteResponse) Reset

func (x *RejectPendingInviteResponse) Reset()

func (*RejectPendingInviteResponse) SizeVT

func (m *RejectPendingInviteResponse) SizeVT() (n int)

func (*RejectPendingInviteResponse) String

func (x *RejectPendingInviteResponse) String() string

func (*RejectPendingInviteResponse) UnmarshalVT

func (m *RejectPendingInviteResponse) UnmarshalVT(dAtA []byte) error

type RemoveReactionRequest

type RemoveReactionRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message we want to remove a reaction.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The data of the reaction we want to remove.
	ReactionData string `protobuf:"bytes,4,opt,name=reaction_data,json=reactionData,proto3" json:"reaction_data,omitempty"`
	// contains filtered or unexported fields
}

Used in `RemoveReaction` endpoint.

func (*RemoveReactionRequest) Descriptor deprecated

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

Deprecated: Use RemoveReactionRequest.ProtoReflect.Descriptor instead.

func (*RemoveReactionRequest) GetChannelId

func (x *RemoveReactionRequest) GetChannelId() uint64

func (*RemoveReactionRequest) GetGuildId

func (x *RemoveReactionRequest) GetGuildId() uint64

func (*RemoveReactionRequest) GetMessageId

func (x *RemoveReactionRequest) GetMessageId() uint64

func (*RemoveReactionRequest) GetReactionData

func (x *RemoveReactionRequest) GetReactionData() string

func (*RemoveReactionRequest) MarshalToSizedBufferVT

func (m *RemoveReactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RemoveReactionRequest) MarshalToVT

func (m *RemoveReactionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RemoveReactionRequest) MarshalVT

func (m *RemoveReactionRequest) MarshalVT() (dAtA []byte, err error)

func (*RemoveReactionRequest) ProtoMessage

func (*RemoveReactionRequest) ProtoMessage()

func (*RemoveReactionRequest) ProtoReflect

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

func (*RemoveReactionRequest) Reset

func (x *RemoveReactionRequest) Reset()

func (*RemoveReactionRequest) SizeVT

func (m *RemoveReactionRequest) SizeVT() (n int)

func (*RemoveReactionRequest) String

func (x *RemoveReactionRequest) String() string

func (*RemoveReactionRequest) UnmarshalVT

func (m *RemoveReactionRequest) UnmarshalVT(dAtA []byte) error

type RemoveReactionResponse

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

Used in `RemoveReaction` endpoint.

func (*RemoveReactionResponse) Descriptor deprecated

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

Deprecated: Use RemoveReactionResponse.ProtoReflect.Descriptor instead.

func (*RemoveReactionResponse) MarshalToSizedBufferVT

func (m *RemoveReactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RemoveReactionResponse) MarshalToVT

func (m *RemoveReactionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RemoveReactionResponse) MarshalVT

func (m *RemoveReactionResponse) MarshalVT() (dAtA []byte, err error)

func (*RemoveReactionResponse) ProtoMessage

func (*RemoveReactionResponse) ProtoMessage()

func (*RemoveReactionResponse) ProtoReflect

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

func (*RemoveReactionResponse) Reset

func (x *RemoveReactionResponse) Reset()

func (*RemoveReactionResponse) SizeVT

func (m *RemoveReactionResponse) SizeVT() (n int)

func (*RemoveReactionResponse) String

func (x *RemoveReactionResponse) String() string

func (*RemoveReactionResponse) UnmarshalVT

func (m *RemoveReactionResponse) UnmarshalVT(dAtA []byte) error

type Role

type Role struct {

	// The role name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The role color.
	Color int32 `protobuf:"varint,2,opt,name=color,proto3" json:"color,omitempty"`
	// Whether the role is hoisted or not.
	Hoist bool `protobuf:"varint,3,opt,name=hoist,proto3" json:"hoist,omitempty"`
	// Whether the role is mentionable or not.
	Pingable bool `protobuf:"varint,4,opt,name=pingable,proto3" json:"pingable,omitempty"`
	// contains filtered or unexported fields
}

Object representing a role without the ID.

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetColor

func (x *Role) GetColor() int32

func (*Role) GetHoist

func (x *Role) GetHoist() bool

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetPingable

func (x *Role) GetPingable() bool

func (*Role) MarshalToSizedBufferVT

func (m *Role) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Role) MarshalToVT

func (m *Role) MarshalToVT(dAtA []byte) (int, error)

func (*Role) MarshalVT

func (m *Role) MarshalVT() (dAtA []byte, err error)

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) SizeVT

func (m *Role) SizeVT() (n int)

func (*Role) String

func (x *Role) String() string

func (*Role) UnmarshalVT

func (m *Role) UnmarshalVT(dAtA []byte) error

type RoleWithId

type RoleWithId struct {

	// ID of the role.
	RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The role data.
	Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Object representing a role with it's ID.

The role ID for the default role in a guild should always be 0.

func (*RoleWithId) Descriptor deprecated

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

Deprecated: Use RoleWithId.ProtoReflect.Descriptor instead.

func (*RoleWithId) GetRole

func (x *RoleWithId) GetRole() *Role

func (*RoleWithId) GetRoleId

func (x *RoleWithId) GetRoleId() uint64

func (*RoleWithId) MarshalToSizedBufferVT

func (m *RoleWithId) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RoleWithId) MarshalToVT

func (m *RoleWithId) MarshalToVT(dAtA []byte) (int, error)

func (*RoleWithId) MarshalVT

func (m *RoleWithId) MarshalVT() (dAtA []byte, err error)

func (*RoleWithId) ProtoMessage

func (*RoleWithId) ProtoMessage()

func (*RoleWithId) ProtoReflect

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

func (*RoleWithId) Reset

func (x *RoleWithId) Reset()

func (*RoleWithId) SizeVT

func (m *RoleWithId) SizeVT() (n int)

func (*RoleWithId) String

func (x *RoleWithId) String() string

func (*RoleWithId) UnmarshalVT

func (m *RoleWithId) UnmarshalVT(dAtA []byte) error

type SendMessageRequest

type SendMessageRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel you want to send a message in.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Content of the new message.
	Content *SendMessageRequest_Content `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// Echo ID of the new message. This can be used by clients to
	// determine whether a message has been broadcasted to other clients.
	// Note that this does not mean the broadcast reached other clients.
	EchoId *uint64 `protobuf:"varint,4,opt,name=echo_id,json=echoId,proto3,oneof" json:"echo_id,omitempty"`
	// The overrides of this new message.
	Overrides *Overrides `protobuf:"bytes,6,opt,name=overrides,proto3,oneof" json:"overrides,omitempty"`
	// The message this new message is a reply to.
	InReplyTo *uint64 `protobuf:"varint,7,opt,name=in_reply_to,json=inReplyTo,proto3,oneof" json:"in_reply_to,omitempty"`
	// The metadata of this new message.
	Metadata *v1.Metadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Used in the `SendMessage` endpoint.

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetChannelId

func (x *SendMessageRequest) GetChannelId() uint64

func (*SendMessageRequest) GetContent

func (*SendMessageRequest) GetEchoId

func (x *SendMessageRequest) GetEchoId() uint64

func (*SendMessageRequest) GetGuildId

func (x *SendMessageRequest) GetGuildId() uint64

func (*SendMessageRequest) GetInReplyTo

func (x *SendMessageRequest) GetInReplyTo() uint64

func (*SendMessageRequest) GetMetadata

func (x *SendMessageRequest) GetMetadata() *v1.Metadata

func (*SendMessageRequest) GetOverrides

func (x *SendMessageRequest) GetOverrides() *Overrides

func (*SendMessageRequest) MarshalToSizedBufferVT

func (m *SendMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SendMessageRequest) MarshalToVT

func (m *SendMessageRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SendMessageRequest) MarshalVT

func (m *SendMessageRequest) MarshalVT() (dAtA []byte, err error)

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) SizeVT

func (m *SendMessageRequest) SizeVT() (n int)

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

func (*SendMessageRequest) UnmarshalVT

func (m *SendMessageRequest) UnmarshalVT(dAtA []byte) error

type SendMessageRequest_Attachment

type SendMessageRequest_Attachment struct {

	// The local file ID of the attachment.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the attachment.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Extra information.
	//
	// Types that are assignable to Info:
	//	*SendMessageRequest_Attachment_Image
	Info isSendMessageRequest_Attachment_Info `protobuf_oneof:"info"`
	// contains filtered or unexported fields
}

Attachment info that can be sent by a user.

func (*SendMessageRequest_Attachment) Descriptor deprecated

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

Deprecated: Use SendMessageRequest_Attachment.ProtoReflect.Descriptor instead.

func (*SendMessageRequest_Attachment) GetId

func (*SendMessageRequest_Attachment) GetImage

func (*SendMessageRequest_Attachment) GetInfo

func (m *SendMessageRequest_Attachment) GetInfo() isSendMessageRequest_Attachment_Info

func (*SendMessageRequest_Attachment) GetName

func (*SendMessageRequest_Attachment) MarshalToSizedBufferVT

func (m *SendMessageRequest_Attachment) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Attachment) MarshalToVT

func (m *SendMessageRequest_Attachment) MarshalToVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Attachment) MarshalVT

func (m *SendMessageRequest_Attachment) MarshalVT() (dAtA []byte, err error)

func (*SendMessageRequest_Attachment) ProtoMessage

func (*SendMessageRequest_Attachment) ProtoMessage()

func (*SendMessageRequest_Attachment) ProtoReflect

func (*SendMessageRequest_Attachment) Reset

func (x *SendMessageRequest_Attachment) Reset()

func (*SendMessageRequest_Attachment) SizeVT

func (m *SendMessageRequest_Attachment) SizeVT() (n int)

func (*SendMessageRequest_Attachment) String

func (*SendMessageRequest_Attachment) UnmarshalVT

func (m *SendMessageRequest_Attachment) UnmarshalVT(dAtA []byte) error

type SendMessageRequest_Attachment_Image

type SendMessageRequest_Attachment_Image struct {
	// Image info.
	Image *SendMessageRequest_Attachment_ImageInfo `protobuf:"bytes,3,opt,name=image,proto3,oneof"`
}

func (*SendMessageRequest_Attachment_Image) MarshalToSizedBufferVT

func (m *SendMessageRequest_Attachment_Image) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Attachment_Image) MarshalToVT

func (m *SendMessageRequest_Attachment_Image) MarshalToVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Attachment_Image) SizeVT

func (m *SendMessageRequest_Attachment_Image) SizeVT() (n int)

type SendMessageRequest_Attachment_ImageInfo

type SendMessageRequest_Attachment_ImageInfo struct {

	// The image's caption.
	Caption *string `protobuf:"bytes,1,opt,name=caption,proto3,oneof" json:"caption,omitempty"`
	// Whether to use the original image, instead of compressing the image.
	//
	// Compression can be forced by servers, so this option may not work on
	// every homeserver.
	UseOriginal bool `protobuf:"varint,2,opt,name=use_original,json=useOriginal,proto3" json:"use_original,omitempty"`
	// contains filtered or unexported fields
}

Information a user can add to a image attachment.

func (*SendMessageRequest_Attachment_ImageInfo) Descriptor deprecated

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

Deprecated: Use SendMessageRequest_Attachment_ImageInfo.ProtoReflect.Descriptor instead.

func (*SendMessageRequest_Attachment_ImageInfo) GetCaption

func (*SendMessageRequest_Attachment_ImageInfo) GetUseOriginal

func (x *SendMessageRequest_Attachment_ImageInfo) GetUseOriginal() bool

func (*SendMessageRequest_Attachment_ImageInfo) MarshalToSizedBufferVT

func (m *SendMessageRequest_Attachment_ImageInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Attachment_ImageInfo) MarshalToVT

func (m *SendMessageRequest_Attachment_ImageInfo) MarshalToVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Attachment_ImageInfo) MarshalVT

func (m *SendMessageRequest_Attachment_ImageInfo) MarshalVT() (dAtA []byte, err error)

func (*SendMessageRequest_Attachment_ImageInfo) ProtoMessage

func (*SendMessageRequest_Attachment_ImageInfo) ProtoReflect

func (*SendMessageRequest_Attachment_ImageInfo) Reset

func (*SendMessageRequest_Attachment_ImageInfo) SizeVT

func (*SendMessageRequest_Attachment_ImageInfo) String

func (*SendMessageRequest_Attachment_ImageInfo) UnmarshalVT

func (m *SendMessageRequest_Attachment_ImageInfo) UnmarshalVT(dAtA []byte) error

type SendMessageRequest_Content

type SendMessageRequest_Content struct {

	// Text content of the message to be sent.
	//
	// If this is empty, then either `attachments`
	// or `embeds` must be specified.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Text formats for the text content.
	TextFormats []*Format `protobuf:"bytes,2,rep,name=text_formats,json=textFormats,proto3" json:"text_formats,omitempty"`
	// Attachments to be sent.
	//
	// If this is empty, then either `embeds` or `text`
	// must be specified.
	Attachments []*SendMessageRequest_Attachment `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// Embeds to be sent.
	//
	// If this is empty, then either `attachemnts`
	// or `text` must be specified.
	Embeds []*Embed `protobuf:"bytes,4,rep,name=embeds,proto3" json:"embeds,omitempty"`
	// contains filtered or unexported fields
}

Content that can be sent by a user.

func (*SendMessageRequest_Content) Descriptor deprecated

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

Deprecated: Use SendMessageRequest_Content.ProtoReflect.Descriptor instead.

func (*SendMessageRequest_Content) GetAttachments

func (*SendMessageRequest_Content) GetEmbeds

func (x *SendMessageRequest_Content) GetEmbeds() []*Embed

func (*SendMessageRequest_Content) GetText

func (x *SendMessageRequest_Content) GetText() string

func (*SendMessageRequest_Content) GetTextFormats

func (x *SendMessageRequest_Content) GetTextFormats() []*Format

func (*SendMessageRequest_Content) MarshalToSizedBufferVT

func (m *SendMessageRequest_Content) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Content) MarshalToVT

func (m *SendMessageRequest_Content) MarshalToVT(dAtA []byte) (int, error)

func (*SendMessageRequest_Content) MarshalVT

func (m *SendMessageRequest_Content) MarshalVT() (dAtA []byte, err error)

func (*SendMessageRequest_Content) ProtoMessage

func (*SendMessageRequest_Content) ProtoMessage()

func (*SendMessageRequest_Content) ProtoReflect

func (*SendMessageRequest_Content) Reset

func (x *SendMessageRequest_Content) Reset()

func (*SendMessageRequest_Content) SizeVT

func (m *SendMessageRequest_Content) SizeVT() (n int)

func (*SendMessageRequest_Content) String

func (x *SendMessageRequest_Content) String() string

func (*SendMessageRequest_Content) UnmarshalVT

func (m *SendMessageRequest_Content) UnmarshalVT(dAtA []byte) error

type SendMessageResponse

type SendMessageResponse struct {

	// Message ID of the message sent.
	MessageId uint64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `SendMessage` endpoint.

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetMessageId

func (x *SendMessageResponse) GetMessageId() uint64

func (*SendMessageResponse) MarshalToSizedBufferVT

func (m *SendMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SendMessageResponse) MarshalToVT

func (m *SendMessageResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SendMessageResponse) MarshalVT

func (m *SendMessageResponse) MarshalVT() (dAtA []byte, err error)

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) SizeVT

func (m *SendMessageResponse) SizeVT() (n int)

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

func (*SendMessageResponse) UnmarshalVT

func (m *SendMessageResponse) UnmarshalVT(dAtA []byte) error

type SetPermissionsRequest

type SetPermissionsRequest struct {

	// The guild ID to set permissions for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The channel ID to set permissions for. Only set if the role is for a
	// channel.
	ChannelId *uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	// The role ID to set permissions for.
	RoleId uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The list of permissions to set.
	PermsToGive []*Permission `protobuf:"bytes,4,rep,name=perms_to_give,json=permsToGive,proto3" json:"perms_to_give,omitempty"`
	// contains filtered or unexported fields
}

Used in the `SetPermissions` endpoint.

func (*SetPermissionsRequest) Descriptor deprecated

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

Deprecated: Use SetPermissionsRequest.ProtoReflect.Descriptor instead.

func (*SetPermissionsRequest) GetChannelId

func (x *SetPermissionsRequest) GetChannelId() uint64

func (*SetPermissionsRequest) GetGuildId

func (x *SetPermissionsRequest) GetGuildId() uint64

func (*SetPermissionsRequest) GetPermsToGive

func (x *SetPermissionsRequest) GetPermsToGive() []*Permission

func (*SetPermissionsRequest) GetRoleId

func (x *SetPermissionsRequest) GetRoleId() uint64

func (*SetPermissionsRequest) MarshalToSizedBufferVT

func (m *SetPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetPermissionsRequest) MarshalToVT

func (m *SetPermissionsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetPermissionsRequest) MarshalVT

func (m *SetPermissionsRequest) MarshalVT() (dAtA []byte, err error)

func (*SetPermissionsRequest) ProtoMessage

func (*SetPermissionsRequest) ProtoMessage()

func (*SetPermissionsRequest) ProtoReflect

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

func (*SetPermissionsRequest) Reset

func (x *SetPermissionsRequest) Reset()

func (*SetPermissionsRequest) SizeVT

func (m *SetPermissionsRequest) SizeVT() (n int)

func (*SetPermissionsRequest) String

func (x *SetPermissionsRequest) String() string

func (*SetPermissionsRequest) UnmarshalVT

func (m *SetPermissionsRequest) UnmarshalVT(dAtA []byte) error

type SetPermissionsResponse

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

Used in the `SetPermissions` endpoint.

func (*SetPermissionsResponse) Descriptor deprecated

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

Deprecated: Use SetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*SetPermissionsResponse) MarshalToSizedBufferVT

func (m *SetPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetPermissionsResponse) MarshalToVT

func (m *SetPermissionsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SetPermissionsResponse) MarshalVT

func (m *SetPermissionsResponse) MarshalVT() (dAtA []byte, err error)

func (*SetPermissionsResponse) ProtoMessage

func (*SetPermissionsResponse) ProtoMessage()

func (*SetPermissionsResponse) ProtoReflect

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

func (*SetPermissionsResponse) Reset

func (x *SetPermissionsResponse) Reset()

func (*SetPermissionsResponse) SizeVT

func (m *SetPermissionsResponse) SizeVT() (n int)

func (*SetPermissionsResponse) String

func (x *SetPermissionsResponse) String() string

func (*SetPermissionsResponse) UnmarshalVT

func (m *SetPermissionsResponse) UnmarshalVT(dAtA []byte) error

type StreamEvent

type StreamEvent struct {

	// Which event to send.
	//
	// Types that are assignable to Event:
	//	*StreamEvent_GuildAddedToList_
	//	*StreamEvent_GuildRemovedFromList_
	//	*StreamEvent_ActionPerformed_
	//	*StreamEvent_SentMessage
	//	*StreamEvent_EditedMessage
	//	*StreamEvent_DeletedMessage
	//	*StreamEvent_CreatedChannel
	//	*StreamEvent_EditedChannel
	//	*StreamEvent_DeletedChannel
	//	*StreamEvent_EditedGuild
	//	*StreamEvent_DeletedGuild
	//	*StreamEvent_JoinedMember
	//	*StreamEvent_LeftMember
	//	*StreamEvent_Typing_
	//	*StreamEvent_RoleCreated_
	//	*StreamEvent_RoleDeleted_
	//	*StreamEvent_RoleMoved_
	//	*StreamEvent_RoleUpdated_
	//	*StreamEvent_RolePermsUpdated
	//	*StreamEvent_UserRolesUpdated_
	//	*StreamEvent_PermissionUpdated_
	//	*StreamEvent_ChannelsReordered_
	//	*StreamEvent_EditedChannelPosition
	//	*StreamEvent_MessagePinned_
	//	*StreamEvent_MessageUnpinned_
	//	*StreamEvent_OwnerAdded_
	//	*StreamEvent_OwnerRemoved_
	//	*StreamEvent_InviteReceived_
	//	*StreamEvent_InviteRejected_
	//	*StreamEvent_InviteCreated_
	//	*StreamEvent_InviteDeleted_
	//	*StreamEvent_InviteUsed_
	//	*StreamEvent_NewReactionAdded_
	//	*StreamEvent_ReactionAdded_
	//	*StreamEvent_ReactionRemoved_
	Event isStreamEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

Describes an event.

func (*StreamEvent) Descriptor deprecated

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

Deprecated: Use StreamEvent.ProtoReflect.Descriptor instead.

func (*StreamEvent) GetActionPerformed

func (x *StreamEvent) GetActionPerformed() *StreamEvent_ActionPerformed

func (*StreamEvent) GetChannelsReordered

func (x *StreamEvent) GetChannelsReordered() *StreamEvent_ChannelsReordered

func (*StreamEvent) GetCreatedChannel

func (x *StreamEvent) GetCreatedChannel() *StreamEvent_ChannelCreated

func (*StreamEvent) GetDeletedChannel

func (x *StreamEvent) GetDeletedChannel() *StreamEvent_ChannelDeleted

func (*StreamEvent) GetDeletedGuild

func (x *StreamEvent) GetDeletedGuild() *StreamEvent_GuildDeleted

func (*StreamEvent) GetDeletedMessage

func (x *StreamEvent) GetDeletedMessage() *StreamEvent_MessageDeleted

func (*StreamEvent) GetEditedChannel

func (x *StreamEvent) GetEditedChannel() *StreamEvent_ChannelUpdated

func (*StreamEvent) GetEditedChannelPosition

func (x *StreamEvent) GetEditedChannelPosition() *StreamEvent_ChannelPositionUpdated

func (*StreamEvent) GetEditedGuild

func (x *StreamEvent) GetEditedGuild() *StreamEvent_GuildUpdated

func (*StreamEvent) GetEditedMessage

func (x *StreamEvent) GetEditedMessage() *StreamEvent_MessageUpdated

func (*StreamEvent) GetEvent

func (m *StreamEvent) GetEvent() isStreamEvent_Event

func (*StreamEvent) GetGuildAddedToList

func (x *StreamEvent) GetGuildAddedToList() *StreamEvent_GuildAddedToList

func (*StreamEvent) GetGuildRemovedFromList

func (x *StreamEvent) GetGuildRemovedFromList() *StreamEvent_GuildRemovedFromList

func (*StreamEvent) GetInviteCreated

func (x *StreamEvent) GetInviteCreated() *StreamEvent_InviteCreated

func (*StreamEvent) GetInviteDeleted

func (x *StreamEvent) GetInviteDeleted() *StreamEvent_InviteDeleted

func (*StreamEvent) GetInviteReceived

func (x *StreamEvent) GetInviteReceived() *StreamEvent_InviteReceived

func (*StreamEvent) GetInviteRejected

func (x *StreamEvent) GetInviteRejected() *StreamEvent_InviteRejected

func (*StreamEvent) GetInviteUsed

func (x *StreamEvent) GetInviteUsed() *StreamEvent_InviteUsed

func (*StreamEvent) GetJoinedMember

func (x *StreamEvent) GetJoinedMember() *StreamEvent_MemberJoined

func (*StreamEvent) GetLeftMember

func (x *StreamEvent) GetLeftMember() *StreamEvent_MemberLeft

func (*StreamEvent) GetMessagePinned

func (x *StreamEvent) GetMessagePinned() *StreamEvent_MessagePinned

func (*StreamEvent) GetMessageUnpinned

func (x *StreamEvent) GetMessageUnpinned() *StreamEvent_MessageUnpinned

func (*StreamEvent) GetNewReactionAdded

func (x *StreamEvent) GetNewReactionAdded() *StreamEvent_NewReactionAdded

func (*StreamEvent) GetOwnerAdded

func (x *StreamEvent) GetOwnerAdded() *StreamEvent_OwnerAdded

func (*StreamEvent) GetOwnerRemoved

func (x *StreamEvent) GetOwnerRemoved() *StreamEvent_OwnerRemoved

func (*StreamEvent) GetPermissionUpdated

func (x *StreamEvent) GetPermissionUpdated() *StreamEvent_PermissionUpdated

func (*StreamEvent) GetReactionAdded

func (x *StreamEvent) GetReactionAdded() *StreamEvent_ReactionAdded

func (*StreamEvent) GetReactionRemoved

func (x *StreamEvent) GetReactionRemoved() *StreamEvent_ReactionRemoved

func (*StreamEvent) GetRoleCreated

func (x *StreamEvent) GetRoleCreated() *StreamEvent_RoleCreated

func (*StreamEvent) GetRoleDeleted

func (x *StreamEvent) GetRoleDeleted() *StreamEvent_RoleDeleted

func (*StreamEvent) GetRoleMoved

func (x *StreamEvent) GetRoleMoved() *StreamEvent_RoleMoved

func (*StreamEvent) GetRolePermsUpdated

func (x *StreamEvent) GetRolePermsUpdated() *StreamEvent_RolePermissionsUpdated

func (*StreamEvent) GetRoleUpdated

func (x *StreamEvent) GetRoleUpdated() *StreamEvent_RoleUpdated

func (*StreamEvent) GetSentMessage

func (x *StreamEvent) GetSentMessage() *StreamEvent_MessageSent

func (*StreamEvent) GetTyping

func (x *StreamEvent) GetTyping() *StreamEvent_Typing

func (*StreamEvent) GetUserRolesUpdated

func (x *StreamEvent) GetUserRolesUpdated() *StreamEvent_UserRolesUpdated

func (*StreamEvent) MarshalToSizedBufferVT

func (m *StreamEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent) MarshalToVT

func (m *StreamEvent) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent) MarshalVT

func (m *StreamEvent) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent) ProtoMessage

func (*StreamEvent) ProtoMessage()

func (*StreamEvent) ProtoReflect

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

func (*StreamEvent) Reset

func (x *StreamEvent) Reset()

func (*StreamEvent) SizeVT

func (m *StreamEvent) SizeVT() (n int)

func (*StreamEvent) String

func (x *StreamEvent) String() string

func (*StreamEvent) UnmarshalVT

func (m *StreamEvent) UnmarshalVT(dAtA []byte) error

type StreamEvent_ActionPerformed

type StreamEvent_ActionPerformed struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID where this event happened.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// User ID of the user that triggered the action
	UserId uint64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The action data payload
	Payload *ActionPayload `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Event sent when an action is performed.

func (*StreamEvent_ActionPerformed) Descriptor deprecated

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

Deprecated: Use StreamEvent_ActionPerformed.ProtoReflect.Descriptor instead.

func (*StreamEvent_ActionPerformed) GetChannelId

func (x *StreamEvent_ActionPerformed) GetChannelId() uint64

func (*StreamEvent_ActionPerformed) GetGuildId

func (x *StreamEvent_ActionPerformed) GetGuildId() uint64

func (*StreamEvent_ActionPerformed) GetMessageId

func (x *StreamEvent_ActionPerformed) GetMessageId() uint64

func (*StreamEvent_ActionPerformed) GetPayload

func (x *StreamEvent_ActionPerformed) GetPayload() *ActionPayload

func (*StreamEvent_ActionPerformed) GetUserId

func (x *StreamEvent_ActionPerformed) GetUserId() uint64

func (*StreamEvent_ActionPerformed) MarshalToSizedBufferVT

func (m *StreamEvent_ActionPerformed) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ActionPerformed) MarshalToVT

func (m *StreamEvent_ActionPerformed) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ActionPerformed) MarshalVT

func (m *StreamEvent_ActionPerformed) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ActionPerformed) ProtoMessage

func (*StreamEvent_ActionPerformed) ProtoMessage()

func (*StreamEvent_ActionPerformed) ProtoReflect

func (*StreamEvent_ActionPerformed) Reset

func (x *StreamEvent_ActionPerformed) Reset()

func (*StreamEvent_ActionPerformed) SizeVT

func (m *StreamEvent_ActionPerformed) SizeVT() (n int)

func (*StreamEvent_ActionPerformed) String

func (x *StreamEvent_ActionPerformed) String() string

func (*StreamEvent_ActionPerformed) UnmarshalVT

func (m *StreamEvent_ActionPerformed) UnmarshalVT(dAtA []byte) error

type StreamEvent_ActionPerformed_

type StreamEvent_ActionPerformed_ struct {
	// Send the action performed event.
	ActionPerformed *StreamEvent_ActionPerformed `protobuf:"bytes,3,opt,name=action_performed,json=actionPerformed,proto3,oneof"`
}

func (*StreamEvent_ActionPerformed_) MarshalToSizedBufferVT

func (m *StreamEvent_ActionPerformed_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ActionPerformed_) MarshalToVT

func (m *StreamEvent_ActionPerformed_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ActionPerformed_) SizeVT

func (m *StreamEvent_ActionPerformed_) SizeVT() (n int)

type StreamEvent_ChannelCreated

type StreamEvent_ChannelCreated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Name of this channel.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The position in the channel list.
	Position *v12.ItemPosition `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// The kind of this channel.
	Kind ChannelKind `protobuf:"varint,5,opt,name=kind,proto3,enum=protocol.chat.v1.ChannelKind" json:"kind,omitempty"`
	// Metadata for this channel.
	Metadata *v12.Metadata `protobuf:"bytes,6,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a new channel is created.

func (*StreamEvent_ChannelCreated) Descriptor deprecated

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

Deprecated: Use StreamEvent_ChannelCreated.ProtoReflect.Descriptor instead.

func (*StreamEvent_ChannelCreated) GetChannelId

func (x *StreamEvent_ChannelCreated) GetChannelId() uint64

func (*StreamEvent_ChannelCreated) GetGuildId

func (x *StreamEvent_ChannelCreated) GetGuildId() uint64

func (*StreamEvent_ChannelCreated) GetKind

func (*StreamEvent_ChannelCreated) GetMetadata

func (x *StreamEvent_ChannelCreated) GetMetadata() *v12.Metadata

func (*StreamEvent_ChannelCreated) GetName

func (x *StreamEvent_ChannelCreated) GetName() string

func (*StreamEvent_ChannelCreated) GetPosition

func (x *StreamEvent_ChannelCreated) GetPosition() *v12.ItemPosition

func (*StreamEvent_ChannelCreated) MarshalToSizedBufferVT

func (m *StreamEvent_ChannelCreated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelCreated) MarshalToVT

func (m *StreamEvent_ChannelCreated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelCreated) MarshalVT

func (m *StreamEvent_ChannelCreated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ChannelCreated) ProtoMessage

func (*StreamEvent_ChannelCreated) ProtoMessage()

func (*StreamEvent_ChannelCreated) ProtoReflect

func (*StreamEvent_ChannelCreated) Reset

func (x *StreamEvent_ChannelCreated) Reset()

func (*StreamEvent_ChannelCreated) SizeVT

func (m *StreamEvent_ChannelCreated) SizeVT() (n int)

func (*StreamEvent_ChannelCreated) String

func (x *StreamEvent_ChannelCreated) String() string

func (*StreamEvent_ChannelCreated) UnmarshalVT

func (m *StreamEvent_ChannelCreated) UnmarshalVT(dAtA []byte) error

type StreamEvent_ChannelDeleted

type StreamEvent_ChannelDeleted struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel that was deleted.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a channel is deleted.

This event will only be sent to users that have "messages.view" permission for the channel that was deleted.

func (*StreamEvent_ChannelDeleted) Descriptor deprecated

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

Deprecated: Use StreamEvent_ChannelDeleted.ProtoReflect.Descriptor instead.

func (*StreamEvent_ChannelDeleted) GetChannelId

func (x *StreamEvent_ChannelDeleted) GetChannelId() uint64

func (*StreamEvent_ChannelDeleted) GetGuildId

func (x *StreamEvent_ChannelDeleted) GetGuildId() uint64

func (*StreamEvent_ChannelDeleted) MarshalToSizedBufferVT

func (m *StreamEvent_ChannelDeleted) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelDeleted) MarshalToVT

func (m *StreamEvent_ChannelDeleted) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelDeleted) MarshalVT

func (m *StreamEvent_ChannelDeleted) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ChannelDeleted) ProtoMessage

func (*StreamEvent_ChannelDeleted) ProtoMessage()

func (*StreamEvent_ChannelDeleted) ProtoReflect

func (*StreamEvent_ChannelDeleted) Reset

func (x *StreamEvent_ChannelDeleted) Reset()

func (*StreamEvent_ChannelDeleted) SizeVT

func (m *StreamEvent_ChannelDeleted) SizeVT() (n int)

func (*StreamEvent_ChannelDeleted) String

func (x *StreamEvent_ChannelDeleted) String() string

func (*StreamEvent_ChannelDeleted) UnmarshalVT

func (m *StreamEvent_ChannelDeleted) UnmarshalVT(dAtA []byte) error

type StreamEvent_ChannelPositionUpdated

type StreamEvent_ChannelPositionUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel that was changed.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The new position of the channel.
	NewPosition *v12.ItemPosition `protobuf:"bytes,3,opt,name=new_position,json=newPosition,proto3,oneof" json:"new_position,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a channel's position in the channel list is changed.

This event will only be sent to users that have "messages.view" permission for the channel that was moved.

func (*StreamEvent_ChannelPositionUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_ChannelPositionUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_ChannelPositionUpdated) GetChannelId

func (x *StreamEvent_ChannelPositionUpdated) GetChannelId() uint64

func (*StreamEvent_ChannelPositionUpdated) GetGuildId

func (*StreamEvent_ChannelPositionUpdated) GetNewPosition

func (*StreamEvent_ChannelPositionUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_ChannelPositionUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelPositionUpdated) MarshalToVT

func (m *StreamEvent_ChannelPositionUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelPositionUpdated) MarshalVT

func (m *StreamEvent_ChannelPositionUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ChannelPositionUpdated) ProtoMessage

func (*StreamEvent_ChannelPositionUpdated) ProtoMessage()

func (*StreamEvent_ChannelPositionUpdated) ProtoReflect

func (*StreamEvent_ChannelPositionUpdated) Reset

func (*StreamEvent_ChannelPositionUpdated) SizeVT

func (m *StreamEvent_ChannelPositionUpdated) SizeVT() (n int)

func (*StreamEvent_ChannelPositionUpdated) String

func (*StreamEvent_ChannelPositionUpdated) UnmarshalVT

func (m *StreamEvent_ChannelPositionUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_ChannelUpdated

type StreamEvent_ChannelUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel that was changed.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The new name of the channel.
	NewName *string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
	// The new metadata of the channel.
	NewMetadata *v12.Metadata `protobuf:"bytes,4,opt,name=new_metadata,json=newMetadata,proto3,oneof" json:"new_metadata,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a channel's information is changed.

This event will only be sent to users that have "messages.view" permission for the channel that was updated.

func (*StreamEvent_ChannelUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_ChannelUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_ChannelUpdated) GetChannelId

func (x *StreamEvent_ChannelUpdated) GetChannelId() uint64

func (*StreamEvent_ChannelUpdated) GetGuildId

func (x *StreamEvent_ChannelUpdated) GetGuildId() uint64

func (*StreamEvent_ChannelUpdated) GetNewMetadata

func (x *StreamEvent_ChannelUpdated) GetNewMetadata() *v12.Metadata

func (*StreamEvent_ChannelUpdated) GetNewName

func (x *StreamEvent_ChannelUpdated) GetNewName() string

func (*StreamEvent_ChannelUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_ChannelUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelUpdated) MarshalToVT

func (m *StreamEvent_ChannelUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelUpdated) MarshalVT

func (m *StreamEvent_ChannelUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ChannelUpdated) ProtoMessage

func (*StreamEvent_ChannelUpdated) ProtoMessage()

func (*StreamEvent_ChannelUpdated) ProtoReflect

func (*StreamEvent_ChannelUpdated) Reset

func (x *StreamEvent_ChannelUpdated) Reset()

func (*StreamEvent_ChannelUpdated) SizeVT

func (m *StreamEvent_ChannelUpdated) SizeVT() (n int)

func (*StreamEvent_ChannelUpdated) String

func (x *StreamEvent_ChannelUpdated) String() string

func (*StreamEvent_ChannelUpdated) UnmarshalVT

func (m *StreamEvent_ChannelUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_ChannelsReordered

type StreamEvent_ChannelsReordered struct {

	// guild_id: the guild whose channels are being reordered
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// channel_ids: the new order of channel IDs
	ChannelIds []uint64 `protobuf:"varint,1,rep,packed,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"`
	// contains filtered or unexported fields
}

Event sent when all channels have been reordered.

If a user does not have "messages.view" permission for a channel in here, it should be omitted from the list.

func (*StreamEvent_ChannelsReordered) Descriptor deprecated

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

Deprecated: Use StreamEvent_ChannelsReordered.ProtoReflect.Descriptor instead.

func (*StreamEvent_ChannelsReordered) GetChannelIds

func (x *StreamEvent_ChannelsReordered) GetChannelIds() []uint64

func (*StreamEvent_ChannelsReordered) GetGuildId

func (x *StreamEvent_ChannelsReordered) GetGuildId() uint64

func (*StreamEvent_ChannelsReordered) MarshalToSizedBufferVT

func (m *StreamEvent_ChannelsReordered) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelsReordered) MarshalToVT

func (m *StreamEvent_ChannelsReordered) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelsReordered) MarshalVT

func (m *StreamEvent_ChannelsReordered) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ChannelsReordered) ProtoMessage

func (*StreamEvent_ChannelsReordered) ProtoMessage()

func (*StreamEvent_ChannelsReordered) ProtoReflect

func (*StreamEvent_ChannelsReordered) Reset

func (x *StreamEvent_ChannelsReordered) Reset()

func (*StreamEvent_ChannelsReordered) SizeVT

func (m *StreamEvent_ChannelsReordered) SizeVT() (n int)

func (*StreamEvent_ChannelsReordered) String

func (*StreamEvent_ChannelsReordered) UnmarshalVT

func (m *StreamEvent_ChannelsReordered) UnmarshalVT(dAtA []byte) error

type StreamEvent_ChannelsReordered_

type StreamEvent_ChannelsReordered_ struct {
	// The channels have been completely reordered.
	ChannelsReordered *StreamEvent_ChannelsReordered `protobuf:"bytes,22,opt,name=channels_reordered,json=channelsReordered,proto3,oneof"`
}

func (*StreamEvent_ChannelsReordered_) MarshalToSizedBufferVT

func (m *StreamEvent_ChannelsReordered_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelsReordered_) MarshalToVT

func (m *StreamEvent_ChannelsReordered_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ChannelsReordered_) SizeVT

func (m *StreamEvent_ChannelsReordered_) SizeVT() (n int)

type StreamEvent_CreatedChannel

type StreamEvent_CreatedChannel struct {
	// Send the channel created event.
	CreatedChannel *StreamEvent_ChannelCreated `protobuf:"bytes,7,opt,name=created_channel,json=createdChannel,proto3,oneof"`
}

func (*StreamEvent_CreatedChannel) MarshalToSizedBufferVT

func (m *StreamEvent_CreatedChannel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_CreatedChannel) MarshalToVT

func (m *StreamEvent_CreatedChannel) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_CreatedChannel) SizeVT

func (m *StreamEvent_CreatedChannel) SizeVT() (n int)

type StreamEvent_DeletedChannel

type StreamEvent_DeletedChannel struct {
	// Send the channel deleted event.
	DeletedChannel *StreamEvent_ChannelDeleted `protobuf:"bytes,9,opt,name=deleted_channel,json=deletedChannel,proto3,oneof"`
}

func (*StreamEvent_DeletedChannel) MarshalToSizedBufferVT

func (m *StreamEvent_DeletedChannel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_DeletedChannel) MarshalToVT

func (m *StreamEvent_DeletedChannel) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_DeletedChannel) SizeVT

func (m *StreamEvent_DeletedChannel) SizeVT() (n int)

type StreamEvent_DeletedGuild

type StreamEvent_DeletedGuild struct {
	// Send the guild deleted event.
	DeletedGuild *StreamEvent_GuildDeleted `protobuf:"bytes,11,opt,name=deleted_guild,json=deletedGuild,proto3,oneof"`
}

func (*StreamEvent_DeletedGuild) MarshalToSizedBufferVT

func (m *StreamEvent_DeletedGuild) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_DeletedGuild) MarshalToVT

func (m *StreamEvent_DeletedGuild) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_DeletedGuild) SizeVT

func (m *StreamEvent_DeletedGuild) SizeVT() (n int)

type StreamEvent_DeletedMessage

type StreamEvent_DeletedMessage struct {
	// Send the message deleted event.
	DeletedMessage *StreamEvent_MessageDeleted `protobuf:"bytes,6,opt,name=deleted_message,json=deletedMessage,proto3,oneof"`
}

func (*StreamEvent_DeletedMessage) MarshalToSizedBufferVT

func (m *StreamEvent_DeletedMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_DeletedMessage) MarshalToVT

func (m *StreamEvent_DeletedMessage) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_DeletedMessage) SizeVT

func (m *StreamEvent_DeletedMessage) SizeVT() (n int)

type StreamEvent_EditedChannel

type StreamEvent_EditedChannel struct {
	// Send the channel updated event.
	EditedChannel *StreamEvent_ChannelUpdated `protobuf:"bytes,8,opt,name=edited_channel,json=editedChannel,proto3,oneof"`
}

func (*StreamEvent_EditedChannel) MarshalToSizedBufferVT

func (m *StreamEvent_EditedChannel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedChannel) MarshalToVT

func (m *StreamEvent_EditedChannel) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedChannel) SizeVT

func (m *StreamEvent_EditedChannel) SizeVT() (n int)

type StreamEvent_EditedChannelPosition

type StreamEvent_EditedChannelPosition struct {
	// Send the channel position updated event.
	EditedChannelPosition *StreamEvent_ChannelPositionUpdated `protobuf:"bytes,23,opt,name=edited_channel_position,json=editedChannelPosition,proto3,oneof"`
}

func (*StreamEvent_EditedChannelPosition) MarshalToSizedBufferVT

func (m *StreamEvent_EditedChannelPosition) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedChannelPosition) MarshalToVT

func (m *StreamEvent_EditedChannelPosition) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedChannelPosition) SizeVT

func (m *StreamEvent_EditedChannelPosition) SizeVT() (n int)

type StreamEvent_EditedGuild

type StreamEvent_EditedGuild struct {
	// Send the guild updated event.
	EditedGuild *StreamEvent_GuildUpdated `protobuf:"bytes,10,opt,name=edited_guild,json=editedGuild,proto3,oneof"`
}

func (*StreamEvent_EditedGuild) MarshalToSizedBufferVT

func (m *StreamEvent_EditedGuild) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedGuild) MarshalToVT

func (m *StreamEvent_EditedGuild) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedGuild) SizeVT

func (m *StreamEvent_EditedGuild) SizeVT() (n int)

type StreamEvent_EditedMessage

type StreamEvent_EditedMessage struct {
	// Send the message updated event.
	EditedMessage *StreamEvent_MessageUpdated `protobuf:"bytes,5,opt,name=edited_message,json=editedMessage,proto3,oneof"`
}

func (*StreamEvent_EditedMessage) MarshalToSizedBufferVT

func (m *StreamEvent_EditedMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedMessage) MarshalToVT

func (m *StreamEvent_EditedMessage) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_EditedMessage) SizeVT

func (m *StreamEvent_EditedMessage) SizeVT() (n int)

type StreamEvent_GuildAddedToList

type StreamEvent_GuildAddedToList struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The homeserver this guild is on.
	Homeserver string `protobuf:"bytes,2,opt,name=homeserver,proto3" json:"homeserver,omitempty"`
	// contains filtered or unexported fields
}

Event sent when you join a new guild.

func (*StreamEvent_GuildAddedToList) Descriptor deprecated

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

Deprecated: Use StreamEvent_GuildAddedToList.ProtoReflect.Descriptor instead.

func (*StreamEvent_GuildAddedToList) GetGuildId

func (x *StreamEvent_GuildAddedToList) GetGuildId() uint64

func (*StreamEvent_GuildAddedToList) GetHomeserver

func (x *StreamEvent_GuildAddedToList) GetHomeserver() string

func (*StreamEvent_GuildAddedToList) MarshalToSizedBufferVT

func (m *StreamEvent_GuildAddedToList) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildAddedToList) MarshalToVT

func (m *StreamEvent_GuildAddedToList) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildAddedToList) MarshalVT

func (m *StreamEvent_GuildAddedToList) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_GuildAddedToList) ProtoMessage

func (*StreamEvent_GuildAddedToList) ProtoMessage()

func (*StreamEvent_GuildAddedToList) ProtoReflect

func (*StreamEvent_GuildAddedToList) Reset

func (x *StreamEvent_GuildAddedToList) Reset()

func (*StreamEvent_GuildAddedToList) SizeVT

func (m *StreamEvent_GuildAddedToList) SizeVT() (n int)

func (*StreamEvent_GuildAddedToList) String

func (*StreamEvent_GuildAddedToList) UnmarshalVT

func (m *StreamEvent_GuildAddedToList) UnmarshalVT(dAtA []byte) error

type StreamEvent_GuildAddedToList_

type StreamEvent_GuildAddedToList_ struct {
	// Send the guild added to list event.
	GuildAddedToList *StreamEvent_GuildAddedToList `protobuf:"bytes,1,opt,name=guild_added_to_list,json=guildAddedToList,proto3,oneof"`
}

func (*StreamEvent_GuildAddedToList_) MarshalToSizedBufferVT

func (m *StreamEvent_GuildAddedToList_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildAddedToList_) MarshalToVT

func (m *StreamEvent_GuildAddedToList_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildAddedToList_) SizeVT

func (m *StreamEvent_GuildAddedToList_) SizeVT() (n int)

type StreamEvent_GuildDeleted

type StreamEvent_GuildDeleted struct {

	// Guild ID of the guild that was deleted.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a guild is deleted.

func (*StreamEvent_GuildDeleted) Descriptor deprecated

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

Deprecated: Use StreamEvent_GuildDeleted.ProtoReflect.Descriptor instead.

func (*StreamEvent_GuildDeleted) GetGuildId

func (x *StreamEvent_GuildDeleted) GetGuildId() uint64

func (*StreamEvent_GuildDeleted) MarshalToSizedBufferVT

func (m *StreamEvent_GuildDeleted) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildDeleted) MarshalToVT

func (m *StreamEvent_GuildDeleted) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildDeleted) MarshalVT

func (m *StreamEvent_GuildDeleted) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_GuildDeleted) ProtoMessage

func (*StreamEvent_GuildDeleted) ProtoMessage()

func (*StreamEvent_GuildDeleted) ProtoReflect

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

func (*StreamEvent_GuildDeleted) Reset

func (x *StreamEvent_GuildDeleted) Reset()

func (*StreamEvent_GuildDeleted) SizeVT

func (m *StreamEvent_GuildDeleted) SizeVT() (n int)

func (*StreamEvent_GuildDeleted) String

func (x *StreamEvent_GuildDeleted) String() string

func (*StreamEvent_GuildDeleted) UnmarshalVT

func (m *StreamEvent_GuildDeleted) UnmarshalVT(dAtA []byte) error

type StreamEvent_GuildRemovedFromList

type StreamEvent_GuildRemovedFromList struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The homeserver this guild is on.
	Homeserver string `protobuf:"bytes,2,opt,name=homeserver,proto3" json:"homeserver,omitempty"`
	// contains filtered or unexported fields
}

Event sent when you leave a guild.

func (*StreamEvent_GuildRemovedFromList) Descriptor deprecated

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

Deprecated: Use StreamEvent_GuildRemovedFromList.ProtoReflect.Descriptor instead.

func (*StreamEvent_GuildRemovedFromList) GetGuildId

func (x *StreamEvent_GuildRemovedFromList) GetGuildId() uint64

func (*StreamEvent_GuildRemovedFromList) GetHomeserver

func (x *StreamEvent_GuildRemovedFromList) GetHomeserver() string

func (*StreamEvent_GuildRemovedFromList) MarshalToSizedBufferVT

func (m *StreamEvent_GuildRemovedFromList) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildRemovedFromList) MarshalToVT

func (m *StreamEvent_GuildRemovedFromList) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildRemovedFromList) MarshalVT

func (m *StreamEvent_GuildRemovedFromList) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_GuildRemovedFromList) ProtoMessage

func (*StreamEvent_GuildRemovedFromList) ProtoMessage()

func (*StreamEvent_GuildRemovedFromList) ProtoReflect

func (*StreamEvent_GuildRemovedFromList) Reset

func (*StreamEvent_GuildRemovedFromList) SizeVT

func (m *StreamEvent_GuildRemovedFromList) SizeVT() (n int)

func (*StreamEvent_GuildRemovedFromList) String

func (*StreamEvent_GuildRemovedFromList) UnmarshalVT

func (m *StreamEvent_GuildRemovedFromList) UnmarshalVT(dAtA []byte) error

type StreamEvent_GuildRemovedFromList_

type StreamEvent_GuildRemovedFromList_ struct {
	// Send the guild removed from list event.
	GuildRemovedFromList *StreamEvent_GuildRemovedFromList `protobuf:"bytes,2,opt,name=guild_removed_from_list,json=guildRemovedFromList,proto3,oneof"`
}

func (*StreamEvent_GuildRemovedFromList_) MarshalToSizedBufferVT

func (m *StreamEvent_GuildRemovedFromList_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildRemovedFromList_) MarshalToVT

func (m *StreamEvent_GuildRemovedFromList_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildRemovedFromList_) SizeVT

func (m *StreamEvent_GuildRemovedFromList_) SizeVT() (n int)

type StreamEvent_GuildUpdated

type StreamEvent_GuildUpdated struct {

	// Guild ID of the guild that was changed.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The new name of the guild.
	NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
	// The new picture of the guild.
	NewPicture *string `protobuf:"bytes,3,opt,name=new_picture,json=newPicture,proto3,oneof" json:"new_picture,omitempty"`
	// The new metadata of the guild.
	NewMetadata *v12.Metadata `protobuf:"bytes,4,opt,name=new_metadata,json=newMetadata,proto3,oneof" json:"new_metadata,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a guild's information is changed.

func (*StreamEvent_GuildUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_GuildUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_GuildUpdated) GetGuildId

func (x *StreamEvent_GuildUpdated) GetGuildId() uint64

func (*StreamEvent_GuildUpdated) GetNewMetadata

func (x *StreamEvent_GuildUpdated) GetNewMetadata() *v12.Metadata

func (*StreamEvent_GuildUpdated) GetNewName

func (x *StreamEvent_GuildUpdated) GetNewName() string

func (*StreamEvent_GuildUpdated) GetNewPicture

func (x *StreamEvent_GuildUpdated) GetNewPicture() string

func (*StreamEvent_GuildUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_GuildUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildUpdated) MarshalToVT

func (m *StreamEvent_GuildUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_GuildUpdated) MarshalVT

func (m *StreamEvent_GuildUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_GuildUpdated) ProtoMessage

func (*StreamEvent_GuildUpdated) ProtoMessage()

func (*StreamEvent_GuildUpdated) ProtoReflect

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

func (*StreamEvent_GuildUpdated) Reset

func (x *StreamEvent_GuildUpdated) Reset()

func (*StreamEvent_GuildUpdated) SizeVT

func (m *StreamEvent_GuildUpdated) SizeVT() (n int)

func (*StreamEvent_GuildUpdated) String

func (x *StreamEvent_GuildUpdated) String() string

func (*StreamEvent_GuildUpdated) UnmarshalVT

func (m *StreamEvent_GuildUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_InviteCreated

type StreamEvent_InviteCreated struct {

	// Guild ID of the guild that this occured for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// ID of the invite that was created.
	InviteId string `protobuf:"bytes,2,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// Possible uses of the created invite.
	PossibleUses uint32 `protobuf:"varint,3,opt,name=possible_uses,json=possibleUses,proto3" json:"possible_uses,omitempty"`
	// contains filtered or unexported fields
}

Sent when an invite is created in a guild.

This will only be sent to members of a guild with "invites.view" permission.

func (*StreamEvent_InviteCreated) Descriptor deprecated

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

Deprecated: Use StreamEvent_InviteCreated.ProtoReflect.Descriptor instead.

func (*StreamEvent_InviteCreated) GetGuildId

func (x *StreamEvent_InviteCreated) GetGuildId() uint64

func (*StreamEvent_InviteCreated) GetInviteId

func (x *StreamEvent_InviteCreated) GetInviteId() string

func (*StreamEvent_InviteCreated) GetPossibleUses

func (x *StreamEvent_InviteCreated) GetPossibleUses() uint32

func (*StreamEvent_InviteCreated) MarshalToSizedBufferVT

func (m *StreamEvent_InviteCreated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteCreated) MarshalToVT

func (m *StreamEvent_InviteCreated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteCreated) MarshalVT

func (m *StreamEvent_InviteCreated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_InviteCreated) ProtoMessage

func (*StreamEvent_InviteCreated) ProtoMessage()

func (*StreamEvent_InviteCreated) ProtoReflect

func (*StreamEvent_InviteCreated) Reset

func (x *StreamEvent_InviteCreated) Reset()

func (*StreamEvent_InviteCreated) SizeVT

func (m *StreamEvent_InviteCreated) SizeVT() (n int)

func (*StreamEvent_InviteCreated) String

func (x *StreamEvent_InviteCreated) String() string

func (*StreamEvent_InviteCreated) UnmarshalVT

func (m *StreamEvent_InviteCreated) UnmarshalVT(dAtA []byte) error

type StreamEvent_InviteCreated_

type StreamEvent_InviteCreated_ struct {
	// Send the invite created event.
	InviteCreated *StreamEvent_InviteCreated `protobuf:"bytes,30,opt,name=invite_created,json=inviteCreated,proto3,oneof"`
}

func (*StreamEvent_InviteCreated_) MarshalToSizedBufferVT

func (m *StreamEvent_InviteCreated_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteCreated_) MarshalToVT

func (m *StreamEvent_InviteCreated_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteCreated_) SizeVT

func (m *StreamEvent_InviteCreated_) SizeVT() (n int)

type StreamEvent_InviteDeleted

type StreamEvent_InviteDeleted struct {

	// Guild ID of the guild that this occured for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// ID of the invite that was deleted.
	InviteId string `protobuf:"bytes,2,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when an invite is deleted in a guild.

This can occur because of the invite being used up (0 remaining uses), or a user deleting the invite.

This will only be sent to members of a guild with "invites.view" permission.

func (*StreamEvent_InviteDeleted) Descriptor deprecated

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

Deprecated: Use StreamEvent_InviteDeleted.ProtoReflect.Descriptor instead.

func (*StreamEvent_InviteDeleted) GetGuildId

func (x *StreamEvent_InviteDeleted) GetGuildId() uint64

func (*StreamEvent_InviteDeleted) GetInviteId

func (x *StreamEvent_InviteDeleted) GetInviteId() string

func (*StreamEvent_InviteDeleted) MarshalToSizedBufferVT

func (m *StreamEvent_InviteDeleted) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteDeleted) MarshalToVT

func (m *StreamEvent_InviteDeleted) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteDeleted) MarshalVT

func (m *StreamEvent_InviteDeleted) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_InviteDeleted) ProtoMessage

func (*StreamEvent_InviteDeleted) ProtoMessage()

func (*StreamEvent_InviteDeleted) ProtoReflect

func (*StreamEvent_InviteDeleted) Reset

func (x *StreamEvent_InviteDeleted) Reset()

func (*StreamEvent_InviteDeleted) SizeVT

func (m *StreamEvent_InviteDeleted) SizeVT() (n int)

func (*StreamEvent_InviteDeleted) String

func (x *StreamEvent_InviteDeleted) String() string

func (*StreamEvent_InviteDeleted) UnmarshalVT

func (m *StreamEvent_InviteDeleted) UnmarshalVT(dAtA []byte) error

type StreamEvent_InviteDeleted_

type StreamEvent_InviteDeleted_ struct {
	// Send the invite deleted event.
	InviteDeleted *StreamEvent_InviteDeleted `protobuf:"bytes,31,opt,name=invite_deleted,json=inviteDeleted,proto3,oneof"`
}

func (*StreamEvent_InviteDeleted_) MarshalToSizedBufferVT

func (m *StreamEvent_InviteDeleted_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteDeleted_) MarshalToVT

func (m *StreamEvent_InviteDeleted_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteDeleted_) SizeVT

func (m *StreamEvent_InviteDeleted_) SizeVT() (n int)

type StreamEvent_InviteReceived

type StreamEvent_InviteReceived struct {

	// ID of the invite received.
	InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// Server ID of the server the inviter is on.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// User ID of the inviter.
	InviterId uint64 `protobuf:"varint,3,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when a guild invite is received.

func (*StreamEvent_InviteReceived) Descriptor deprecated

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

Deprecated: Use StreamEvent_InviteReceived.ProtoReflect.Descriptor instead.

func (*StreamEvent_InviteReceived) GetInviteId

func (x *StreamEvent_InviteReceived) GetInviteId() string

func (*StreamEvent_InviteReceived) GetInviterId

func (x *StreamEvent_InviteReceived) GetInviterId() uint64

func (*StreamEvent_InviteReceived) GetServerId

func (x *StreamEvent_InviteReceived) GetServerId() string

func (*StreamEvent_InviteReceived) MarshalToSizedBufferVT

func (m *StreamEvent_InviteReceived) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteReceived) MarshalToVT

func (m *StreamEvent_InviteReceived) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteReceived) MarshalVT

func (m *StreamEvent_InviteReceived) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_InviteReceived) ProtoMessage

func (*StreamEvent_InviteReceived) ProtoMessage()

func (*StreamEvent_InviteReceived) ProtoReflect

func (*StreamEvent_InviteReceived) Reset

func (x *StreamEvent_InviteReceived) Reset()

func (*StreamEvent_InviteReceived) SizeVT

func (m *StreamEvent_InviteReceived) SizeVT() (n int)

func (*StreamEvent_InviteReceived) String

func (x *StreamEvent_InviteReceived) String() string

func (*StreamEvent_InviteReceived) UnmarshalVT

func (m *StreamEvent_InviteReceived) UnmarshalVT(dAtA []byte) error

type StreamEvent_InviteReceived_

type StreamEvent_InviteReceived_ struct {
	// Send the guild invite received event.
	InviteReceived *StreamEvent_InviteReceived `protobuf:"bytes,28,opt,name=invite_received,json=inviteReceived,proto3,oneof"`
}

func (*StreamEvent_InviteReceived_) MarshalToSizedBufferVT

func (m *StreamEvent_InviteReceived_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteReceived_) MarshalToVT

func (m *StreamEvent_InviteReceived_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteReceived_) SizeVT

func (m *StreamEvent_InviteReceived_) SizeVT() (n int)

type StreamEvent_InviteRejected

type StreamEvent_InviteRejected struct {

	// Guild ID of the guild that this occured for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// ID of the invite rejected.
	InviteId string `protobuf:"bytes,2,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// User ID of the invitee.
	UserId uint64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when a guild invite is rejected by the invitee.

func (*StreamEvent_InviteRejected) Descriptor deprecated

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

Deprecated: Use StreamEvent_InviteRejected.ProtoReflect.Descriptor instead.

func (*StreamEvent_InviteRejected) GetGuildId

func (x *StreamEvent_InviteRejected) GetGuildId() uint64

func (*StreamEvent_InviteRejected) GetInviteId

func (x *StreamEvent_InviteRejected) GetInviteId() string

func (*StreamEvent_InviteRejected) GetUserId

func (x *StreamEvent_InviteRejected) GetUserId() uint64

func (*StreamEvent_InviteRejected) MarshalToSizedBufferVT

func (m *StreamEvent_InviteRejected) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteRejected) MarshalToVT

func (m *StreamEvent_InviteRejected) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteRejected) MarshalVT

func (m *StreamEvent_InviteRejected) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_InviteRejected) ProtoMessage

func (*StreamEvent_InviteRejected) ProtoMessage()

func (*StreamEvent_InviteRejected) ProtoReflect

func (*StreamEvent_InviteRejected) Reset

func (x *StreamEvent_InviteRejected) Reset()

func (*StreamEvent_InviteRejected) SizeVT

func (m *StreamEvent_InviteRejected) SizeVT() (n int)

func (*StreamEvent_InviteRejected) String

func (x *StreamEvent_InviteRejected) String() string

func (*StreamEvent_InviteRejected) UnmarshalVT

func (m *StreamEvent_InviteRejected) UnmarshalVT(dAtA []byte) error

type StreamEvent_InviteRejected_

type StreamEvent_InviteRejected_ struct {
	// Send the guild invite rejected event.
	InviteRejected *StreamEvent_InviteRejected `protobuf:"bytes,29,opt,name=invite_rejected,json=inviteRejected,proto3,oneof"`
}

func (*StreamEvent_InviteRejected_) MarshalToSizedBufferVT

func (m *StreamEvent_InviteRejected_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteRejected_) MarshalToVT

func (m *StreamEvent_InviteRejected_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteRejected_) SizeVT

func (m *StreamEvent_InviteRejected_) SizeVT() (n int)

type StreamEvent_InviteUsed

type StreamEvent_InviteUsed struct {

	// Guild ID of the guild that this occured for.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// ID of the invite that was used.
	InviteId string `protobuf:"bytes,2,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
	// User ID of the user that used this invite.
	UserId uint64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when an invite is used once by a user.

This will only be sent to members of a guild with "invites.view" permission.

func (*StreamEvent_InviteUsed) Descriptor deprecated

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

Deprecated: Use StreamEvent_InviteUsed.ProtoReflect.Descriptor instead.

func (*StreamEvent_InviteUsed) GetGuildId

func (x *StreamEvent_InviteUsed) GetGuildId() uint64

func (*StreamEvent_InviteUsed) GetInviteId

func (x *StreamEvent_InviteUsed) GetInviteId() string

func (*StreamEvent_InviteUsed) GetUserId

func (x *StreamEvent_InviteUsed) GetUserId() uint64

func (*StreamEvent_InviteUsed) MarshalToSizedBufferVT

func (m *StreamEvent_InviteUsed) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteUsed) MarshalToVT

func (m *StreamEvent_InviteUsed) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteUsed) MarshalVT

func (m *StreamEvent_InviteUsed) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_InviteUsed) ProtoMessage

func (*StreamEvent_InviteUsed) ProtoMessage()

func (*StreamEvent_InviteUsed) ProtoReflect

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

func (*StreamEvent_InviteUsed) Reset

func (x *StreamEvent_InviteUsed) Reset()

func (*StreamEvent_InviteUsed) SizeVT

func (m *StreamEvent_InviteUsed) SizeVT() (n int)

func (*StreamEvent_InviteUsed) String

func (x *StreamEvent_InviteUsed) String() string

func (*StreamEvent_InviteUsed) UnmarshalVT

func (m *StreamEvent_InviteUsed) UnmarshalVT(dAtA []byte) error

type StreamEvent_InviteUsed_

type StreamEvent_InviteUsed_ struct {
	// Send the invite used event.
	InviteUsed *StreamEvent_InviteUsed `protobuf:"bytes,32,opt,name=invite_used,json=inviteUsed,proto3,oneof"`
}

func (*StreamEvent_InviteUsed_) MarshalToSizedBufferVT

func (m *StreamEvent_InviteUsed_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteUsed_) MarshalToVT

func (m *StreamEvent_InviteUsed_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_InviteUsed_) SizeVT

func (m *StreamEvent_InviteUsed_) SizeVT() (n int)

type StreamEvent_JoinedMember

type StreamEvent_JoinedMember struct {
	// Send the member joined event.
	JoinedMember *StreamEvent_MemberJoined `protobuf:"bytes,12,opt,name=joined_member,json=joinedMember,proto3,oneof"`
}

func (*StreamEvent_JoinedMember) MarshalToSizedBufferVT

func (m *StreamEvent_JoinedMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_JoinedMember) MarshalToVT

func (m *StreamEvent_JoinedMember) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_JoinedMember) SizeVT

func (m *StreamEvent_JoinedMember) SizeVT() (n int)

type StreamEvent_LeftMember

type StreamEvent_LeftMember struct {
	// Send the member left event.
	LeftMember *StreamEvent_MemberLeft `protobuf:"bytes,13,opt,name=left_member,json=leftMember,proto3,oneof"`
}

func (*StreamEvent_LeftMember) MarshalToSizedBufferVT

func (m *StreamEvent_LeftMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_LeftMember) MarshalToVT

func (m *StreamEvent_LeftMember) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_LeftMember) SizeVT

func (m *StreamEvent_LeftMember) SizeVT() (n int)

type StreamEvent_MemberJoined

type StreamEvent_MemberJoined struct {

	// Member ID of the member that joined the guild.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Event sent a user joins to a guild.

func (*StreamEvent_MemberJoined) Descriptor deprecated

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

Deprecated: Use StreamEvent_MemberJoined.ProtoReflect.Descriptor instead.

func (*StreamEvent_MemberJoined) GetGuildId

func (x *StreamEvent_MemberJoined) GetGuildId() uint64

func (*StreamEvent_MemberJoined) GetMemberId

func (x *StreamEvent_MemberJoined) GetMemberId() uint64

func (*StreamEvent_MemberJoined) MarshalToSizedBufferVT

func (m *StreamEvent_MemberJoined) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MemberJoined) MarshalToVT

func (m *StreamEvent_MemberJoined) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MemberJoined) MarshalVT

func (m *StreamEvent_MemberJoined) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MemberJoined) ProtoMessage

func (*StreamEvent_MemberJoined) ProtoMessage()

func (*StreamEvent_MemberJoined) ProtoReflect

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

func (*StreamEvent_MemberJoined) Reset

func (x *StreamEvent_MemberJoined) Reset()

func (*StreamEvent_MemberJoined) SizeVT

func (m *StreamEvent_MemberJoined) SizeVT() (n int)

func (*StreamEvent_MemberJoined) String

func (x *StreamEvent_MemberJoined) String() string

func (*StreamEvent_MemberJoined) UnmarshalVT

func (m *StreamEvent_MemberJoined) UnmarshalVT(dAtA []byte) error

type StreamEvent_MemberLeft

type StreamEvent_MemberLeft struct {

	// User ID of the member that left the guild.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Why this member left the guild.
	LeaveReason LeaveReason `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Event sent when a member of a guild leaves said guild for whatever reason.

func (*StreamEvent_MemberLeft) Descriptor deprecated

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

Deprecated: Use StreamEvent_MemberLeft.ProtoReflect.Descriptor instead.

func (*StreamEvent_MemberLeft) GetGuildId

func (x *StreamEvent_MemberLeft) GetGuildId() uint64

func (*StreamEvent_MemberLeft) GetLeaveReason

func (x *StreamEvent_MemberLeft) GetLeaveReason() LeaveReason

func (*StreamEvent_MemberLeft) GetMemberId

func (x *StreamEvent_MemberLeft) GetMemberId() uint64

func (*StreamEvent_MemberLeft) MarshalToSizedBufferVT

func (m *StreamEvent_MemberLeft) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MemberLeft) MarshalToVT

func (m *StreamEvent_MemberLeft) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MemberLeft) MarshalVT

func (m *StreamEvent_MemberLeft) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MemberLeft) ProtoMessage

func (*StreamEvent_MemberLeft) ProtoMessage()

func (*StreamEvent_MemberLeft) ProtoReflect

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

func (*StreamEvent_MemberLeft) Reset

func (x *StreamEvent_MemberLeft) Reset()

func (*StreamEvent_MemberLeft) SizeVT

func (m *StreamEvent_MemberLeft) SizeVT() (n int)

func (*StreamEvent_MemberLeft) String

func (x *StreamEvent_MemberLeft) String() string

func (*StreamEvent_MemberLeft) UnmarshalVT

func (m *StreamEvent_MemberLeft) UnmarshalVT(dAtA []byte) error

type StreamEvent_MessageDeleted

type StreamEvent_MessageDeleted struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that was deleted.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a message is deleted.

This event will only be sent to users that have "messages.view" permission for the channel the message was deleted in.

func (*StreamEvent_MessageDeleted) Descriptor deprecated

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

Deprecated: Use StreamEvent_MessageDeleted.ProtoReflect.Descriptor instead.

func (*StreamEvent_MessageDeleted) GetChannelId

func (x *StreamEvent_MessageDeleted) GetChannelId() uint64

func (*StreamEvent_MessageDeleted) GetGuildId

func (x *StreamEvent_MessageDeleted) GetGuildId() uint64

func (*StreamEvent_MessageDeleted) GetMessageId

func (x *StreamEvent_MessageDeleted) GetMessageId() uint64

func (*StreamEvent_MessageDeleted) MarshalToSizedBufferVT

func (m *StreamEvent_MessageDeleted) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageDeleted) MarshalToVT

func (m *StreamEvent_MessageDeleted) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageDeleted) MarshalVT

func (m *StreamEvent_MessageDeleted) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MessageDeleted) ProtoMessage

func (*StreamEvent_MessageDeleted) ProtoMessage()

func (*StreamEvent_MessageDeleted) ProtoReflect

func (*StreamEvent_MessageDeleted) Reset

func (x *StreamEvent_MessageDeleted) Reset()

func (*StreamEvent_MessageDeleted) SizeVT

func (m *StreamEvent_MessageDeleted) SizeVT() (n int)

func (*StreamEvent_MessageDeleted) String

func (x *StreamEvent_MessageDeleted) String() string

func (*StreamEvent_MessageDeleted) UnmarshalVT

func (m *StreamEvent_MessageDeleted) UnmarshalVT(dAtA []byte) error

type StreamEvent_MessagePinned

type StreamEvent_MessagePinned struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event occured.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that was pinned.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when a message is pinned in a guild channel.

Should only be sent to users who have the "message.view" permission for the guild channel where the message was pinned.

func (*StreamEvent_MessagePinned) Descriptor deprecated

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

Deprecated: Use StreamEvent_MessagePinned.ProtoReflect.Descriptor instead.

func (*StreamEvent_MessagePinned) GetChannelId

func (x *StreamEvent_MessagePinned) GetChannelId() uint64

func (*StreamEvent_MessagePinned) GetGuildId

func (x *StreamEvent_MessagePinned) GetGuildId() uint64

func (*StreamEvent_MessagePinned) GetMessageId

func (x *StreamEvent_MessagePinned) GetMessageId() uint64

func (*StreamEvent_MessagePinned) MarshalToSizedBufferVT

func (m *StreamEvent_MessagePinned) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessagePinned) MarshalToVT

func (m *StreamEvent_MessagePinned) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessagePinned) MarshalVT

func (m *StreamEvent_MessagePinned) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MessagePinned) ProtoMessage

func (*StreamEvent_MessagePinned) ProtoMessage()

func (*StreamEvent_MessagePinned) ProtoReflect

func (*StreamEvent_MessagePinned) Reset

func (x *StreamEvent_MessagePinned) Reset()

func (*StreamEvent_MessagePinned) SizeVT

func (m *StreamEvent_MessagePinned) SizeVT() (n int)

func (*StreamEvent_MessagePinned) String

func (x *StreamEvent_MessagePinned) String() string

func (*StreamEvent_MessagePinned) UnmarshalVT

func (m *StreamEvent_MessagePinned) UnmarshalVT(dAtA []byte) error

type StreamEvent_MessagePinned_

type StreamEvent_MessagePinned_ struct {
	// Send the message pinned event.
	MessagePinned *StreamEvent_MessagePinned `protobuf:"bytes,24,opt,name=message_pinned,json=messagePinned,proto3,oneof"`
}

func (*StreamEvent_MessagePinned_) MarshalToSizedBufferVT

func (m *StreamEvent_MessagePinned_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessagePinned_) MarshalToVT

func (m *StreamEvent_MessagePinned_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessagePinned_) SizeVT

func (m *StreamEvent_MessagePinned_) SizeVT() (n int)

type StreamEvent_MessageSent

type StreamEvent_MessageSent struct {

	// ID that is sent by your client it can use to confirm that the message is sent.
	EchoId *uint64 `protobuf:"varint,1,opt,name=echo_id,json=echoId,proto3,oneof" json:"echo_id,omitempty"`
	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId uint64 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that was updated.
	MessageId uint64 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The actual message.
	Message *Message `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a new message is sent.

This event will only be sent to users that have "messages.view" permission for the channel the message was sent in.

func (*StreamEvent_MessageSent) Descriptor deprecated

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

Deprecated: Use StreamEvent_MessageSent.ProtoReflect.Descriptor instead.

func (*StreamEvent_MessageSent) GetChannelId

func (x *StreamEvent_MessageSent) GetChannelId() uint64

func (*StreamEvent_MessageSent) GetEchoId

func (x *StreamEvent_MessageSent) GetEchoId() uint64

func (*StreamEvent_MessageSent) GetGuildId

func (x *StreamEvent_MessageSent) GetGuildId() uint64

func (*StreamEvent_MessageSent) GetMessage

func (x *StreamEvent_MessageSent) GetMessage() *Message

func (*StreamEvent_MessageSent) GetMessageId

func (x *StreamEvent_MessageSent) GetMessageId() uint64

func (*StreamEvent_MessageSent) MarshalToSizedBufferVT

func (m *StreamEvent_MessageSent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageSent) MarshalToVT

func (m *StreamEvent_MessageSent) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageSent) MarshalVT

func (m *StreamEvent_MessageSent) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MessageSent) ProtoMessage

func (*StreamEvent_MessageSent) ProtoMessage()

func (*StreamEvent_MessageSent) ProtoReflect

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

func (*StreamEvent_MessageSent) Reset

func (x *StreamEvent_MessageSent) Reset()

func (*StreamEvent_MessageSent) SizeVT

func (m *StreamEvent_MessageSent) SizeVT() (n int)

func (*StreamEvent_MessageSent) String

func (x *StreamEvent_MessageSent) String() string

func (*StreamEvent_MessageSent) UnmarshalVT

func (m *StreamEvent_MessageSent) UnmarshalVT(dAtA []byte) error

type StreamEvent_MessageUnpinned

type StreamEvent_MessageUnpinned struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event occured.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that was unpinned.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when a message is unpinned in a guild channel.

Should only be sent to users who have the "message.view" permission for the guild channel where the message was unpinned.

func (*StreamEvent_MessageUnpinned) Descriptor deprecated

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

Deprecated: Use StreamEvent_MessageUnpinned.ProtoReflect.Descriptor instead.

func (*StreamEvent_MessageUnpinned) GetChannelId

func (x *StreamEvent_MessageUnpinned) GetChannelId() uint64

func (*StreamEvent_MessageUnpinned) GetGuildId

func (x *StreamEvent_MessageUnpinned) GetGuildId() uint64

func (*StreamEvent_MessageUnpinned) GetMessageId

func (x *StreamEvent_MessageUnpinned) GetMessageId() uint64

func (*StreamEvent_MessageUnpinned) MarshalToSizedBufferVT

func (m *StreamEvent_MessageUnpinned) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageUnpinned) MarshalToVT

func (m *StreamEvent_MessageUnpinned) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageUnpinned) MarshalVT

func (m *StreamEvent_MessageUnpinned) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MessageUnpinned) ProtoMessage

func (*StreamEvent_MessageUnpinned) ProtoMessage()

func (*StreamEvent_MessageUnpinned) ProtoReflect

func (*StreamEvent_MessageUnpinned) Reset

func (x *StreamEvent_MessageUnpinned) Reset()

func (*StreamEvent_MessageUnpinned) SizeVT

func (m *StreamEvent_MessageUnpinned) SizeVT() (n int)

func (*StreamEvent_MessageUnpinned) String

func (x *StreamEvent_MessageUnpinned) String() string

func (*StreamEvent_MessageUnpinned) UnmarshalVT

func (m *StreamEvent_MessageUnpinned) UnmarshalVT(dAtA []byte) error

type StreamEvent_MessageUnpinned_

type StreamEvent_MessageUnpinned_ struct {
	// Send the message unpinned event.
	MessageUnpinned *StreamEvent_MessageUnpinned `protobuf:"bytes,25,opt,name=message_unpinned,json=messageUnpinned,proto3,oneof"`
}

func (*StreamEvent_MessageUnpinned_) MarshalToSizedBufferVT

func (m *StreamEvent_MessageUnpinned_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageUnpinned_) MarshalToVT

func (m *StreamEvent_MessageUnpinned_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageUnpinned_) SizeVT

func (m *StreamEvent_MessageUnpinned_) SizeVT() (n int)

type StreamEvent_MessageUpdated

type StreamEvent_MessageUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that was updated.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// When this message was edited, in seconds since unix epoch.
	EditedAt uint64 `protobuf:"varint,4,opt,name=edited_at,json=editedAt,proto3" json:"edited_at,omitempty"`
	// New message content.
	NewContent *Content `protobuf:"bytes,5,opt,name=new_content,json=newContent,proto3" json:"new_content,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a message's content is updated.

This event will only be sent to users that have "messages.view" permission for the channel the message was updated in.

func (*StreamEvent_MessageUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_MessageUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_MessageUpdated) GetChannelId

func (x *StreamEvent_MessageUpdated) GetChannelId() uint64

func (*StreamEvent_MessageUpdated) GetEditedAt

func (x *StreamEvent_MessageUpdated) GetEditedAt() uint64

func (*StreamEvent_MessageUpdated) GetGuildId

func (x *StreamEvent_MessageUpdated) GetGuildId() uint64

func (*StreamEvent_MessageUpdated) GetMessageId

func (x *StreamEvent_MessageUpdated) GetMessageId() uint64

func (*StreamEvent_MessageUpdated) GetNewContent

func (x *StreamEvent_MessageUpdated) GetNewContent() *Content

func (*StreamEvent_MessageUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_MessageUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageUpdated) MarshalToVT

func (m *StreamEvent_MessageUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_MessageUpdated) MarshalVT

func (m *StreamEvent_MessageUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_MessageUpdated) ProtoMessage

func (*StreamEvent_MessageUpdated) ProtoMessage()

func (*StreamEvent_MessageUpdated) ProtoReflect

func (*StreamEvent_MessageUpdated) Reset

func (x *StreamEvent_MessageUpdated) Reset()

func (*StreamEvent_MessageUpdated) SizeVT

func (m *StreamEvent_MessageUpdated) SizeVT() (n int)

func (*StreamEvent_MessageUpdated) String

func (x *StreamEvent_MessageUpdated) String() string

func (*StreamEvent_MessageUpdated) UnmarshalVT

func (m *StreamEvent_MessageUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_NewReactionAdded

type StreamEvent_NewReactionAdded struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event occured.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that had a reaction added.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The reaction that was added.
	Reaction *Reaction `protobuf:"bytes,4,opt,name=reaction,proto3" json:"reaction,omitempty"`
	// contains filtered or unexported fields
}

Sent when a new reaction is added to a message. This is only sent if such a reaction wasn't on the message, otherwise see `ReactionAdded`.

Should only be sent to users who have the "message.view" permission for the guild channel where the reaction was added.

func (*StreamEvent_NewReactionAdded) Descriptor deprecated

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

Deprecated: Use StreamEvent_NewReactionAdded.ProtoReflect.Descriptor instead.

func (*StreamEvent_NewReactionAdded) GetChannelId

func (x *StreamEvent_NewReactionAdded) GetChannelId() uint64

func (*StreamEvent_NewReactionAdded) GetGuildId

func (x *StreamEvent_NewReactionAdded) GetGuildId() uint64

func (*StreamEvent_NewReactionAdded) GetMessageId

func (x *StreamEvent_NewReactionAdded) GetMessageId() uint64

func (*StreamEvent_NewReactionAdded) GetReaction

func (x *StreamEvent_NewReactionAdded) GetReaction() *Reaction

func (*StreamEvent_NewReactionAdded) MarshalToSizedBufferVT

func (m *StreamEvent_NewReactionAdded) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_NewReactionAdded) MarshalToVT

func (m *StreamEvent_NewReactionAdded) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_NewReactionAdded) MarshalVT

func (m *StreamEvent_NewReactionAdded) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_NewReactionAdded) ProtoMessage

func (*StreamEvent_NewReactionAdded) ProtoMessage()

func (*StreamEvent_NewReactionAdded) ProtoReflect

func (*StreamEvent_NewReactionAdded) Reset

func (x *StreamEvent_NewReactionAdded) Reset()

func (*StreamEvent_NewReactionAdded) SizeVT

func (m *StreamEvent_NewReactionAdded) SizeVT() (n int)

func (*StreamEvent_NewReactionAdded) String

func (*StreamEvent_NewReactionAdded) UnmarshalVT

func (m *StreamEvent_NewReactionAdded) UnmarshalVT(dAtA []byte) error

type StreamEvent_NewReactionAdded_

type StreamEvent_NewReactionAdded_ struct {
	// Send the new reaction added event.
	NewReactionAdded *StreamEvent_NewReactionAdded `protobuf:"bytes,33,opt,name=new_reaction_added,json=newReactionAdded,proto3,oneof"`
}

func (*StreamEvent_NewReactionAdded_) MarshalToSizedBufferVT

func (m *StreamEvent_NewReactionAdded_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_NewReactionAdded_) MarshalToVT

func (m *StreamEvent_NewReactionAdded_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_NewReactionAdded_) SizeVT

func (m *StreamEvent_NewReactionAdded_) SizeVT() (n int)

type StreamEvent_OwnerAdded

type StreamEvent_OwnerAdded struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// User ID of the new owner.
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when there's a new owner.

func (*StreamEvent_OwnerAdded) Descriptor deprecated

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

Deprecated: Use StreamEvent_OwnerAdded.ProtoReflect.Descriptor instead.

func (*StreamEvent_OwnerAdded) GetGuildId

func (x *StreamEvent_OwnerAdded) GetGuildId() uint64

func (*StreamEvent_OwnerAdded) GetUserId

func (x *StreamEvent_OwnerAdded) GetUserId() uint64

func (*StreamEvent_OwnerAdded) MarshalToSizedBufferVT

func (m *StreamEvent_OwnerAdded) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerAdded) MarshalToVT

func (m *StreamEvent_OwnerAdded) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerAdded) MarshalVT

func (m *StreamEvent_OwnerAdded) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_OwnerAdded) ProtoMessage

func (*StreamEvent_OwnerAdded) ProtoMessage()

func (*StreamEvent_OwnerAdded) ProtoReflect

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

func (*StreamEvent_OwnerAdded) Reset

func (x *StreamEvent_OwnerAdded) Reset()

func (*StreamEvent_OwnerAdded) SizeVT

func (m *StreamEvent_OwnerAdded) SizeVT() (n int)

func (*StreamEvent_OwnerAdded) String

func (x *StreamEvent_OwnerAdded) String() string

func (*StreamEvent_OwnerAdded) UnmarshalVT

func (m *StreamEvent_OwnerAdded) UnmarshalVT(dAtA []byte) error

type StreamEvent_OwnerAdded_

type StreamEvent_OwnerAdded_ struct {
	// Send the owner added event.
	OwnerAdded *StreamEvent_OwnerAdded `protobuf:"bytes,26,opt,name=owner_added,json=ownerAdded,proto3,oneof"`
}

func (*StreamEvent_OwnerAdded_) MarshalToSizedBufferVT

func (m *StreamEvent_OwnerAdded_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerAdded_) MarshalToVT

func (m *StreamEvent_OwnerAdded_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerAdded_) SizeVT

func (m *StreamEvent_OwnerAdded_) SizeVT() (n int)

type StreamEvent_OwnerRemoved

type StreamEvent_OwnerRemoved struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// User ID of the user who is no longer owner.
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Sent when an owner gives up their ownership.

func (*StreamEvent_OwnerRemoved) Descriptor deprecated

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

Deprecated: Use StreamEvent_OwnerRemoved.ProtoReflect.Descriptor instead.

func (*StreamEvent_OwnerRemoved) GetGuildId

func (x *StreamEvent_OwnerRemoved) GetGuildId() uint64

func (*StreamEvent_OwnerRemoved) GetUserId

func (x *StreamEvent_OwnerRemoved) GetUserId() uint64

func (*StreamEvent_OwnerRemoved) MarshalToSizedBufferVT

func (m *StreamEvent_OwnerRemoved) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerRemoved) MarshalToVT

func (m *StreamEvent_OwnerRemoved) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerRemoved) MarshalVT

func (m *StreamEvent_OwnerRemoved) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_OwnerRemoved) ProtoMessage

func (*StreamEvent_OwnerRemoved) ProtoMessage()

func (*StreamEvent_OwnerRemoved) ProtoReflect

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

func (*StreamEvent_OwnerRemoved) Reset

func (x *StreamEvent_OwnerRemoved) Reset()

func (*StreamEvent_OwnerRemoved) SizeVT

func (m *StreamEvent_OwnerRemoved) SizeVT() (n int)

func (*StreamEvent_OwnerRemoved) String

func (x *StreamEvent_OwnerRemoved) String() string

func (*StreamEvent_OwnerRemoved) UnmarshalVT

func (m *StreamEvent_OwnerRemoved) UnmarshalVT(dAtA []byte) error

type StreamEvent_OwnerRemoved_

type StreamEvent_OwnerRemoved_ struct {
	// Send the owner removed event.
	OwnerRemoved *StreamEvent_OwnerRemoved `protobuf:"bytes,27,opt,name=owner_removed,json=ownerRemoved,proto3,oneof"`
}

func (*StreamEvent_OwnerRemoved_) MarshalToSizedBufferVT

func (m *StreamEvent_OwnerRemoved_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerRemoved_) MarshalToVT

func (m *StreamEvent_OwnerRemoved_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_OwnerRemoved_) SizeVT

func (m *StreamEvent_OwnerRemoved_) SizeVT() (n int)

type StreamEvent_PermissionUpdated

type StreamEvent_PermissionUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId *uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	// The permission node that was changed.
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// Whether you have the permission or not.
	Ok bool `protobuf:"varint,4,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a permission is changed that matters to you.

Servers should calculate which users to send this event to when a permission is set. It should only be sent if a user is subscribed to the guild the permission pertains to.

func (*StreamEvent_PermissionUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_PermissionUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_PermissionUpdated) GetChannelId

func (x *StreamEvent_PermissionUpdated) GetChannelId() uint64

func (*StreamEvent_PermissionUpdated) GetGuildId

func (x *StreamEvent_PermissionUpdated) GetGuildId() uint64

func (*StreamEvent_PermissionUpdated) GetOk

func (*StreamEvent_PermissionUpdated) GetQuery

func (x *StreamEvent_PermissionUpdated) GetQuery() string

func (*StreamEvent_PermissionUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_PermissionUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_PermissionUpdated) MarshalToVT

func (m *StreamEvent_PermissionUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_PermissionUpdated) MarshalVT

func (m *StreamEvent_PermissionUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_PermissionUpdated) ProtoMessage

func (*StreamEvent_PermissionUpdated) ProtoMessage()

func (*StreamEvent_PermissionUpdated) ProtoReflect

func (*StreamEvent_PermissionUpdated) Reset

func (x *StreamEvent_PermissionUpdated) Reset()

func (*StreamEvent_PermissionUpdated) SizeVT

func (m *StreamEvent_PermissionUpdated) SizeVT() (n int)

func (*StreamEvent_PermissionUpdated) String

func (*StreamEvent_PermissionUpdated) UnmarshalVT

func (m *StreamEvent_PermissionUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_PermissionUpdated_

type StreamEvent_PermissionUpdated_ struct {
	// Send the permission updated event.
	PermissionUpdated *StreamEvent_PermissionUpdated `protobuf:"bytes,21,opt,name=permission_updated,json=permissionUpdated,proto3,oneof"`
}

func (*StreamEvent_PermissionUpdated_) MarshalToSizedBufferVT

func (m *StreamEvent_PermissionUpdated_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_PermissionUpdated_) MarshalToVT

func (m *StreamEvent_PermissionUpdated_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_PermissionUpdated_) SizeVT

func (m *StreamEvent_PermissionUpdated_) SizeVT() (n int)

type StreamEvent_ReactionAdded

type StreamEvent_ReactionAdded struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event occured.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that had a reaction added.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The data of the reaction that was added.
	ReactionData string `protobuf:"bytes,4,opt,name=reaction_data,json=reactionData,proto3" json:"reaction_data,omitempty"`
	// contains filtered or unexported fields
}

Sent when an existing reaction is added to a message. This is only sent such a reaction was on the message, otherwise see `NewReactionAdded`.

Should only be sent to users who have the "message.view" permission for the guild channel where the reaction was added.

func (*StreamEvent_ReactionAdded) Descriptor deprecated

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

Deprecated: Use StreamEvent_ReactionAdded.ProtoReflect.Descriptor instead.

func (*StreamEvent_ReactionAdded) GetChannelId

func (x *StreamEvent_ReactionAdded) GetChannelId() uint64

func (*StreamEvent_ReactionAdded) GetGuildId

func (x *StreamEvent_ReactionAdded) GetGuildId() uint64

func (*StreamEvent_ReactionAdded) GetMessageId

func (x *StreamEvent_ReactionAdded) GetMessageId() uint64

func (*StreamEvent_ReactionAdded) GetReactionData

func (x *StreamEvent_ReactionAdded) GetReactionData() string

func (*StreamEvent_ReactionAdded) MarshalToSizedBufferVT

func (m *StreamEvent_ReactionAdded) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionAdded) MarshalToVT

func (m *StreamEvent_ReactionAdded) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionAdded) MarshalVT

func (m *StreamEvent_ReactionAdded) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ReactionAdded) ProtoMessage

func (*StreamEvent_ReactionAdded) ProtoMessage()

func (*StreamEvent_ReactionAdded) ProtoReflect

func (*StreamEvent_ReactionAdded) Reset

func (x *StreamEvent_ReactionAdded) Reset()

func (*StreamEvent_ReactionAdded) SizeVT

func (m *StreamEvent_ReactionAdded) SizeVT() (n int)

func (*StreamEvent_ReactionAdded) String

func (x *StreamEvent_ReactionAdded) String() string

func (*StreamEvent_ReactionAdded) UnmarshalVT

func (m *StreamEvent_ReactionAdded) UnmarshalVT(dAtA []byte) error

type StreamEvent_ReactionAdded_

type StreamEvent_ReactionAdded_ struct {
	// Send the reaction added event.
	ReactionAdded *StreamEvent_ReactionAdded `protobuf:"bytes,34,opt,name=reaction_added,json=reactionAdded,proto3,oneof"`
}

func (*StreamEvent_ReactionAdded_) MarshalToSizedBufferVT

func (m *StreamEvent_ReactionAdded_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionAdded_) MarshalToVT

func (m *StreamEvent_ReactionAdded_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionAdded_) SizeVT

func (m *StreamEvent_ReactionAdded_) SizeVT() (n int)

type StreamEvent_ReactionRemoved

type StreamEvent_ReactionRemoved struct {

	// Guild ID of the guild where this event occured.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event occured.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message that had a reaction removed.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The data of the reaction that was removed.
	ReactionData string `protobuf:"bytes,4,opt,name=reaction_data,json=reactionData,proto3" json:"reaction_data,omitempty"`
	// contains filtered or unexported fields
}

Sent when an existing reaction is removed from a message.

Should only be sent to users who have the "message.view" permission for the guild channel where the reaction was removed.

func (*StreamEvent_ReactionRemoved) Descriptor deprecated

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

Deprecated: Use StreamEvent_ReactionRemoved.ProtoReflect.Descriptor instead.

func (*StreamEvent_ReactionRemoved) GetChannelId

func (x *StreamEvent_ReactionRemoved) GetChannelId() uint64

func (*StreamEvent_ReactionRemoved) GetGuildId

func (x *StreamEvent_ReactionRemoved) GetGuildId() uint64

func (*StreamEvent_ReactionRemoved) GetMessageId

func (x *StreamEvent_ReactionRemoved) GetMessageId() uint64

func (*StreamEvent_ReactionRemoved) GetReactionData

func (x *StreamEvent_ReactionRemoved) GetReactionData() string

func (*StreamEvent_ReactionRemoved) MarshalToSizedBufferVT

func (m *StreamEvent_ReactionRemoved) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionRemoved) MarshalToVT

func (m *StreamEvent_ReactionRemoved) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionRemoved) MarshalVT

func (m *StreamEvent_ReactionRemoved) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_ReactionRemoved) ProtoMessage

func (*StreamEvent_ReactionRemoved) ProtoMessage()

func (*StreamEvent_ReactionRemoved) ProtoReflect

func (*StreamEvent_ReactionRemoved) Reset

func (x *StreamEvent_ReactionRemoved) Reset()

func (*StreamEvent_ReactionRemoved) SizeVT

func (m *StreamEvent_ReactionRemoved) SizeVT() (n int)

func (*StreamEvent_ReactionRemoved) String

func (x *StreamEvent_ReactionRemoved) String() string

func (*StreamEvent_ReactionRemoved) UnmarshalVT

func (m *StreamEvent_ReactionRemoved) UnmarshalVT(dAtA []byte) error

type StreamEvent_ReactionRemoved_

type StreamEvent_ReactionRemoved_ struct {
	// Send the reaction removed event.
	ReactionRemoved *StreamEvent_ReactionRemoved `protobuf:"bytes,35,opt,name=reaction_removed,json=reactionRemoved,proto3,oneof"`
}

func (*StreamEvent_ReactionRemoved_) MarshalToSizedBufferVT

func (m *StreamEvent_ReactionRemoved_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionRemoved_) MarshalToVT

func (m *StreamEvent_ReactionRemoved_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_ReactionRemoved_) SizeVT

func (m *StreamEvent_ReactionRemoved_) SizeVT() (n int)

type StreamEvent_RoleCreated

type StreamEvent_RoleCreated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Role ID of the role that was created.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The name of the role.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The color of the role.
	Color int32 `protobuf:"varint,4,opt,name=color,proto3" json:"color,omitempty"`
	// The hoist status of the role.
	Hoist bool `protobuf:"varint,5,opt,name=hoist,proto3" json:"hoist,omitempty"`
	// The pingable status of the role.
	Pingable bool `protobuf:"varint,6,opt,name=pingable,proto3" json:"pingable,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a role is created.

This event will only be sent to users with the "roles.get" permission.

func (*StreamEvent_RoleCreated) Descriptor deprecated

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

Deprecated: Use StreamEvent_RoleCreated.ProtoReflect.Descriptor instead.

func (*StreamEvent_RoleCreated) GetColor

func (x *StreamEvent_RoleCreated) GetColor() int32

func (*StreamEvent_RoleCreated) GetGuildId

func (x *StreamEvent_RoleCreated) GetGuildId() uint64

func (*StreamEvent_RoleCreated) GetHoist

func (x *StreamEvent_RoleCreated) GetHoist() bool

func (*StreamEvent_RoleCreated) GetName

func (x *StreamEvent_RoleCreated) GetName() string

func (*StreamEvent_RoleCreated) GetPingable

func (x *StreamEvent_RoleCreated) GetPingable() bool

func (*StreamEvent_RoleCreated) GetRoleId

func (x *StreamEvent_RoleCreated) GetRoleId() uint64

func (*StreamEvent_RoleCreated) MarshalToSizedBufferVT

func (m *StreamEvent_RoleCreated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleCreated) MarshalToVT

func (m *StreamEvent_RoleCreated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleCreated) MarshalVT

func (m *StreamEvent_RoleCreated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_RoleCreated) ProtoMessage

func (*StreamEvent_RoleCreated) ProtoMessage()

func (*StreamEvent_RoleCreated) ProtoReflect

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

func (*StreamEvent_RoleCreated) Reset

func (x *StreamEvent_RoleCreated) Reset()

func (*StreamEvent_RoleCreated) SizeVT

func (m *StreamEvent_RoleCreated) SizeVT() (n int)

func (*StreamEvent_RoleCreated) String

func (x *StreamEvent_RoleCreated) String() string

func (*StreamEvent_RoleCreated) UnmarshalVT

func (m *StreamEvent_RoleCreated) UnmarshalVT(dAtA []byte) error

type StreamEvent_RoleCreated_

type StreamEvent_RoleCreated_ struct {
	// Send the role created event.
	RoleCreated *StreamEvent_RoleCreated `protobuf:"bytes,15,opt,name=role_created,json=roleCreated,proto3,oneof"`
}

func (*StreamEvent_RoleCreated_) MarshalToSizedBufferVT

func (m *StreamEvent_RoleCreated_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleCreated_) MarshalToVT

func (m *StreamEvent_RoleCreated_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleCreated_) SizeVT

func (m *StreamEvent_RoleCreated_) SizeVT() (n int)

type StreamEvent_RoleDeleted

type StreamEvent_RoleDeleted struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Role ID of the role that was deleted.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a role is deleted.

This event will only be sent to users with the "roles.get" permission.

func (*StreamEvent_RoleDeleted) Descriptor deprecated

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

Deprecated: Use StreamEvent_RoleDeleted.ProtoReflect.Descriptor instead.

func (*StreamEvent_RoleDeleted) GetGuildId

func (x *StreamEvent_RoleDeleted) GetGuildId() uint64

func (*StreamEvent_RoleDeleted) GetRoleId

func (x *StreamEvent_RoleDeleted) GetRoleId() uint64

func (*StreamEvent_RoleDeleted) MarshalToSizedBufferVT

func (m *StreamEvent_RoleDeleted) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleDeleted) MarshalToVT

func (m *StreamEvent_RoleDeleted) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleDeleted) MarshalVT

func (m *StreamEvent_RoleDeleted) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_RoleDeleted) ProtoMessage

func (*StreamEvent_RoleDeleted) ProtoMessage()

func (*StreamEvent_RoleDeleted) ProtoReflect

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

func (*StreamEvent_RoleDeleted) Reset

func (x *StreamEvent_RoleDeleted) Reset()

func (*StreamEvent_RoleDeleted) SizeVT

func (m *StreamEvent_RoleDeleted) SizeVT() (n int)

func (*StreamEvent_RoleDeleted) String

func (x *StreamEvent_RoleDeleted) String() string

func (*StreamEvent_RoleDeleted) UnmarshalVT

func (m *StreamEvent_RoleDeleted) UnmarshalVT(dAtA []byte) error

type StreamEvent_RoleDeleted_

type StreamEvent_RoleDeleted_ struct {
	// Send the role deleted event.
	RoleDeleted *StreamEvent_RoleDeleted `protobuf:"bytes,16,opt,name=role_deleted,json=roleDeleted,proto3,oneof"`
}

func (*StreamEvent_RoleDeleted_) MarshalToSizedBufferVT

func (m *StreamEvent_RoleDeleted_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleDeleted_) MarshalToVT

func (m *StreamEvent_RoleDeleted_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleDeleted_) SizeVT

func (m *StreamEvent_RoleDeleted_) SizeVT() (n int)

type StreamEvent_RoleMoved

type StreamEvent_RoleMoved struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Role ID of the role that was moved.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// New position of the role.
	NewPosition *v12.ItemPosition `protobuf:"bytes,3,opt,name=new_position,json=newPosition,proto3" json:"new_position,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a role's position in the role list is changed.

This event will only be sent to users with the "roles.get" permission.

func (*StreamEvent_RoleMoved) Descriptor deprecated

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

Deprecated: Use StreamEvent_RoleMoved.ProtoReflect.Descriptor instead.

func (*StreamEvent_RoleMoved) GetGuildId

func (x *StreamEvent_RoleMoved) GetGuildId() uint64

func (*StreamEvent_RoleMoved) GetNewPosition

func (x *StreamEvent_RoleMoved) GetNewPosition() *v12.ItemPosition

func (*StreamEvent_RoleMoved) GetRoleId

func (x *StreamEvent_RoleMoved) GetRoleId() uint64

func (*StreamEvent_RoleMoved) MarshalToSizedBufferVT

func (m *StreamEvent_RoleMoved) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleMoved) MarshalToVT

func (m *StreamEvent_RoleMoved) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleMoved) MarshalVT

func (m *StreamEvent_RoleMoved) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_RoleMoved) ProtoMessage

func (*StreamEvent_RoleMoved) ProtoMessage()

func (*StreamEvent_RoleMoved) ProtoReflect

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

func (*StreamEvent_RoleMoved) Reset

func (x *StreamEvent_RoleMoved) Reset()

func (*StreamEvent_RoleMoved) SizeVT

func (m *StreamEvent_RoleMoved) SizeVT() (n int)

func (*StreamEvent_RoleMoved) String

func (x *StreamEvent_RoleMoved) String() string

func (*StreamEvent_RoleMoved) UnmarshalVT

func (m *StreamEvent_RoleMoved) UnmarshalVT(dAtA []byte) error

type StreamEvent_RoleMoved_

type StreamEvent_RoleMoved_ struct {
	// Send the role moved event.
	RoleMoved *StreamEvent_RoleMoved `protobuf:"bytes,17,opt,name=role_moved,json=roleMoved,proto3,oneof"`
}

func (*StreamEvent_RoleMoved_) MarshalToSizedBufferVT

func (m *StreamEvent_RoleMoved_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleMoved_) MarshalToVT

func (m *StreamEvent_RoleMoved_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleMoved_) SizeVT

func (m *StreamEvent_RoleMoved_) SizeVT() (n int)

type StreamEvent_RolePermissionsUpdated

type StreamEvent_RolePermissionsUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId *uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	// Role ID of the role that had it's permissions changed.
	RoleId uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The new permissions.
	NewPerms []*Permission `protobuf:"bytes,4,rep,name=new_perms,json=newPerms,proto3" json:"new_perms,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a role's permissions are changed.

This event will only be sent to users with the "roles.manage" permission.

func (*StreamEvent_RolePermissionsUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_RolePermissionsUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_RolePermissionsUpdated) GetChannelId

func (x *StreamEvent_RolePermissionsUpdated) GetChannelId() uint64

func (*StreamEvent_RolePermissionsUpdated) GetGuildId

func (*StreamEvent_RolePermissionsUpdated) GetNewPerms

func (x *StreamEvent_RolePermissionsUpdated) GetNewPerms() []*Permission

func (*StreamEvent_RolePermissionsUpdated) GetRoleId

func (*StreamEvent_RolePermissionsUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_RolePermissionsUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RolePermissionsUpdated) MarshalToVT

func (m *StreamEvent_RolePermissionsUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RolePermissionsUpdated) MarshalVT

func (m *StreamEvent_RolePermissionsUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_RolePermissionsUpdated) ProtoMessage

func (*StreamEvent_RolePermissionsUpdated) ProtoMessage()

func (*StreamEvent_RolePermissionsUpdated) ProtoReflect

func (*StreamEvent_RolePermissionsUpdated) Reset

func (*StreamEvent_RolePermissionsUpdated) SizeVT

func (m *StreamEvent_RolePermissionsUpdated) SizeVT() (n int)

func (*StreamEvent_RolePermissionsUpdated) String

func (*StreamEvent_RolePermissionsUpdated) UnmarshalVT

func (m *StreamEvent_RolePermissionsUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_RolePermsUpdated

type StreamEvent_RolePermsUpdated struct {
	// Send the role perms updated event.
	RolePermsUpdated *StreamEvent_RolePermissionsUpdated `protobuf:"bytes,19,opt,name=role_perms_updated,json=rolePermsUpdated,proto3,oneof"`
}

func (*StreamEvent_RolePermsUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_RolePermsUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RolePermsUpdated) MarshalToVT

func (m *StreamEvent_RolePermsUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RolePermsUpdated) SizeVT

func (m *StreamEvent_RolePermsUpdated) SizeVT() (n int)

type StreamEvent_RoleUpdated

type StreamEvent_RoleUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Role ID of the role that was changed.
	RoleId uint64 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// The new name of the role.
	NewName *string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
	// The new color of the role.
	NewColor *int32 `protobuf:"varint,4,opt,name=new_color,json=newColor,proto3,oneof" json:"new_color,omitempty"`
	// The new hoist status of the role.
	NewHoist *bool `protobuf:"varint,5,opt,name=new_hoist,json=newHoist,proto3,oneof" json:"new_hoist,omitempty"`
	// The new pingable status of the role.
	NewPingable *bool `protobuf:"varint,6,opt,name=new_pingable,json=newPingable,proto3,oneof" json:"new_pingable,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a role's information is changed.

This event will only be sent to users with the "roles.get" permission.

func (*StreamEvent_RoleUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_RoleUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_RoleUpdated) GetGuildId

func (x *StreamEvent_RoleUpdated) GetGuildId() uint64

func (*StreamEvent_RoleUpdated) GetNewColor

func (x *StreamEvent_RoleUpdated) GetNewColor() int32

func (*StreamEvent_RoleUpdated) GetNewHoist

func (x *StreamEvent_RoleUpdated) GetNewHoist() bool

func (*StreamEvent_RoleUpdated) GetNewName

func (x *StreamEvent_RoleUpdated) GetNewName() string

func (*StreamEvent_RoleUpdated) GetNewPingable

func (x *StreamEvent_RoleUpdated) GetNewPingable() bool

func (*StreamEvent_RoleUpdated) GetRoleId

func (x *StreamEvent_RoleUpdated) GetRoleId() uint64

func (*StreamEvent_RoleUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_RoleUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleUpdated) MarshalToVT

func (m *StreamEvent_RoleUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleUpdated) MarshalVT

func (m *StreamEvent_RoleUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_RoleUpdated) ProtoMessage

func (*StreamEvent_RoleUpdated) ProtoMessage()

func (*StreamEvent_RoleUpdated) ProtoReflect

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

func (*StreamEvent_RoleUpdated) Reset

func (x *StreamEvent_RoleUpdated) Reset()

func (*StreamEvent_RoleUpdated) SizeVT

func (m *StreamEvent_RoleUpdated) SizeVT() (n int)

func (*StreamEvent_RoleUpdated) String

func (x *StreamEvent_RoleUpdated) String() string

func (*StreamEvent_RoleUpdated) UnmarshalVT

func (m *StreamEvent_RoleUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_RoleUpdated_

type StreamEvent_RoleUpdated_ struct {
	// Send the role updated event.
	RoleUpdated *StreamEvent_RoleUpdated `protobuf:"bytes,18,opt,name=role_updated,json=roleUpdated,proto3,oneof"`
}

func (*StreamEvent_RoleUpdated_) MarshalToSizedBufferVT

func (m *StreamEvent_RoleUpdated_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleUpdated_) MarshalToVT

func (m *StreamEvent_RoleUpdated_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_RoleUpdated_) SizeVT

func (m *StreamEvent_RoleUpdated_) SizeVT() (n int)

type StreamEvent_SentMessage

type StreamEvent_SentMessage struct {
	// Send the message sent event.
	SentMessage *StreamEvent_MessageSent `protobuf:"bytes,4,opt,name=sent_message,json=sentMessage,proto3,oneof"`
}

func (*StreamEvent_SentMessage) MarshalToSizedBufferVT

func (m *StreamEvent_SentMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_SentMessage) MarshalToVT

func (m *StreamEvent_SentMessage) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_SentMessage) SizeVT

func (m *StreamEvent_SentMessage) SizeVT() (n int)

type StreamEvent_Typing

type StreamEvent_Typing struct {

	// User ID of the user that sent the typing notification.
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where this event happened.
	ChannelId uint64 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a user sends a typing notification in a guild channel.

Should only be sent to users who have the "message.view" permission for the guild channel where the typing happened.

func (*StreamEvent_Typing) Descriptor deprecated

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

Deprecated: Use StreamEvent_Typing.ProtoReflect.Descriptor instead.

func (*StreamEvent_Typing) GetChannelId

func (x *StreamEvent_Typing) GetChannelId() uint64

func (*StreamEvent_Typing) GetGuildId

func (x *StreamEvent_Typing) GetGuildId() uint64

func (*StreamEvent_Typing) GetUserId

func (x *StreamEvent_Typing) GetUserId() uint64

func (*StreamEvent_Typing) MarshalToSizedBufferVT

func (m *StreamEvent_Typing) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_Typing) MarshalToVT

func (m *StreamEvent_Typing) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_Typing) MarshalVT

func (m *StreamEvent_Typing) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_Typing) ProtoMessage

func (*StreamEvent_Typing) ProtoMessage()

func (*StreamEvent_Typing) ProtoReflect

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

func (*StreamEvent_Typing) Reset

func (x *StreamEvent_Typing) Reset()

func (*StreamEvent_Typing) SizeVT

func (m *StreamEvent_Typing) SizeVT() (n int)

func (*StreamEvent_Typing) String

func (x *StreamEvent_Typing) String() string

func (*StreamEvent_Typing) UnmarshalVT

func (m *StreamEvent_Typing) UnmarshalVT(dAtA []byte) error

type StreamEvent_Typing_

type StreamEvent_Typing_ struct {
	// Send the typing event.
	Typing *StreamEvent_Typing `protobuf:"bytes,14,opt,name=typing,proto3,oneof"`
}

func (*StreamEvent_Typing_) MarshalToSizedBufferVT

func (m *StreamEvent_Typing_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_Typing_) MarshalToVT

func (m *StreamEvent_Typing_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_Typing_) SizeVT

func (m *StreamEvent_Typing_) SizeVT() (n int)

type StreamEvent_UserRolesUpdated

type StreamEvent_UserRolesUpdated struct {

	// Guild ID of the guild where this event happened.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// User ID of the user that had it's roles changed.
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The new role IDs.
	NewRoleIds []uint64 `protobuf:"varint,3,rep,packed,name=new_role_ids,json=newRoleIds,proto3" json:"new_role_ids,omitempty"`
	// contains filtered or unexported fields
}

Event sent when a user's roles are changed.

This event will only be sent to users with the "roles.user.get" permission.

func (*StreamEvent_UserRolesUpdated) Descriptor deprecated

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

Deprecated: Use StreamEvent_UserRolesUpdated.ProtoReflect.Descriptor instead.

func (*StreamEvent_UserRolesUpdated) GetGuildId

func (x *StreamEvent_UserRolesUpdated) GetGuildId() uint64

func (*StreamEvent_UserRolesUpdated) GetNewRoleIds

func (x *StreamEvent_UserRolesUpdated) GetNewRoleIds() []uint64

func (*StreamEvent_UserRolesUpdated) GetUserId

func (x *StreamEvent_UserRolesUpdated) GetUserId() uint64

func (*StreamEvent_UserRolesUpdated) MarshalToSizedBufferVT

func (m *StreamEvent_UserRolesUpdated) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_UserRolesUpdated) MarshalToVT

func (m *StreamEvent_UserRolesUpdated) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_UserRolesUpdated) MarshalVT

func (m *StreamEvent_UserRolesUpdated) MarshalVT() (dAtA []byte, err error)

func (*StreamEvent_UserRolesUpdated) ProtoMessage

func (*StreamEvent_UserRolesUpdated) ProtoMessage()

func (*StreamEvent_UserRolesUpdated) ProtoReflect

func (*StreamEvent_UserRolesUpdated) Reset

func (x *StreamEvent_UserRolesUpdated) Reset()

func (*StreamEvent_UserRolesUpdated) SizeVT

func (m *StreamEvent_UserRolesUpdated) SizeVT() (n int)

func (*StreamEvent_UserRolesUpdated) String

func (*StreamEvent_UserRolesUpdated) UnmarshalVT

func (m *StreamEvent_UserRolesUpdated) UnmarshalVT(dAtA []byte) error

type StreamEvent_UserRolesUpdated_

type StreamEvent_UserRolesUpdated_ struct {
	// Send the user roles updated event.
	UserRolesUpdated *StreamEvent_UserRolesUpdated `protobuf:"bytes,20,opt,name=user_roles_updated,json=userRolesUpdated,proto3,oneof"`
}

func (*StreamEvent_UserRolesUpdated_) MarshalToSizedBufferVT

func (m *StreamEvent_UserRolesUpdated_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEvent_UserRolesUpdated_) MarshalToVT

func (m *StreamEvent_UserRolesUpdated_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEvent_UserRolesUpdated_) SizeVT

func (m *StreamEvent_UserRolesUpdated_) SizeVT() (n int)

type StreamEventsRequest

type StreamEventsRequest struct {

	// Describes which event source to subscribe to.
	//
	// Types that are assignable to Request:
	//	*StreamEventsRequest_SubscribeToGuild_
	//	*StreamEventsRequest_SubscribeToActions_
	//	*StreamEventsRequest_SubscribeToHomeserverEvents_
	//	*StreamEventsRequest_UnsubscribeFromAll_
	Request isStreamEventsRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

Request type for use in the `StreamEvents` endpoint. By default, this endpoint will subscribe to all events. Any guilds joined in the future will be added to the subscription as well. Use the UnsubscribeFromAll event for unsubscribing from all current subscriptions and disable the automatic guild subscriptions

func (*StreamEventsRequest) Descriptor deprecated

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

Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest) GetRequest

func (m *StreamEventsRequest) GetRequest() isStreamEventsRequest_Request

func (*StreamEventsRequest) GetSubscribeToActions

func (x *StreamEventsRequest) GetSubscribeToActions() *StreamEventsRequest_SubscribeToActions

func (*StreamEventsRequest) GetSubscribeToGuild

func (*StreamEventsRequest) GetSubscribeToHomeserverEvents

func (x *StreamEventsRequest) GetSubscribeToHomeserverEvents() *StreamEventsRequest_SubscribeToHomeserverEvents

func (*StreamEventsRequest) GetUnsubscribeFromAll

func (x *StreamEventsRequest) GetUnsubscribeFromAll() *StreamEventsRequest_UnsubscribeFromAll

func (*StreamEventsRequest) MarshalToSizedBufferVT

func (m *StreamEventsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest) MarshalToVT

func (m *StreamEventsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest) MarshalVT

func (m *StreamEventsRequest) MarshalVT() (dAtA []byte, err error)

func (*StreamEventsRequest) ProtoMessage

func (*StreamEventsRequest) ProtoMessage()

func (*StreamEventsRequest) ProtoReflect

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

func (*StreamEventsRequest) Reset

func (x *StreamEventsRequest) Reset()

func (*StreamEventsRequest) SizeVT

func (m *StreamEventsRequest) SizeVT() (n int)

func (*StreamEventsRequest) String

func (x *StreamEventsRequest) String() string

func (*StreamEventsRequest) UnmarshalVT

func (m *StreamEventsRequest) UnmarshalVT(dAtA []byte) error

type StreamEventsRequest_SubscribeToActions

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

Event source for actions' events.

func (*StreamEventsRequest_SubscribeToActions) Descriptor deprecated

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

Deprecated: Use StreamEventsRequest_SubscribeToActions.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest_SubscribeToActions) MarshalToSizedBufferVT

func (m *StreamEventsRequest_SubscribeToActions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToActions) MarshalToVT

func (m *StreamEventsRequest_SubscribeToActions) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToActions) MarshalVT

func (m *StreamEventsRequest_SubscribeToActions) MarshalVT() (dAtA []byte, err error)

func (*StreamEventsRequest_SubscribeToActions) ProtoMessage

func (*StreamEventsRequest_SubscribeToActions) ProtoReflect

func (*StreamEventsRequest_SubscribeToActions) Reset

func (*StreamEventsRequest_SubscribeToActions) SizeVT

func (*StreamEventsRequest_SubscribeToActions) String

func (*StreamEventsRequest_SubscribeToActions) UnmarshalVT

func (m *StreamEventsRequest_SubscribeToActions) UnmarshalVT(dAtA []byte) error

type StreamEventsRequest_SubscribeToActions_

type StreamEventsRequest_SubscribeToActions_ struct {
	// Subscribe to the action event source.
	SubscribeToActions *StreamEventsRequest_SubscribeToActions `protobuf:"bytes,2,opt,name=subscribe_to_actions,json=subscribeToActions,proto3,oneof"`
}

func (*StreamEventsRequest_SubscribeToActions_) MarshalToSizedBufferVT

func (m *StreamEventsRequest_SubscribeToActions_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToActions_) MarshalToVT

func (m *StreamEventsRequest_SubscribeToActions_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToActions_) SizeVT

type StreamEventsRequest_SubscribeToGuild

type StreamEventsRequest_SubscribeToGuild struct {

	// the guild id to subscribe to
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Event source for guilds' events.

func (*StreamEventsRequest_SubscribeToGuild) Descriptor deprecated

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

Deprecated: Use StreamEventsRequest_SubscribeToGuild.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest_SubscribeToGuild) GetGuildId

func (*StreamEventsRequest_SubscribeToGuild) MarshalToSizedBufferVT

func (m *StreamEventsRequest_SubscribeToGuild) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToGuild) MarshalToVT

func (m *StreamEventsRequest_SubscribeToGuild) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToGuild) MarshalVT

func (m *StreamEventsRequest_SubscribeToGuild) MarshalVT() (dAtA []byte, err error)

func (*StreamEventsRequest_SubscribeToGuild) ProtoMessage

func (*StreamEventsRequest_SubscribeToGuild) ProtoMessage()

func (*StreamEventsRequest_SubscribeToGuild) ProtoReflect

func (*StreamEventsRequest_SubscribeToGuild) Reset

func (*StreamEventsRequest_SubscribeToGuild) SizeVT

func (m *StreamEventsRequest_SubscribeToGuild) SizeVT() (n int)

func (*StreamEventsRequest_SubscribeToGuild) String

func (*StreamEventsRequest_SubscribeToGuild) UnmarshalVT

func (m *StreamEventsRequest_SubscribeToGuild) UnmarshalVT(dAtA []byte) error

type StreamEventsRequest_SubscribeToGuild_

type StreamEventsRequest_SubscribeToGuild_ struct {
	// Subscribe to the guild event source.
	SubscribeToGuild *StreamEventsRequest_SubscribeToGuild `protobuf:"bytes,1,opt,name=subscribe_to_guild,json=subscribeToGuild,proto3,oneof"`
}

func (*StreamEventsRequest_SubscribeToGuild_) MarshalToSizedBufferVT

func (m *StreamEventsRequest_SubscribeToGuild_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToGuild_) MarshalToVT

func (m *StreamEventsRequest_SubscribeToGuild_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToGuild_) SizeVT

type StreamEventsRequest_SubscribeToHomeserverEvents

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

Event source for homeserver events.

func (*StreamEventsRequest_SubscribeToHomeserverEvents) Descriptor deprecated

Deprecated: Use StreamEventsRequest_SubscribeToHomeserverEvents.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest_SubscribeToHomeserverEvents) MarshalToSizedBufferVT

func (m *StreamEventsRequest_SubscribeToHomeserverEvents) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToHomeserverEvents) MarshalToVT

func (*StreamEventsRequest_SubscribeToHomeserverEvents) MarshalVT

func (m *StreamEventsRequest_SubscribeToHomeserverEvents) MarshalVT() (dAtA []byte, err error)

func (*StreamEventsRequest_SubscribeToHomeserverEvents) ProtoMessage

func (*StreamEventsRequest_SubscribeToHomeserverEvents) ProtoReflect

func (*StreamEventsRequest_SubscribeToHomeserverEvents) Reset

func (*StreamEventsRequest_SubscribeToHomeserverEvents) SizeVT

func (*StreamEventsRequest_SubscribeToHomeserverEvents) String

func (*StreamEventsRequest_SubscribeToHomeserverEvents) UnmarshalVT

type StreamEventsRequest_SubscribeToHomeserverEvents_

type StreamEventsRequest_SubscribeToHomeserverEvents_ struct {
	// Subscribe to the homeserver event source.
	SubscribeToHomeserverEvents *StreamEventsRequest_SubscribeToHomeserverEvents `protobuf:"bytes,3,opt,name=subscribe_to_homeserver_events,json=subscribeToHomeserverEvents,proto3,oneof"`
}

func (*StreamEventsRequest_SubscribeToHomeserverEvents_) MarshalToSizedBufferVT

func (m *StreamEventsRequest_SubscribeToHomeserverEvents_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_SubscribeToHomeserverEvents_) MarshalToVT

func (*StreamEventsRequest_SubscribeToHomeserverEvents_) SizeVT

type StreamEventsRequest_UnsubscribeFromAll

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

Event to unsubscribe from all events.

func (*StreamEventsRequest_UnsubscribeFromAll) Descriptor deprecated

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

Deprecated: Use StreamEventsRequest_UnsubscribeFromAll.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest_UnsubscribeFromAll) MarshalToSizedBufferVT

func (m *StreamEventsRequest_UnsubscribeFromAll) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_UnsubscribeFromAll) MarshalToVT

func (m *StreamEventsRequest_UnsubscribeFromAll) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_UnsubscribeFromAll) MarshalVT

func (m *StreamEventsRequest_UnsubscribeFromAll) MarshalVT() (dAtA []byte, err error)

func (*StreamEventsRequest_UnsubscribeFromAll) ProtoMessage

func (*StreamEventsRequest_UnsubscribeFromAll) ProtoReflect

func (*StreamEventsRequest_UnsubscribeFromAll) Reset

func (*StreamEventsRequest_UnsubscribeFromAll) SizeVT

func (*StreamEventsRequest_UnsubscribeFromAll) String

func (*StreamEventsRequest_UnsubscribeFromAll) UnmarshalVT

func (m *StreamEventsRequest_UnsubscribeFromAll) UnmarshalVT(dAtA []byte) error

type StreamEventsRequest_UnsubscribeFromAll_

type StreamEventsRequest_UnsubscribeFromAll_ struct {
	// Unsubscribe from all events.
	UnsubscribeFromAll *StreamEventsRequest_UnsubscribeFromAll `protobuf:"bytes,4,opt,name=unsubscribe_from_all,json=unsubscribeFromAll,proto3,oneof"`
}

func (*StreamEventsRequest_UnsubscribeFromAll_) MarshalToSizedBufferVT

func (m *StreamEventsRequest_UnsubscribeFromAll_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_UnsubscribeFromAll_) MarshalToVT

func (m *StreamEventsRequest_UnsubscribeFromAll_) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsRequest_UnsubscribeFromAll_) SizeVT

type StreamEventsResponse

type StreamEventsResponse struct {

	// Possible events.
	//
	// Types that are assignable to Event:
	//	*StreamEventsResponse_Chat
	//	*StreamEventsResponse_Emote
	//	*StreamEventsResponse_Profile
	Event isStreamEventsResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

Used in the `StreamEvents` endpoint.

func (*StreamEventsResponse) Descriptor deprecated

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

Deprecated: Use StreamEventsResponse.ProtoReflect.Descriptor instead.

func (*StreamEventsResponse) GetChat

func (x *StreamEventsResponse) GetChat() *StreamEvent

func (*StreamEventsResponse) GetEmote

func (x *StreamEventsResponse) GetEmote() *v1.StreamEvent

func (*StreamEventsResponse) GetEvent

func (m *StreamEventsResponse) GetEvent() isStreamEventsResponse_Event

func (*StreamEventsResponse) GetProfile

func (x *StreamEventsResponse) GetProfile() *v11.StreamEvent

func (*StreamEventsResponse) MarshalToSizedBufferVT

func (m *StreamEventsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsResponse) MarshalToVT

func (m *StreamEventsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsResponse) MarshalVT

func (m *StreamEventsResponse) MarshalVT() (dAtA []byte, err error)

func (*StreamEventsResponse) ProtoMessage

func (*StreamEventsResponse) ProtoMessage()

func (*StreamEventsResponse) ProtoReflect

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

func (*StreamEventsResponse) Reset

func (x *StreamEventsResponse) Reset()

func (*StreamEventsResponse) SizeVT

func (m *StreamEventsResponse) SizeVT() (n int)

func (*StreamEventsResponse) String

func (x *StreamEventsResponse) String() string

func (*StreamEventsResponse) UnmarshalVT

func (m *StreamEventsResponse) UnmarshalVT(dAtA []byte) error

type StreamEventsResponse_Chat

type StreamEventsResponse_Chat struct {
	// A chat event.
	Chat *StreamEvent `protobuf:"bytes,1,opt,name=chat,proto3,oneof"`
}

func (*StreamEventsResponse_Chat) MarshalToSizedBufferVT

func (m *StreamEventsResponse_Chat) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsResponse_Chat) MarshalToVT

func (m *StreamEventsResponse_Chat) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsResponse_Chat) SizeVT

func (m *StreamEventsResponse_Chat) SizeVT() (n int)

type StreamEventsResponse_Emote

type StreamEventsResponse_Emote struct {
	// A emote event.
	Emote *v1.StreamEvent `protobuf:"bytes,2,opt,name=emote,proto3,oneof"`
}

func (*StreamEventsResponse_Emote) MarshalToSizedBufferVT

func (m *StreamEventsResponse_Emote) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsResponse_Emote) MarshalToVT

func (m *StreamEventsResponse_Emote) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsResponse_Emote) SizeVT

func (m *StreamEventsResponse_Emote) SizeVT() (n int)

type StreamEventsResponse_Profile

type StreamEventsResponse_Profile struct {
	// A profile event.
	Profile *v11.StreamEvent `protobuf:"bytes,3,opt,name=profile,proto3,oneof"`
}

func (*StreamEventsResponse_Profile) MarshalToSizedBufferVT

func (m *StreamEventsResponse_Profile) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StreamEventsResponse_Profile) MarshalToVT

func (m *StreamEventsResponse_Profile) MarshalToVT(dAtA []byte) (int, error)

func (*StreamEventsResponse_Profile) SizeVT

func (m *StreamEventsResponse_Profile) SizeVT() (n int)

type TriggerActionRequest

type TriggerActionRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message you want to trigger an action in.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// Payload of action data.
	Payload *ActionPayload `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Used in the `TriggerAction` endpoint.

func (*TriggerActionRequest) Descriptor deprecated

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

Deprecated: Use TriggerActionRequest.ProtoReflect.Descriptor instead.

func (*TriggerActionRequest) GetChannelId

func (x *TriggerActionRequest) GetChannelId() uint64

func (*TriggerActionRequest) GetGuildId

func (x *TriggerActionRequest) GetGuildId() uint64

func (*TriggerActionRequest) GetMessageId

func (x *TriggerActionRequest) GetMessageId() uint64

func (*TriggerActionRequest) GetPayload

func (x *TriggerActionRequest) GetPayload() *ActionPayload

func (*TriggerActionRequest) MarshalToSizedBufferVT

func (m *TriggerActionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TriggerActionRequest) MarshalToVT

func (m *TriggerActionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TriggerActionRequest) MarshalVT

func (m *TriggerActionRequest) MarshalVT() (dAtA []byte, err error)

func (*TriggerActionRequest) ProtoMessage

func (*TriggerActionRequest) ProtoMessage()

func (*TriggerActionRequest) ProtoReflect

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

func (*TriggerActionRequest) Reset

func (x *TriggerActionRequest) Reset()

func (*TriggerActionRequest) SizeVT

func (m *TriggerActionRequest) SizeVT() (n int)

func (*TriggerActionRequest) String

func (x *TriggerActionRequest) String() string

func (*TriggerActionRequest) UnmarshalVT

func (m *TriggerActionRequest) UnmarshalVT(dAtA []byte) error

type TriggerActionResponse

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

Used in the `TriggerAction` endpoint.

func (*TriggerActionResponse) Descriptor deprecated

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

Deprecated: Use TriggerActionResponse.ProtoReflect.Descriptor instead.

func (*TriggerActionResponse) MarshalToSizedBufferVT

func (m *TriggerActionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TriggerActionResponse) MarshalToVT

func (m *TriggerActionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TriggerActionResponse) MarshalVT

func (m *TriggerActionResponse) MarshalVT() (dAtA []byte, err error)

func (*TriggerActionResponse) ProtoMessage

func (*TriggerActionResponse) ProtoMessage()

func (*TriggerActionResponse) ProtoReflect

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

func (*TriggerActionResponse) Reset

func (x *TriggerActionResponse) Reset()

func (*TriggerActionResponse) SizeVT

func (m *TriggerActionResponse) SizeVT() (n int)

func (*TriggerActionResponse) String

func (x *TriggerActionResponse) String() string

func (*TriggerActionResponse) UnmarshalVT

func (m *TriggerActionResponse) UnmarshalVT(dAtA []byte) error

type TypingRequest

type TypingRequest struct {

	// The guild id of the channel the user is typing in.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The channel id of the channel the user is typing in.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `Typing` endpoint.

func (*TypingRequest) Descriptor deprecated

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

Deprecated: Use TypingRequest.ProtoReflect.Descriptor instead.

func (*TypingRequest) GetChannelId

func (x *TypingRequest) GetChannelId() uint64

func (*TypingRequest) GetGuildId

func (x *TypingRequest) GetGuildId() uint64

func (*TypingRequest) MarshalToSizedBufferVT

func (m *TypingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TypingRequest) MarshalToVT

func (m *TypingRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TypingRequest) MarshalVT

func (m *TypingRequest) MarshalVT() (dAtA []byte, err error)

func (*TypingRequest) ProtoMessage

func (*TypingRequest) ProtoMessage()

func (*TypingRequest) ProtoReflect

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

func (*TypingRequest) Reset

func (x *TypingRequest) Reset()

func (*TypingRequest) SizeVT

func (m *TypingRequest) SizeVT() (n int)

func (*TypingRequest) String

func (x *TypingRequest) String() string

func (*TypingRequest) UnmarshalVT

func (m *TypingRequest) UnmarshalVT(dAtA []byte) error

type TypingResponse

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

Used in `Typing` endpoint.

func (*TypingResponse) Descriptor deprecated

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

Deprecated: Use TypingResponse.ProtoReflect.Descriptor instead.

func (*TypingResponse) MarshalToSizedBufferVT

func (m *TypingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TypingResponse) MarshalToVT

func (m *TypingResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TypingResponse) MarshalVT

func (m *TypingResponse) MarshalVT() (dAtA []byte, err error)

func (*TypingResponse) ProtoMessage

func (*TypingResponse) ProtoMessage()

func (*TypingResponse) ProtoReflect

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

func (*TypingResponse) Reset

func (x *TypingResponse) Reset()

func (*TypingResponse) SizeVT

func (m *TypingResponse) SizeVT() (n int)

func (*TypingResponse) String

func (x *TypingResponse) String() string

func (*TypingResponse) UnmarshalVT

func (m *TypingResponse) UnmarshalVT(dAtA []byte) error

type UnbanUserRequest

type UnbanUserRequest struct {

	// The guild ID of the guild to unban the user from.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// The user ID of the user to unban.
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Used in `UnbanUser` endpoint.

func (*UnbanUserRequest) Descriptor deprecated

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

Deprecated: Use UnbanUserRequest.ProtoReflect.Descriptor instead.

func (*UnbanUserRequest) GetGuildId

func (x *UnbanUserRequest) GetGuildId() uint64

func (*UnbanUserRequest) GetUserId

func (x *UnbanUserRequest) GetUserId() uint64

func (*UnbanUserRequest) MarshalToSizedBufferVT

func (m *UnbanUserRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnbanUserRequest) MarshalToVT

func (m *UnbanUserRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UnbanUserRequest) MarshalVT

func (m *UnbanUserRequest) MarshalVT() (dAtA []byte, err error)

func (*UnbanUserRequest) ProtoMessage

func (*UnbanUserRequest) ProtoMessage()

func (*UnbanUserRequest) ProtoReflect

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

func (*UnbanUserRequest) Reset

func (x *UnbanUserRequest) Reset()

func (*UnbanUserRequest) SizeVT

func (m *UnbanUserRequest) SizeVT() (n int)

func (*UnbanUserRequest) String

func (x *UnbanUserRequest) String() string

func (*UnbanUserRequest) UnmarshalVT

func (m *UnbanUserRequest) UnmarshalVT(dAtA []byte) error

type UnbanUserResponse

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

Used in `UnbanUser` endpoint.

func (*UnbanUserResponse) Descriptor deprecated

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

Deprecated: Use UnbanUserResponse.ProtoReflect.Descriptor instead.

func (*UnbanUserResponse) MarshalToSizedBufferVT

func (m *UnbanUserResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnbanUserResponse) MarshalToVT

func (m *UnbanUserResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UnbanUserResponse) MarshalVT

func (m *UnbanUserResponse) MarshalVT() (dAtA []byte, err error)

func (*UnbanUserResponse) ProtoMessage

func (*UnbanUserResponse) ProtoMessage()

func (*UnbanUserResponse) ProtoReflect

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

func (*UnbanUserResponse) Reset

func (x *UnbanUserResponse) Reset()

func (*UnbanUserResponse) SizeVT

func (m *UnbanUserResponse) SizeVT() (n int)

func (*UnbanUserResponse) String

func (x *UnbanUserResponse) String() string

func (*UnbanUserResponse) UnmarshalVT

func (m *UnbanUserResponse) UnmarshalVT(dAtA []byte) error

type UnpinMessageRequest

type UnpinMessageRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message we want to unpin.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `UnpinMessage` endpoint.

func (*UnpinMessageRequest) Descriptor deprecated

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

Deprecated: Use UnpinMessageRequest.ProtoReflect.Descriptor instead.

func (*UnpinMessageRequest) GetChannelId

func (x *UnpinMessageRequest) GetChannelId() uint64

func (*UnpinMessageRequest) GetGuildId

func (x *UnpinMessageRequest) GetGuildId() uint64

func (*UnpinMessageRequest) GetMessageId

func (x *UnpinMessageRequest) GetMessageId() uint64

func (*UnpinMessageRequest) MarshalToSizedBufferVT

func (m *UnpinMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnpinMessageRequest) MarshalToVT

func (m *UnpinMessageRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UnpinMessageRequest) MarshalVT

func (m *UnpinMessageRequest) MarshalVT() (dAtA []byte, err error)

func (*UnpinMessageRequest) ProtoMessage

func (*UnpinMessageRequest) ProtoMessage()

func (*UnpinMessageRequest) ProtoReflect

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

func (*UnpinMessageRequest) Reset

func (x *UnpinMessageRequest) Reset()

func (*UnpinMessageRequest) SizeVT

func (m *UnpinMessageRequest) SizeVT() (n int)

func (*UnpinMessageRequest) String

func (x *UnpinMessageRequest) String() string

func (*UnpinMessageRequest) UnmarshalVT

func (m *UnpinMessageRequest) UnmarshalVT(dAtA []byte) error

type UnpinMessageResponse

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

Used in the `UnpinMessage` endpoint.

func (*UnpinMessageResponse) Descriptor deprecated

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

Deprecated: Use UnpinMessageResponse.ProtoReflect.Descriptor instead.

func (*UnpinMessageResponse) MarshalToSizedBufferVT

func (m *UnpinMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnpinMessageResponse) MarshalToVT

func (m *UnpinMessageResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UnpinMessageResponse) MarshalVT

func (m *UnpinMessageResponse) MarshalVT() (dAtA []byte, err error)

func (*UnpinMessageResponse) ProtoMessage

func (*UnpinMessageResponse) ProtoMessage()

func (*UnpinMessageResponse) ProtoReflect

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

func (*UnpinMessageResponse) Reset

func (x *UnpinMessageResponse) Reset()

func (*UnpinMessageResponse) SizeVT

func (m *UnpinMessageResponse) SizeVT() (n int)

func (*UnpinMessageResponse) String

func (x *UnpinMessageResponse) String() string

func (*UnpinMessageResponse) UnmarshalVT

func (m *UnpinMessageResponse) UnmarshalVT(dAtA []byte) error

type UpdateAllChannelOrderRequest

type UpdateAllChannelOrderRequest struct {

	// guild_id: the guild to specify the new channel order for
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// channel_ids: the new order of channel ids
	ChannelIds []uint64 `protobuf:"varint,2,rep,packed,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"`
	// contains filtered or unexported fields
}

Request specifiying the order of all channels in a guild at once

func (*UpdateAllChannelOrderRequest) Descriptor deprecated

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

Deprecated: Use UpdateAllChannelOrderRequest.ProtoReflect.Descriptor instead.

func (*UpdateAllChannelOrderRequest) GetChannelIds

func (x *UpdateAllChannelOrderRequest) GetChannelIds() []uint64

func (*UpdateAllChannelOrderRequest) GetGuildId

func (x *UpdateAllChannelOrderRequest) GetGuildId() uint64

func (*UpdateAllChannelOrderRequest) MarshalToSizedBufferVT

func (m *UpdateAllChannelOrderRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateAllChannelOrderRequest) MarshalToVT

func (m *UpdateAllChannelOrderRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateAllChannelOrderRequest) MarshalVT

func (m *UpdateAllChannelOrderRequest) MarshalVT() (dAtA []byte, err error)

func (*UpdateAllChannelOrderRequest) ProtoMessage

func (*UpdateAllChannelOrderRequest) ProtoMessage()

func (*UpdateAllChannelOrderRequest) ProtoReflect

func (*UpdateAllChannelOrderRequest) Reset

func (x *UpdateAllChannelOrderRequest) Reset()

func (*UpdateAllChannelOrderRequest) SizeVT

func (m *UpdateAllChannelOrderRequest) SizeVT() (n int)

func (*UpdateAllChannelOrderRequest) String

func (*UpdateAllChannelOrderRequest) UnmarshalVT

func (m *UpdateAllChannelOrderRequest) UnmarshalVT(dAtA []byte) error

type UpdateAllChannelOrderResponse

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

Used in the `UpdateAllChannelOrder` endpoint.

func (*UpdateAllChannelOrderResponse) Descriptor deprecated

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

Deprecated: Use UpdateAllChannelOrderResponse.ProtoReflect.Descriptor instead.

func (*UpdateAllChannelOrderResponse) MarshalToSizedBufferVT

func (m *UpdateAllChannelOrderResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateAllChannelOrderResponse) MarshalToVT

func (m *UpdateAllChannelOrderResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateAllChannelOrderResponse) MarshalVT

func (m *UpdateAllChannelOrderResponse) MarshalVT() (dAtA []byte, err error)

func (*UpdateAllChannelOrderResponse) ProtoMessage

func (*UpdateAllChannelOrderResponse) ProtoMessage()

func (*UpdateAllChannelOrderResponse) ProtoReflect

func (*UpdateAllChannelOrderResponse) Reset

func (x *UpdateAllChannelOrderResponse) Reset()

func (*UpdateAllChannelOrderResponse) SizeVT

func (m *UpdateAllChannelOrderResponse) SizeVT() (n int)

func (*UpdateAllChannelOrderResponse) String

func (*UpdateAllChannelOrderResponse) UnmarshalVT

func (m *UpdateAllChannelOrderResponse) UnmarshalVT(dAtA []byte) error

type UpdateChannelInformationRequest

type UpdateChannelInformationRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel you want to change the information of.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// New name to set for this channel.
	NewName *string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
	// New metadata to set for this channel.
	NewMetadata *v1.Metadata `protobuf:"bytes,4,opt,name=new_metadata,json=newMetadata,proto3,oneof" json:"new_metadata,omitempty"`
	// contains filtered or unexported fields
}

Used in the `UpdateChannelInformation` endpoint.

func (*UpdateChannelInformationRequest) Descriptor deprecated

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

Deprecated: Use UpdateChannelInformationRequest.ProtoReflect.Descriptor instead.

func (*UpdateChannelInformationRequest) GetChannelId

func (x *UpdateChannelInformationRequest) GetChannelId() uint64

func (*UpdateChannelInformationRequest) GetGuildId

func (x *UpdateChannelInformationRequest) GetGuildId() uint64

func (*UpdateChannelInformationRequest) GetNewMetadata

func (x *UpdateChannelInformationRequest) GetNewMetadata() *v1.Metadata

func (*UpdateChannelInformationRequest) GetNewName

func (x *UpdateChannelInformationRequest) GetNewName() string

func (*UpdateChannelInformationRequest) MarshalToSizedBufferVT

func (m *UpdateChannelInformationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateChannelInformationRequest) MarshalToVT

func (m *UpdateChannelInformationRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateChannelInformationRequest) MarshalVT

func (m *UpdateChannelInformationRequest) MarshalVT() (dAtA []byte, err error)

func (*UpdateChannelInformationRequest) ProtoMessage

func (*UpdateChannelInformationRequest) ProtoMessage()

func (*UpdateChannelInformationRequest) ProtoReflect

func (*UpdateChannelInformationRequest) Reset

func (*UpdateChannelInformationRequest) SizeVT

func (m *UpdateChannelInformationRequest) SizeVT() (n int)

func (*UpdateChannelInformationRequest) String

func (*UpdateChannelInformationRequest) UnmarshalVT

func (m *UpdateChannelInformationRequest) UnmarshalVT(dAtA []byte) error

type UpdateChannelInformationResponse

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

Used in the `UpdateChannelInformation` endpoint.

func (*UpdateChannelInformationResponse) Descriptor deprecated

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

Deprecated: Use UpdateChannelInformationResponse.ProtoReflect.Descriptor instead.

func (*UpdateChannelInformationResponse) MarshalToSizedBufferVT

func (m *UpdateChannelInformationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateChannelInformationResponse) MarshalToVT

func (m *UpdateChannelInformationResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateChannelInformationResponse) MarshalVT

func (m *UpdateChannelInformationResponse) MarshalVT() (dAtA []byte, err error)

func (*UpdateChannelInformationResponse) ProtoMessage

func (*UpdateChannelInformationResponse) ProtoMessage()

func (*UpdateChannelInformationResponse) ProtoReflect

func (*UpdateChannelInformationResponse) Reset

func (*UpdateChannelInformationResponse) SizeVT

func (m *UpdateChannelInformationResponse) SizeVT() (n int)

func (*UpdateChannelInformationResponse) String

func (*UpdateChannelInformationResponse) UnmarshalVT

func (m *UpdateChannelInformationResponse) UnmarshalVT(dAtA []byte) error

type UpdateChannelOrderRequest

type UpdateChannelOrderRequest struct {

	// Guild ID of the guild that has the channel.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel that you want to move.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The new position of this channel.
	NewPosition *v1.ItemPosition `protobuf:"bytes,3,opt,name=new_position,json=newPosition,proto3" json:"new_position,omitempty"`
	// contains filtered or unexported fields
}

Used in the `UpdateChannelOrder` endpoint.

func (*UpdateChannelOrderRequest) Descriptor deprecated

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

Deprecated: Use UpdateChannelOrderRequest.ProtoReflect.Descriptor instead.

func (*UpdateChannelOrderRequest) GetChannelId

func (x *UpdateChannelOrderRequest) GetChannelId() uint64

func (*UpdateChannelOrderRequest) GetGuildId

func (x *UpdateChannelOrderRequest) GetGuildId() uint64

func (*UpdateChannelOrderRequest) GetNewPosition

func (x *UpdateChannelOrderRequest) GetNewPosition() *v1.ItemPosition

func (*UpdateChannelOrderRequest) MarshalToSizedBufferVT

func (m *UpdateChannelOrderRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateChannelOrderRequest) MarshalToVT

func (m *UpdateChannelOrderRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateChannelOrderRequest) MarshalVT

func (m *UpdateChannelOrderRequest) MarshalVT() (dAtA []byte, err error)

func (*UpdateChannelOrderRequest) ProtoMessage

func (*UpdateChannelOrderRequest) ProtoMessage()

func (*UpdateChannelOrderRequest) ProtoReflect

func (*UpdateChannelOrderRequest) Reset

func (x *UpdateChannelOrderRequest) Reset()

func (*UpdateChannelOrderRequest) SizeVT

func (m *UpdateChannelOrderRequest) SizeVT() (n int)

func (*UpdateChannelOrderRequest) String

func (x *UpdateChannelOrderRequest) String() string

func (*UpdateChannelOrderRequest) UnmarshalVT

func (m *UpdateChannelOrderRequest) UnmarshalVT(dAtA []byte) error

type UpdateChannelOrderResponse

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

Used in the `UpdateChannelOrder` endpoint.

func (*UpdateChannelOrderResponse) Descriptor deprecated

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

Deprecated: Use UpdateChannelOrderResponse.ProtoReflect.Descriptor instead.

func (*UpdateChannelOrderResponse) MarshalToSizedBufferVT

func (m *UpdateChannelOrderResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateChannelOrderResponse) MarshalToVT

func (m *UpdateChannelOrderResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateChannelOrderResponse) MarshalVT

func (m *UpdateChannelOrderResponse) MarshalVT() (dAtA []byte, err error)

func (*UpdateChannelOrderResponse) ProtoMessage

func (*UpdateChannelOrderResponse) ProtoMessage()

func (*UpdateChannelOrderResponse) ProtoReflect

func (*UpdateChannelOrderResponse) Reset

func (x *UpdateChannelOrderResponse) Reset()

func (*UpdateChannelOrderResponse) SizeVT

func (m *UpdateChannelOrderResponse) SizeVT() (n int)

func (*UpdateChannelOrderResponse) String

func (x *UpdateChannelOrderResponse) String() string

func (*UpdateChannelOrderResponse) UnmarshalVT

func (m *UpdateChannelOrderResponse) UnmarshalVT(dAtA []byte) error

type UpdateGuildInformationRequest

type UpdateGuildInformationRequest struct {

	// Guild ID of the guild you want to update the information of.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// New name for the guild.
	NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
	// New picture for the guild.
	NewPicture *string `protobuf:"bytes,3,opt,name=new_picture,json=newPicture,proto3,oneof" json:"new_picture,omitempty"`
	// New metadata for the guild.
	NewMetadata *v1.Metadata `protobuf:"bytes,4,opt,name=new_metadata,json=newMetadata,proto3,oneof" json:"new_metadata,omitempty"`
	// contains filtered or unexported fields
}

Used in the `UpdateGuildInformation` endpoint.

func (*UpdateGuildInformationRequest) Descriptor deprecated

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

Deprecated: Use UpdateGuildInformationRequest.ProtoReflect.Descriptor instead.

func (*UpdateGuildInformationRequest) GetGuildId

func (x *UpdateGuildInformationRequest) GetGuildId() uint64

func (*UpdateGuildInformationRequest) GetNewMetadata

func (x *UpdateGuildInformationRequest) GetNewMetadata() *v1.Metadata

func (*UpdateGuildInformationRequest) GetNewName

func (x *UpdateGuildInformationRequest) GetNewName() string

func (*UpdateGuildInformationRequest) GetNewPicture

func (x *UpdateGuildInformationRequest) GetNewPicture() string

func (*UpdateGuildInformationRequest) MarshalToSizedBufferVT

func (m *UpdateGuildInformationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateGuildInformationRequest) MarshalToVT

func (m *UpdateGuildInformationRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateGuildInformationRequest) MarshalVT

func (m *UpdateGuildInformationRequest) MarshalVT() (dAtA []byte, err error)

func (*UpdateGuildInformationRequest) ProtoMessage

func (*UpdateGuildInformationRequest) ProtoMessage()

func (*UpdateGuildInformationRequest) ProtoReflect

func (*UpdateGuildInformationRequest) Reset

func (x *UpdateGuildInformationRequest) Reset()

func (*UpdateGuildInformationRequest) SizeVT

func (m *UpdateGuildInformationRequest) SizeVT() (n int)

func (*UpdateGuildInformationRequest) String

func (*UpdateGuildInformationRequest) UnmarshalVT

func (m *UpdateGuildInformationRequest) UnmarshalVT(dAtA []byte) error

type UpdateGuildInformationResponse

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

Used in the `UpdateGuildInformation` endpoint.

func (*UpdateGuildInformationResponse) Descriptor deprecated

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

Deprecated: Use UpdateGuildInformationResponse.ProtoReflect.Descriptor instead.

func (*UpdateGuildInformationResponse) MarshalToSizedBufferVT

func (m *UpdateGuildInformationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateGuildInformationResponse) MarshalToVT

func (m *UpdateGuildInformationResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateGuildInformationResponse) MarshalVT

func (m *UpdateGuildInformationResponse) MarshalVT() (dAtA []byte, err error)

func (*UpdateGuildInformationResponse) ProtoMessage

func (*UpdateGuildInformationResponse) ProtoMessage()

func (*UpdateGuildInformationResponse) ProtoReflect

func (*UpdateGuildInformationResponse) Reset

func (x *UpdateGuildInformationResponse) Reset()

func (*UpdateGuildInformationResponse) SizeVT

func (m *UpdateGuildInformationResponse) SizeVT() (n int)

func (*UpdateGuildInformationResponse) String

func (*UpdateGuildInformationResponse) UnmarshalVT

func (m *UpdateGuildInformationResponse) UnmarshalVT(dAtA []byte) error

type UpdateMessageContentRequest

type UpdateMessageContentRequest struct {

	// Guild ID of the guild where the channel is.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// Channel ID of the channel where the message is.
	ChannelId uint64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Message ID of the message you want to change the content of.
	MessageId uint64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// New content for this message.
	NewContent *SendMessageRequest_Content `protobuf:"bytes,4,opt,name=new_content,json=newContent,proto3" json:"new_content,omitempty"`
	// contains filtered or unexported fields
}

Used in the `UpdateMessageContent` endpoint.

func (*UpdateMessageContentRequest) Descriptor deprecated

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

Deprecated: Use UpdateMessageContentRequest.ProtoReflect.Descriptor instead.

func (*UpdateMessageContentRequest) GetChannelId

func (x *UpdateMessageContentRequest) GetChannelId() uint64

func (*UpdateMessageContentRequest) GetGuildId

func (x *UpdateMessageContentRequest) GetGuildId() uint64

func (*UpdateMessageContentRequest) GetMessageId

func (x *UpdateMessageContentRequest) GetMessageId() uint64

func (*UpdateMessageContentRequest) GetNewContent

func (*UpdateMessageContentRequest) MarshalToSizedBufferVT

func (m *UpdateMessageContentRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateMessageContentRequest) MarshalToVT

func (m *UpdateMessageContentRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateMessageContentRequest) MarshalVT

func (m *UpdateMessageContentRequest) MarshalVT() (dAtA []byte, err error)

func (*UpdateMessageContentRequest) ProtoMessage

func (*UpdateMessageContentRequest) ProtoMessage()

func (*UpdateMessageContentRequest) ProtoReflect

func (*UpdateMessageContentRequest) Reset

func (x *UpdateMessageContentRequest) Reset()

func (*UpdateMessageContentRequest) SizeVT

func (m *UpdateMessageContentRequest) SizeVT() (n int)

func (*UpdateMessageContentRequest) String

func (x *UpdateMessageContentRequest) String() string

func (*UpdateMessageContentRequest) UnmarshalVT

func (m *UpdateMessageContentRequest) UnmarshalVT(dAtA []byte) error

type UpdateMessageContentResponse

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

Used in the `UpdateMessageContent` endpoint.

func (*UpdateMessageContentResponse) Descriptor deprecated

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

Deprecated: Use UpdateMessageContentResponse.ProtoReflect.Descriptor instead.

func (*UpdateMessageContentResponse) MarshalToSizedBufferVT

func (m *UpdateMessageContentResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateMessageContentResponse) MarshalToVT

func (m *UpdateMessageContentResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateMessageContentResponse) MarshalVT

func (m *UpdateMessageContentResponse) MarshalVT() (dAtA []byte, err error)

func (*UpdateMessageContentResponse) ProtoMessage

func (*UpdateMessageContentResponse) ProtoMessage()

func (*UpdateMessageContentResponse) ProtoReflect

func (*UpdateMessageContentResponse) Reset

func (x *UpdateMessageContentResponse) Reset()

func (*UpdateMessageContentResponse) SizeVT

func (m *UpdateMessageContentResponse) SizeVT() (n int)

func (*UpdateMessageContentResponse) String

func (*UpdateMessageContentResponse) UnmarshalVT

func (m *UpdateMessageContentResponse) UnmarshalVT(dAtA []byte) error

type UpgradeRoomToGuildRequest

type UpgradeRoomToGuildRequest struct {

	// Guild ID of the "room" guild to upgrade to a "normal" guild.
	GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
	// contains filtered or unexported fields
}

Used in the `UpgradeRoomToGuild` endpoint.

func (*UpgradeRoomToGuildRequest) Descriptor deprecated

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

Deprecated: Use UpgradeRoomToGuildRequest.ProtoReflect.Descriptor instead.

func (*UpgradeRoomToGuildRequest) GetGuildId

func (x *UpgradeRoomToGuildRequest) GetGuildId() uint64

func (*UpgradeRoomToGuildRequest) MarshalToSizedBufferVT

func (m *UpgradeRoomToGuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpgradeRoomToGuildRequest) MarshalToVT

func (m *UpgradeRoomToGuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpgradeRoomToGuildRequest) MarshalVT

func (m *UpgradeRoomToGuildRequest) MarshalVT() (dAtA []byte, err error)

func (*UpgradeRoomToGuildRequest) ProtoMessage

func (*UpgradeRoomToGuildRequest) ProtoMessage()

func (*UpgradeRoomToGuildRequest) ProtoReflect

func (*UpgradeRoomToGuildRequest) Reset

func (x *UpgradeRoomToGuildRequest) Reset()

func (*UpgradeRoomToGuildRequest) SizeVT

func (m *UpgradeRoomToGuildRequest) SizeVT() (n int)

func (*UpgradeRoomToGuildRequest) String

func (x *UpgradeRoomToGuildRequest) String() string

func (*UpgradeRoomToGuildRequest) UnmarshalVT

func (m *UpgradeRoomToGuildRequest) UnmarshalVT(dAtA []byte) error

type UpgradeRoomToGuildResponse

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

Used in the `UpgradeRoomToGuild` endpoint.

func (*UpgradeRoomToGuildResponse) Descriptor deprecated

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

Deprecated: Use UpgradeRoomToGuildResponse.ProtoReflect.Descriptor instead.

func (*UpgradeRoomToGuildResponse) MarshalToSizedBufferVT

func (m *UpgradeRoomToGuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpgradeRoomToGuildResponse) MarshalToVT

func (m *UpgradeRoomToGuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpgradeRoomToGuildResponse) MarshalVT

func (m *UpgradeRoomToGuildResponse) MarshalVT() (dAtA []byte, err error)

func (*UpgradeRoomToGuildResponse) ProtoMessage

func (*UpgradeRoomToGuildResponse) ProtoMessage()

func (*UpgradeRoomToGuildResponse) ProtoReflect

func (*UpgradeRoomToGuildResponse) Reset

func (x *UpgradeRoomToGuildResponse) Reset()

func (*UpgradeRoomToGuildResponse) SizeVT

func (m *UpgradeRoomToGuildResponse) SizeVT() (n int)

func (*UpgradeRoomToGuildResponse) String

func (x *UpgradeRoomToGuildResponse) String() string

func (*UpgradeRoomToGuildResponse) UnmarshalVT

func (m *UpgradeRoomToGuildResponse) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL