import { ConversationThread as IConversationThreadType, Post as IPostType, Recipient as IRecipientType, Conversation as IConversationType, User as IUserType } from "@microsoft/microsoft-graph-types"; import { _GraphQueryableCollection, _GraphQueryableInstance } from "../graphqueryable.js"; import { IUpdateable, IDeleteable, IAddable, IGetById } from "../decorators.js"; /** * Conversation */ export declare class _Conversation extends _GraphQueryableInstance { /** * Get all the threads in a group conversation. */ get threads(): IThreads; } export interface IConversation extends _Conversation, IUpdateable, IDeleteable { } export declare const Conversation: import("../graphqueryable.js").IGraphInvokableFactory; /** * Conversations */ export declare class _Conversations extends _GraphQueryableCollection { } export interface IConversations extends _Conversations, IGetById, IAddable { } export declare const Conversations: import("../graphqueryable.js").IGraphInvokableFactory; /** * Thread */ export declare class _Thread extends _GraphQueryableInstance { /** * Get all the threads in a group conversation. */ get posts(): IPosts; /** * Reply to a thread in a group conversation and add a new post to it * * @param post Contents of the post */ reply(post: IPostType): Promise; } export interface IThread extends _Thread, IDeleteable { } export declare const Thread: import("../graphqueryable.js").IGraphInvokableFactory; /** * Threads */ export declare class _Threads extends _GraphQueryableCollection { } export interface IThreads extends _Threads, IGetById, IAddable { } export declare const Threads: import("../graphqueryable.js").IGraphInvokableFactory; /** * Post */ export declare class _Post extends _GraphQueryableInstance { /** * Forward a post to a recipient */ forward(info: IPostForwardInfo): Promise; /** * Reply to a thread in a group conversation and add a new post to it * * @param post Contents of the post */ reply(post: IPostType): Promise; } export interface IPost extends _Post, IDeleteable { } export declare const Post: import("../graphqueryable.js").IGraphInvokableFactory; /** * Posts */ export declare class _Posts extends _GraphQueryableCollection { } export interface IPosts extends _Posts, IGetById, IAddable { } export declare const Posts: import("../graphqueryable.js").IGraphInvokableFactory; /** * Senders */ export declare class _Senders extends _GraphQueryableCollection { /** * Add a new user or group to this senders collection * @param id The full @odata.id value to add (ex: https://graph.microsoft.com/v1.0/users/user@contoso.com) */ add(id: string): Promise; /** * Removes the entity from the collection * * @param id The full @odata.id value to remove (ex: https://graph.microsoft.com/v1.0/users/user@contoso.com) */ remove(id: string): Promise; } export interface ISenders extends _Senders { } export declare const Senders: import("../graphqueryable.js").IGraphInvokableFactory; /** * Information used to forward a post */ export interface IPostForwardInfo { comment?: string; toRecipients: IRecipientType[]; } //# sourceMappingURL=types.d.ts.map