Class RestGuildIntegration
Inheritance
System.Object
RestGuildIntegration
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Discord.Net.Rest.dll
Syntax
public class RestGuildIntegration : RestEntity<ulong>, IEntity<ulong>, IGuildIntegration
Properties
|
Improve this Doc
View Source
Account
Gets integration account information.
Declaration
public IntegrationAccount Account { get; }
Property Value
|
Improve this Doc
View Source
ExpireBehavior
Gets the ID that this integration uses for "subscribers".
Declaration
public ulong ExpireBehavior { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
ExpireGracePeriod
Gets the grace period before expiring "subscribers".
Declaration
public ulong ExpireGracePeriod { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
GuildId
Declaration
public ulong GuildId { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
IsEnabled
Gets a value that indicates whether this integration is enabled or not.
Declaration
public bool IsEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
true if this integration is enabled; otherwise false.
|
|
Improve this Doc
View Source
IsSyncing
Gets a value that indicates whether this integration is syncing or not.
Declaration
public bool IsSyncing { get; }
Property Value
| Type |
Description |
| System.Boolean |
true if this integration is syncing; otherwise false.
|
|
Improve this Doc
View Source
Name
Gets the integration name.
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
A string containing the name of this integration.
|
|
Improve this Doc
View Source
RoleId
Declaration
public ulong RoleId { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
SyncedAt
Gets when this integration was last synced.
Declaration
public DateTimeOffset SyncedAt { get; }
Property Value
| Type |
Description |
| System.DateTimeOffset |
A System.DateTimeOffset containing a date and time of day when the integration was last synced.
|
|
Improve this Doc
View Source
Type
Gets the integration type (Twitch, YouTube, etc).
Declaration
public string Type { get; }
Property Value
| Type |
Description |
| System.String |
A string containing the name of the type of integration.
|
|
Improve this Doc
View Source
User
Declaration
public RestUser User { get; }
Property Value
Methods
|
Improve this Doc
View Source
DeleteAsync()
Declaration
public Task DeleteAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ModifyAsync(Action<GuildIntegrationProperties>)
Declaration
public Task ModifyAsync(Action<GuildIntegrationProperties> func)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SyncAsync()
Declaration
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()
Explicit Interface Implementations
|
Improve this Doc
View Source
IGuildIntegration.Guild
Declaration
IGuild IGuildIntegration.Guild { get; }
Returns
|
Improve this Doc
View Source
IGuildIntegration.User
Declaration
IUser IGuildIntegration.User { get; }
Returns
Implements