Documentation
¶
Index ¶
- func AdditionalContentTypeToString(Type AdditionalContentType) string
- func Alloc(Size uintptr) unsafe.Pointer
- func CallErrorToString(Type CallError) string
- func CallStatusToString(Type CallStatus) string
- func ClientErrorToString(Type ClientError) string
- func ClientGetDefaultAudioDeviceId() string
- func ClientGetDefaultCommunicationScopes() string
- func ClientGetDefaultPresenceScopes() string
- func ClientGetVersionHash() string
- func ClientGetVersionMajor() int32
- func ClientGetVersionMinor() int32
- func ClientGetVersionPatch() int32
- func ClientStatusToString(Type ClientStatus) string
- func ClientThreadToString(Type ClientThread) string
- func Free(Ptr unsafe.Pointer)
- func FreeProperties(Props Properties)
- func ResetCallbacks()
- func RunCallbacks()
- func SetFreeThreaded()
- func UInt64SpanToSlice(s UInt64Span) []uint64
- func UserHandleAvatarTypeToString(Type UserHandleAvatarType) string
- type Activity
- func (self *Activity) AddButton(Button *ActivityButton)
- func (self *Activity) ApplicationId() (uint64, bool)
- func (self *Activity) Assets() (ActivityAssets, bool)
- func (self *Activity) Clone(Arg0 *Activity)
- func (self *Activity) Details() (string, bool)
- func (self *Activity) DetailsUrl() (string, bool)
- func (self *Activity) Drop()
- func (self *Activity) Equals(Other *Activity) bool
- func (self *Activity) GetButtons() []ActivityButton
- func (self *Activity) Init()
- func (self *Activity) Name() string
- func (self *Activity) ParentApplicationId() (uint64, bool)
- func (self *Activity) Party() (ActivityParty, bool)
- func (self *Activity) Secrets() (ActivitySecrets, bool)
- func (self *Activity) SetApplicationId(Value *uint64)
- func (self *Activity) SetAssets(Value *ActivityAssets)
- func (self *Activity) SetDetails(Value string)
- func (self *Activity) SetDetailsUrl(Value string)
- func (self *Activity) SetName(Value string)
- func (self *Activity) SetParentApplicationId(Value *uint64)
- func (self *Activity) SetParty(Value *ActivityParty)
- func (self *Activity) SetSecrets(Value *ActivitySecrets)
- func (self *Activity) SetState(Value string)
- func (self *Activity) SetStateUrl(Value string)
- func (self *Activity) SetStatusDisplayType(Value *StatusDisplayTypes)
- func (self *Activity) SetSupportedPlatforms(Value ActivityGamePlatforms)
- func (self *Activity) SetTimestamps(Value *ActivityTimestamps)
- func (self *Activity) SetType(Value ActivityTypes)
- func (self *Activity) State() (string, bool)
- func (self *Activity) StateUrl() (string, bool)
- func (self *Activity) StatusDisplayType() (StatusDisplayTypes, bool)
- func (self *Activity) SupportedPlatforms() ActivityGamePlatforms
- func (self *Activity) Timestamps() (ActivityTimestamps, bool)
- func (self *Activity) Type() ActivityTypes
- type ActivityActionTypes
- type ActivityAssets
- func (self *ActivityAssets) Clone(Arg0 *ActivityAssets)
- func (self *ActivityAssets) Drop()
- func (self *ActivityAssets) Init()
- func (self *ActivityAssets) InviteCoverImage() (string, bool)
- func (self *ActivityAssets) LargeImage() (string, bool)
- func (self *ActivityAssets) LargeText() (string, bool)
- func (self *ActivityAssets) LargeUrl() (string, bool)
- func (self *ActivityAssets) SetInviteCoverImage(Value string)
- func (self *ActivityAssets) SetLargeImage(Value string)
- func (self *ActivityAssets) SetLargeText(Value string)
- func (self *ActivityAssets) SetLargeUrl(Value string)
- func (self *ActivityAssets) SetSmallImage(Value string)
- func (self *ActivityAssets) SetSmallText(Value string)
- func (self *ActivityAssets) SetSmallUrl(Value string)
- func (self *ActivityAssets) SmallImage() (string, bool)
- func (self *ActivityAssets) SmallText() (string, bool)
- func (self *ActivityAssets) SmallUrl() (string, bool)
- type ActivityButton
- func (self *ActivityButton) Clone(Arg0 *ActivityButton)
- func (self *ActivityButton) Drop()
- func (self *ActivityButton) Init()
- func (self *ActivityButton) Label() string
- func (self *ActivityButton) SetLabel(Value string)
- func (self *ActivityButton) SetUrl(Value string)
- func (self *ActivityButton) Url() string
- type ActivityButtonSpan
- type ActivityGamePlatforms
- type ActivityInvite
- func (self *ActivityInvite) ApplicationId() uint64
- func (self *ActivityInvite) ChannelId() uint64
- func (self *ActivityInvite) Clone(Rhs *ActivityInvite)
- func (self *ActivityInvite) Drop()
- func (self *ActivityInvite) Init()
- func (self *ActivityInvite) IsValid() bool
- func (self *ActivityInvite) MessageId() uint64
- func (self *ActivityInvite) ParentApplicationId() uint64
- func (self *ActivityInvite) PartyId() string
- func (self *ActivityInvite) SenderId() uint64
- func (self *ActivityInvite) SessionId() string
- func (self *ActivityInvite) SetApplicationId(Value uint64)
- func (self *ActivityInvite) SetChannelId(Value uint64)
- func (self *ActivityInvite) SetIsValid(Value bool)
- func (self *ActivityInvite) SetMessageId(Value uint64)
- func (self *ActivityInvite) SetParentApplicationId(Value uint64)
- func (self *ActivityInvite) SetPartyId(Value string)
- func (self *ActivityInvite) SetSenderId(Value uint64)
- func (self *ActivityInvite) SetSessionId(Value string)
- func (self *ActivityInvite) SetType(Value ActivityActionTypes)
- func (self *ActivityInvite) Type() ActivityActionTypes
- type ActivityParty
- func (self *ActivityParty) Clone(Arg0 *ActivityParty)
- func (self *ActivityParty) CurrentSize() int32
- func (self *ActivityParty) Drop()
- func (self *ActivityParty) Id() string
- func (self *ActivityParty) Init()
- func (self *ActivityParty) MaxSize() int32
- func (self *ActivityParty) Privacy() ActivityPartyPrivacy
- func (self *ActivityParty) SetCurrentSize(Value int32)
- func (self *ActivityParty) SetId(Value string)
- func (self *ActivityParty) SetMaxSize(Value int32)
- func (self *ActivityParty) SetPrivacy(Value ActivityPartyPrivacy)
- type ActivityPartyPrivacy
- type ActivitySecrets
- type ActivityTimestamps
- func (self *ActivityTimestamps) Clone(Arg0 *ActivityTimestamps)
- func (self *ActivityTimestamps) Drop()
- func (self *ActivityTimestamps) End() uint64
- func (self *ActivityTimestamps) Init()
- func (self *ActivityTimestamps) SetEnd(Value uint64)
- func (self *ActivityTimestamps) SetStart(Value uint64)
- func (self *ActivityTimestamps) Start() uint64
- type ActivityTypes
- type AdditionalContent
- func (self *AdditionalContent) Clone(Arg0 *AdditionalContent)
- func (self *AdditionalContent) Count() uint8
- func (self *AdditionalContent) Drop()
- func (self *AdditionalContent) Equals(Rhs *AdditionalContent) bool
- func (self *AdditionalContent) Init()
- func (self *AdditionalContent) SetCount(Value uint8)
- func (self *AdditionalContent) SetTitle(Value string)
- func (self *AdditionalContent) SetType(Value AdditionalContentType)
- func (self *AdditionalContent) Title() (string, bool)
- func (self *AdditionalContent) Type() AdditionalContentType
- type AdditionalContentType
- type Allocator
- type AudioDevice
- func (self *AudioDevice) Clone(Arg0 *AudioDevice)
- func (self *AudioDevice) Drop()
- func (self *AudioDevice) Equals(Rhs *AudioDevice) bool
- func (self *AudioDevice) Id() string
- func (self *AudioDevice) IsDefault() bool
- func (self *AudioDevice) Name() string
- func (self *AudioDevice) SetId(Value string)
- func (self *AudioDevice) SetIsDefault(Value bool)
- func (self *AudioDevice) SetName(Value string)
- type AudioDeviceSpan
- type AudioModeType
- type AudioSystem
- type AuthenticationCodeChallengeMethod
- type AuthenticationExternalAuthType
- type AuthorizationArgs
- func (self *AuthorizationArgs) ClientId() uint64
- func (self *AuthorizationArgs) Clone(Arg0 *AuthorizationArgs)
- func (self *AuthorizationArgs) CodeChallenge() (AuthorizationCodeChallenge, bool)
- func (self *AuthorizationArgs) CustomSchemeParam() (string, bool)
- func (self *AuthorizationArgs) Drop()
- func (self *AuthorizationArgs) Init()
- func (self *AuthorizationArgs) IntegrationType() (IntegrationType, bool)
- func (self *AuthorizationArgs) Nonce() (string, bool)
- func (self *AuthorizationArgs) Scopes() string
- func (self *AuthorizationArgs) SetClientId(Value uint64)
- func (self *AuthorizationArgs) SetCodeChallenge(Value *AuthorizationCodeChallenge)
- func (self *AuthorizationArgs) SetCustomSchemeParam(Value string)
- func (self *AuthorizationArgs) SetIntegrationType(Value *IntegrationType)
- func (self *AuthorizationArgs) SetNonce(Value string)
- func (self *AuthorizationArgs) SetScopes(Value string)
- func (self *AuthorizationArgs) SetState(Value string)
- func (self *AuthorizationArgs) State() (string, bool)
- type AuthorizationCodeChallenge
- func (self *AuthorizationCodeChallenge) Challenge() string
- func (self *AuthorizationCodeChallenge) Clone(Arg0 *AuthorizationCodeChallenge)
- func (self *AuthorizationCodeChallenge) Drop()
- func (self *AuthorizationCodeChallenge) Init()
- func (self *AuthorizationCodeChallenge) Method() AuthenticationCodeChallengeMethod
- func (self *AuthorizationCodeChallenge) SetChallenge(Value string)
- func (self *AuthorizationCodeChallenge) SetMethod(Value AuthenticationCodeChallengeMethod)
- type AuthorizationCodeVerifier
- func (self *AuthorizationCodeVerifier) Challenge() AuthorizationCodeChallenge
- func (self *AuthorizationCodeVerifier) Clone(Arg0 *AuthorizationCodeVerifier)
- func (self *AuthorizationCodeVerifier) Drop()
- func (self *AuthorizationCodeVerifier) SetChallenge(Value *AuthorizationCodeChallenge)
- func (self *AuthorizationCodeVerifier) SetVerifier(Value string)
- func (self *AuthorizationCodeVerifier) Verifier() string
- type AuthorizationTokenType
- type Call
- func (self *Call) Clone(Other *Call)
- func (self *Call) Drop()
- func (self *Call) GetAudioMode() AudioModeType
- func (self *Call) GetChannelId() uint64
- func (self *Call) GetGuildId() uint64
- func (self *Call) GetLocalMute(UserId uint64) bool
- func (self *Call) GetPTTActive() bool
- func (self *Call) GetPTTReleaseDelay() uint32
- func (self *Call) GetParticipantVolume(UserId uint64) float32
- func (self *Call) GetParticipants() []uint64
- func (self *Call) GetSelfDeaf() bool
- func (self *Call) GetSelfMute() bool
- func (self *Call) GetStatus() CallStatus
- func (self *Call) GetVADThreshold() VADThresholdSettings
- func (self *Call) GetVoiceStateHandle(UserId uint64) (VoiceStateHandle, bool)
- func (self *Call) SetAudioMode(AudioMode AudioModeType)
- func (self *Call) SetLocalMute(UserId uint64, Mute bool)
- func (self *Call) SetOnVoiceStateChangedCallback(Cb CallOnVoiceStateChanged)
- func (self *Call) SetPTTActive(Active bool)
- func (self *Call) SetPTTReleaseDelay(ReleaseDelayMs uint32)
- func (self *Call) SetParticipantChangedCallback(Cb CallOnParticipantChanged)
- func (self *Call) SetParticipantVolume(UserId uint64, Volume float32)
- func (self *Call) SetSelfDeaf(Deaf bool)
- func (self *Call) SetSelfMute(Mute bool)
- func (self *Call) SetSpeakingStatusChangedCallback(Cb CallOnSpeakingStatusChanged)
- func (self *Call) SetStatusChangedCallback(Cb CallOnStatusChanged)
- func (self *Call) SetVADThreshold(Automatic bool, Threshold float32)
- type CallError
- type CallInfoHandle
- func (self *CallInfoHandle) ChannelId() uint64
- func (self *CallInfoHandle) Clone(Other *CallInfoHandle)
- func (self *CallInfoHandle) Drop()
- func (self *CallInfoHandle) GetParticipants() []uint64
- func (self *CallInfoHandle) GetVoiceStateHandle(UserId uint64) (VoiceStateHandle, bool)
- func (self *CallInfoHandle) GuildId() uint64
- type CallOnParticipantChanged
- type CallOnSpeakingStatusChanged
- type CallOnStatusChanged
- type CallOnVoiceStateChanged
- type CallSpan
- type CallStatus
- type ChannelHandle
- type ChannelType
- type Client
- func (self *Client) AbortAuthorize()
- func (self *Client) AbortGetTokenFromDevice()
- func (self *Client) AcceptActivityInvite(Invite *ActivityInvite, Cb ClientAcceptActivityInviteCallback)
- func (self *Client) AcceptDiscordFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) AcceptGameFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) AddLogCallback(Callback ClientLogCallback, MinSeverity LoggingSeverity)
- func (self *Client) AddVoiceLogCallback(Callback ClientLogCallback, MinSeverity LoggingSeverity)
- func (self *Client) Authorize(Args *AuthorizationArgs, Callback ClientAuthorizationCallback)
- func (self *Client) BlockUser(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) CanOpenMessageInDiscord(MessageId uint64) bool
- func (self *Client) CancelDiscordFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) CancelGameFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) ClearRichPresence()
- func (self *Client) CloseAuthorizeDeviceScreen()
- func (self *Client) Connect()
- func (self *Client) CreateAuthorizationCodeVerifier() AuthorizationCodeVerifier
- func (self *Client) CreateOrJoinLobby(Secret string, Callback ClientCreateOrJoinLobbyCallback)
- func (self *Client) CreateOrJoinLobbyWithMetadata(Secret string, LobbyMetadata Properties, MemberMetadata Properties, ...)
- func (self *Client) DeleteUserMessage(RecipientId uint64, MessageId uint64, Cb ClientDeleteUserMessageCallback)
- func (self *Client) Disconnect()
- func (self *Client) Drop()
- func (self *Client) EditUserMessage(RecipientId uint64, MessageId uint64, Content string, ...)
- func (self *Client) EndCall(ChannelId uint64, Callback ClientEndCallCallback)
- func (self *Client) EndCalls(Callback ClientEndCallsCallback)
- func (self *Client) ExchangeChildToken(ParentApplicationToken string, ChildApplicationId uint64, ...)
- func (self *Client) FetchCurrentUser(TokenType AuthorizationTokenType, Token string, ...)
- func (self *Client) GetApplicationId() uint64
- func (self *Client) GetCall(ChannelId uint64) (Call, bool)
- func (self *Client) GetCalls() []Call
- func (self *Client) GetChannelHandle(ChannelId uint64) (ChannelHandle, bool)
- func (self *Client) GetCurrentInputDevice(Cb ClientGetCurrentInputDeviceCallback)
- func (self *Client) GetCurrentOutputDevice(Cb ClientGetCurrentOutputDeviceCallback)
- func (self *Client) GetCurrentUser() UserHandle
- func (self *Client) GetCurrentUserV2() (UserHandle, bool)
- func (self *Client) GetDiscordClientConnectedUser(ApplicationId uint64, Callback ClientGetDiscordClientConnectedUserCallback)
- func (self *Client) GetGuildChannels(GuildId uint64, Cb ClientGetGuildChannelsCallback)
- func (self *Client) GetInputDevices(Cb ClientGetInputDevicesCallback)
- func (self *Client) GetInputVolume() float32
- func (self *Client) GetLobbyHandle(LobbyId uint64) (LobbyHandle, bool)
- func (self *Client) GetLobbyIds() []uint64
- func (self *Client) GetLobbyMessagesWithLimit(LobbyId uint64, Limit int32, Cb ClientGetLobbyMessagesCallback)
- func (self *Client) GetMessageHandle(MessageId uint64) (MessageHandle, bool)
- func (self *Client) GetOutputDevices(Cb ClientGetOutputDevicesCallback)
- func (self *Client) GetOutputVolume() float32
- func (self *Client) GetProvisionalToken(ApplicationId uint64, ExternalAuthType AuthenticationExternalAuthType, ...)
- func (self *Client) GetRelationshipHandle(UserId uint64) RelationshipHandle
- func (self *Client) GetRelationships() []RelationshipHandle
- func (self *Client) GetRelationshipsByGroup(GroupType RelationshipGroupType) []RelationshipHandle
- func (self *Client) GetSelfDeafAll() bool
- func (self *Client) GetSelfMuteAll() bool
- func (self *Client) GetStatus() ClientStatus
- func (self *Client) GetToken(ApplicationId uint64, Code string, CodeVerifier string, RedirectUri string, ...)
- func (self *Client) GetTokenFromDevice(Args *DeviceAuthorizationArgs, Callback ClientTokenExchangeCallback)
- func (self *Client) GetTokenFromDeviceProvisionalMerge(Args *DeviceAuthorizationArgs, ExternalAuthType AuthenticationExternalAuthType, ...)
- func (self *Client) GetTokenFromProvisionalMerge(ApplicationId uint64, Code string, CodeVerifier string, RedirectUri string, ...)
- func (self *Client) GetUser(UserId uint64) (UserHandle, bool)
- func (self *Client) GetUserGuilds(Cb ClientGetUserGuildsCallback)
- func (self *Client) GetUserMessageSummaries(Cb ClientUserMessageSummariesCallback)
- func (self *Client) GetUserMessagesWithLimit(RecipientId uint64, Limit int32, Cb ClientUserMessagesWithLimitCallback)
- func (self *Client) Init()
- func (self *Client) InitWithBases(ApiBase string, WebBase string)
- func (self *Client) InitWithOptions(Options *ClientCreateOptions)
- func (self *Client) IsAuthenticated() bool
- func (self *Client) IsDiscordAppInstalled(Callback ClientIsDiscordAppInstalledCallback)
- func (self *Client) JoinLinkedLobbyGuild(LobbyId uint64, ...)
- func (self *Client) LeaveLobby(LobbyId uint64, Callback ClientLeaveLobbyCallback)
- func (self *Client) LinkChannelToLobby(LobbyId uint64, ChannelId uint64, Callback ClientLinkOrUnlinkChannelCallback)
- func (self *Client) OpenAuthorizeDeviceScreen(ClientId uint64, UserCode string)
- func (self *Client) OpenConnectedGamesSettingsInDiscord(Callback ClientOpenConnectedGamesSettingsInDiscordCallback)
- func (self *Client) OpenMessageInDiscord(MessageId uint64, ...)
- func (self *Client) ProvisionalUserMergeCompleted(Success bool)
- func (self *Client) RefreshToken(ApplicationId uint64, RefreshToken string, ...)
- func (self *Client) RegisterAuthorizeRequestCallback(Callback ClientAuthorizeRequestCallback)
- func (self *Client) RegisterLaunchCommand(ApplicationId uint64, Command string) bool
- func (self *Client) RegisterLaunchSteamApplication(ApplicationId uint64, SteamAppId uint32) bool
- func (self *Client) RejectDiscordFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) RejectGameFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) RemoveAuthorizeRequestCallback()
- func (self *Client) RemoveDiscordAndGameFriend(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) RemoveGameFriend(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) RevokeToken(ApplicationId uint64, Token string, Callback ClientRevokeTokenCallback)
- func (self *Client) SearchFriendsByUsername(SearchStr string) []UserHandle
- func (self *Client) SendActivityInvite(UserId uint64, Content string, Cb ClientSendActivityInviteCallback)
- func (self *Client) SendActivityJoinRequest(UserId uint64, Cb ClientSendActivityInviteCallback)
- func (self *Client) SendActivityJoinRequestReply(Invite *ActivityInvite, Cb ClientSendActivityInviteCallback)
- func (self *Client) SendDiscordFriendRequest(Username string, Cb ClientSendFriendRequestCallback)
- func (self *Client) SendDiscordFriendRequestById(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) SendGameFriendRequest(Username string, Cb ClientSendFriendRequestCallback)
- func (self *Client) SendGameFriendRequestById(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) SendLobbyMessage(LobbyId uint64, Content string, Cb ClientSendUserMessageCallback)
- func (self *Client) SendLobbyMessageWithMetadata(LobbyId uint64, Content string, Metadata Properties, ...)
- func (self *Client) SendUserMessage(RecipientId uint64, Content string, Cb ClientSendUserMessageCallback)
- func (self *Client) SendUserMessageWithMetadata(RecipientId uint64, Content string, Metadata Properties, ...)
- func (self *Client) SetActivityInviteCreatedCallback(Cb ClientActivityInviteCallback)
- func (self *Client) SetActivityInviteUpdatedCallback(Cb ClientActivityInviteCallback)
- func (self *Client) SetActivityJoinCallback(Cb ClientActivityJoinCallback)
- func (self *Client) SetActivityJoinWithApplicationCallback(Cb ClientActivityJoinWithApplicationCallback)
- func (self *Client) SetAecDump(On bool)
- func (self *Client) SetApplicationId(ApplicationId uint64)
- func (self *Client) SetAuthorizeDeviceScreenClosedCallback(Cb ClientAuthorizeDeviceScreenClosedCallback)
- func (self *Client) SetAutomaticGainControl(On bool)
- func (self *Client) SetDeviceChangeCallback(Callback ClientDeviceChangeCallback)
- func (self *Client) SetEchoCancellation(On bool)
- func (self *Client) SetEngineManagedAudioSession(IsEngineManaged bool)
- func (self *Client) SetGameWindowPid(Pid int32)
- func (self *Client) SetHttpRequestTimeout(HttpTimeoutInMilliseconds int32)
- func (self *Client) SetInputDevice(DeviceId string, Cb ClientSetInputDeviceCallback)
- func (self *Client) SetInputVolume(InputVolume float32)
- func (self *Client) SetLobbyCreatedCallback(Cb ClientLobbyCreatedCallback)
- func (self *Client) SetLobbyDeletedCallback(Cb ClientLobbyDeletedCallback)
- func (self *Client) SetLobbyMemberAddedCallback(Cb ClientLobbyMemberAddedCallback)
- func (self *Client) SetLobbyMemberRemovedCallback(Cb ClientLobbyMemberRemovedCallback)
- func (self *Client) SetLobbyMemberUpdatedCallback(Cb ClientLobbyMemberUpdatedCallback)
- func (self *Client) SetLobbyUpdatedCallback(Cb ClientLobbyUpdatedCallback)
- func (self *Client) SetLogDir(Path string, MinSeverity LoggingSeverity) bool
- func (self *Client) SetMessageCreatedCallback(Cb ClientMessageCreatedCallback)
- func (self *Client) SetMessageDeletedCallback(Cb ClientMessageDeletedCallback)
- func (self *Client) SetMessageUpdatedCallback(Cb ClientMessageUpdatedCallback)
- func (self *Client) SetNoAudioInputCallback(Callback ClientNoAudioInputCallback)
- func (self *Client) SetNoAudioInputThreshold(DBFSThreshold float32)
- func (self *Client) SetNoiseCancellation(On bool)
- func (self *Client) SetNoiseSuppression(On bool)
- func (self *Client) SetOnlineStatus(Status StatusType, Callback ClientUpdateStatusCallback)
- func (self *Client) SetOpusHardwareCoding(Encode bool, Decode bool)
- func (self *Client) SetOutputDevice(DeviceId string, Cb ClientSetOutputDeviceCallback)
- func (self *Client) SetOutputVolume(OutputVolume float32)
- func (self *Client) SetRelationshipCreatedCallback(Cb ClientRelationshipCreatedCallback)
- func (self *Client) SetRelationshipDeletedCallback(Cb ClientRelationshipDeletedCallback)
- func (self *Client) SetRelationshipGroupsUpdatedCallback(Cb ClientRelationshipGroupsUpdatedCallback)
- func (self *Client) SetSelfDeafAll(Deaf bool)
- func (self *Client) SetSelfMuteAll(Mute bool)
- func (self *Client) SetShowingChat(ShowingChat bool)
- func (self *Client) SetSpeakerMode(SpeakerMode bool) bool
- func (self *Client) SetStatusChangedCallback(Cb ClientOnStatusChanged)
- func (self *Client) SetThreadPriority(Thread ClientThread, Priority int32)
- func (self *Client) SetTokenExpirationCallback(Callback ClientTokenExpirationCallback)
- func (self *Client) SetUserUpdatedCallback(Cb ClientUserUpdatedCallback)
- func (self *Client) SetVoiceLogDir(Path string, MinSeverity LoggingSeverity)
- func (self *Client) SetVoiceParticipantChangedCallback(Cb ClientVoiceParticipantChangedCallback)
- func (self *Client) ShowAudioRoutePicker() bool
- func (self *Client) StartCall(ChannelId uint64) (Call, bool)
- func (self *Client) StartCallWithAudioCallbacks(LobbyId uint64, ReceivedCb ClientUserAudioReceivedCallback, ...) (Call, bool)
- func (self *Client) UnblockUser(UserId uint64, Cb ClientUpdateRelationshipCallback)
- func (self *Client) UnlinkChannelFromLobby(LobbyId uint64, Callback ClientLinkOrUnlinkChannelCallback)
- func (self *Client) UnmergeIntoProvisionalAccount(ApplicationId uint64, ExternalAuthType AuthenticationExternalAuthType, ...)
- func (self *Client) UpdateProvisionalAccountDisplayName(Name string, Callback ClientUpdateProvisionalAccountDisplayNameCallback)
- func (self *Client) UpdateRichPresence(Activity *Activity, Cb ClientUpdateRichPresenceCallback)
- func (self *Client) UpdateToken(TokenType AuthorizationTokenType, Token string, ...)
- type ClientAcceptActivityInviteCallback
- type ClientActivityInviteCallback
- type ClientActivityJoinCallback
- type ClientActivityJoinWithApplicationCallback
- type ClientAuthorizationCallback
- type ClientAuthorizeDeviceScreenClosedCallback
- type ClientAuthorizeRequestCallback
- type ClientCreateOptions
- func (self *ClientCreateOptions) ApiBase() string
- func (self *ClientCreateOptions) Clone(Arg0 *ClientCreateOptions)
- func (self *ClientCreateOptions) CpuAffinityMask() (uint64, bool)
- func (self *ClientCreateOptions) Drop()
- func (self *ClientCreateOptions) ExperimentalAndroidPreventCommsForBluetooth() bool
- func (self *ClientCreateOptions) ExperimentalAudioSystem() AudioSystem
- func (self *ClientCreateOptions) Init()
- func (self *ClientCreateOptions) SetApiBase(Value string)
- func (self *ClientCreateOptions) SetCpuAffinityMask(Value *uint64)
- func (self *ClientCreateOptions) SetExperimentalAndroidPreventCommsForBluetooth(Value bool)
- func (self *ClientCreateOptions) SetExperimentalAudioSystem(Value AudioSystem)
- func (self *ClientCreateOptions) SetWebBase(Value string)
- func (self *ClientCreateOptions) WebBase() string
- type ClientCreateOrJoinLobbyCallback
- type ClientDeleteUserMessageCallback
- type ClientDeviceChangeCallback
- type ClientEditUserMessageCallback
- type ClientEndCallCallback
- type ClientEndCallsCallback
- type ClientError
- type ClientExchangeChildTokenCallback
- type ClientFetchCurrentUserCallback
- type ClientGetCurrentInputDeviceCallback
- type ClientGetCurrentOutputDeviceCallback
- type ClientGetDiscordClientConnectedUserCallback
- type ClientGetGuildChannelsCallback
- type ClientGetInputDevicesCallback
- type ClientGetLobbyMessagesCallback
- type ClientGetOutputDevicesCallback
- type ClientGetUserGuildsCallback
- type ClientIsDiscordAppInstalledCallback
- type ClientJoinLinkedLobbyGuildCallback
- type ClientLeaveLobbyCallback
- type ClientLinkOrUnlinkChannelCallback
- type ClientLobbyCreatedCallback
- type ClientLobbyDeletedCallback
- type ClientLobbyMemberAddedCallback
- type ClientLobbyMemberRemovedCallback
- type ClientLobbyMemberUpdatedCallback
- type ClientLobbyUpdatedCallback
- type ClientLogCallback
- type ClientMessageCreatedCallback
- type ClientMessageDeletedCallback
- type ClientMessageUpdatedCallback
- type ClientNoAudioInputCallback
- type ClientOnStatusChanged
- type ClientOpenConnectedGamesSettingsInDiscordCallback
- type ClientOpenMessageInDiscordCallback
- type ClientProvisionalUserMergeRequiredCallback
- type ClientRelationshipCreatedCallback
- type ClientRelationshipDeletedCallback
- type ClientRelationshipGroupsUpdatedCallback
- type ClientResult
- func (self *ClientResult) Clone(Arg0 *ClientResult)
- func (self *ClientResult) Drop()
- func (self *ClientResult) Error() string
- func (self *ClientResult) ErrorCode() int32
- func (self *ClientResult) ResponseBody() string
- func (self *ClientResult) RetryAfter() float32
- func (self *ClientResult) Retryable() bool
- func (self *ClientResult) SetError(Value string)
- func (self *ClientResult) SetErrorCode(Value int32)
- func (self *ClientResult) SetResponseBody(Value string)
- func (self *ClientResult) SetRetryAfter(Value float32)
- func (self *ClientResult) SetRetryable(Value bool)
- func (self *ClientResult) SetStatus(Value HttpStatusCode)
- func (self *ClientResult) SetSuccessful(Value bool)
- func (self *ClientResult) SetType(Value ErrorType)
- func (self *ClientResult) Status() HttpStatusCode
- func (self *ClientResult) Successful() bool
- func (self *ClientResult) ToString() string
- func (self *ClientResult) Type() ErrorType
- type ClientRevokeTokenCallback
- type ClientSendActivityInviteCallback
- type ClientSendFriendRequestCallback
- type ClientSendUserMessageCallback
- type ClientSetInputDeviceCallback
- type ClientSetOutputDeviceCallback
- type ClientStatus
- type ClientThread
- type ClientTokenExchangeCallback
- type ClientTokenExpirationCallback
- type ClientUnmergeIntoProvisionalAccountCallback
- type ClientUpdateProvisionalAccountDisplayNameCallback
- type ClientUpdateRelationshipCallback
- type ClientUpdateRichPresenceCallback
- type ClientUpdateStatusCallback
- type ClientUpdateTokenCallback
- type ClientUserAudioCapturedCallback
- type ClientUserAudioReceivedCallback
- type ClientUserMessageSummariesCallback
- type ClientUserMessagesWithLimitCallback
- type ClientUserUpdatedCallback
- type ClientVoiceParticipantChangedCallback
- type DeviceAuthorizationArgs
- func (self *DeviceAuthorizationArgs) ClientId() uint64
- func (self *DeviceAuthorizationArgs) Clone(Arg0 *DeviceAuthorizationArgs)
- func (self *DeviceAuthorizationArgs) Drop()
- func (self *DeviceAuthorizationArgs) Init()
- func (self *DeviceAuthorizationArgs) Scopes() string
- func (self *DeviceAuthorizationArgs) SetClientId(Value uint64)
- func (self *DeviceAuthorizationArgs) SetScopes(Value string)
- type DisclosureTypes
- type ErrorType
- type ExternalIdentityProviderType
- type FreeFn
- type GuildChannel
- func (self *GuildChannel) Clone(Arg0 *GuildChannel)
- func (self *GuildChannel) Drop()
- func (self *GuildChannel) Id() uint64
- func (self *GuildChannel) IsLinkable() bool
- func (self *GuildChannel) IsViewableAndWriteableByAllMembers() bool
- func (self *GuildChannel) LinkedLobby() (LinkedLobby, bool)
- func (self *GuildChannel) Name() string
- func (self *GuildChannel) ParentId() (uint64, bool)
- func (self *GuildChannel) Position() int32
- func (self *GuildChannel) SetId(Value uint64)
- func (self *GuildChannel) SetIsLinkable(Value bool)
- func (self *GuildChannel) SetIsViewableAndWriteableByAllMembers(Value bool)
- func (self *GuildChannel) SetLinkedLobby(Value *LinkedLobby)
- func (self *GuildChannel) SetName(Value string)
- func (self *GuildChannel) SetParentId(Value *uint64)
- func (self *GuildChannel) SetPosition(Value int32)
- func (self *GuildChannel) SetType(Value ChannelType)
- func (self *GuildChannel) Type() ChannelType
- type GuildChannelSpan
- type GuildMinimal
- type GuildMinimalSpan
- type HttpStatusCode
- type IntegrationType
- type LinkedChannel
- func (self *LinkedChannel) Clone(Arg0 *LinkedChannel)
- func (self *LinkedChannel) Drop()
- func (self *LinkedChannel) GuildId() uint64
- func (self *LinkedChannel) Id() uint64
- func (self *LinkedChannel) Name() string
- func (self *LinkedChannel) SetGuildId(Value uint64)
- func (self *LinkedChannel) SetId(Value uint64)
- func (self *LinkedChannel) SetName(Value string)
- type LinkedLobby
- func (self *LinkedLobby) ApplicationId() uint64
- func (self *LinkedLobby) Clone(Arg0 *LinkedLobby)
- func (self *LinkedLobby) Drop()
- func (self *LinkedLobby) Init()
- func (self *LinkedLobby) LobbyId() uint64
- func (self *LinkedLobby) SetApplicationId(Value uint64)
- func (self *LinkedLobby) SetLobbyId(Value uint64)
- type LobbyHandle
- func (self *LobbyHandle) Clone(Other *LobbyHandle)
- func (self *LobbyHandle) Drop()
- func (self *LobbyHandle) GetCallInfoHandle() (CallInfoHandle, bool)
- func (self *LobbyHandle) GetLobbyMemberHandle(MemberId uint64) (LobbyMemberHandle, bool)
- func (self *LobbyHandle) Id() uint64
- func (self *LobbyHandle) LinkedChannel() (LinkedChannel, bool)
- func (self *LobbyHandle) LobbyMemberIds() []uint64
- func (self *LobbyHandle) LobbyMembers() []LobbyMemberHandle
- func (self *LobbyHandle) Metadata() Properties
- type LobbyMemberHandle
- func (self *LobbyMemberHandle) CanLinkLobby() bool
- func (self *LobbyMemberHandle) Clone(Other *LobbyMemberHandle)
- func (self *LobbyMemberHandle) Connected() bool
- func (self *LobbyMemberHandle) Drop()
- func (self *LobbyMemberHandle) Id() uint64
- func (self *LobbyMemberHandle) Metadata() Properties
- func (self *LobbyMemberHandle) User() (UserHandle, bool)
- type LobbyMemberHandleSpan
- type LoggingSeverity
- type MallocFn
- type MessageHandle
- func (self *MessageHandle) AdditionalContent() (AdditionalContent, bool)
- func (self *MessageHandle) ApplicationId() (uint64, bool)
- func (self *MessageHandle) Author() (UserHandle, bool)
- func (self *MessageHandle) AuthorId() uint64
- func (self *MessageHandle) Channel() (ChannelHandle, bool)
- func (self *MessageHandle) ChannelId() uint64
- func (self *MessageHandle) Clone(Other *MessageHandle)
- func (self *MessageHandle) Content() string
- func (self *MessageHandle) DisclosureType() (DisclosureTypes, bool)
- func (self *MessageHandle) Drop()
- func (self *MessageHandle) EditedTimestamp() uint64
- func (self *MessageHandle) Id() uint64
- func (self *MessageHandle) Lobby() (LobbyHandle, bool)
- func (self *MessageHandle) Metadata() Properties
- func (self *MessageHandle) ModerationMetadata() Properties
- func (self *MessageHandle) RawContent() string
- func (self *MessageHandle) Recipient() (UserHandle, bool)
- func (self *MessageHandle) RecipientId() uint64
- func (self *MessageHandle) SentFromGame() bool
- func (self *MessageHandle) SentTimestamp() uint64
- type MessageHandleSpan
- type Properties
- type RelationshipGroupType
- type RelationshipHandle
- func (self *RelationshipHandle) Clone(Other *RelationshipHandle)
- func (self *RelationshipHandle) DiscordRelationshipType() RelationshipType
- func (self *RelationshipHandle) Drop()
- func (self *RelationshipHandle) GameRelationshipType() RelationshipType
- func (self *RelationshipHandle) Id() uint64
- func (self *RelationshipHandle) IsSpamRequest() bool
- func (self *RelationshipHandle) User() (UserHandle, bool)
- type RelationshipHandleSpan
- type RelationshipType
- type StatusDisplayTypes
- type StatusType
- type String
- type UInt64Span
- type UserApplicationProfileHandle
- func (self *UserApplicationProfileHandle) AvatarHash() string
- func (self *UserApplicationProfileHandle) Clone(Other *UserApplicationProfileHandle)
- func (self *UserApplicationProfileHandle) Drop()
- func (self *UserApplicationProfileHandle) Metadata() string
- func (self *UserApplicationProfileHandle) ProviderId() (string, bool)
- func (self *UserApplicationProfileHandle) ProviderIssuedUserId() string
- func (self *UserApplicationProfileHandle) ProviderType() ExternalIdentityProviderType
- func (self *UserApplicationProfileHandle) Username() string
- type UserApplicationProfileHandleSpan
- type UserHandle
- func (self *UserHandle) Avatar() (string, bool)
- func (self *UserHandle) AvatarUrl(AnimatedType UserHandleAvatarType, StaticType UserHandleAvatarType) string
- func (self *UserHandle) Clone(Arg0 *UserHandle)
- func (self *UserHandle) DisplayName() string
- func (self *UserHandle) Drop()
- func (self *UserHandle) GameActivity() (Activity, bool)
- func (self *UserHandle) GlobalName() (string, bool)
- func (self *UserHandle) Id() uint64
- func (self *UserHandle) IsProvisional() bool
- func (self *UserHandle) Relationship() RelationshipHandle
- func (self *UserHandle) Status() StatusType
- func (self *UserHandle) UserApplicationProfiles() []UserApplicationProfileHandle
- func (self *UserHandle) Username() string
- type UserHandleAvatarType
- type UserHandleSpan
- type UserMessageSummary
- type UserMessageSummarySpan
- type VADThresholdSettings
- type VoiceStateHandle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdditionalContentTypeToString ¶
func AdditionalContentTypeToString(Type AdditionalContentType) string
func CallErrorToString ¶
func CallStatusToString ¶
func CallStatusToString(Type CallStatus) string
func ClientErrorToString ¶
func ClientErrorToString(Type ClientError) string
func ClientGetDefaultAudioDeviceId ¶
func ClientGetDefaultAudioDeviceId() string
func ClientGetDefaultCommunicationScopes ¶
func ClientGetDefaultCommunicationScopes() string
func ClientGetDefaultPresenceScopes ¶
func ClientGetDefaultPresenceScopes() string
func ClientGetVersionHash ¶
func ClientGetVersionHash() string
func ClientGetVersionMajor ¶
func ClientGetVersionMajor() int32
func ClientGetVersionMinor ¶
func ClientGetVersionMinor() int32
func ClientGetVersionPatch ¶
func ClientGetVersionPatch() int32
func ClientStatusToString ¶
func ClientStatusToString(Type ClientStatus) string
func ClientThreadToString ¶
func ClientThreadToString(Type ClientThread) string
func FreeProperties ¶
func FreeProperties(Props Properties)
func ResetCallbacks ¶
func ResetCallbacks()
func RunCallbacks ¶
func RunCallbacks()
func SetFreeThreaded ¶
func SetFreeThreaded()
func UInt64SpanToSlice ¶
func UInt64SpanToSlice(s UInt64Span) []uint64
func UserHandleAvatarTypeToString ¶
func UserHandleAvatarTypeToString(Type UserHandleAvatarType) string
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
func NewActivity ¶
func NewActivity() *Activity
func (*Activity) AddButton ¶
func (self *Activity) AddButton(Button *ActivityButton)
func (*Activity) ApplicationId ¶
func (*Activity) Assets ¶
func (self *Activity) Assets() (ActivityAssets, bool)
func (*Activity) DetailsUrl ¶
func (*Activity) GetButtons ¶
func (self *Activity) GetButtons() []ActivityButton
func (*Activity) ParentApplicationId ¶
func (*Activity) Party ¶
func (self *Activity) Party() (ActivityParty, bool)
func (*Activity) Secrets ¶
func (self *Activity) Secrets() (ActivitySecrets, bool)
func (*Activity) SetApplicationId ¶
func (*Activity) SetAssets ¶
func (self *Activity) SetAssets(Value *ActivityAssets)
func (*Activity) SetDetails ¶
func (*Activity) SetDetailsUrl ¶
func (*Activity) SetParentApplicationId ¶
func (*Activity) SetParty ¶
func (self *Activity) SetParty(Value *ActivityParty)
func (*Activity) SetSecrets ¶
func (self *Activity) SetSecrets(Value *ActivitySecrets)
func (*Activity) SetStateUrl ¶
func (*Activity) SetStatusDisplayType ¶
func (self *Activity) SetStatusDisplayType(Value *StatusDisplayTypes)
func (*Activity) SetSupportedPlatforms ¶
func (self *Activity) SetSupportedPlatforms(Value ActivityGamePlatforms)
func (*Activity) SetTimestamps ¶
func (self *Activity) SetTimestamps(Value *ActivityTimestamps)
func (*Activity) SetType ¶
func (self *Activity) SetType(Value ActivityTypes)
func (*Activity) StatusDisplayType ¶
func (self *Activity) StatusDisplayType() (StatusDisplayTypes, bool)
func (*Activity) SupportedPlatforms ¶
func (self *Activity) SupportedPlatforms() ActivityGamePlatforms
func (*Activity) Timestamps ¶
func (self *Activity) Timestamps() (ActivityTimestamps, bool)
func (*Activity) Type ¶
func (self *Activity) Type() ActivityTypes
type ActivityActionTypes ¶
type ActivityActionTypes int32
const ( ActivityActionTypesInvalid ActivityActionTypes = 0 ActivityActionTypesJoin ActivityActionTypes = 1 ActivityActionTypesJoinRequest ActivityActionTypes = 5 )
type ActivityAssets ¶
type ActivityAssets struct {
// contains filtered or unexported fields
}
func NewActivityAssets ¶
func NewActivityAssets() *ActivityAssets
func (*ActivityAssets) Clone ¶
func (self *ActivityAssets) Clone(Arg0 *ActivityAssets)
func (*ActivityAssets) Drop ¶
func (self *ActivityAssets) Drop()
func (*ActivityAssets) Init ¶
func (self *ActivityAssets) Init()
func (*ActivityAssets) InviteCoverImage ¶
func (self *ActivityAssets) InviteCoverImage() (string, bool)
func (*ActivityAssets) LargeImage ¶
func (self *ActivityAssets) LargeImage() (string, bool)
func (*ActivityAssets) LargeText ¶
func (self *ActivityAssets) LargeText() (string, bool)
func (*ActivityAssets) LargeUrl ¶
func (self *ActivityAssets) LargeUrl() (string, bool)
func (*ActivityAssets) SetInviteCoverImage ¶
func (self *ActivityAssets) SetInviteCoverImage(Value string)
func (*ActivityAssets) SetLargeImage ¶
func (self *ActivityAssets) SetLargeImage(Value string)
func (*ActivityAssets) SetLargeText ¶
func (self *ActivityAssets) SetLargeText(Value string)
func (*ActivityAssets) SetLargeUrl ¶
func (self *ActivityAssets) SetLargeUrl(Value string)
func (*ActivityAssets) SetSmallImage ¶
func (self *ActivityAssets) SetSmallImage(Value string)
func (*ActivityAssets) SetSmallText ¶
func (self *ActivityAssets) SetSmallText(Value string)
func (*ActivityAssets) SetSmallUrl ¶
func (self *ActivityAssets) SetSmallUrl(Value string)
func (*ActivityAssets) SmallImage ¶
func (self *ActivityAssets) SmallImage() (string, bool)
func (*ActivityAssets) SmallText ¶
func (self *ActivityAssets) SmallText() (string, bool)
func (*ActivityAssets) SmallUrl ¶
func (self *ActivityAssets) SmallUrl() (string, bool)
type ActivityButton ¶
type ActivityButton struct {
// contains filtered or unexported fields
}
func ActivityButtonSpanToSlice ¶
func ActivityButtonSpanToSlice(s ActivityButtonSpan) []ActivityButton
func NewActivityButton ¶
func NewActivityButton() *ActivityButton
func (*ActivityButton) Clone ¶
func (self *ActivityButton) Clone(Arg0 *ActivityButton)
func (*ActivityButton) Drop ¶
func (self *ActivityButton) Drop()
func (*ActivityButton) Init ¶
func (self *ActivityButton) Init()
func (*ActivityButton) Label ¶
func (self *ActivityButton) Label() string
func (*ActivityButton) SetLabel ¶
func (self *ActivityButton) SetLabel(Value string)
func (*ActivityButton) SetUrl ¶
func (self *ActivityButton) SetUrl(Value string)
func (*ActivityButton) Url ¶
func (self *ActivityButton) Url() string
type ActivityButtonSpan ¶
type ActivityButtonSpan struct {
// contains filtered or unexported fields
}
type ActivityGamePlatforms ¶
type ActivityGamePlatforms int32
const ( ActivityGamePlatformsDesktop ActivityGamePlatforms = 1 ActivityGamePlatformsXbox ActivityGamePlatforms = 2 ActivityGamePlatformsSamsung ActivityGamePlatforms = 4 ActivityGamePlatformsIOS ActivityGamePlatforms = 8 ActivityGamePlatformsAndroid ActivityGamePlatforms = 16 ActivityGamePlatformsEmbedded ActivityGamePlatforms = 32 ActivityGamePlatformsPS4 ActivityGamePlatforms = 64 ActivityGamePlatformsPS5 ActivityGamePlatforms = 128 )
type ActivityInvite ¶
type ActivityInvite struct {
// contains filtered or unexported fields
}
func NewActivityInvite ¶
func NewActivityInvite() *ActivityInvite
func (*ActivityInvite) ApplicationId ¶
func (self *ActivityInvite) ApplicationId() uint64
func (*ActivityInvite) ChannelId ¶
func (self *ActivityInvite) ChannelId() uint64
func (*ActivityInvite) Clone ¶
func (self *ActivityInvite) Clone(Rhs *ActivityInvite)
func (*ActivityInvite) Drop ¶
func (self *ActivityInvite) Drop()
func (*ActivityInvite) Init ¶
func (self *ActivityInvite) Init()
func (*ActivityInvite) IsValid ¶
func (self *ActivityInvite) IsValid() bool
func (*ActivityInvite) MessageId ¶
func (self *ActivityInvite) MessageId() uint64
func (*ActivityInvite) ParentApplicationId ¶
func (self *ActivityInvite) ParentApplicationId() uint64
func (*ActivityInvite) PartyId ¶
func (self *ActivityInvite) PartyId() string
func (*ActivityInvite) SenderId ¶
func (self *ActivityInvite) SenderId() uint64
func (*ActivityInvite) SessionId ¶
func (self *ActivityInvite) SessionId() string
func (*ActivityInvite) SetApplicationId ¶
func (self *ActivityInvite) SetApplicationId(Value uint64)
func (*ActivityInvite) SetChannelId ¶
func (self *ActivityInvite) SetChannelId(Value uint64)
func (*ActivityInvite) SetIsValid ¶
func (self *ActivityInvite) SetIsValid(Value bool)
func (*ActivityInvite) SetMessageId ¶
func (self *ActivityInvite) SetMessageId(Value uint64)
func (*ActivityInvite) SetParentApplicationId ¶
func (self *ActivityInvite) SetParentApplicationId(Value uint64)
func (*ActivityInvite) SetPartyId ¶
func (self *ActivityInvite) SetPartyId(Value string)
func (*ActivityInvite) SetSenderId ¶
func (self *ActivityInvite) SetSenderId(Value uint64)
func (*ActivityInvite) SetSessionId ¶
func (self *ActivityInvite) SetSessionId(Value string)
func (*ActivityInvite) SetType ¶
func (self *ActivityInvite) SetType(Value ActivityActionTypes)
func (*ActivityInvite) Type ¶
func (self *ActivityInvite) Type() ActivityActionTypes
type ActivityParty ¶
type ActivityParty struct {
// contains filtered or unexported fields
}
func NewActivityParty ¶
func NewActivityParty() *ActivityParty
func (*ActivityParty) Clone ¶
func (self *ActivityParty) Clone(Arg0 *ActivityParty)
func (*ActivityParty) CurrentSize ¶
func (self *ActivityParty) CurrentSize() int32
func (*ActivityParty) Drop ¶
func (self *ActivityParty) Drop()
func (*ActivityParty) Id ¶
func (self *ActivityParty) Id() string
func (*ActivityParty) Init ¶
func (self *ActivityParty) Init()
func (*ActivityParty) MaxSize ¶
func (self *ActivityParty) MaxSize() int32
func (*ActivityParty) Privacy ¶
func (self *ActivityParty) Privacy() ActivityPartyPrivacy
func (*ActivityParty) SetCurrentSize ¶
func (self *ActivityParty) SetCurrentSize(Value int32)
func (*ActivityParty) SetId ¶
func (self *ActivityParty) SetId(Value string)
func (*ActivityParty) SetMaxSize ¶
func (self *ActivityParty) SetMaxSize(Value int32)
func (*ActivityParty) SetPrivacy ¶
func (self *ActivityParty) SetPrivacy(Value ActivityPartyPrivacy)
type ActivityPartyPrivacy ¶
type ActivityPartyPrivacy int32
const ( ActivityPartyPrivacyPrivate ActivityPartyPrivacy = 0 ActivityPartyPrivacyPublic ActivityPartyPrivacy = 1 )
type ActivitySecrets ¶
type ActivitySecrets struct {
// contains filtered or unexported fields
}
func NewActivitySecrets ¶
func NewActivitySecrets() *ActivitySecrets
func (*ActivitySecrets) Clone ¶
func (self *ActivitySecrets) Clone(Arg0 *ActivitySecrets)
func (*ActivitySecrets) Drop ¶
func (self *ActivitySecrets) Drop()
func (*ActivitySecrets) Init ¶
func (self *ActivitySecrets) Init()
func (*ActivitySecrets) Join ¶
func (self *ActivitySecrets) Join() string
func (*ActivitySecrets) SetJoin ¶
func (self *ActivitySecrets) SetJoin(Value string)
type ActivityTimestamps ¶
type ActivityTimestamps struct {
// contains filtered or unexported fields
}
func NewActivityTimestamps ¶
func NewActivityTimestamps() *ActivityTimestamps
func (*ActivityTimestamps) Clone ¶
func (self *ActivityTimestamps) Clone(Arg0 *ActivityTimestamps)
func (*ActivityTimestamps) Drop ¶
func (self *ActivityTimestamps) Drop()
func (*ActivityTimestamps) End ¶
func (self *ActivityTimestamps) End() uint64
func (*ActivityTimestamps) Init ¶
func (self *ActivityTimestamps) Init()
func (*ActivityTimestamps) SetEnd ¶
func (self *ActivityTimestamps) SetEnd(Value uint64)
func (*ActivityTimestamps) SetStart ¶
func (self *ActivityTimestamps) SetStart(Value uint64)
func (*ActivityTimestamps) Start ¶
func (self *ActivityTimestamps) Start() uint64
type ActivityTypes ¶
type ActivityTypes int32
const ( ActivityTypesPlaying ActivityTypes = 0 ActivityTypesStreaming ActivityTypes = 1 ActivityTypesListening ActivityTypes = 2 ActivityTypesWatching ActivityTypes = 3 ActivityTypesCustomStatus ActivityTypes = 4 ActivityTypesCompeting ActivityTypes = 5 ActivityTypesHangStatus ActivityTypes = 6 )
type AdditionalContent ¶
type AdditionalContent struct {
// contains filtered or unexported fields
}
func NewAdditionalContent ¶
func NewAdditionalContent() *AdditionalContent
func (*AdditionalContent) Clone ¶
func (self *AdditionalContent) Clone(Arg0 *AdditionalContent)
func (*AdditionalContent) Count ¶
func (self *AdditionalContent) Count() uint8
func (*AdditionalContent) Drop ¶
func (self *AdditionalContent) Drop()
func (*AdditionalContent) Equals ¶
func (self *AdditionalContent) Equals(Rhs *AdditionalContent) bool
func (*AdditionalContent) Init ¶
func (self *AdditionalContent) Init()
func (*AdditionalContent) SetCount ¶
func (self *AdditionalContent) SetCount(Value uint8)
func (*AdditionalContent) SetTitle ¶
func (self *AdditionalContent) SetTitle(Value string)
func (*AdditionalContent) SetType ¶
func (self *AdditionalContent) SetType(Value AdditionalContentType)
func (*AdditionalContent) Title ¶
func (self *AdditionalContent) Title() (string, bool)
func (*AdditionalContent) Type ¶
func (self *AdditionalContent) Type() AdditionalContentType
type AdditionalContentType ¶
type AdditionalContentType int32
const ( AdditionalContentTypeOther AdditionalContentType = 0 AdditionalContentTypeAttachment AdditionalContentType = 1 AdditionalContentTypePoll AdditionalContentType = 2 AdditionalContentTypeVoiceMessage AdditionalContentType = 3 AdditionalContentTypeThread AdditionalContentType = 4 AdditionalContentTypeEmbed AdditionalContentType = 5 AdditionalContentTypeSticker AdditionalContentType = 6 )
type AudioDevice ¶
type AudioDevice struct {
// contains filtered or unexported fields
}
func AudioDeviceSpanToSlice ¶
func AudioDeviceSpanToSlice(s AudioDeviceSpan) []AudioDevice
func (*AudioDevice) Clone ¶
func (self *AudioDevice) Clone(Arg0 *AudioDevice)
func (*AudioDevice) Drop ¶
func (self *AudioDevice) Drop()
func (*AudioDevice) Equals ¶
func (self *AudioDevice) Equals(Rhs *AudioDevice) bool
func (*AudioDevice) Id ¶
func (self *AudioDevice) Id() string
func (*AudioDevice) IsDefault ¶
func (self *AudioDevice) IsDefault() bool
func (*AudioDevice) Name ¶
func (self *AudioDevice) Name() string
func (*AudioDevice) SetId ¶
func (self *AudioDevice) SetId(Value string)
func (*AudioDevice) SetIsDefault ¶
func (self *AudioDevice) SetIsDefault(Value bool)
func (*AudioDevice) SetName ¶
func (self *AudioDevice) SetName(Value string)
type AudioDeviceSpan ¶
type AudioDeviceSpan struct {
// contains filtered or unexported fields
}
type AudioModeType ¶
type AudioModeType int32
const ( AudioModeTypeMODEUNINIT AudioModeType = 0 AudioModeTypeMODEVAD AudioModeType = 1 AudioModeTypeMODEPTT AudioModeType = 2 )
type AudioSystem ¶
type AudioSystem int32
const ( AudioSystemStandard AudioSystem = 0 AudioSystemGame AudioSystem = 1 )
type AuthenticationCodeChallengeMethod ¶
type AuthenticationCodeChallengeMethod int32
const (
AuthenticationCodeChallengeMethodS256 AuthenticationCodeChallengeMethod = 0
)
type AuthenticationExternalAuthType ¶
type AuthenticationExternalAuthType int32
const ( AuthenticationExternalAuthTypeOIDC AuthenticationExternalAuthType = 0 AuthenticationExternalAuthTypeEpicOnlineServicesAccessToken AuthenticationExternalAuthType = 1 AuthenticationExternalAuthTypeEpicOnlineServicesIdToken AuthenticationExternalAuthType = 2 AuthenticationExternalAuthTypeSteamSessionTicket AuthenticationExternalAuthType = 3 AuthenticationExternalAuthTypeUnityServicesIdToken AuthenticationExternalAuthType = 4 AuthenticationExternalAuthTypeDiscordBotIssuedAccessToken AuthenticationExternalAuthType = 5 AuthenticationExternalAuthTypeAppleIdToken AuthenticationExternalAuthType = 6 AuthenticationExternalAuthTypePlayStationNetworkIdToken AuthenticationExternalAuthType = 7 )
type AuthorizationArgs ¶
type AuthorizationArgs struct {
// contains filtered or unexported fields
}
func NewAuthorizationArgs ¶
func NewAuthorizationArgs() *AuthorizationArgs
func (*AuthorizationArgs) ClientId ¶
func (self *AuthorizationArgs) ClientId() uint64
func (*AuthorizationArgs) Clone ¶
func (self *AuthorizationArgs) Clone(Arg0 *AuthorizationArgs)
func (*AuthorizationArgs) CodeChallenge ¶
func (self *AuthorizationArgs) CodeChallenge() (AuthorizationCodeChallenge, bool)
func (*AuthorizationArgs) CustomSchemeParam ¶
func (self *AuthorizationArgs) CustomSchemeParam() (string, bool)
func (*AuthorizationArgs) Drop ¶
func (self *AuthorizationArgs) Drop()
func (*AuthorizationArgs) Init ¶
func (self *AuthorizationArgs) Init()
func (*AuthorizationArgs) IntegrationType ¶
func (self *AuthorizationArgs) IntegrationType() (IntegrationType, bool)
func (*AuthorizationArgs) Nonce ¶
func (self *AuthorizationArgs) Nonce() (string, bool)
func (*AuthorizationArgs) Scopes ¶
func (self *AuthorizationArgs) Scopes() string
func (*AuthorizationArgs) SetClientId ¶
func (self *AuthorizationArgs) SetClientId(Value uint64)
func (*AuthorizationArgs) SetCodeChallenge ¶
func (self *AuthorizationArgs) SetCodeChallenge(Value *AuthorizationCodeChallenge)
func (*AuthorizationArgs) SetCustomSchemeParam ¶
func (self *AuthorizationArgs) SetCustomSchemeParam(Value string)
func (*AuthorizationArgs) SetIntegrationType ¶
func (self *AuthorizationArgs) SetIntegrationType(Value *IntegrationType)
func (*AuthorizationArgs) SetNonce ¶
func (self *AuthorizationArgs) SetNonce(Value string)
func (*AuthorizationArgs) SetScopes ¶
func (self *AuthorizationArgs) SetScopes(Value string)
func (*AuthorizationArgs) SetState ¶
func (self *AuthorizationArgs) SetState(Value string)
func (*AuthorizationArgs) State ¶
func (self *AuthorizationArgs) State() (string, bool)
type AuthorizationCodeChallenge ¶
type AuthorizationCodeChallenge struct {
// contains filtered or unexported fields
}
func NewAuthorizationCodeChallenge ¶
func NewAuthorizationCodeChallenge() *AuthorizationCodeChallenge
func (*AuthorizationCodeChallenge) Challenge ¶
func (self *AuthorizationCodeChallenge) Challenge() string
func (*AuthorizationCodeChallenge) Clone ¶
func (self *AuthorizationCodeChallenge) Clone(Arg0 *AuthorizationCodeChallenge)
func (*AuthorizationCodeChallenge) Drop ¶
func (self *AuthorizationCodeChallenge) Drop()
func (*AuthorizationCodeChallenge) Init ¶
func (self *AuthorizationCodeChallenge) Init()
func (*AuthorizationCodeChallenge) Method ¶
func (self *AuthorizationCodeChallenge) Method() AuthenticationCodeChallengeMethod
func (*AuthorizationCodeChallenge) SetChallenge ¶
func (self *AuthorizationCodeChallenge) SetChallenge(Value string)
func (*AuthorizationCodeChallenge) SetMethod ¶
func (self *AuthorizationCodeChallenge) SetMethod(Value AuthenticationCodeChallengeMethod)
type AuthorizationCodeVerifier ¶
type AuthorizationCodeVerifier struct {
// contains filtered or unexported fields
}
func (*AuthorizationCodeVerifier) Challenge ¶
func (self *AuthorizationCodeVerifier) Challenge() AuthorizationCodeChallenge
func (*AuthorizationCodeVerifier) Clone ¶
func (self *AuthorizationCodeVerifier) Clone(Arg0 *AuthorizationCodeVerifier)
func (*AuthorizationCodeVerifier) Drop ¶
func (self *AuthorizationCodeVerifier) Drop()
func (*AuthorizationCodeVerifier) SetChallenge ¶
func (self *AuthorizationCodeVerifier) SetChallenge(Value *AuthorizationCodeChallenge)
func (*AuthorizationCodeVerifier) SetVerifier ¶
func (self *AuthorizationCodeVerifier) SetVerifier(Value string)
func (*AuthorizationCodeVerifier) Verifier ¶
func (self *AuthorizationCodeVerifier) Verifier() string
type AuthorizationTokenType ¶
type AuthorizationTokenType int32
const ( AuthorizationTokenTypeUser AuthorizationTokenType = 0 AuthorizationTokenTypeBearer AuthorizationTokenType = 1 )
type Call ¶
type Call struct {
// contains filtered or unexported fields
}
func CallSpanToSlice ¶
func (*Call) GetAudioMode ¶
func (self *Call) GetAudioMode() AudioModeType
func (*Call) GetChannelId ¶
func (*Call) GetGuildId ¶
func (*Call) GetLocalMute ¶
func (*Call) GetPTTActive ¶
func (*Call) GetPTTReleaseDelay ¶
func (*Call) GetParticipantVolume ¶
func (*Call) GetParticipants ¶
func (*Call) GetSelfDeaf ¶
func (*Call) GetSelfMute ¶
func (*Call) GetStatus ¶
func (self *Call) GetStatus() CallStatus
func (*Call) GetVADThreshold ¶
func (self *Call) GetVADThreshold() VADThresholdSettings
func (*Call) GetVoiceStateHandle ¶
func (self *Call) GetVoiceStateHandle(UserId uint64) (VoiceStateHandle, bool)
func (*Call) SetAudioMode ¶
func (self *Call) SetAudioMode(AudioMode AudioModeType)
func (*Call) SetLocalMute ¶
func (*Call) SetOnVoiceStateChangedCallback ¶
func (self *Call) SetOnVoiceStateChangedCallback(Cb CallOnVoiceStateChanged)
func (*Call) SetPTTActive ¶
func (*Call) SetPTTReleaseDelay ¶
func (*Call) SetParticipantChangedCallback ¶
func (self *Call) SetParticipantChangedCallback(Cb CallOnParticipantChanged)
func (*Call) SetParticipantVolume ¶
func (*Call) SetSelfDeaf ¶
func (*Call) SetSelfMute ¶
func (*Call) SetSpeakingStatusChangedCallback ¶
func (self *Call) SetSpeakingStatusChangedCallback(Cb CallOnSpeakingStatusChanged)
func (*Call) SetStatusChangedCallback ¶
func (self *Call) SetStatusChangedCallback(Cb CallOnStatusChanged)
func (*Call) SetVADThreshold ¶
type CallInfoHandle ¶
type CallInfoHandle struct {
// contains filtered or unexported fields
}
func (*CallInfoHandle) ChannelId ¶
func (self *CallInfoHandle) ChannelId() uint64
func (*CallInfoHandle) Clone ¶
func (self *CallInfoHandle) Clone(Other *CallInfoHandle)
func (*CallInfoHandle) Drop ¶
func (self *CallInfoHandle) Drop()
func (*CallInfoHandle) GetParticipants ¶
func (self *CallInfoHandle) GetParticipants() []uint64
func (*CallInfoHandle) GetVoiceStateHandle ¶
func (self *CallInfoHandle) GetVoiceStateHandle(UserId uint64) (VoiceStateHandle, bool)
func (*CallInfoHandle) GuildId ¶
func (self *CallInfoHandle) GuildId() uint64
type CallOnStatusChanged ¶
type CallOnStatusChanged func(Status CallStatus, Error CallError, ErrorDetail int32)
type CallOnVoiceStateChanged ¶
type CallOnVoiceStateChanged func(UserId uint64)
type CallStatus ¶
type CallStatus int32
const ( CallStatusDisconnected CallStatus = 0 CallStatusJoining CallStatus = 1 CallStatusConnecting CallStatus = 2 CallStatusSignalingConnected CallStatus = 3 CallStatusConnected CallStatus = 4 CallStatusReconnecting CallStatus = 5 CallStatusDisconnecting CallStatus = 6 )
type ChannelHandle ¶
type ChannelHandle struct {
// contains filtered or unexported fields
}
func (*ChannelHandle) Clone ¶
func (self *ChannelHandle) Clone(Other *ChannelHandle)
func (*ChannelHandle) Drop ¶
func (self *ChannelHandle) Drop()
func (*ChannelHandle) Id ¶
func (self *ChannelHandle) Id() uint64
func (*ChannelHandle) Name ¶
func (self *ChannelHandle) Name() string
func (*ChannelHandle) Recipients ¶
func (self *ChannelHandle) Recipients() []uint64
func (*ChannelHandle) Type ¶
func (self *ChannelHandle) Type() ChannelType
type ChannelType ¶
type ChannelType int32
const ( ChannelTypeGuildText ChannelType = 0 ChannelTypeDm ChannelType = 1 ChannelTypeGuildVoice ChannelType = 2 ChannelTypeGroupDm ChannelType = 3 ChannelTypeGuildCategory ChannelType = 4 ChannelTypeGuildNews ChannelType = 5 ChannelTypeGuildStore ChannelType = 6 ChannelTypeGuildNewsThread ChannelType = 10 ChannelTypeGuildPublicThread ChannelType = 11 ChannelTypeGuildPrivateThread ChannelType = 12 ChannelTypeGuildStageVoice ChannelType = 13 ChannelTypeGuildDirectory ChannelType = 14 ChannelTypeGuildForum ChannelType = 15 ChannelTypeGuildMedia ChannelType = 16 ChannelTypeLobby ChannelType = 17 ChannelTypeEphemeralDm ChannelType = 18 )
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AbortAuthorize ¶
func (self *Client) AbortAuthorize()
func (*Client) AbortGetTokenFromDevice ¶
func (self *Client) AbortGetTokenFromDevice()
func (*Client) AcceptActivityInvite ¶
func (self *Client) AcceptActivityInvite(Invite *ActivityInvite, Cb ClientAcceptActivityInviteCallback)
func (*Client) AcceptDiscordFriendRequest ¶
func (self *Client) AcceptDiscordFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) AcceptGameFriendRequest ¶
func (self *Client) AcceptGameFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) AddLogCallback ¶
func (self *Client) AddLogCallback(Callback ClientLogCallback, MinSeverity LoggingSeverity)
func (*Client) AddVoiceLogCallback ¶
func (self *Client) AddVoiceLogCallback(Callback ClientLogCallback, MinSeverity LoggingSeverity)
func (*Client) Authorize ¶
func (self *Client) Authorize(Args *AuthorizationArgs, Callback ClientAuthorizationCallback)
func (*Client) BlockUser ¶
func (self *Client) BlockUser(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) CanOpenMessageInDiscord ¶
func (*Client) CancelDiscordFriendRequest ¶
func (self *Client) CancelDiscordFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) CancelGameFriendRequest ¶
func (self *Client) CancelGameFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) ClearRichPresence ¶
func (self *Client) ClearRichPresence()
func (*Client) CloseAuthorizeDeviceScreen ¶
func (self *Client) CloseAuthorizeDeviceScreen()
func (*Client) CreateAuthorizationCodeVerifier ¶
func (self *Client) CreateAuthorizationCodeVerifier() AuthorizationCodeVerifier
func (*Client) CreateOrJoinLobby ¶
func (self *Client) CreateOrJoinLobby(Secret string, Callback ClientCreateOrJoinLobbyCallback)
func (*Client) CreateOrJoinLobbyWithMetadata ¶
func (self *Client) CreateOrJoinLobbyWithMetadata(Secret string, LobbyMetadata Properties, MemberMetadata Properties, Callback ClientCreateOrJoinLobbyCallback)
func (*Client) DeleteUserMessage ¶
func (self *Client) DeleteUserMessage(RecipientId uint64, MessageId uint64, Cb ClientDeleteUserMessageCallback)
func (*Client) Disconnect ¶
func (self *Client) Disconnect()
func (*Client) EditUserMessage ¶
func (self *Client) EditUserMessage(RecipientId uint64, MessageId uint64, Content string, Cb ClientEditUserMessageCallback)
func (*Client) EndCall ¶
func (self *Client) EndCall(ChannelId uint64, Callback ClientEndCallCallback)
func (*Client) EndCalls ¶
func (self *Client) EndCalls(Callback ClientEndCallsCallback)
func (*Client) ExchangeChildToken ¶
func (self *Client) ExchangeChildToken(ParentApplicationToken string, ChildApplicationId uint64, Callback ClientExchangeChildTokenCallback)
func (*Client) FetchCurrentUser ¶
func (self *Client) FetchCurrentUser(TokenType AuthorizationTokenType, Token string, Callback ClientFetchCurrentUserCallback)
func (*Client) GetApplicationId ¶
func (*Client) GetChannelHandle ¶
func (self *Client) GetChannelHandle(ChannelId uint64) (ChannelHandle, bool)
func (*Client) GetCurrentInputDevice ¶
func (self *Client) GetCurrentInputDevice(Cb ClientGetCurrentInputDeviceCallback)
func (*Client) GetCurrentOutputDevice ¶
func (self *Client) GetCurrentOutputDevice(Cb ClientGetCurrentOutputDeviceCallback)
func (*Client) GetCurrentUser ¶
func (self *Client) GetCurrentUser() UserHandle
func (*Client) GetCurrentUserV2 ¶
func (self *Client) GetCurrentUserV2() (UserHandle, bool)
func (*Client) GetDiscordClientConnectedUser ¶
func (self *Client) GetDiscordClientConnectedUser(ApplicationId uint64, Callback ClientGetDiscordClientConnectedUserCallback)
func (*Client) GetGuildChannels ¶
func (self *Client) GetGuildChannels(GuildId uint64, Cb ClientGetGuildChannelsCallback)
func (*Client) GetInputDevices ¶
func (self *Client) GetInputDevices(Cb ClientGetInputDevicesCallback)
func (*Client) GetInputVolume ¶
func (*Client) GetLobbyHandle ¶
func (self *Client) GetLobbyHandle(LobbyId uint64) (LobbyHandle, bool)
func (*Client) GetLobbyIds ¶
func (*Client) GetLobbyMessagesWithLimit ¶
func (self *Client) GetLobbyMessagesWithLimit(LobbyId uint64, Limit int32, Cb ClientGetLobbyMessagesCallback)
func (*Client) GetMessageHandle ¶
func (self *Client) GetMessageHandle(MessageId uint64) (MessageHandle, bool)
func (*Client) GetOutputDevices ¶
func (self *Client) GetOutputDevices(Cb ClientGetOutputDevicesCallback)
func (*Client) GetOutputVolume ¶
func (*Client) GetProvisionalToken ¶
func (self *Client) GetProvisionalToken(ApplicationId uint64, ExternalAuthType AuthenticationExternalAuthType, ExternalAuthToken string, Callback ClientTokenExchangeCallback)
func (*Client) GetRelationshipHandle ¶
func (self *Client) GetRelationshipHandle(UserId uint64) RelationshipHandle
func (*Client) GetRelationships ¶
func (self *Client) GetRelationships() []RelationshipHandle
func (*Client) GetRelationshipsByGroup ¶
func (self *Client) GetRelationshipsByGroup(GroupType RelationshipGroupType) []RelationshipHandle
func (*Client) GetSelfDeafAll ¶
func (*Client) GetSelfMuteAll ¶
func (*Client) GetStatus ¶
func (self *Client) GetStatus() ClientStatus
func (*Client) GetTokenFromDevice ¶
func (self *Client) GetTokenFromDevice(Args *DeviceAuthorizationArgs, Callback ClientTokenExchangeCallback)
func (*Client) GetTokenFromDeviceProvisionalMerge ¶
func (self *Client) GetTokenFromDeviceProvisionalMerge(Args *DeviceAuthorizationArgs, ExternalAuthType AuthenticationExternalAuthType, ExternalAuthToken string, Callback ClientTokenExchangeCallback)
func (*Client) GetTokenFromProvisionalMerge ¶
func (self *Client) GetTokenFromProvisionalMerge(ApplicationId uint64, Code string, CodeVerifier string, RedirectUri string, ExternalAuthType AuthenticationExternalAuthType, ExternalAuthToken string, Callback ClientTokenExchangeCallback)
func (*Client) GetUserGuilds ¶
func (self *Client) GetUserGuilds(Cb ClientGetUserGuildsCallback)
func (*Client) GetUserMessageSummaries ¶
func (self *Client) GetUserMessageSummaries(Cb ClientUserMessageSummariesCallback)
func (*Client) GetUserMessagesWithLimit ¶
func (self *Client) GetUserMessagesWithLimit(RecipientId uint64, Limit int32, Cb ClientUserMessagesWithLimitCallback)
func (*Client) InitWithBases ¶
func (*Client) InitWithOptions ¶
func (self *Client) InitWithOptions(Options *ClientCreateOptions)
func (*Client) IsAuthenticated ¶
func (*Client) IsDiscordAppInstalled ¶
func (self *Client) IsDiscordAppInstalled(Callback ClientIsDiscordAppInstalledCallback)
func (*Client) JoinLinkedLobbyGuild ¶
func (self *Client) JoinLinkedLobbyGuild(LobbyId uint64, ProvisionalUserMergeRequiredCallback ClientProvisionalUserMergeRequiredCallback, Callback ClientJoinLinkedLobbyGuildCallback)
func (*Client) LeaveLobby ¶
func (self *Client) LeaveLobby(LobbyId uint64, Callback ClientLeaveLobbyCallback)
func (*Client) LinkChannelToLobby ¶
func (self *Client) LinkChannelToLobby(LobbyId uint64, ChannelId uint64, Callback ClientLinkOrUnlinkChannelCallback)
func (*Client) OpenAuthorizeDeviceScreen ¶
func (*Client) OpenConnectedGamesSettingsInDiscord ¶
func (self *Client) OpenConnectedGamesSettingsInDiscord(Callback ClientOpenConnectedGamesSettingsInDiscordCallback)
func (*Client) OpenMessageInDiscord ¶
func (self *Client) OpenMessageInDiscord(MessageId uint64, ProvisionalUserMergeRequiredCallback ClientProvisionalUserMergeRequiredCallback, Callback ClientOpenMessageInDiscordCallback)
func (*Client) ProvisionalUserMergeCompleted ¶
func (*Client) RefreshToken ¶
func (self *Client) RefreshToken(ApplicationId uint64, RefreshToken string, Callback ClientTokenExchangeCallback)
func (*Client) RegisterAuthorizeRequestCallback ¶
func (self *Client) RegisterAuthorizeRequestCallback(Callback ClientAuthorizeRequestCallback)
func (*Client) RegisterLaunchCommand ¶
func (*Client) RegisterLaunchSteamApplication ¶
func (*Client) RejectDiscordFriendRequest ¶
func (self *Client) RejectDiscordFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) RejectGameFriendRequest ¶
func (self *Client) RejectGameFriendRequest(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) RemoveAuthorizeRequestCallback ¶
func (self *Client) RemoveAuthorizeRequestCallback()
func (*Client) RemoveDiscordAndGameFriend ¶
func (self *Client) RemoveDiscordAndGameFriend(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) RemoveGameFriend ¶
func (self *Client) RemoveGameFriend(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) RevokeToken ¶
func (self *Client) RevokeToken(ApplicationId uint64, Token string, Callback ClientRevokeTokenCallback)
func (*Client) SearchFriendsByUsername ¶
func (self *Client) SearchFriendsByUsername(SearchStr string) []UserHandle
func (*Client) SendActivityInvite ¶
func (self *Client) SendActivityInvite(UserId uint64, Content string, Cb ClientSendActivityInviteCallback)
func (*Client) SendActivityJoinRequest ¶
func (self *Client) SendActivityJoinRequest(UserId uint64, Cb ClientSendActivityInviteCallback)
func (*Client) SendActivityJoinRequestReply ¶
func (self *Client) SendActivityJoinRequestReply(Invite *ActivityInvite, Cb ClientSendActivityInviteCallback)
func (*Client) SendDiscordFriendRequest ¶
func (self *Client) SendDiscordFriendRequest(Username string, Cb ClientSendFriendRequestCallback)
func (*Client) SendDiscordFriendRequestById ¶
func (self *Client) SendDiscordFriendRequestById(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) SendGameFriendRequest ¶
func (self *Client) SendGameFriendRequest(Username string, Cb ClientSendFriendRequestCallback)
func (*Client) SendGameFriendRequestById ¶
func (self *Client) SendGameFriendRequestById(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) SendLobbyMessage ¶
func (self *Client) SendLobbyMessage(LobbyId uint64, Content string, Cb ClientSendUserMessageCallback)
func (*Client) SendLobbyMessageWithMetadata ¶
func (self *Client) SendLobbyMessageWithMetadata(LobbyId uint64, Content string, Metadata Properties, Cb ClientSendUserMessageCallback)
func (*Client) SendUserMessage ¶
func (self *Client) SendUserMessage(RecipientId uint64, Content string, Cb ClientSendUserMessageCallback)
func (*Client) SendUserMessageWithMetadata ¶
func (self *Client) SendUserMessageWithMetadata(RecipientId uint64, Content string, Metadata Properties, Cb ClientSendUserMessageCallback)
func (*Client) SetActivityInviteCreatedCallback ¶
func (self *Client) SetActivityInviteCreatedCallback(Cb ClientActivityInviteCallback)
func (*Client) SetActivityInviteUpdatedCallback ¶
func (self *Client) SetActivityInviteUpdatedCallback(Cb ClientActivityInviteCallback)
func (*Client) SetActivityJoinCallback ¶
func (self *Client) SetActivityJoinCallback(Cb ClientActivityJoinCallback)
func (*Client) SetActivityJoinWithApplicationCallback ¶
func (self *Client) SetActivityJoinWithApplicationCallback(Cb ClientActivityJoinWithApplicationCallback)
func (*Client) SetAecDump ¶
func (*Client) SetApplicationId ¶
func (*Client) SetAuthorizeDeviceScreenClosedCallback ¶
func (self *Client) SetAuthorizeDeviceScreenClosedCallback(Cb ClientAuthorizeDeviceScreenClosedCallback)
func (*Client) SetAutomaticGainControl ¶
func (*Client) SetDeviceChangeCallback ¶
func (self *Client) SetDeviceChangeCallback(Callback ClientDeviceChangeCallback)
func (*Client) SetEchoCancellation ¶
func (*Client) SetEngineManagedAudioSession ¶
func (*Client) SetGameWindowPid ¶
func (*Client) SetHttpRequestTimeout ¶
func (*Client) SetInputDevice ¶
func (self *Client) SetInputDevice(DeviceId string, Cb ClientSetInputDeviceCallback)
func (*Client) SetInputVolume ¶
func (*Client) SetLobbyCreatedCallback ¶
func (self *Client) SetLobbyCreatedCallback(Cb ClientLobbyCreatedCallback)
func (*Client) SetLobbyDeletedCallback ¶
func (self *Client) SetLobbyDeletedCallback(Cb ClientLobbyDeletedCallback)
func (*Client) SetLobbyMemberAddedCallback ¶
func (self *Client) SetLobbyMemberAddedCallback(Cb ClientLobbyMemberAddedCallback)
func (*Client) SetLobbyMemberRemovedCallback ¶
func (self *Client) SetLobbyMemberRemovedCallback(Cb ClientLobbyMemberRemovedCallback)
func (*Client) SetLobbyMemberUpdatedCallback ¶
func (self *Client) SetLobbyMemberUpdatedCallback(Cb ClientLobbyMemberUpdatedCallback)
func (*Client) SetLobbyUpdatedCallback ¶
func (self *Client) SetLobbyUpdatedCallback(Cb ClientLobbyUpdatedCallback)
func (*Client) SetLogDir ¶
func (self *Client) SetLogDir(Path string, MinSeverity LoggingSeverity) bool
func (*Client) SetMessageCreatedCallback ¶
func (self *Client) SetMessageCreatedCallback(Cb ClientMessageCreatedCallback)
func (*Client) SetMessageDeletedCallback ¶
func (self *Client) SetMessageDeletedCallback(Cb ClientMessageDeletedCallback)
func (*Client) SetMessageUpdatedCallback ¶
func (self *Client) SetMessageUpdatedCallback(Cb ClientMessageUpdatedCallback)
func (*Client) SetNoAudioInputCallback ¶
func (self *Client) SetNoAudioInputCallback(Callback ClientNoAudioInputCallback)
func (*Client) SetNoAudioInputThreshold ¶
func (*Client) SetNoiseCancellation ¶
func (*Client) SetNoiseSuppression ¶
func (*Client) SetOnlineStatus ¶
func (self *Client) SetOnlineStatus(Status StatusType, Callback ClientUpdateStatusCallback)
func (*Client) SetOpusHardwareCoding ¶
func (*Client) SetOutputDevice ¶
func (self *Client) SetOutputDevice(DeviceId string, Cb ClientSetOutputDeviceCallback)
func (*Client) SetOutputVolume ¶
func (*Client) SetRelationshipCreatedCallback ¶
func (self *Client) SetRelationshipCreatedCallback(Cb ClientRelationshipCreatedCallback)
func (*Client) SetRelationshipDeletedCallback ¶
func (self *Client) SetRelationshipDeletedCallback(Cb ClientRelationshipDeletedCallback)
func (*Client) SetRelationshipGroupsUpdatedCallback ¶
func (self *Client) SetRelationshipGroupsUpdatedCallback(Cb ClientRelationshipGroupsUpdatedCallback)
func (*Client) SetSelfDeafAll ¶
func (*Client) SetSelfMuteAll ¶
func (*Client) SetShowingChat ¶
func (*Client) SetSpeakerMode ¶
func (*Client) SetStatusChangedCallback ¶
func (self *Client) SetStatusChangedCallback(Cb ClientOnStatusChanged)
func (*Client) SetThreadPriority ¶
func (self *Client) SetThreadPriority(Thread ClientThread, Priority int32)
func (*Client) SetTokenExpirationCallback ¶
func (self *Client) SetTokenExpirationCallback(Callback ClientTokenExpirationCallback)
func (*Client) SetUserUpdatedCallback ¶
func (self *Client) SetUserUpdatedCallback(Cb ClientUserUpdatedCallback)
func (*Client) SetVoiceLogDir ¶
func (self *Client) SetVoiceLogDir(Path string, MinSeverity LoggingSeverity)
func (*Client) SetVoiceParticipantChangedCallback ¶
func (self *Client) SetVoiceParticipantChangedCallback(Cb ClientVoiceParticipantChangedCallback)
func (*Client) ShowAudioRoutePicker ¶
func (*Client) StartCallWithAudioCallbacks ¶
func (self *Client) StartCallWithAudioCallbacks(LobbyId uint64, ReceivedCb ClientUserAudioReceivedCallback, CapturedCb ClientUserAudioCapturedCallback) (Call, bool)
func (*Client) UnblockUser ¶
func (self *Client) UnblockUser(UserId uint64, Cb ClientUpdateRelationshipCallback)
func (*Client) UnlinkChannelFromLobby ¶
func (self *Client) UnlinkChannelFromLobby(LobbyId uint64, Callback ClientLinkOrUnlinkChannelCallback)
func (*Client) UnmergeIntoProvisionalAccount ¶
func (self *Client) UnmergeIntoProvisionalAccount(ApplicationId uint64, ExternalAuthType AuthenticationExternalAuthType, ExternalAuthToken string, Callback ClientUnmergeIntoProvisionalAccountCallback)
func (*Client) UpdateProvisionalAccountDisplayName ¶
func (self *Client) UpdateProvisionalAccountDisplayName(Name string, Callback ClientUpdateProvisionalAccountDisplayNameCallback)
func (*Client) UpdateRichPresence ¶
func (self *Client) UpdateRichPresence(Activity *Activity, Cb ClientUpdateRichPresenceCallback)
func (*Client) UpdateToken ¶
func (self *Client) UpdateToken(TokenType AuthorizationTokenType, Token string, Callback ClientUpdateTokenCallback)
type ClientAcceptActivityInviteCallback ¶
type ClientAcceptActivityInviteCallback func(Result *ClientResult, JoinSecret string)
type ClientActivityInviteCallback ¶
type ClientActivityInviteCallback func(Invite *ActivityInvite)
type ClientActivityJoinCallback ¶
type ClientActivityJoinCallback func(JoinSecret string)
type ClientAuthorizationCallback ¶
type ClientAuthorizationCallback func(Result *ClientResult, Code string, RedirectUri string)
type ClientAuthorizeDeviceScreenClosedCallback ¶
type ClientAuthorizeDeviceScreenClosedCallback func()
type ClientAuthorizeRequestCallback ¶
type ClientAuthorizeRequestCallback func()
type ClientCreateOptions ¶
type ClientCreateOptions struct {
// contains filtered or unexported fields
}
func NewClientCreateOptions ¶
func NewClientCreateOptions() *ClientCreateOptions
func (*ClientCreateOptions) ApiBase ¶
func (self *ClientCreateOptions) ApiBase() string
func (*ClientCreateOptions) Clone ¶
func (self *ClientCreateOptions) Clone(Arg0 *ClientCreateOptions)
func (*ClientCreateOptions) CpuAffinityMask ¶
func (self *ClientCreateOptions) CpuAffinityMask() (uint64, bool)
func (*ClientCreateOptions) Drop ¶
func (self *ClientCreateOptions) Drop()
func (*ClientCreateOptions) ExperimentalAndroidPreventCommsForBluetooth ¶
func (self *ClientCreateOptions) ExperimentalAndroidPreventCommsForBluetooth() bool
func (*ClientCreateOptions) ExperimentalAudioSystem ¶
func (self *ClientCreateOptions) ExperimentalAudioSystem() AudioSystem
func (*ClientCreateOptions) Init ¶
func (self *ClientCreateOptions) Init()
func (*ClientCreateOptions) SetApiBase ¶
func (self *ClientCreateOptions) SetApiBase(Value string)
func (*ClientCreateOptions) SetCpuAffinityMask ¶
func (self *ClientCreateOptions) SetCpuAffinityMask(Value *uint64)
func (*ClientCreateOptions) SetExperimentalAndroidPreventCommsForBluetooth ¶
func (self *ClientCreateOptions) SetExperimentalAndroidPreventCommsForBluetooth(Value bool)
func (*ClientCreateOptions) SetExperimentalAudioSystem ¶
func (self *ClientCreateOptions) SetExperimentalAudioSystem(Value AudioSystem)
func (*ClientCreateOptions) SetWebBase ¶
func (self *ClientCreateOptions) SetWebBase(Value string)
func (*ClientCreateOptions) WebBase ¶
func (self *ClientCreateOptions) WebBase() string
type ClientCreateOrJoinLobbyCallback ¶
type ClientCreateOrJoinLobbyCallback func(Result *ClientResult, LobbyId uint64)
type ClientDeleteUserMessageCallback ¶
type ClientDeleteUserMessageCallback func(Result *ClientResult)
type ClientDeviceChangeCallback ¶
type ClientDeviceChangeCallback func(InputDevices []AudioDevice, OutputDevices []AudioDevice)
type ClientEditUserMessageCallback ¶
type ClientEditUserMessageCallback func(Result *ClientResult)
type ClientEndCallCallback ¶
type ClientEndCallCallback func()
type ClientEndCallsCallback ¶
type ClientEndCallsCallback func()
type ClientError ¶
type ClientError int32
const ( ClientErrorNone ClientError = 0 ClientErrorConnectionFailed ClientError = 1 ClientErrorUnexpectedClose ClientError = 2 ClientErrorConnectionCanceled ClientError = 3 )
type ClientExchangeChildTokenCallback ¶
type ClientExchangeChildTokenCallback func(Result *ClientResult, AccessToken string, TokenType AuthorizationTokenType, ExpiresIn int32, Scopes string)
type ClientFetchCurrentUserCallback ¶
type ClientFetchCurrentUserCallback func(Result *ClientResult, Id uint64, Name string)
type ClientGetCurrentInputDeviceCallback ¶
type ClientGetCurrentInputDeviceCallback func(Device *AudioDevice)
type ClientGetCurrentOutputDeviceCallback ¶
type ClientGetCurrentOutputDeviceCallback func(Device *AudioDevice)
type ClientGetDiscordClientConnectedUserCallback ¶
type ClientGetDiscordClientConnectedUserCallback func(Result *ClientResult, User *UserHandle)
type ClientGetGuildChannelsCallback ¶
type ClientGetGuildChannelsCallback func(Result *ClientResult, GuildChannels []GuildChannel)
type ClientGetInputDevicesCallback ¶
type ClientGetInputDevicesCallback func(Devices []AudioDevice)
type ClientGetLobbyMessagesCallback ¶
type ClientGetLobbyMessagesCallback func(Result *ClientResult, Messages []MessageHandle)
type ClientGetOutputDevicesCallback ¶
type ClientGetOutputDevicesCallback func(Devices []AudioDevice)
type ClientGetUserGuildsCallback ¶
type ClientGetUserGuildsCallback func(Result *ClientResult, Guilds []GuildMinimal)
type ClientIsDiscordAppInstalledCallback ¶
type ClientIsDiscordAppInstalledCallback func(Installed bool)
type ClientJoinLinkedLobbyGuildCallback ¶
type ClientJoinLinkedLobbyGuildCallback func(Result *ClientResult, InviteUrl string)
type ClientLeaveLobbyCallback ¶
type ClientLeaveLobbyCallback func(Result *ClientResult)
type ClientLinkOrUnlinkChannelCallback ¶
type ClientLinkOrUnlinkChannelCallback func(Result *ClientResult)
type ClientLobbyCreatedCallback ¶
type ClientLobbyCreatedCallback func(LobbyId uint64)
type ClientLobbyDeletedCallback ¶
type ClientLobbyDeletedCallback func(LobbyId uint64)
type ClientLobbyUpdatedCallback ¶
type ClientLobbyUpdatedCallback func(LobbyId uint64)
type ClientLogCallback ¶
type ClientLogCallback func(Message string, Severity LoggingSeverity)
type ClientMessageCreatedCallback ¶
type ClientMessageCreatedCallback func(MessageId uint64)
type ClientMessageUpdatedCallback ¶
type ClientMessageUpdatedCallback func(MessageId uint64)
type ClientNoAudioInputCallback ¶
type ClientNoAudioInputCallback func(InputDetected bool)
type ClientOnStatusChanged ¶
type ClientOnStatusChanged func(Status ClientStatus, Error ClientError, ErrorDetail int32)
type ClientOpenConnectedGamesSettingsInDiscordCallback ¶
type ClientOpenConnectedGamesSettingsInDiscordCallback func(Result *ClientResult)
type ClientOpenMessageInDiscordCallback ¶
type ClientOpenMessageInDiscordCallback func(Result *ClientResult)
type ClientProvisionalUserMergeRequiredCallback ¶
type ClientProvisionalUserMergeRequiredCallback func()
type ClientRelationshipGroupsUpdatedCallback ¶
type ClientRelationshipGroupsUpdatedCallback func(UserId uint64)
type ClientResult ¶
type ClientResult struct {
// contains filtered or unexported fields
}
func (*ClientResult) Clone ¶
func (self *ClientResult) Clone(Arg0 *ClientResult)
func (*ClientResult) Drop ¶
func (self *ClientResult) Drop()
func (*ClientResult) Error ¶
func (self *ClientResult) Error() string
func (*ClientResult) ErrorCode ¶
func (self *ClientResult) ErrorCode() int32
func (*ClientResult) ResponseBody ¶
func (self *ClientResult) ResponseBody() string
func (*ClientResult) RetryAfter ¶
func (self *ClientResult) RetryAfter() float32
func (*ClientResult) Retryable ¶
func (self *ClientResult) Retryable() bool
func (*ClientResult) SetError ¶
func (self *ClientResult) SetError(Value string)
func (*ClientResult) SetErrorCode ¶
func (self *ClientResult) SetErrorCode(Value int32)
func (*ClientResult) SetResponseBody ¶
func (self *ClientResult) SetResponseBody(Value string)
func (*ClientResult) SetRetryAfter ¶
func (self *ClientResult) SetRetryAfter(Value float32)
func (*ClientResult) SetRetryable ¶
func (self *ClientResult) SetRetryable(Value bool)
func (*ClientResult) SetStatus ¶
func (self *ClientResult) SetStatus(Value HttpStatusCode)
func (*ClientResult) SetSuccessful ¶
func (self *ClientResult) SetSuccessful(Value bool)
func (*ClientResult) SetType ¶
func (self *ClientResult) SetType(Value ErrorType)
func (*ClientResult) Status ¶
func (self *ClientResult) Status() HttpStatusCode
func (*ClientResult) Successful ¶
func (self *ClientResult) Successful() bool
func (*ClientResult) ToString ¶
func (self *ClientResult) ToString() string
func (*ClientResult) Type ¶
func (self *ClientResult) Type() ErrorType
type ClientRevokeTokenCallback ¶
type ClientRevokeTokenCallback func(Result *ClientResult)
type ClientSendActivityInviteCallback ¶
type ClientSendActivityInviteCallback func(Result *ClientResult)
type ClientSendFriendRequestCallback ¶
type ClientSendFriendRequestCallback func(Result *ClientResult)
type ClientSendUserMessageCallback ¶
type ClientSendUserMessageCallback func(Result *ClientResult, MessageId uint64)
type ClientSetInputDeviceCallback ¶
type ClientSetInputDeviceCallback func(Result *ClientResult)
type ClientSetOutputDeviceCallback ¶
type ClientSetOutputDeviceCallback func(Result *ClientResult)
type ClientStatus ¶
type ClientStatus int32
const ( ClientStatusDisconnected ClientStatus = 0 ClientStatusConnecting ClientStatus = 1 ClientStatusConnected ClientStatus = 2 ClientStatusReady ClientStatus = 3 ClientStatusReconnecting ClientStatus = 4 ClientStatusDisconnecting ClientStatus = 5 ClientStatusHttpWait ClientStatus = 6 )
type ClientThread ¶
type ClientThread int32
const ( ClientThreadClient ClientThread = 0 ClientThreadVoice ClientThread = 1 ClientThreadNetwork ClientThread = 2 )
type ClientTokenExchangeCallback ¶
type ClientTokenExchangeCallback func(Result *ClientResult, AccessToken string, RefreshToken string, TokenType AuthorizationTokenType, ExpiresIn int32, Scopes string)
type ClientTokenExpirationCallback ¶
type ClientTokenExpirationCallback func()
type ClientUnmergeIntoProvisionalAccountCallback ¶
type ClientUnmergeIntoProvisionalAccountCallback func(Result *ClientResult)
type ClientUpdateProvisionalAccountDisplayNameCallback ¶
type ClientUpdateProvisionalAccountDisplayNameCallback func(Result *ClientResult)
type ClientUpdateRelationshipCallback ¶
type ClientUpdateRelationshipCallback func(Result *ClientResult)
type ClientUpdateRichPresenceCallback ¶
type ClientUpdateRichPresenceCallback func(Result *ClientResult)
type ClientUpdateStatusCallback ¶
type ClientUpdateStatusCallback func(Result *ClientResult)
type ClientUpdateTokenCallback ¶
type ClientUpdateTokenCallback func(Result *ClientResult)
type ClientUserMessageSummariesCallback ¶
type ClientUserMessageSummariesCallback func(Result *ClientResult, Summaries []UserMessageSummary)
type ClientUserMessagesWithLimitCallback ¶
type ClientUserMessagesWithLimitCallback func(Result *ClientResult, Messages []MessageHandle)
type ClientUserUpdatedCallback ¶
type ClientUserUpdatedCallback func(UserId uint64)
type DeviceAuthorizationArgs ¶
type DeviceAuthorizationArgs struct {
// contains filtered or unexported fields
}
func NewDeviceAuthorizationArgs ¶
func NewDeviceAuthorizationArgs() *DeviceAuthorizationArgs
func (*DeviceAuthorizationArgs) ClientId ¶
func (self *DeviceAuthorizationArgs) ClientId() uint64
func (*DeviceAuthorizationArgs) Clone ¶
func (self *DeviceAuthorizationArgs) Clone(Arg0 *DeviceAuthorizationArgs)
func (*DeviceAuthorizationArgs) Drop ¶
func (self *DeviceAuthorizationArgs) Drop()
func (*DeviceAuthorizationArgs) Init ¶
func (self *DeviceAuthorizationArgs) Init()
func (*DeviceAuthorizationArgs) Scopes ¶
func (self *DeviceAuthorizationArgs) Scopes() string
func (*DeviceAuthorizationArgs) SetClientId ¶
func (self *DeviceAuthorizationArgs) SetClientId(Value uint64)
func (*DeviceAuthorizationArgs) SetScopes ¶
func (self *DeviceAuthorizationArgs) SetScopes(Value string)
type DisclosureTypes ¶
type DisclosureTypes int32
const (
DisclosureTypesMessageDataVisibleOnDiscord DisclosureTypes = 3
)
type ErrorType ¶
type ErrorType int32
const ( ErrorTypeNone ErrorType = 0 ErrorTypeNetworkError ErrorType = 1 ErrorTypeHTTPError ErrorType = 2 ErrorTypeClientNotReady ErrorType = 3 ErrorTypeDisabled ErrorType = 4 ErrorTypeClientDestroyed ErrorType = 5 ErrorTypeValidationError ErrorType = 6 ErrorTypeAborted ErrorType = 7 ErrorTypeAuthorizationFailed ErrorType = 8 ErrorTypeRPCError ErrorType = 9 )
type ExternalIdentityProviderType ¶
type ExternalIdentityProviderType int32
const ( ExternalIdentityProviderTypeOIDC ExternalIdentityProviderType = 0 ExternalIdentityProviderTypeEpicOnlineServices ExternalIdentityProviderType = 1 ExternalIdentityProviderTypeSteam ExternalIdentityProviderType = 2 ExternalIdentityProviderTypeUnity ExternalIdentityProviderType = 3 ExternalIdentityProviderTypeDiscordBot ExternalIdentityProviderType = 4 ExternalIdentityProviderTypeNone ExternalIdentityProviderType = 5 ExternalIdentityProviderTypeUnknown ExternalIdentityProviderType = 6 )
type GuildChannel ¶
type GuildChannel struct {
// contains filtered or unexported fields
}
func GuildChannelSpanToSlice ¶
func GuildChannelSpanToSlice(s GuildChannelSpan) []GuildChannel
func (*GuildChannel) Clone ¶
func (self *GuildChannel) Clone(Arg0 *GuildChannel)
func (*GuildChannel) Drop ¶
func (self *GuildChannel) Drop()
func (*GuildChannel) Id ¶
func (self *GuildChannel) Id() uint64
func (*GuildChannel) IsLinkable ¶
func (self *GuildChannel) IsLinkable() bool
func (*GuildChannel) IsViewableAndWriteableByAllMembers ¶
func (self *GuildChannel) IsViewableAndWriteableByAllMembers() bool
func (*GuildChannel) LinkedLobby ¶
func (self *GuildChannel) LinkedLobby() (LinkedLobby, bool)
func (*GuildChannel) Name ¶
func (self *GuildChannel) Name() string
func (*GuildChannel) ParentId ¶
func (self *GuildChannel) ParentId() (uint64, bool)
func (*GuildChannel) Position ¶
func (self *GuildChannel) Position() int32
func (*GuildChannel) SetId ¶
func (self *GuildChannel) SetId(Value uint64)
func (*GuildChannel) SetIsLinkable ¶
func (self *GuildChannel) SetIsLinkable(Value bool)
func (*GuildChannel) SetIsViewableAndWriteableByAllMembers ¶
func (self *GuildChannel) SetIsViewableAndWriteableByAllMembers(Value bool)
func (*GuildChannel) SetLinkedLobby ¶
func (self *GuildChannel) SetLinkedLobby(Value *LinkedLobby)
func (*GuildChannel) SetName ¶
func (self *GuildChannel) SetName(Value string)
func (*GuildChannel) SetParentId ¶
func (self *GuildChannel) SetParentId(Value *uint64)
func (*GuildChannel) SetPosition ¶
func (self *GuildChannel) SetPosition(Value int32)
func (*GuildChannel) SetType ¶
func (self *GuildChannel) SetType(Value ChannelType)
func (*GuildChannel) Type ¶
func (self *GuildChannel) Type() ChannelType
type GuildChannelSpan ¶
type GuildChannelSpan struct {
// contains filtered or unexported fields
}
type GuildMinimal ¶
type GuildMinimal struct {
// contains filtered or unexported fields
}
func GuildMinimalSpanToSlice ¶
func GuildMinimalSpanToSlice(s GuildMinimalSpan) []GuildMinimal
func (*GuildMinimal) Clone ¶
func (self *GuildMinimal) Clone(Arg0 *GuildMinimal)
func (*GuildMinimal) Drop ¶
func (self *GuildMinimal) Drop()
func (*GuildMinimal) Id ¶
func (self *GuildMinimal) Id() uint64
func (*GuildMinimal) Name ¶
func (self *GuildMinimal) Name() string
func (*GuildMinimal) SetId ¶
func (self *GuildMinimal) SetId(Value uint64)
func (*GuildMinimal) SetName ¶
func (self *GuildMinimal) SetName(Value string)
type GuildMinimalSpan ¶
type GuildMinimalSpan struct {
// contains filtered or unexported fields
}
type HttpStatusCode ¶
type HttpStatusCode int32
const ( HttpStatusCodeNone HttpStatusCode = 0 HttpStatusCodeContinue HttpStatusCode = 100 HttpStatusCodeSwitchingProtocols HttpStatusCode = 101 HttpStatusCodeProcessing HttpStatusCode = 102 HttpStatusCodeEarlyHints HttpStatusCode = 103 HttpStatusCodeOk HttpStatusCode = 200 HttpStatusCodeCreated HttpStatusCode = 201 HttpStatusCodeAccepted HttpStatusCode = 202 HttpStatusCodeNonAuthoritativeInfo HttpStatusCode = 203 HttpStatusCodeNoContent HttpStatusCode = 204 HttpStatusCodeResetContent HttpStatusCode = 205 HttpStatusCodePartialContent HttpStatusCode = 206 HttpStatusCodeMultiStatus HttpStatusCode = 207 HttpStatusCodeAlreadyReported HttpStatusCode = 208 HttpStatusCodeImUsed HttpStatusCode = 209 HttpStatusCodeMultipleChoices HttpStatusCode = 300 HttpStatusCodeMovedPermanently HttpStatusCode = 301 HttpStatusCodeFound HttpStatusCode = 302 HttpStatusCodeSeeOther HttpStatusCode = 303 HttpStatusCodeNotModified HttpStatusCode = 304 HttpStatusCodeTemporaryRedirect HttpStatusCode = 307 HttpStatusCodePermanentRedirect HttpStatusCode = 308 HttpStatusCodeBadRequest HttpStatusCode = 400 HttpStatusCodePaymentRequired HttpStatusCode = 402 HttpStatusCodeForbidden HttpStatusCode = 403 HttpStatusCodeNotFound HttpStatusCode = 404 HttpStatusCodeMethodNotAllowed HttpStatusCode = 405 HttpStatusCodeNotAcceptable HttpStatusCode = 406 HttpStatusCodeProxyAuthRequired HttpStatusCode = 407 HttpStatusCodeRequestTimeout HttpStatusCode = 408 HttpStatusCodeConflict HttpStatusCode = 409 HttpStatusCodeGone HttpStatusCode = 410 HttpStatusCodeLengthRequired HttpStatusCode = 411 HttpStatusCodePreconditionFailed HttpStatusCode = 412 HttpStatusCodePayloadTooLarge HttpStatusCode = 413 HttpStatusCodeUriTooLong HttpStatusCode = 414 HttpStatusCodeUnsupportedMediaType HttpStatusCode = 415 HttpStatusCodeRangeNotSatisfiable HttpStatusCode = 416 HttpStatusCodeExpectationFailed HttpStatusCode = 417 HttpStatusCodeMisdirectedRequest HttpStatusCode = 421 HttpStatusCodeUnprocessableEntity HttpStatusCode = 422 HttpStatusCodeLocked HttpStatusCode = 423 HttpStatusCodeFailedDependency HttpStatusCode = 424 HttpStatusCodeTooEarly HttpStatusCode = 425 HttpStatusCodeUpgradeRequired HttpStatusCode = 426 HttpStatusCodePreconditionRequired HttpStatusCode = 428 HttpStatusCodeTooManyRequests HttpStatusCode = 429 HttpStatusCodeRequestHeaderFieldsTooLarge HttpStatusCode = 431 HttpStatusCodeInternalServerError HttpStatusCode = 500 HttpStatusCodeNotImplemented HttpStatusCode = 501 HttpStatusCodeBadGateway HttpStatusCode = 502 HttpStatusCodeGatewayTimeout HttpStatusCode = 504 HttpStatusCodeHttpVersionNotSupported HttpStatusCode = 505 HttpStatusCodeVariantAlsoNegotiates HttpStatusCode = 506 HttpStatusCodeInsufficientStorage HttpStatusCode = 507 HttpStatusCodeLoopDetected HttpStatusCode = 508 HttpStatusCodeNotExtended HttpStatusCode = 510 HttpStatusCodeNetworkAuthorizationRequired HttpStatusCode = 511 )
type IntegrationType ¶
type IntegrationType int32
const ( IntegrationTypeGuildInstall IntegrationType = 0 IntegrationTypeUserInstall IntegrationType = 1 )
type LinkedChannel ¶
type LinkedChannel struct {
// contains filtered or unexported fields
}
func (*LinkedChannel) Clone ¶
func (self *LinkedChannel) Clone(Arg0 *LinkedChannel)
func (*LinkedChannel) Drop ¶
func (self *LinkedChannel) Drop()
func (*LinkedChannel) GuildId ¶
func (self *LinkedChannel) GuildId() uint64
func (*LinkedChannel) Id ¶
func (self *LinkedChannel) Id() uint64
func (*LinkedChannel) Name ¶
func (self *LinkedChannel) Name() string
func (*LinkedChannel) SetGuildId ¶
func (self *LinkedChannel) SetGuildId(Value uint64)
func (*LinkedChannel) SetId ¶
func (self *LinkedChannel) SetId(Value uint64)
func (*LinkedChannel) SetName ¶
func (self *LinkedChannel) SetName(Value string)
type LinkedLobby ¶
type LinkedLobby struct {
// contains filtered or unexported fields
}
func NewLinkedLobby ¶
func NewLinkedLobby() *LinkedLobby
func (*LinkedLobby) ApplicationId ¶
func (self *LinkedLobby) ApplicationId() uint64
func (*LinkedLobby) Clone ¶
func (self *LinkedLobby) Clone(Arg0 *LinkedLobby)
func (*LinkedLobby) Drop ¶
func (self *LinkedLobby) Drop()
func (*LinkedLobby) Init ¶
func (self *LinkedLobby) Init()
func (*LinkedLobby) LobbyId ¶
func (self *LinkedLobby) LobbyId() uint64
func (*LinkedLobby) SetApplicationId ¶
func (self *LinkedLobby) SetApplicationId(Value uint64)
func (*LinkedLobby) SetLobbyId ¶
func (self *LinkedLobby) SetLobbyId(Value uint64)
type LobbyHandle ¶
type LobbyHandle struct {
// contains filtered or unexported fields
}
func (*LobbyHandle) Clone ¶
func (self *LobbyHandle) Clone(Other *LobbyHandle)
func (*LobbyHandle) Drop ¶
func (self *LobbyHandle) Drop()
func (*LobbyHandle) GetCallInfoHandle ¶
func (self *LobbyHandle) GetCallInfoHandle() (CallInfoHandle, bool)
func (*LobbyHandle) GetLobbyMemberHandle ¶
func (self *LobbyHandle) GetLobbyMemberHandle(MemberId uint64) (LobbyMemberHandle, bool)
func (*LobbyHandle) Id ¶
func (self *LobbyHandle) Id() uint64
func (*LobbyHandle) LinkedChannel ¶
func (self *LobbyHandle) LinkedChannel() (LinkedChannel, bool)
func (*LobbyHandle) LobbyMemberIds ¶
func (self *LobbyHandle) LobbyMemberIds() []uint64
func (*LobbyHandle) LobbyMembers ¶
func (self *LobbyHandle) LobbyMembers() []LobbyMemberHandle
func (*LobbyHandle) Metadata ¶
func (self *LobbyHandle) Metadata() Properties
type LobbyMemberHandle ¶
type LobbyMemberHandle struct {
// contains filtered or unexported fields
}
func LobbyMemberHandleSpanToSlice ¶
func LobbyMemberHandleSpanToSlice(s LobbyMemberHandleSpan) []LobbyMemberHandle
func (*LobbyMemberHandle) CanLinkLobby ¶
func (self *LobbyMemberHandle) CanLinkLobby() bool
func (*LobbyMemberHandle) Clone ¶
func (self *LobbyMemberHandle) Clone(Other *LobbyMemberHandle)
func (*LobbyMemberHandle) Connected ¶
func (self *LobbyMemberHandle) Connected() bool
func (*LobbyMemberHandle) Drop ¶
func (self *LobbyMemberHandle) Drop()
func (*LobbyMemberHandle) Id ¶
func (self *LobbyMemberHandle) Id() uint64
func (*LobbyMemberHandle) Metadata ¶
func (self *LobbyMemberHandle) Metadata() Properties
func (*LobbyMemberHandle) User ¶
func (self *LobbyMemberHandle) User() (UserHandle, bool)
type LobbyMemberHandleSpan ¶
type LobbyMemberHandleSpan struct {
// contains filtered or unexported fields
}
type LoggingSeverity ¶
type LoggingSeverity int32
const ( LoggingSeverityVerbose LoggingSeverity = 1 LoggingSeverityInfo LoggingSeverity = 2 LoggingSeverityWarning LoggingSeverity = 3 LoggingSeverityError LoggingSeverity = 4 LoggingSeverityNone LoggingSeverity = 5 )
type MessageHandle ¶
type MessageHandle struct {
// contains filtered or unexported fields
}
func MessageHandleSpanToSlice ¶
func MessageHandleSpanToSlice(s MessageHandleSpan) []MessageHandle
func (*MessageHandle) AdditionalContent ¶
func (self *MessageHandle) AdditionalContent() (AdditionalContent, bool)
func (*MessageHandle) ApplicationId ¶
func (self *MessageHandle) ApplicationId() (uint64, bool)
func (*MessageHandle) Author ¶
func (self *MessageHandle) Author() (UserHandle, bool)
func (*MessageHandle) AuthorId ¶
func (self *MessageHandle) AuthorId() uint64
func (*MessageHandle) Channel ¶
func (self *MessageHandle) Channel() (ChannelHandle, bool)
func (*MessageHandle) ChannelId ¶
func (self *MessageHandle) ChannelId() uint64
func (*MessageHandle) Clone ¶
func (self *MessageHandle) Clone(Other *MessageHandle)
func (*MessageHandle) Content ¶
func (self *MessageHandle) Content() string
func (*MessageHandle) DisclosureType ¶
func (self *MessageHandle) DisclosureType() (DisclosureTypes, bool)
func (*MessageHandle) Drop ¶
func (self *MessageHandle) Drop()
func (*MessageHandle) EditedTimestamp ¶
func (self *MessageHandle) EditedTimestamp() uint64
func (*MessageHandle) Id ¶
func (self *MessageHandle) Id() uint64
func (*MessageHandle) Lobby ¶
func (self *MessageHandle) Lobby() (LobbyHandle, bool)
func (*MessageHandle) Metadata ¶
func (self *MessageHandle) Metadata() Properties
func (*MessageHandle) ModerationMetadata ¶
func (self *MessageHandle) ModerationMetadata() Properties
func (*MessageHandle) RawContent ¶
func (self *MessageHandle) RawContent() string
func (*MessageHandle) Recipient ¶
func (self *MessageHandle) Recipient() (UserHandle, bool)
func (*MessageHandle) RecipientId ¶
func (self *MessageHandle) RecipientId() uint64
func (*MessageHandle) SentFromGame ¶
func (self *MessageHandle) SentFromGame() bool
func (*MessageHandle) SentTimestamp ¶
func (self *MessageHandle) SentTimestamp() uint64
type MessageHandleSpan ¶
type MessageHandleSpan struct {
// contains filtered or unexported fields
}
type Properties ¶
type Properties struct {
// contains filtered or unexported fields
}
type RelationshipGroupType ¶
type RelationshipGroupType int32
const ( RelationshipGroupTypeOnlinePlayingGame RelationshipGroupType = 0 RelationshipGroupTypeOnlineElsewhere RelationshipGroupType = 1 RelationshipGroupTypeOffline RelationshipGroupType = 2 )
type RelationshipHandle ¶
type RelationshipHandle struct {
// contains filtered or unexported fields
}
func RelationshipHandleSpanToSlice ¶
func RelationshipHandleSpanToSlice(s RelationshipHandleSpan) []RelationshipHandle
func (*RelationshipHandle) Clone ¶
func (self *RelationshipHandle) Clone(Other *RelationshipHandle)
func (*RelationshipHandle) DiscordRelationshipType ¶
func (self *RelationshipHandle) DiscordRelationshipType() RelationshipType
func (*RelationshipHandle) Drop ¶
func (self *RelationshipHandle) Drop()
func (*RelationshipHandle) GameRelationshipType ¶
func (self *RelationshipHandle) GameRelationshipType() RelationshipType
func (*RelationshipHandle) Id ¶
func (self *RelationshipHandle) Id() uint64
func (*RelationshipHandle) IsSpamRequest ¶
func (self *RelationshipHandle) IsSpamRequest() bool
func (*RelationshipHandle) User ¶
func (self *RelationshipHandle) User() (UserHandle, bool)
type RelationshipHandleSpan ¶
type RelationshipHandleSpan struct {
// contains filtered or unexported fields
}
type RelationshipType ¶
type RelationshipType int32
const ( RelationshipTypeNone RelationshipType = 0 RelationshipTypeFriend RelationshipType = 1 RelationshipTypeBlocked RelationshipType = 2 RelationshipTypePendingIncoming RelationshipType = 3 RelationshipTypePendingOutgoing RelationshipType = 4 RelationshipTypeImplicit RelationshipType = 5 RelationshipTypeSuggestion RelationshipType = 6 )
type StatusDisplayTypes ¶
type StatusDisplayTypes int32
const ( StatusDisplayTypesName StatusDisplayTypes = 0 StatusDisplayTypesState StatusDisplayTypes = 1 StatusDisplayTypesDetails StatusDisplayTypes = 2 )
type StatusType ¶
type StatusType int32
const ( StatusTypeOnline StatusType = 0 StatusTypeOffline StatusType = 1 StatusTypeBlocked StatusType = 2 StatusTypeIdle StatusType = 3 StatusTypeDnd StatusType = 4 StatusTypeInvisible StatusType = 5 StatusTypeStreaming StatusType = 6 StatusTypeUnknown StatusType = 7 )
type UInt64Span ¶
type UInt64Span struct {
// contains filtered or unexported fields
}
type UserApplicationProfileHandle ¶
type UserApplicationProfileHandle struct {
// contains filtered or unexported fields
}
func UserApplicationProfileHandleSpanToSlice ¶
func UserApplicationProfileHandleSpanToSlice(s UserApplicationProfileHandleSpan) []UserApplicationProfileHandle
func (*UserApplicationProfileHandle) AvatarHash ¶
func (self *UserApplicationProfileHandle) AvatarHash() string
func (*UserApplicationProfileHandle) Clone ¶
func (self *UserApplicationProfileHandle) Clone(Other *UserApplicationProfileHandle)
func (*UserApplicationProfileHandle) Drop ¶
func (self *UserApplicationProfileHandle) Drop()
func (*UserApplicationProfileHandle) Metadata ¶
func (self *UserApplicationProfileHandle) Metadata() string
func (*UserApplicationProfileHandle) ProviderId ¶
func (self *UserApplicationProfileHandle) ProviderId() (string, bool)
func (*UserApplicationProfileHandle) ProviderIssuedUserId ¶
func (self *UserApplicationProfileHandle) ProviderIssuedUserId() string
func (*UserApplicationProfileHandle) ProviderType ¶
func (self *UserApplicationProfileHandle) ProviderType() ExternalIdentityProviderType
func (*UserApplicationProfileHandle) Username ¶
func (self *UserApplicationProfileHandle) Username() string
type UserApplicationProfileHandleSpan ¶
type UserApplicationProfileHandleSpan struct {
// contains filtered or unexported fields
}
type UserHandle ¶
type UserHandle struct {
// contains filtered or unexported fields
}
func UserHandleSpanToSlice ¶
func UserHandleSpanToSlice(s UserHandleSpan) []UserHandle
func (*UserHandle) Avatar ¶
func (self *UserHandle) Avatar() (string, bool)
func (*UserHandle) AvatarUrl ¶
func (self *UserHandle) AvatarUrl(AnimatedType UserHandleAvatarType, StaticType UserHandleAvatarType) string
func (*UserHandle) Clone ¶
func (self *UserHandle) Clone(Arg0 *UserHandle)
func (*UserHandle) DisplayName ¶
func (self *UserHandle) DisplayName() string
func (*UserHandle) Drop ¶
func (self *UserHandle) Drop()
func (*UserHandle) GameActivity ¶
func (self *UserHandle) GameActivity() (Activity, bool)
func (*UserHandle) GlobalName ¶
func (self *UserHandle) GlobalName() (string, bool)
func (*UserHandle) Id ¶
func (self *UserHandle) Id() uint64
func (*UserHandle) IsProvisional ¶
func (self *UserHandle) IsProvisional() bool
func (*UserHandle) Relationship ¶
func (self *UserHandle) Relationship() RelationshipHandle
func (*UserHandle) Status ¶
func (self *UserHandle) Status() StatusType
func (*UserHandle) UserApplicationProfiles ¶
func (self *UserHandle) UserApplicationProfiles() []UserApplicationProfileHandle
func (*UserHandle) Username ¶
func (self *UserHandle) Username() string
type UserHandleAvatarType ¶
type UserHandleAvatarType int32
const ( UserHandleAvatarTypeGif UserHandleAvatarType = 0 UserHandleAvatarTypeWebp UserHandleAvatarType = 1 UserHandleAvatarTypePng UserHandleAvatarType = 2 UserHandleAvatarTypeJpeg UserHandleAvatarType = 3 )
type UserHandleSpan ¶
type UserHandleSpan struct {
// contains filtered or unexported fields
}
type UserMessageSummary ¶
type UserMessageSummary struct {
// contains filtered or unexported fields
}
func UserMessageSummarySpanToSlice ¶
func UserMessageSummarySpanToSlice(s UserMessageSummarySpan) []UserMessageSummary
func (*UserMessageSummary) Clone ¶
func (self *UserMessageSummary) Clone(Arg0 *UserMessageSummary)
func (*UserMessageSummary) Drop ¶
func (self *UserMessageSummary) Drop()
func (*UserMessageSummary) LastMessageId ¶
func (self *UserMessageSummary) LastMessageId() uint64
func (*UserMessageSummary) UserId ¶
func (self *UserMessageSummary) UserId() uint64
type UserMessageSummarySpan ¶
type UserMessageSummarySpan struct {
// contains filtered or unexported fields
}
type VADThresholdSettings ¶
type VADThresholdSettings struct {
// contains filtered or unexported fields
}
func (*VADThresholdSettings) Automatic ¶
func (self *VADThresholdSettings) Automatic() bool
func (*VADThresholdSettings) Drop ¶
func (self *VADThresholdSettings) Drop()
func (*VADThresholdSettings) SetAutomatic ¶
func (self *VADThresholdSettings) SetAutomatic(Value bool)
func (*VADThresholdSettings) SetVadThreshold ¶
func (self *VADThresholdSettings) SetVadThreshold(Value float32)
func (*VADThresholdSettings) VadThreshold ¶
func (self *VADThresholdSettings) VadThreshold() float32
type VoiceStateHandle ¶
type VoiceStateHandle struct {
// contains filtered or unexported fields
}
func (*VoiceStateHandle) Clone ¶
func (self *VoiceStateHandle) Clone(Other *VoiceStateHandle)
func (*VoiceStateHandle) Drop ¶
func (self *VoiceStateHandle) Drop()
func (*VoiceStateHandle) SelfDeaf ¶
func (self *VoiceStateHandle) SelfDeaf() bool
func (*VoiceStateHandle) SelfMute ¶
func (self *VoiceStateHandle) SelfMute() bool
Click to show internal directories.
Click to hide internal directories.