twitch

package module
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 33 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// scope: channel:manage:redemptions
	EventTypeChannelPointRedeem    = "channel.channel_points_custom_reward_redemption.add"
	EventVersionChannelPointRedeem = "1"

	// scope: bits:read
	EventTypeCheer    = "channel.cheer"
	EventVersionCheer = "1"

	// scope: moderator:read:followers
	EventTypeFollow    = "channel.follow"
	EventVersionFollow = "2"

	// scope: channel:read:hype_train
	EventTypeHypeTrainBegin      = "channel.hype_train.begin"
	EventVersionHypTrainBegin    = "1"
	EventTypeHypeTrainProgress   = "channel.hype_train.progress"
	EventVersionHypTrainProgress = "1"
	EventTypeHypeTrainEnd        = "channel.hype_train.end"
	EventVersionHypTrainEnd      = "1"

	// no permissions
	EventTypeRaid    = "channel.raid"
	EventVersionRaid = "1"

	// scope: channel:read:subscriptions
	EventTypeSubscription    = "channel.subscribe"
	EventVersionSubscription = "1"

	// scope: user:read:chat
	EventVersionChannelChatMessage = "1"

	MessageTypeNotification     = "notification"
	MessageTypeSessionKeepalive = "session_keepalive"
	MessageTypeSessionReconnect = "session_reconnect"
	MessageTypeSessionWelcome   = "session_welcome"
)
View Source
const (
	EnvLocalContentPath = "AK_CONTENT_TWITCH"
)

Variables

View Source
var (
	MessageTypeTwitchChatEvent_name = map[int32]string{
		0: "TWITCH_CHAT_EVENT_TYPE_MESSAGE_IN",
	}
	MessageTypeTwitchChatEvent_value = map[string]int32{
		"TWITCH_CHAT_EVENT_TYPE_MESSAGE_IN": 0,
	}
)

Enum value maps for MessageTypeTwitchChatEvent.

View Source
var (
	MessageTypeTwitchChatRequest_name = map[int32]string{
		0: "TWITCH_CHAT_REQUEST_TYPE_SEND_REQ",
		1: "TWITCH_CHAT_REQUEST_TYPE_SEND_RESP",
	}
	MessageTypeTwitchChatRequest_value = map[string]int32{
		"TWITCH_CHAT_REQUEST_TYPE_SEND_REQ":  0,
		"TWITCH_CHAT_REQUEST_TYPE_SEND_RESP": 1,
	}
)

Enum value maps for MessageTypeTwitchChatRequest.

View Source
var (
	MessageTypeCommand_name = map[int32]string{
		0:  "TYPE_COMMAND_UNSPECIFIED",
		1:  "TYPE_COMMAND_GET_OAUTH_URL_REQ",
		2:  "TYPE_COMMAND_GET_OAUTH_URL_RES",
		3:  "TYPE_COMMAND_WRITE_PROFILE_REQ",
		4:  "TYPE_COMMAND_WRITE_PROFILE_RESP",
		5:  "TYPE_COMMAND_DELETE_PROFILE_REQ",
		6:  "TYPE_COMMAND_DELETE_PROFILE_RESP",
		7:  "TYPE_COMMAND_CHAT_SET_CONFIG_REQ",
		8:  "TYPE_COMMAND_CHAT_SET_CONFIG_RESP",
		9:  "TYPE_COMMAND_EVENT_SET_CONFIG_REQ",
		10: "TYPE_COMMAND_EVENT_SET_CONFIG_RESP",
	}
	MessageTypeCommand_value = map[string]int32{
		"TYPE_COMMAND_UNSPECIFIED":           0,
		"TYPE_COMMAND_GET_OAUTH_URL_REQ":     1,
		"TYPE_COMMAND_GET_OAUTH_URL_RES":     2,
		"TYPE_COMMAND_WRITE_PROFILE_REQ":     3,
		"TYPE_COMMAND_WRITE_PROFILE_RESP":    4,
		"TYPE_COMMAND_DELETE_PROFILE_REQ":    5,
		"TYPE_COMMAND_DELETE_PROFILE_RESP":   6,
		"TYPE_COMMAND_CHAT_SET_CONFIG_REQ":   7,
		"TYPE_COMMAND_CHAT_SET_CONFIG_RESP":  8,
		"TYPE_COMMAND_EVENT_SET_CONFIG_REQ":  9,
		"TYPE_COMMAND_EVENT_SET_CONFIG_RESP": 10,
	}
)

Enum value maps for MessageTypeCommand.

View Source
var (
	MessageTypeEventSub_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_EVENTSUB_EVENT",
		2: "TYPE_CHANNEL_RAID",
		3: "TYPE_CHANNEL_FOLLOW",
		4: "TYPE_CHANNEL_CHEER",
		5: "TYPE_CHANNEL_POINT_CUSTOM_REDEEM",
		6: "TYPE_CHANNEL_CHAT_MESSAGE",
	}
	MessageTypeEventSub_value = map[string]int32{
		"TYPE_UNSPECIFIED":                 0,
		"TYPE_EVENTSUB_EVENT":              1,
		"TYPE_CHANNEL_RAID":                2,
		"TYPE_CHANNEL_FOLLOW":              3,
		"TYPE_CHANNEL_CHEER":               4,
		"TYPE_CHANNEL_POINT_CUSTOM_REDEEM": 5,
		"TYPE_CHANNEL_CHAT_MESSAGE":        6,
	}
)

Enum value maps for MessageTypeEventSub.

View Source
var (
	EventSubStatus_name = map[int32]string{
		0: "EVENT_SUB_STATUS_UNKNOWN",
		1: "EVENT_SUB_STATUS_OFF",
		2: "EVENT_SUB_STATUS_CONNECTED",
		3: "EVENT_SUB_STATUS_ERROR",
	}
	EventSubStatus_value = map[string]int32{
		"EVENT_SUB_STATUS_UNKNOWN":   0,
		"EVENT_SUB_STATUS_OFF":       1,
		"EVENT_SUB_STATUS_CONNECTED": 2,
		"EVENT_SUB_STATUS_ERROR":     3,
	}
)

Enum value maps for EventSubStatus.

View Source
var (
	ChatMessageFragmentType_name = map[int32]string{
		0: "text",
		1: "cheermote",
		2: "emote",
		3: "mention",
	}
	ChatMessageFragmentType_value = map[string]int32{
		"text":      0,
		"cheermote": 1,
		"emote":     2,
		"mention":   3,
	}
)

Enum value maps for ChatMessageFragmentType.

View Source
var (
	ChatMessageType_name = map[int32]string{
		0: "chat_message_type_text",
		1: "chat_message_type_channel_points_highlighted",
		2: "chat_message_type_channel_points_sub_only",
		3: "chat_message_type_user_intro",
	}
	ChatMessageType_value = map[string]int32{
		"chat_message_type_text":                       0,
		"chat_message_type_channel_points_highlighted": 1,
		"chat_message_type_channel_points_sub_only":    2,
		"chat_message_type_user_intro":                 3,
	}
)

Enum value maps for ChatMessageType.

