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AE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM;IAU9I,IAAW,MAAM,IAAI,MAAM,CAE1B;IAED,IAAW,WAAW,IAAI,MAAM,CAE/B;IAED,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED,IAAW,iBAAiB,IAAI,MAAM,CAErC;IAED,IAAW,MAAM,IAAI,OAAO,CAE3B;IAED,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED,IAAW,UAAU,IAAI,kBAAkB,CAE1C;CACJ","file":"IParticipant.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n// Multi-device Conversation is a Preview feature.\n\nimport { PropertyCollection } from \"../Exports\";\n\n/**\n * Represents a user in a conversation.\n * Added in version 1.4.0\n */\nexport interface IUser {\n    /** Gets the user's ID */\n    readonly userId: string;\n}\n\nexport class User implements IUser {\n    private privUserId: string;\n\n    constructor(userId: string) {\n        this.privUserId = userId;\n    }\n\n    public get userId(): string {\n        return this.privUserId;\n    }\n}\n\n/**\n * Represents a participant in a conversation.\n * Added in version 1.4.0\n */\nexport interface IParticipant {\n    /** Gets the colour of the user's avatar as an HTML hex string (e.g. FF0000 for red). */\n    readonly avatar: string;\n    /**\n     * The participant's display name. Please note that there may be more than one participant\n     * with the same name. You can use <see cref=\"Id\"/> property to tell them apart.\n     */\n    readonly displayName: string;\n    /** The unique identifier for the participant. */\n    readonly id: string;\n    /** Gets whether or not this participant is the host. */\n    readonly isHost: boolean;\n    /** Gets whether or not this participant is muted. */\n    readonly isMuted: boolean;\n    /** Gets whether or not the participant is using Text To Speech (TTS). */\n    readonly isUsingTts: boolean;\n    /** The participant's preferred spoken language. */\n    readonly preferredLanguage: string;\n    /** Contains properties of the participant. */\n    readonly properties: PropertyCollection;\n}\n\n// tslint:disable-next-line: max-classes-per-file\nexport class Participant implements IParticipant {\n    private privAvatar: string;\n    private privDisplayName: string;\n    private privId: string;\n    private privIsHost: boolean;\n    private privIsMuted: boolean;\n    private privIsUsingTts: boolean;\n    private privPreferredLanguage: string;\n    private privPoperties: PropertyCollection;\n\n    constructor(id: string, avatar: string, displayName: string, isHost: boolean, isMuted: boolean, isUsingTts: boolean, preferredLanguage: string) {\n        this.privId = id;\n        this.privAvatar = avatar;\n        this.privDisplayName = displayName;\n        this.privIsHost = isHost;\n        this.privIsMuted = isMuted;\n        this.privIsUsingTts = isUsingTts;\n        this.privPreferredLanguage = preferredLanguage;\n        this.privPoperties = new PropertyCollection();\n    }\n    public get avatar(): string {\n        return this.privAvatar;\n    }\n\n    public get displayName(): string {\n        return this.privDisplayName;\n    }\n\n    public get id(): string {\n        return this.privId;\n    }\n\n    public get preferredLanguage(): string {\n        return this.privPreferredLanguage;\n    }\n\n    public get isHost(): boolean {\n        return this.privIsHost;\n    }\n\n    public get isMuted(): boolean {\n        return this.privIsMuted;\n    }\n\n    public get isUsingTts(): boolean {\n        return this.privIsUsingTts;\n    }\n\n    public get properties(): PropertyCollection {\n        return this.privPoperties;\n    }\n}\n"]}