UNPKG

sendingnetwork-bot-sdk

Version:
38 lines (37 loc) 774 B
/** * Represents a SDN entity * @category Utilities */ export declare class SDNEntity { private fullId; private entityLocalpart; private entityDomain; /** * Creates a new SDN entity * @param {string} fullId The full ID of the entity */ constructor(fullId: string); /** * The localpart for the entity */ get localpart(): string; /** * The domain for the entity */ get domain(): string; toString(): string; } /** * Represents a SDN user ID * @category Utilities */ export declare class UserID extends SDNEntity { constructor(userId: string); } /** * Represents a SDN room alias * @category Utilities */ export declare class RoomAlias extends SDNEntity { constructor(alias: string); }