View Source
var (
	MessageTypeRequest_name = map[int32]string{
		0:  "TYPE_REQUEST_UNSPECIFIED",
		1:  "TYPE_REQUEST_LIST_PROFILES_REQ",
		2:  "TYPE_REQUEST_LIST_PROFILES_RESP",
		3:  "TYPE_REQUEST_CHAT_GET_CONFIG_REQ",
		4:  "TYPE_REQUEST_CHAT_GET_CONFIG_RESP",
		5:  "TYPE_REQUEST_EVENT_GET_CONFIG_REQ",
		6:  "TYPE_REQUEST_EVENT_GET_CONFIG_RESP",
		7:  "TYPE_REQUEST_EVENT_GET_STATUS_REQ",
		8:  "TYPE_REQUEST_EVENT_GET_STATUS_RESP",
		9:  "TYPE_REQUEST_GET_USER_REQ",
		10: "TYPE_REQUEST_GET_USER_RESP",
	}
	MessageTypeRequest_value = map[string]int32{
		"TYPE_REQUEST_UNSPECIFIED":           0,
		"TYPE_REQUEST_LIST_PROFILES_REQ":     1,
		"TYPE_REQUEST_LIST_PROFILES_RESP":    2,
		"TYPE_REQUEST_CHAT_GET_CONFIG_REQ":   3,
		"TYPE_REQUEST_CHAT_GET_CONFIG_RESP":  4,
		"TYPE_REQUEST_EVENT_GET_CONFIG_REQ":  5,
		"TYPE_REQUEST_EVENT_GET_CONFIG_RESP": 6,
		"TYPE_REQUEST_EVENT_GET_STATUS_REQ":  7,
		"TYPE_REQUEST_EVENT_GET_STATUS_RESP": 8,
		"TYPE_REQUEST_GET_USER_REQ":          9,
		"TYPE_REQUEST_GET_USER_RESP":         10,
	}
)

Enum value maps for MessageTypeRequest.

View Source
var (
	BusTopics_name = map[int32]string{
		0: "TWITCH_EVENT",
		1: "TWITCH_REQUEST",
		2: "TWITCH_COMMAND",
		3: "TWITCH_CHAT_EVENT",
		4: "TWITCH_CHAT_REQUEST",
		5: "TWITCH_CHAT_COMMAND",
		6: "TWITCH_EVENTSUB_EVENT",
	}
	BusTopics_value = map[string]int32{
		"TWITCH_EVENT":          0,
		"TWITCH_REQUEST":        1,
		"TWITCH_COMMAND":        2,
		"TWITCH_CHAT_EVENT":     3,
		"TWITCH_CHAT_REQUEST":   4,
		"TWITCH_CHAT_COMMAND":   5,
		"TWITCH_EVENTSUB_EVENT": 6,
	}
)

Enum value maps for BusTopics.

View Source
var (
	ErrWrongMsgType = errors.New("wrong message type")
)
View Source
var File_command_proto protoreflect.FileDescriptor
View Source
var File_eventsub_proto protoreflect.FileDescriptor
View Source
var File_request_proto protoreflect.FileDescriptor
View Source
var File_twitch_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BanUserRequest

type BanUserRequest struct {
	Login  string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*BanUserRequest) Descriptor deprecated

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

Deprecated: Use BanUserRequest.ProtoReflect.Descriptor instead.

func (*BanUserRequest) GetLogin

func (x *BanUserRequest) GetLogin() string

func (*BanUserRequest) GetReason

func (x *BanUserRequest) GetReason() string

func (*BanUserRequest) ProtoMessage

func (*BanUserRequest) ProtoMessage()

func (*BanUserRequest) ProtoReflect

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

func (*BanUserRequest) Reset

func (x *BanUserRequest) Reset()

func (*BanUserRequest) String

func (x *BanUserRequest) String() string

type BusTopics

type BusTopics int32
const (
	BusTopics_TWITCH_EVENT          BusTopics = 0
	BusTopics_TWITCH_REQUEST        BusTopics = 1
	BusTopics_TWITCH_COMMAND        BusTopics = 2
	BusTopics_TWITCH_CHAT_EVENT     BusTopics = 3
	BusTopics_TWITCH_CHAT_REQUEST   BusTopics = 4
	BusTopics_TWITCH_CHAT_COMMAND   BusTopics = 5
	BusTopics_TWITCH_EVENTSUB_EVENT BusTopics = 6
)

func (BusTopics) Descriptor

func (BusTopics) Descriptor() protoreflect.EnumDescriptor

func (BusTopics) Enum

func (x BusTopics) Enum() *BusTopics

func (BusTopics) EnumDescriptor deprecated

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

Deprecated: Use BusTopics.Descriptor instead.

func (BusTopics) Number

func (x BusTopics) Number() protoreflect.EnumNumber

func (BusTopics) String

func (x BusTopics) String() string

func (BusTopics) Type

type ChatBadge

type ChatBadge struct {
	SetId string `protobuf:"bytes,1,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"`
	Id    string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Info  string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatBadge) Descriptor deprecated

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

Deprecated: Use ChatBadge.ProtoReflect.Descriptor instead.

func (*ChatBadge) GetId

func (x *ChatBadge) GetId() string

func (*ChatBadge) GetInfo

func (x *ChatBadge) GetInfo() string

func (*ChatBadge) GetSetId

func (x *ChatBadge) GetSetId() string

func (*ChatBadge) ProtoMessage

func (*ChatBadge) ProtoMessage()

func (*ChatBadge) ProtoReflect

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

func (*ChatBadge) Reset

func (x *ChatBadge) Reset()

func (*ChatBadge) String

func (x *ChatBadge) String() string

type ChatConfig

