Moved IDMChannel/IGuildChannel's IUpdateable to IChannel
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
{
|
{
|
||||||
public interface IChannel : ISnowflakeEntity
|
public interface IChannel : ISnowflakeEntity, IUpdateable
|
||||||
{
|
{
|
||||||
/// <summary> Gets a collection of all users in this channel. </summary>
|
/// <summary> Gets a collection of all users in this channel. </summary>
|
||||||
Task<IReadOnlyCollection<IUser>> GetUsersAsync();
|
Task<IReadOnlyCollection<IUser>> GetUsersAsync();
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
{
|
{
|
||||||
public interface IDMChannel : IMessageChannel, IUpdateable
|
public interface IDMChannel : IMessageChannel
|
||||||
{
|
{
|
||||||
/// <summary> Gets the recipient of all messages in this channel. </summary>
|
/// <summary> Gets the recipient of all messages in this channel. </summary>
|
||||||
IUser Recipient { get; }
|
IUser Recipient { get; }
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
{
|
{
|
||||||
public interface IGuildChannel : IChannel, IDeletable, IUpdateable
|
public interface IGuildChannel : IChannel, IDeletable
|
||||||
{
|
{
|
||||||
/// <summary> Gets the name of this channel. </summary>
|
/// <summary> Gets the name of this channel. </summary>
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
|
|||||||
Reference in New Issue
Block a user