- Preparing search index...
- The search index is not available
TouchGuild
Methods
completeListItem
- completeListItem(channelID: string, itemID: string): Promise<void>
-
Parameters
-
channelID: string
-
itemID: string
Returns Promise<void>
createForumComment
-
Parameters
-
channelID: string
-
threadID: number
-
createListItem
- createListItem(channelID: string, content: string, note?: {
content: string;
}): Promise<ListItem>
-
Parameters
-
channelID: string
-
content: string
-
Optional
note: {
content: string;
}
Returns Promise<ListItem>
createMessage
- createMessage(channelID: string, options: CreateMessageOptions, params?: object): Promise<Message>
-
Parameters
-
channelID: string
-
-
Optional
params: object
Returns Promise<Message>
createReaction
- createReaction(channelID: string, channelType: ChannelReactionTypes, messageID: string | number, reaction: number): Promise<void>
-
Parameters
-
channelID: string
-
-
messageID: string | number
-
reaction: number
Returns Promise<void>
deleteCalendarEvent
- deleteCalendarEvent(channelID: string, eventID: number): Promise<void>
-
Parameters
-
channelID: string
-
eventID: number
Returns Promise<void>
deleteCalendarRsvp
- deleteCalendarRsvp(channelID: string, eventID: number, memberID: string): Promise<void>
-
Parameters
-
channelID: string
-
eventID: number
-
memberID: string
Returns Promise<void>
deleteDoc
- deleteDoc(channelID: string, docID: number): Promise<void>
-
Parameters
-
channelID: string
-
docID: number
Returns Promise<void>
deleteForumComment
-
Parameters
-
channelID: string
-
threadID: number
-
commentID: number
Returns Promise<void>
deleteForumThread
- deleteForumThread(channelID: string, threadID: number): Promise<void>
-
Parameters
-
channelID: string
-
threadID: number
Returns Promise<void>
deleteListItem
- deleteListItem(channelID: string, itemID: string): Promise<void>
-
Parameters
-
channelID: string
-
itemID: string
Returns Promise<void>
deleteMessage
- deleteMessage(channelID: string, messageID: string): Promise<void>
-
Parameters
-
channelID: string
-
messageID: string
Returns Promise<void>
deleteReaction
- deleteReaction(channelID: string, channelType: ChannelReactionTypes, messageID: string | number, reaction: number): Promise<void>
-
Parameters
-
channelID: string
-
-
messageID: string | number
-
reaction: number
Returns Promise<void>
editDoc
- editDoc(channelID: string, docID: number, options: EditDocOptions): Promise<Doc>
-
Parameters
-
channelID: string
-
docID: number
-
Returns Promise<Doc>
editForumComment
-
Parameters
-
channelID: string
-
threadID: number
-
commentID: number
-
editListItem
- editListItem(channelID: string, itemID: string, content: string, note?: {
content: string;
}): Promise<ListItem>
-
Parameters
-
channelID: string
-
itemID: string
-
content: string
-
Optional
note: {
content: string;
}
Returns Promise<ListItem>
editMessage
- editMessage(channelID: string, messageID: string, newMessage: EditMessageOptions, params?: object): Promise<Message>
-
Parameters
-
channelID: string
-
messageID: string
-
-
Optional
params: object
Returns Promise<Message>
getCalendarEvent
- getCalendarEvent(channelID: string, eventID: number): Promise<CalendarEvent>
-
Parameters
-
channelID: string
-
eventID: number
getCalendarEvents
- getCalendarEvents(channelID: string, filter?: {
after?: string;
before?: string;
limit?: number;
}): Promise<CalendarEvent[]>
-
Parameters
-
channelID: string
-
Optional
filter: {
after?: string;
before?: string;
limit?: number;
}
-
Optional
after?: string
-
Optional
before?: string
-
Optional
limit?: number
getCalendarRsvp
- getCalendarRsvp(channelID: string, eventID: number, memberID: string): Promise<CalendarEventRSVP>
-
Parameters
-
channelID: string
-
eventID: number
-
memberID: string
getCalendarRsvps
- getCalendarRsvps(channelID: string, eventID: number): Promise<CalendarEventRSVP[]>
-
Parameters
-
channelID: string
-
eventID: number
getChannel
- getChannel(channelID: string): Promise<Channel>
-
Returns Promise<Channel>
getDoc
- getDoc(channelID: string, docID: number): Promise<Doc>
-
Parameters
-
channelID: string
-
docID: number
Returns Promise<Doc>
getDocs
- getDocs(channelID: string, filter?: {
before?: string;
limit?: number;
}): Promise<Doc[]>
-
Parameters
-
channelID: string
-
Optional
filter: {
before?: string;
limit?: number;
}
-
Optional
before?: string
-
Optional
limit?: number
Returns Promise<Doc[]>
getForumComment
-
Parameters
-
channelID: string
-
threadID: number
-
commentID: number
getForumComments
-
Parameters
-
channelID: string
-
threadID: number
getForumThread
- getForumThread(channelID: string, threadID: number): Promise<ForumThread>
-
Parameters
-
channelID: string
-
threadID: number
getForumThreads
- getForumThreads(channelID: string, filter?: {
before?: string;
limit?: number;
}): Promise<ForumThread[]>
-
Parameters
-
channelID: string
-
Optional
filter: {
before?: string;
limit?: number;
}
-
Optional
before?: string
-
Optional
limit?: number
getListItem
- getListItem(channelID: string, itemID: string): Promise<ListItem>
-
Parameters
-
channelID: string
-
itemID: string
Returns Promise<ListItem>
getListItems
- getListItems(channelID: string): Promise<ListItem[]>
-
Returns Promise<ListItem[]>
getMessage
- getMessage(channelID: string, messageID: string, params?: object): Promise<Message>
-
Parameters
-
channelID: string
-
messageID: string
-
Optional
params: object
Returns Promise<Message>
getMessages
- getMessages(channelID: string, filter?: {
after?: string;
before?: string;
includePrivate?: boolean;
limit?: number;
}): Promise<Message[]>
-
Parameters
-
channelID: string
-
Optional
filter: {
after?: string;
before?: string;
includePrivate?: boolean;
limit?: number;
}
-
Optional
after?: string
-
Optional
before?: string
-
Optional
includePrivate?: boolean
-
Optional
limit?: number
Returns Promise<Message[]>
lockForumThread
- lockForumThread(channelID: string, threadID: number): Promise<void>
-
Parameters
-
channelID: string
-
threadID: number
Returns Promise<void>
pinForumThread
- pinForumThread(channelID: string, threadID: number): Promise<void>
-
Parameters
-
channelID: string
-
threadID: number
Returns Promise<void>
uncompleteListItem
- uncompleteListItem(channelID: string, itemID: string): Promise<void>
-
Parameters
-
channelID: string
-
itemID: string
Returns Promise<void>
unlockForumThread
- unlockForumThread(channelID: string, threadID: number): Promise<void>
-
Parameters
-
channelID: string
-
threadID: number
Returns Promise<void>
unpinForumThread
- unpinForumThread(channelID: string, threadID: number): Promise<void>
-
Parameters
-
channelID: string
-
threadID: number
Returns Promise<void>
The note of the list item