You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System.Collections.Generic;
- using System.Threading.Tasks;
-
- namespace Discord
- {
- public interface IChannel : IEntity<ulong>
- {
- /// <summary> Gets the type flags for this channel. </summary>
- ChannelType Type { get; }
- /// <summary> Gets the name of this channel. </summary>
- string Name { get; }
-
- /// <summary> Gets a user in this channel with the given id. </summary>
- Task<IUser> GetUser(ulong id);
- /// <summary> Gets a collection of all users in this channel. </summary>
- Task<IEnumerable<IUser>> GetUsers();
- }
- }
|