type ChatConfig struct {
	Enabled       bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Profile       string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	MessagePrefix string `protobuf:"bytes,3,opt,name=message_prefix,json=messagePrefix,proto3" json:"message_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatConfig) Descriptor deprecated

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

Deprecated: Use ChatConfig.ProtoReflect.Descriptor instead.

func (*ChatConfig) GetEnabled

func (x *ChatConfig) GetEnabled() bool

func (*ChatConfig) GetMessagePrefix

func (x *ChatConfig) GetMessagePrefix() string

func (*ChatConfig) GetProfile

func (x *ChatConfig) GetProfile() string

func (*ChatConfig) ProtoMessage

func (*ChatConfig) ProtoMessage()

func (*ChatConfig) ProtoReflect

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

func (*ChatConfig) Reset

func (x *ChatConfig) Reset()

func (*ChatConfig) String

func (x *ChatConfig) String() string

type ChatGetConfigRequest

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

func (*ChatGetConfigRequest) Descriptor deprecated

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

Deprecated: Use ChatGetConfigRequest.ProtoReflect.Descriptor instead.

func (*ChatGetConfigRequest) ProtoMessage

func (*ChatGetConfigRequest) ProtoMessage()

func (*ChatGetConfigRequest) ProtoReflect

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

func (*ChatGetConfigRequest) Reset

func (x *ChatGetConfigRequest) Reset()

func (*ChatGetConfigRequest) String

func (x *ChatGetConfigRequest) String() string

type ChatGetConfigResponse

type ChatGetConfigResponse struct {
	Config *ChatConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatGetConfigResponse) Descriptor deprecated

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

Deprecated: Use ChatGetConfigResponse.ProtoReflect.Descriptor instead.

func (*ChatGetConfigResponse) GetConfig

func (x *ChatGetConfigResponse) GetConfig() *ChatConfig

func (*ChatGetConfigResponse) ProtoMessage

func (*ChatGetConfigResponse) ProtoMessage()

func (*ChatGetConfigResponse) ProtoReflect

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

func (*ChatGetConfigResponse) Reset

func (x *ChatGetConfigResponse) Reset()

func (*ChatGetConfigResponse) String

func (x *ChatGetConfigResponse) String() string

type ChatMessage

type ChatMessage struct {
	Text      string                 `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Fragments []*ChatMessageFragment `protobuf:"bytes,2,rep,name=fragments,proto3" json:"fragments,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessage) Descriptor deprecated

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

Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.

func (*ChatMessage) GetFragments

func (x *ChatMessage) GetFragments() []*ChatMessageFragment

func (*ChatMessage) GetText

func (x *ChatMessage) GetText() string

func (*ChatMessage) ProtoMessage

func (*ChatMessage) ProtoMessage()

func (*ChatMessage) ProtoReflect

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

func (*ChatMessage) Reset

func (x *ChatMessage) Reset()

func (*ChatMessage) String

func (x *ChatMessage) String() string

type ChatMessageCheer

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

func (*ChatMessageCheer) Descriptor deprecated

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

Deprecated: Use ChatMessageCheer.ProtoReflect.Descriptor instead.

func (*ChatMessageCheer) GetBits

func (x *ChatMessageCheer) GetBits() int64

func (*ChatMessageCheer) ProtoMessage

func (*ChatMessageCheer) ProtoMessage()

func (*ChatMessageCheer) ProtoReflect

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

func (*ChatMessageCheer) Reset

func (x *ChatMessageCheer) Reset()

func (*ChatMessageCheer) String

func (x *ChatMessageCheer) String() string

type ChatMessageCheermote

type ChatMessageCheermote struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Bits   int64  `protobuf:"varint,2,opt,name=bits,proto3" json:"bits,omitempty"`
	Tier   int32  `protobuf:"varint,3,opt,name=tier,proto3" json:"tier,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessageCheermote) Descriptor deprecated

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

Deprecated: Use ChatMessageCheermote.ProtoReflect.Descriptor instead.

func (*ChatMessageCheermote) GetBits

func (x *ChatMessageCheermote) GetBits() int64

func (*ChatMessageCheermote) GetPrefix

func (x *ChatMessageCheermote) GetPrefix() string

func (*ChatMessageCheermote) GetTier

func (x *ChatMessageCheermote) GetTier() int32

func (*ChatMessageCheermote) ProtoMessage

func (*ChatMessageCheermote) ProtoMessage()

func (*ChatMessageCheermote) ProtoReflect

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

func (*ChatMessageCheermote) Reset

func (x *ChatMessageCheermote) Reset()

func (*ChatMessageCheermote) String

func (x *ChatMessageCheermote) String() string

type ChatMessageEmote

type ChatMessageEmote struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	EmoteSetId string   `protobuf:"bytes,2,opt,name=emote_set_id,json=emoteSetId,proto3" json:"emote_set_id,omitempty"`
	OwnerId    string   `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	Format     []string `protobuf:"bytes,4,rep,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessageEmote) Descriptor deprecated

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

Deprecated: Use ChatMessageEmote.ProtoReflect.Descriptor instead.

func (*ChatMessageEmote) GetEmoteSetId

func (x *ChatMessageEmote) GetEmoteSetId() string

func (*ChatMessageEmote) GetFormat

func (x *ChatMessageEmote) GetFormat() []string

func (*ChatMessageEmote) GetId

func (x *ChatMessageEmote) GetId() string

func (*ChatMessageEmote) GetOwnerId

func (x *ChatMessageEmote) GetOwnerId() string

func (*ChatMessageEmote) ProtoMessage

func (*ChatMessageEmote) ProtoMessage()

func (*ChatMessageEmote) ProtoReflect

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

func (*ChatMessageEmote) Reset

func (x *ChatMessageEmote) Reset()

func (*ChatMessageEmote) String

func (x *ChatMessageEmote) String() string

type ChatMessageFragment

type ChatMessageFragment struct {
	Type      ChatMessageFragmentType `protobuf:"varint,1,opt,name=type,proto3,enum=twitch.ChatMessageFragmentType" json:"type,omitempty"`
	Text      string                  `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Cheermote *ChatMessageCheermote   `protobuf:"bytes,3,opt,name=cheermote,proto3" json:"cheermote,omitempty"`
	Emote     *ChatMessageEmote       `protobuf:"bytes,4,opt,name=emote,proto3" json:"emote,omitempty"`
	Mention   *EventUser              `protobuf:"bytes,5,opt,name=mention,proto3" json:"mention,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessageFragment) Descriptor deprecated

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

Deprecated: Use ChatMessageFragment.ProtoReflect.Descriptor instead.

func (*ChatMessageFragment) GetCheermote

func (x *ChatMessageFragment) GetCheermote() *ChatMessageCheermote

func (*ChatMessageFragment) GetEmote

func (x *ChatMessageFragment) GetEmote() *ChatMessageEmote

func (*ChatMessageFragment) GetMention

func (x *ChatMessageFragment) GetMention() *EventUser

func (*ChatMessageFragment) GetText

func (x *ChatMessageFragment) GetText() string

func (*ChatMessageFragment) GetType

func (*ChatMessageFragment) ProtoMessage

func (*ChatMessageFragment) ProtoMessage()

func (*ChatMessageFragment) ProtoReflect

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

func (*ChatMessageFragment) Reset

func (x *ChatMessageFragment) Reset()

func (*ChatMessageFragment) String

func (x *ChatMessageFragment) String() string

type ChatMessageFragmentType

type ChatMessageFragmentType int32
const (
	ChatMessageFragmentType_text      ChatMessageFragmentType = 0
	ChatMessageFragmentType_cheermote ChatMessageFragmentType = 1
	ChatMessageFragmentType_emote     ChatMessageFragmentType = 2
	ChatMessageFragmentType_mention   ChatMessageFragmentType = 3
)

func (ChatMessageFragmentType) Descriptor

func (ChatMessageFragmentType) Enum

func (ChatMessageFragmentType) EnumDescriptor deprecated

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

Deprecated: Use ChatMessageFragmentType.Descriptor instead.

func (ChatMessageFragmentType) Number

func (ChatMessageFragmentType) String

func (x ChatMessageFragmentType) String() string

func (ChatMessageFragmentType) Type

type ChatMessageReply

type ChatMessageReply struct {
	ParentMessageId   string     `protobuf:"bytes,1,opt,name=parent_message_id,json=parentMessageId,proto3" json:"parent_message_id,omitempty"`
	ParentMessageBody string     `protobuf:"bytes,2,opt,name=parent_message_body,json=parentMessageBody,proto3" json:"parent_message_body,omitempty"`
	ParentUser        *EventUser `protobuf:"bytes,3,opt,name=parent_user,json=parentUser,proto3" json:"parent_user,omitempty"`
	ThreadMessageId   string     `protobuf:"bytes,4,opt,name=thread_message_id,json=threadMessageId,proto3" json:"thread_message_id,omitempty"`
	ThreadUser        *EventUser `protobuf:"bytes,5,opt,name=thread_user,json=threadUser,proto3" json:"thread_user,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessageReply) Descriptor deprecated

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

Deprecated: Use ChatMessageReply.ProtoReflect.Descriptor instead.

func (*ChatMessageReply) GetParentMessageBody

func (x *ChatMessageReply) GetParentMessageBody() string

func (*ChatMessageReply) GetParentMessageId

func (x *ChatMessageReply) GetParentMessageId() string

func (*ChatMessageReply) GetParentUser

func (x *ChatMessageReply) GetParentUser() *EventUser

func (*ChatMessageReply) GetThreadMessageId

func (x *ChatMessageReply) GetThreadMessageId() string

func (*ChatMessageReply) GetThreadUser

func (x *ChatMessageReply) GetThreadUser() *EventUser

func (*ChatMessageReply) ProtoMessage

func (*ChatMessageReply) ProtoMessage()

func (*ChatMessageReply) ProtoReflect

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

func (*ChatMessageReply) Reset

func (x *ChatMessageReply) Reset()

func (*ChatMessageReply) String

func (x *ChatMessageReply) String() string

type ChatMessageType

type ChatMessageType int32
const (
	ChatMessageType_chat_message_type_text                       ChatMessageType = 0
	ChatMessageType_chat_message_type_channel_points_highlighted ChatMessageType = 1
	ChatMessageType_chat_message_type_channel_points_sub_only    ChatMessageType = 2
	ChatMessageType_chat_message_type_user_intro                 ChatMessageType = 3
)

func (ChatMessageType) Descriptor

func (ChatMessageType) Enum

func (x ChatMessageType) Enum() *ChatMessageType

func (ChatMessageType) EnumDescriptor deprecated

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

Deprecated: Use ChatMessageType.Descriptor instead.

func (ChatMessageType) Number

func (ChatMessageType) String

func (x ChatMessageType) String() string

func (ChatMessageType) Type

type ChatSetConfigRequest

type ChatSetConfigRequest struct {
	Config *ChatConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatSetConfigRequest) Descriptor deprecated

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

Deprecated: Use ChatSetConfigRequest.ProtoReflect.Descriptor instead.

func (*ChatSetConfigRequest) GetConfig

func (x *ChatSetConfigRequest) GetConfig() *ChatConfig

func (*ChatSetConfigRequest) ProtoMessage

func (*ChatSetConfigRequest) ProtoMessage()

func (*ChatSetConfigRequest) ProtoReflect

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

func (*ChatSetConfigRequest) Reset

func (x *ChatSetConfigRequest) Reset()

func (*ChatSetConfigRequest) String

func (x *ChatSetConfigRequest) String() string

type ChatSetConfigResponse

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

func (*ChatSetConfigResponse) Descriptor deprecated

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

Deprecated: Use ChatSetConfigResponse.ProtoReflect.Descriptor instead.

func (*ChatSetConfigResponse) ProtoMessage

func (*ChatSetConfigResponse) ProtoMessage()

func (*ChatSetConfigResponse) ProtoReflect

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

func (*ChatSetConfigResponse) Reset

func (x *ChatSetConfigResponse) Reset()

func (*ChatSetConfigResponse) String

func (x *ChatSetConfigResponse) String() string

type Config

type Config struct {
	Profiles   map[string]*Profile `` /* 157-byte string literal not displayed */
	ChatConfig *ChatConfig         `protobuf:"bytes,2,opt,name=chat_config,json=chatConfig,proto3" json:"chat_config,omitempty"`
	EsConfig   *EventSubConfig     `protobuf:"bytes,3,opt,name=es_config,json=esConfig,proto3" json:"es_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetChatConfig

func (x *Config) GetChatConfig() *ChatConfig

func (*Config) GetEsConfig

func (x *Config) GetEsConfig() *EventSubConfig

func (*Config) GetProfiles

func (x *Config) GetProfiles() map[string]*Profile

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type DeleteProfileRequest

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

func (*DeleteProfileRequest) Descriptor deprecated

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

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) GetName

func (x *DeleteProfileRequest) GetName() string

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

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

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

type DeleteProfileResponse

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

func (*DeleteProfileResponse) Descriptor deprecated

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

Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.

func (*DeleteProfileResponse) ProtoMessage

func (*DeleteProfileResponse) ProtoMessage()

func (*DeleteProfileResponse) ProtoReflect

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

func (*DeleteProfileResponse) Reset

func (x *DeleteProfileResponse) Reset()

func (*DeleteProfileResponse) String

func (x *DeleteProfileResponse) String() string

type EventChannelChatMessage

type EventChannelChatMessage struct {
	Id                          string                               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Broadcaster                 *EventUser                           `protobuf:"bytes,2,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
	Chatter                     *EventUser                           `protobuf:"bytes,3,opt,name=chatter,proto3" json:"chatter,omitempty"`
	Message                     *ChatMessage                         `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	MessageType                 ChatMessageType                      `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=twitch.ChatMessageType" json:"message_type,omitempty"`
	Badges                      []*ChatBadge                         `protobuf:"bytes,6,rep,name=badges,proto3" json:"badges,omitempty"`
	Cheer                       *ChatMessageCheer                    `protobuf:"bytes,7,opt,name=cheer,proto3" json:"cheer,omitempty"`
	Color                       string                               `protobuf:"bytes,8,opt,name=color,proto3" json:"color,omitempty"`
	Reply                       *ChatMessageReply                    `protobuf:"bytes,9,opt,name=reply,proto3" json:"reply,omitempty"`
	ChannelPointsCustomRewardId string                               `` /* 149-byte string literal not displayed */
	Enrichments                 *EventChannelChatMessage_Enrichments `protobuf:"bytes,11,opt,name=enrichments,proto3" json:"enrichments,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelChatMessage) Descriptor deprecated

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

Deprecated: Use EventChannelChatMessage.ProtoReflect.Descriptor instead.

func (*EventChannelChatMessage) GetBadges

func (x *EventChannelChatMessage) GetBadges() []*ChatBadge

func (*EventChannelChatMessage) GetBroadcaster

func (x *EventChannelChatMessage) GetBroadcaster() *EventUser

func (*EventChannelChatMessage) GetChannelPointsCustomRewardId

func (x *EventChannelChatMessage) GetChannelPointsCustomRewardId() string

func (*EventChannelChatMessage) GetChatter

func (x *EventChannelChatMessage) GetChatter() *EventUser

func (*EventChannelChatMessage) GetCheer

func (*EventChannelChatMessage) GetColor

func (x *EventChannelChatMessage) GetColor() string

func (*EventChannelChatMessage) GetEnrichments

func (*EventChannelChatMessage) GetId

func (x *EventChannelChatMessage) GetId() string

func (*EventChannelChatMessage) GetMessage

func (x *EventChannelChatMessage) GetMessage() *ChatMessage

func (*EventChannelChatMessage) GetMessageType

func (x *EventChannelChatMessage) GetMessageType() ChatMessageType

func (*EventChannelChatMessage) GetReply

func (*EventChannelChatMessage) ProtoMessage

func (*EventChannelChatMessage) ProtoMessage()

func (*EventChannelChatMessage) ProtoReflect

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

func (*EventChannelChatMessage) Reset

func (x *EventChannelChatMessage) Reset()

func (*EventChannelChatMessage) String

func (x *EventChannelChatMessage) String() string

type EventChannelChatMessage_Enrichments

type EventChannelChatMessage_Enrichments struct {
	IsMod bool `protobuf:"varint,1,opt,name=is_mod,json=isMod,proto3" json:"is_mod,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelChatMessage_Enrichments) Descriptor deprecated

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

Deprecated: Use EventChannelChatMessage_Enrichments.ProtoReflect.Descriptor instead.

func (*EventChannelChatMessage_Enrichments) GetIsMod

func (*EventChannelChatMessage_Enrichments) ProtoMessage

func (*EventChannelChatMessage_Enrichments) ProtoMessage()

func (*EventChannelChatMessage_Enrichments) ProtoReflect

func (*EventChannelChatMessage_Enrichments) Reset

func (*EventChannelChatMessage_Enrichments) String

type EventChannelCheer

type EventChannelCheer struct {
	IsAnonymous *bool      `protobuf:"varint,1,opt,name=is_anonymous,json=isAnonymous,proto3,oneof" json:"is_anonymous,omitempty"`
	From        *EventUser `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	Broadcaster *EventUser `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
	Message     *string    `protobuf:"bytes,4,opt,name=message,proto3,oneof" json:"message,omitempty"`
	Bits        uint32     `protobuf:"varint,5,opt,name=bits,proto3" json:"bits,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelCheer) Descriptor deprecated

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

Deprecated: Use EventChannelCheer.ProtoReflect.Descriptor instead.

func (*EventChannelCheer) GetBits

func (x *EventChannelCheer) GetBits() uint32

func (*EventChannelCheer) GetBroadcaster

func (x *EventChannelCheer) GetBroadcaster() *EventUser

func (*EventChannelCheer) GetFrom

func (x *EventChannelCheer) GetFrom() *EventUser

func (*EventChannelCheer) GetIsAnonymous

func (x *EventChannelCheer) GetIsAnonymous() bool

func (*EventChannelCheer) GetMessage

func (x *EventChannelCheer) GetMessage() string

func (*EventChannelCheer) ProtoMessage

func (*EventChannelCheer) ProtoMessage()

func (*EventChannelCheer) ProtoReflect

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

func (*EventChannelCheer) Reset

func (x *EventChannelCheer) Reset()

func (*EventChannelCheer) String

func (x *EventChannelCheer) String() string

type EventChannelFollow

type EventChannelFollow struct {
	Follower    *EventUser `protobuf:"bytes,1,opt,name=follower,proto3" json:"follower,omitempty"`
	Broadcaster *EventUser `protobuf:"bytes,2,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
	At          int64      `protobuf:"varint,3,opt,name=at,proto3" json:"at,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelFollow) Descriptor deprecated

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

Deprecated: Use EventChannelFollow.ProtoReflect.Descriptor instead.

func (*EventChannelFollow) GetAt

func (x *EventChannelFollow) GetAt() int64

func (*EventChannelFollow) GetBroadcaster

func (x *EventChannelFollow) GetBroadcaster() *EventUser

func (*EventChannelFollow) GetFollower

func (x *EventChannelFollow) GetFollower() *EventUser

func (*EventChannelFollow) ProtoMessage

func (*EventChannelFollow) ProtoMessage()

func (*EventChannelFollow) ProtoReflect

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

func (*EventChannelFollow) Reset

func (x *EventChannelFollow) Reset()

func (*EventChannelFollow) String

func (x *EventChannelFollow) String() string

type EventChannelPointsCustomRewardRedemption

type EventChannelPointsCustomRewardRedemption struct {
	Id          string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Broadcaster *EventUser `protobuf:"bytes,2,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
	User        *EventUser `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	Input       string     `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"`
	Status      string     `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Reward      *Reward    `protobuf:"bytes,6,opt,name=reward,proto3" json:"reward,omitempty"`
	RedeemedAt  int64      `protobuf:"varint,7,opt,name=redeemed_at,json=redeemedAt,proto3" json:"redeemed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelPointsCustomRewardRedemption) Descriptor deprecated

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

Deprecated: Use EventChannelPointsCustomRewardRedemption.ProtoReflect.Descriptor instead.

func (*EventChannelPointsCustomRewardRedemption) GetBroadcaster

func (*EventChannelPointsCustomRewardRedemption) GetId

func (*EventChannelPointsCustomRewardRedemption) GetInput

func (*EventChannelPointsCustomRewardRedemption) GetRedeemedAt

func (*EventChannelPointsCustomRewardRedemption) GetReward

func (*EventChannelPointsCustomRewardRedemption) GetStatus

func (*EventChannelPointsCustomRewardRedemption) GetUser

func (*EventChannelPointsCustomRewardRedemption) ProtoMessage

func (*EventChannelPointsCustomRewardRedemption) ProtoReflect

func (*EventChannelPointsCustomRewardRedemption) Reset

func (*EventChannelPointsCustomRewardRedemption) String

type EventChannelRaid

type EventChannelRaid struct {
	FromBroadcaster *EventUser `protobuf:"bytes,1,opt,name=from_broadcaster,json=fromBroadcaster,proto3" json:"from_broadcaster,omitempty"`
	ToBroadcaster   *EventUser `protobuf:"bytes,2,opt,name=to_broadcaster,json=toBroadcaster,proto3" json:"to_broadcaster,omitempty"`
	Viewers         uint32     `protobuf:"varint,3,opt,name=viewers,proto3" json:"viewers,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelRaid) Descriptor deprecated

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

Deprecated: Use EventChannelRaid.ProtoReflect.Descriptor instead.

func (*EventChannelRaid) GetFromBroadcaster

func (x *EventChannelRaid) GetFromBroadcaster() *EventUser

func (*EventChannelRaid) GetToBroadcaster

func (x *EventChannelRaid) GetToBroadcaster() *EventUser

func (*EventChannelRaid) GetViewers

func (x *EventChannelRaid) GetViewers() uint32

func (*EventChannelRaid) ProtoMessage

func (*EventChannelRaid) ProtoMessage()

func (*EventChannelRaid) ProtoReflect

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

func (*EventChannelRaid) Reset

func (x *EventChannelRaid) Reset()

func (*EventChannelRaid) String

func (x *EventChannelRaid) String() string

type EventSubChannelChatMessageEvent

type EventSubChannelChatMessageEvent struct {
	BroadcasterUserID           string                         `json:"broadcaster_user_id"`
	BroadcasterUserLogin        string                         `json:"broadcaster_user_login"`
	BroadcasterUserName         string                         `json:"broadcaster_user_name"`
	ChatterUserID               string                         `json:"chatter_user_id"`
	ChatterUserLogin            string                         `json:"chatter_user_login"`
	ChatterUserName             string                         `json:"chatter_user_name"`
	MessageID                   string                         `json:"message_id"`
	Message                     EventSubChatMessage            `json:"message"`
	MessageType                 helix.EventSubChatMessageType  `json:"message_type"`
	Badges                      []helix.EventSubChatBadge      `json:"badges"`
	Cheer                       helix.EventSubChatMessageCheer `json:"cheer"`
	Color                       string                         `json:"color"`
	Reply                       helix.EventSubChatMessageReply `json:"reply"`
	ChannelPointsCustomRewardID string                         `json:"channel_points_custom_reward_id"`
}

EventSubChannelChatMessageEvent fix unmarshalling chat messages until https://github.com/nicklaw5/helix/issues/232

type EventSubChatMessage

type EventSubChatMessage struct {
	Text      string                        `json:"text"`
	Fragments []EventSubChatMessageFragment `json:"fragments"`
}

EventSubChatMessage fix unmarshalling chat messages until https://github.com/nicklaw5/helix/issues/232

type EventSubChatMessageEmote

type EventSubChatMessageEmote struct {
	ID         string   `json:"id"`
	EmoteSetID string   `json:"emote_set_id"`
	OwnerID    string   `json:"owner_id"`
	Format     []string `json:"format"`
}

EventSubChatMessageEmote fix unmarshalling chat messages until https://github.com/nicklaw5/helix/issues/232

type EventSubChatMessageFragment

type EventSubChatMessageFragment struct {
	Type      helix.EventSubChatMessageFragmentType `json:"type"`
	Text      string                                `json:"text"`
	Cheermote helix.EventSubChatMessageCheermote    `json:"cheermote"`
	Emote     EventSubChatMessageEmote              `json:"emote"`
	Mention   helix.EventSubChatMessageMention      `json:"mention"`
}

EventSubChatMessageFragment fix unmarshalling chat messages until https://github.com/nicklaw5/helix/issues/232

type EventSubConfig

type EventSubConfig struct {
	Enabled   bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Profile   string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	LogEvents bool   `protobuf:"varint,3,opt,name=log_events,json=logEvents,proto3" json:"log_events,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSubConfig) Descriptor deprecated

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

Deprecated: Use EventSubConfig.ProtoReflect.Descriptor instead.

func (*EventSubConfig) GetEnabled

func (x *EventSubConfig) GetEnabled() bool

func (*EventSubConfig) GetLogEvents

func (x *EventSubConfig) GetLogEvents() bool

func (*EventSubConfig) GetProfile

func (x *EventSubConfig) GetProfile() string

func (*EventSubConfig) ProtoMessage

func (*EventSubConfig) ProtoMessage()

func (*EventSubConfig) ProtoReflect

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

func (*EventSubConfig) Reset

func (x *EventSubConfig) Reset()

func (*EventSubConfig) String

func (x *EventSubConfig) String() string

type EventSubGetConfigRequest

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

func (*EventSubGetConfigRequest) Descriptor deprecated

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

Deprecated: Use EventSubGetConfigRequest.ProtoReflect.Descriptor instead.

func (*EventSubGetConfigRequest) ProtoMessage

func (*EventSubGetConfigRequest) ProtoMessage()

func (*EventSubGetConfigRequest) ProtoReflect

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

func (*EventSubGetConfigRequest) Reset

func (x *EventSubGetConfigRequest) Reset()

func (*EventSubGetConfigRequest) String

func (x *EventSubGetConfigRequest) String() string

type EventSubGetConfigResponse

type EventSubGetConfigResponse struct {
	Config *EventSubConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSubGetConfigResponse) Descriptor deprecated

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

Deprecated: Use EventSubGetConfigResponse.ProtoReflect.Descriptor instead.

func (*EventSubGetConfigResponse) GetConfig

func (x *EventSubGetConfigResponse) GetConfig() *EventSubConfig

func (*EventSubGetConfigResponse) ProtoMessage

func (*EventSubGetConfigResponse) ProtoMessage()

func (*EventSubGetConfigResponse) ProtoReflect

func (*EventSubGetConfigResponse) Reset

func (x *EventSubGetConfigResponse) Reset()

func (*EventSubGetConfigResponse) String

func (x *EventSubGetConfigResponse) String() string

type EventSubGetStatusRequest

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

func (*EventSubGetStatusRequest) Descriptor deprecated

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

Deprecated: Use EventSubGetStatusRequest.ProtoReflect.Descriptor instead.

func (*EventSubGetStatusRequest) ProtoMessage

func (*EventSubGetStatusRequest) ProtoMessage()

func (*EventSubGetStatusRequest) ProtoReflect

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

func (*EventSubGetStatusRequest) Reset

func (x *EventSubGetStatusRequest) Reset()

func (*EventSubGetStatusRequest) String

func (x *EventSubGetStatusRequest) String() string

type EventSubGetStatusResponse

type EventSubGetStatusResponse struct {
	Status EventSubStatus `protobuf:"varint,1,opt,name=status,proto3,enum=twitch.EventSubStatus" json:"status,omitempty"`
	Detail string         `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSubGetStatusResponse) Descriptor deprecated

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

Deprecated: Use EventSubGetStatusResponse.ProtoReflect.Descriptor instead.

func (*EventSubGetStatusResponse) GetDetail

func (x *EventSubGetStatusResponse) GetDetail() string

func (*EventSubGetStatusResponse) GetStatus

func (*EventSubGetStatusResponse) ProtoMessage

func (*EventSubGetStatusResponse) ProtoMessage()

func (*EventSubGetStatusResponse) ProtoReflect

func (*EventSubGetStatusResponse) Reset

func (x *EventSubGetStatusResponse) Reset()

func (*EventSubGetStatusResponse) String

func (x *EventSubGetStatusResponse) String() string

type EventSubSetConfigRequest

type EventSubSetConfigRequest struct {
	Config *EventSubConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSubSetConfigRequest) Descriptor deprecated

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

Deprecated: Use EventSubSetConfigRequest.ProtoReflect.Descriptor instead.

func (*EventSubSetConfigRequest) GetConfig

func (x *EventSubSetConfigRequest) GetConfig() *EventSubConfig

func (*EventSubSetConfigRequest) ProtoMessage

func (*EventSubSetConfigRequest) ProtoMessage()

func (*EventSubSetConfigRequest) ProtoReflect

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

func (*EventSubSetConfigRequest) Reset

func (x *EventSubSetConfigRequest) Reset()

func (*EventSubSetConfigRequest) String

func (x *EventSubSetConfigRequest) String() string

type EventSubSetConfigResponse

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

func (*EventSubSetConfigResponse) Descriptor deprecated

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

Deprecated: Use EventSubSetConfigResponse.ProtoReflect.Descriptor instead.

func (*EventSubSetConfigResponse) ProtoMessage

func (*EventSubSetConfigResponse) ProtoMessage()

func (*EventSubSetConfigResponse) ProtoReflect

func (*EventSubSetConfigResponse) Reset

func (x *EventSubSetConfigResponse) Reset()

func (*EventSubSetConfigResponse) String

func (x *EventSubSetConfigResponse) String() string

type EventSubStatus

type EventSubStatus int32
const (
	EventSubStatus_EVENT_SUB_STATUS_UNKNOWN   EventSubStatus = 0
	EventSubStatus_EVENT_SUB_STATUS_OFF       EventSubStatus = 1
	EventSubStatus_EVENT_SUB_STATUS_CONNECTED EventSubStatus = 2
	EventSubStatus_EVENT_SUB_STATUS_ERROR     EventSubStatus = 3
)

func (EventSubStatus) Descriptor

func (EventSubStatus) Enum

func (x EventSubStatus) Enum() *EventSubStatus

func (EventSubStatus) EnumDescriptor deprecated

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

Deprecated: Use EventSubStatus.Descriptor instead.

func (EventSubStatus) Number

func (EventSubStatus) String

func (x EventSubStatus) String() string

func (EventSubStatus) Type

type EventSubStatusEvent

type EventSubStatusEvent struct {
	Status EventSubStatus `protobuf:"varint,1,opt,name=status,proto3,enum=twitch.EventSubStatus" json:"status,omitempty"`
	Detail string         `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSubStatusEvent) Descriptor deprecated

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

Deprecated: Use EventSubStatusEvent.ProtoReflect.Descriptor instead.

func (*EventSubStatusEvent) GetDetail

func (x *EventSubStatusEvent) GetDetail() string

func (*EventSubStatusEvent) GetStatus

func (x *EventSubStatusEvent) GetStatus() EventSubStatus

func (*EventSubStatusEvent) ProtoMessage

func (*EventSubStatusEvent) ProtoMessage()

func (*EventSubStatusEvent) ProtoReflect

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

func (*EventSubStatusEvent) Reset

func (x *EventSubStatusEvent) Reset()

func (*EventSubStatusEvent) String

func (x *EventSubStatusEvent) String() string

type EventUser

type EventUser struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
	Name  string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*EventUser) Descriptor deprecated

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

Deprecated: Use EventUser.ProtoReflect.Descriptor instead.

func (*EventUser) GetId

func (x *EventUser) GetId() string

func (*EventUser) GetLogin

func (x *EventUser) GetLogin() string

func (*EventUser) GetName

func (x *EventUser) GetName() string

func (*EventUser) ProtoMessage

func (*EventUser) ProtoMessage()

func (*EventUser) ProtoReflect

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

func (*EventUser) Reset

func (x *EventUser) Reset()

func (*EventUser) String

func (x *EventUser) String() string

type GetAvatarPathRequest

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

func (*GetAvatarPathRequest) Descriptor deprecated

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

Deprecated: Use GetAvatarPathRequest.ProtoReflect.Descriptor instead.

func (*GetAvatarPathRequest) GetLogin

func (x *GetAvatarPathRequest) GetLogin() string

func (*GetAvatarPathRequest) ProtoMessage

func (*GetAvatarPathRequest) ProtoMessage()

func (*GetAvatarPathRequest) ProtoReflect

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

func (*GetAvatarPathRequest) Reset

func (x *GetAvatarPathRequest) Reset()

func (*GetAvatarPathRequest) String

func (x *GetAvatarPathRequest) String() string

type GetAvatarPathResponse

type GetAvatarPathResponse struct {
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	Path  string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAvatarPathResponse) Descriptor deprecated

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

Deprecated: Use GetAvatarPathResponse.ProtoReflect.Descriptor instead.

func (*GetAvatarPathResponse) GetLogin

func (x *GetAvatarPathResponse) GetLogin() string

func (*GetAvatarPathResponse) GetPath

func (x *GetAvatarPathResponse) GetPath() string

func (*GetAvatarPathResponse) ProtoMessage

func (*GetAvatarPathResponse) ProtoMessage()

func (*GetAvatarPathResponse) ProtoReflect

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

func (*GetAvatarPathResponse) Reset

func (x *GetAvatarPathResponse) Reset()

func (*GetAvatarPathResponse) String

func (x *GetAvatarPathResponse) String() string

type GetOAuthURLRequest

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

func (*GetOAuthURLRequest) Descriptor deprecated

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

Deprecated: Use GetOAuthURLRequest.ProtoReflect.Descriptor instead.

func (*GetOAuthURLRequest) ProtoMessage

func (*GetOAuthURLRequest) ProtoMessage()

func (*GetOAuthURLRequest) ProtoReflect

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

func (*GetOAuthURLRequest) Reset

func (x *GetOAuthURLRequest) Reset()

func (*GetOAuthURLRequest) String

func (x *GetOAuthURLRequest) String() string

type GetOAuthURLResponse

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

func (*GetOAuthURLResponse) Descriptor deprecated

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

Deprecated: Use GetOAuthURLResponse.ProtoReflect.Descriptor instead.

func (*GetOAuthURLResponse) GetUrl

func (x *GetOAuthURLResponse) GetUrl() string

func (*GetOAuthURLResponse) ProtoMessage

func (*GetOAuthURLResponse) ProtoMessage()

func (*GetOAuthURLResponse) ProtoReflect

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

func (*GetOAuthURLResponse) Reset

func (x *GetOAuthURLResponse) Reset()

func (*GetOAuthURLResponse) String

func (x *GetOAuthURLResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Login   string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetLogin

func (x *GetUserRequest) GetLogin() string

func (*GetUserRequest) GetProfile

func (x *GetUserRequest) GetProfile() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

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

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetLogin

func (x *GetUserResponse) GetLogin() string

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type ListProfilesRequest

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

func (*ListProfilesRequest) Descriptor deprecated

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

Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.

func (*ListProfilesRequest) ProtoMessage

func (*ListProfilesRequest) ProtoMessage()

func (*ListProfilesRequest) ProtoReflect

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

func (*ListProfilesRequest) Reset

func (x *ListProfilesRequest) Reset()

func (*ListProfilesRequest) String

func (x *ListProfilesRequest) String() string

type ListProfilesResponse

type ListProfilesResponse struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProfilesResponse) Descriptor deprecated

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

Deprecated: Use ListProfilesResponse.ProtoReflect.Descriptor instead.

func (*ListProfilesResponse) GetNames

func (x *ListProfilesResponse) GetNames() []string

func (*ListProfilesResponse) ProtoMessage

func (*ListProfilesResponse) ProtoMessage()

func (*ListProfilesResponse) ProtoReflect

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

func (*ListProfilesResponse) Reset

func (x *ListProfilesResponse) Reset()

func (*ListProfilesResponse) String

func (x *ListProfilesResponse) String() string

type Message

type Message struct {
	Metadata MessageMetadata `json:"metadata"`
	Payload  json.RawMessage `json:"payload"`
}

func (*Message) AsSessionWelcome

func (msg *Message) AsSessionWelcome() (*SessionWelcome, error)

func (*Message) Type

func (msg *Message) Type() string

type MessageMetadata

type MessageMetadata struct {
	ID        string    `json:"message_id"`
	Type      string    `json:"message_type"`
	Timestamp time.Time `json:"message_timestamp"`
}

type MessageTypeCommand

type MessageTypeCommand int32
const (
	MessageTypeCommand_TYPE_COMMAND_UNSPECIFIED           MessageTypeCommand = 0
	MessageTypeCommand_TYPE_COMMAND_GET_OAUTH_URL_REQ     MessageTypeCommand = 1
	MessageTypeCommand_TYPE_COMMAND_GET_OAUTH_URL_RES     MessageTypeCommand = 2
	MessageTypeCommand_TYPE_COMMAND_WRITE_PROFILE_REQ     MessageTypeCommand = 3
	MessageTypeCommand_TYPE_COMMAND_WRITE_PROFILE_RESP    MessageTypeCommand = 4
	MessageTypeCommand_TYPE_COMMAND_DELETE_PROFILE_REQ    MessageTypeCommand = 5
	MessageTypeCommand_TYPE_COMMAND_DELETE_PROFILE_RESP   MessageTypeCommand = 6
	MessageTypeCommand_TYPE_COMMAND_CHAT_SET_CONFIG_REQ   MessageTypeCommand = 7
	MessageTypeCommand_TYPE_COMMAND_CHAT_SET_CONFIG_RESP  MessageTypeCommand = 8
	MessageTypeCommand_TYPE_COMMAND_EVENT_SET_CONFIG_REQ  MessageTypeCommand = 9
	MessageTypeCommand_TYPE_COMMAND_EVENT_SET_CONFIG_RESP MessageTypeCommand = 10
)

func (MessageTypeCommand) Descriptor

func (MessageTypeCommand) Enum

func (MessageTypeCommand) EnumDescriptor deprecated

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

Deprecated: Use MessageTypeCommand.Descriptor instead.

func (MessageTypeCommand) Number

func (MessageTypeCommand) String

func (x MessageTypeCommand) String() string

func (MessageTypeCommand) Type

type MessageTypeEventSub

type MessageTypeEventSub int32
const (
	MessageTypeEventSub_TYPE_UNSPECIFIED                 MessageTypeEventSub = 0
	MessageTypeEventSub_TYPE_EVENTSUB_EVENT              MessageTypeEventSub = 1
	MessageTypeEventSub_TYPE_CHANNEL_RAID                MessageTypeEventSub = 2
	MessageTypeEventSub_TYPE_CHANNEL_FOLLOW              MessageTypeEventSub = 3
	MessageTypeEventSub_TYPE_CHANNEL_CHEER               MessageTypeEventSub = 4
	MessageTypeEventSub_TYPE_CHANNEL_POINT_CUSTOM_REDEEM MessageTypeEventSub = 5
	MessageTypeEventSub_TYPE_CHANNEL_CHAT_MESSAGE        MessageTypeEventSub = 6
)

func (MessageTypeEventSub) Descriptor

func (MessageTypeEventSub) Enum

func (MessageTypeEventSub) EnumDescriptor deprecated

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

Deprecated: Use MessageTypeEventSub.Descriptor instead.

func (MessageTypeEventSub) Number

func (MessageTypeEventSub) String

func (x MessageTypeEventSub) String() string

func (MessageTypeEventSub) Type

type MessageTypeRequest

type MessageTypeRequest int32
const (
	MessageTypeRequest_TYPE_REQUEST_UNSPECIFIED           MessageTypeRequest = 0
	MessageTypeRequest_TYPE_REQUEST_LIST_PROFILES_REQ     MessageTypeRequest = 1
	MessageTypeRequest_TYPE_REQUEST_LIST_PROFILES_RESP    MessageTypeRequest = 2
	MessageTypeRequest_TYPE_REQUEST_CHAT_GET_CONFIG_REQ   MessageTypeRequest = 3
	MessageTypeRequest_TYPE_REQUEST_CHAT_GET_CONFIG_RESP  MessageTypeRequest = 4
	MessageTypeRequest_TYPE_REQUEST_EVENT_GET_CONFIG_REQ  MessageTypeRequest = 5
	MessageTypeRequest_TYPE_REQUEST_EVENT_GET_CONFIG_RESP MessageTypeRequest = 6
	MessageTypeRequest_TYPE_REQUEST_EVENT_GET_STATUS_REQ  MessageTypeRequest = 7
	MessageTypeRequest_TYPE_REQUEST_EVENT_GET_STATUS_RESP MessageTypeRequest = 8
	MessageTypeRequest_TYPE_REQUEST_GET_USER_REQ          MessageTypeRequest = 9
	MessageTypeRequest_TYPE_REQUEST_GET_USER_RESP         MessageTypeRequest = 10
)

func (MessageTypeRequest) Descriptor

func (MessageTypeRequest) Enum

func (MessageTypeRequest) EnumDescriptor deprecated

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

Deprecated: Use MessageTypeRequest.Descriptor instead.

func (MessageTypeRequest) Number

func (MessageTypeRequest) String

func (x MessageTypeRequest) String() string

func (MessageTypeRequest) Type

type MessageTypeTwitchChatEvent

type MessageTypeTwitchChatEvent int32
const (
	MessageTypeTwitchChatEvent_TWITCH_CHAT_EVENT_TYPE_MESSAGE_IN MessageTypeTwitchChatEvent = 0
)

func (MessageTypeTwitchChatEvent) Descriptor

func (MessageTypeTwitchChatEvent) Enum

func (MessageTypeTwitchChatEvent) EnumDescriptor deprecated

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

Deprecated: Use MessageTypeTwitchChatEvent.Descriptor instead.

func (MessageTypeTwitchChatEvent) Number

func (MessageTypeTwitchChatEvent) String

func (MessageTypeTwitchChatEvent) Type

type MessageTypeTwitchChatRequest

type MessageTypeTwitchChatRequest int32
const (
	MessageTypeTwitchChatRequest_TWITCH_CHAT_REQUEST_TYPE_SEND_REQ  MessageTypeTwitchChatRequest = 0
	MessageTypeTwitchChatRequest_TWITCH_CHAT_REQUEST_TYPE_SEND_RESP MessageTypeTwitchChatRequest = 1
)

func (MessageTypeTwitchChatRequest) Descriptor

func (MessageTypeTwitchChatRequest) Enum

func (MessageTypeTwitchChatRequest) EnumDescriptor deprecated

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

Deprecated: Use MessageTypeTwitchChatRequest.Descriptor instead.

func (MessageTypeTwitchChatRequest) Number

func (MessageTypeTwitchChatRequest) String

func (MessageTypeTwitchChatRequest) Type

type Notification

type Notification struct {
	Subscription *helix.EventSubSubscription `json:"subscription"`
	Event        json.RawMessage             `json:"event"`
}

type Profile

type Profile struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Token  *Token `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetToken

func (x *Profile) GetToken() *Token

func (*Profile) GetUserId

func (x *Profile) GetUserId() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type Reward

type Reward struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title  string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Cost   int32  `protobuf:"varint,3,opt,name=cost,proto3" json:"cost,omitempty"`
	Prompt string `protobuf:"bytes,4,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*Reward) Descriptor deprecated

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

Deprecated: Use Reward.ProtoReflect.Descriptor instead.

func (*Reward) GetCost

func (x *Reward) GetCost() int32

func (*Reward) GetId

func (x *Reward) GetId() string

func (*Reward) GetPrompt

func (x *Reward) GetPrompt() string

func (*Reward) GetTitle

func (x *Reward) GetTitle() string

func (*Reward) ProtoMessage

func (*Reward) ProtoMessage()

func (*Reward) ProtoReflect

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

func (*Reward) Reset

func (x *Reward) Reset()

func (*Reward) String

func (x *Reward) String() string

type SessionWelcome

type SessionWelcome struct {
	Session *struct {
		ID                      string    `json:"id"`
		Status                  string    `json:"status"`
		ConnectedAt             time.Time `json:"connected_at"`
		KeepaliveTimeoutSeconds *int      `json:"keepalive_timeout_seconds"`
		ReconnectURL            *string   `json:"reconnect_url"`
	} `json:"session"`
}

type Token

type Token struct {
	ClientId string   `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Access   string   `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
	Scopes   []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	UserId   string   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAccess

func (x *Token) GetAccess() string

func (*Token) GetClientId

func (x *Token) GetClientId() string

func (*Token) GetScopes

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

func (*Token) GetUserId

func (x *Token) GetUserId() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type Twitch

type Twitch struct {
	http.Handler
	modutil.ModuleBase
	// contains filtered or unexported fields
}

func (*Twitch) Start

func (t *Twitch) Start(ctx context.Context, deps *modutil.ModuleDeps) error

type TwitchChatRequestSendRequest

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

func (*TwitchChatRequestSendRequest) Descriptor deprecated

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

Deprecated: Use TwitchChatRequestSendRequest.ProtoReflect.Descriptor instead.

func (*TwitchChatRequestSendRequest) GetText

func (x *TwitchChatRequestSendRequest) GetText() string

func (*TwitchChatRequestSendRequest) ProtoMessage

func (*TwitchChatRequestSendRequest) ProtoMessage()

func (*TwitchChatRequestSendRequest) ProtoReflect

func (*TwitchChatRequestSendRequest) Reset

func (x *TwitchChatRequestSendRequest) Reset()

func (*TwitchChatRequestSendRequest) String

type TwitchChatRequestSendResponse

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

func (*TwitchChatRequestSendResponse) Descriptor deprecated

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

Deprecated: Use TwitchChatRequestSendResponse.ProtoReflect.Descriptor instead.

func (*TwitchChatRequestSendResponse) ProtoMessage

func (*TwitchChatRequestSendResponse) ProtoMessage()

func (*TwitchChatRequestSendResponse) ProtoReflect

func (*TwitchChatRequestSendResponse) Reset

func (x *TwitchChatRequestSendResponse) Reset()

func (*TwitchChatRequestSendResponse) String

type User

type User struct {
	Id              string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Login           string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
	DisplayName     string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Type            string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	BroadcasterType string `protobuf:"bytes,5,opt,name=broadcaster_type,json=broadcasterType,proto3" json:"broadcaster_type,omitempty"`
	Description     string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	ProfileImageUrl string `protobuf:"bytes,7,opt,name=profile_image_url,json=profileImageUrl,proto3" json:"profile_image_url,omitempty"`
	OfflineImageUrl string `protobuf:"bytes,8,opt,name=offline_image_url,json=offlineImageUrl,proto3" json:"offline_image_url,omitempty"`
	ViewCount       uint32 `protobuf:"varint,9,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
	Email           string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt       uint32 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func GetUser

func GetUser(ctx context.Context, b *bus.Bus, twitchProfile, login string) (*User, error)

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetBroadcasterType

func (x *User) GetBroadcasterType() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() uint32

func (*User) GetDescription

func (x *User) GetDescription() string

func (*User) GetDisplayName

func (x *User) GetDisplayName() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetLogin

func (x *User) GetLogin() string

func (*User) GetOfflineImageUrl

func (x *User) GetOfflineImageUrl() string

func (*User) GetProfileImageUrl

func (x *User) GetProfileImageUrl() string

func (*User) GetType

func (x *User) GetType() string

func (*User) GetViewCount

func (x *User) GetViewCount() uint32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type WriteProfileRequest

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

func (*WriteProfileRequest) Descriptor deprecated

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

Deprecated: Use WriteProfileRequest.ProtoReflect.Descriptor instead.

func (*WriteProfileRequest) GetProfile

func (x *WriteProfileRequest) GetProfile() *Profile

func (*WriteProfileRequest) ProtoMessage

func (*WriteProfileRequest) ProtoMessage()

func (*WriteProfileRequest) ProtoReflect

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

func (*WriteProfileRequest) Reset

func (x *WriteProfileRequest) Reset()

func (*WriteProfileRequest) String

func (x *WriteProfileRequest) String() string

type WriteProfileResponse

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

func (*WriteProfileResponse) Descriptor deprecated

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

Deprecated: Use WriteProfileResponse.ProtoReflect.Descriptor instead.

func (*WriteProfileResponse) ProtoMessage

func (*WriteProfileResponse) ProtoMessage()

func (*WriteProfileResponse) ProtoReflect

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

func (*WriteProfileResponse) Reset

func (x *WriteProfileResponse) Reset()

func (*WriteProfileResponse) String

func (x *WriteProfileResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL