// This is Generated Source. import GlipUnreadMessageCount from "../definitions/GlipUnreadMessageCount"; import PathSegment from "../PathSegment"; export default class Profile extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("profile", id, prv, service); } /** *

Since 1.0.30 (Release 9.1)

Returns Glip unread message count.

Required Permissions

PermissionDescription
GlipAvailability of Glip

API Group

Light

*/ get(query?: GetQuery): Promise { return this._send({ body: undefined, ignoreId: true, method: "get", query: query, }).then((res) => { return res.json(); }); } /** *

Since 1.0.30 (Release 9.1)

Returns Glip unread message count.

Required Permissions

PermissionDescription
GlipAvailability of Glip

API Group

Light

* return {ApiResponse} */ getRaw(query?: GetQuery): Promise { return this._send({ body: undefined, ignoreId: true, method: "get", query: query, }); } } export interface GetQuery { /** * List of attributes to be returned. To return unread message count 'unreadPostsCount' and 'tooManyUnreadPosts' should be specified */ fields?: string; }