Skip to main content

Functionality

Talawa Api offers various functionalities which will ultimately help in endorsing the relationship between the members of an organization. The list of functionalities offered by Talawa Api are as follows:

Post

Post Model

text: string
title: string
createdAt: string
imageUrl: string
videoUrl: string
creator: User
organization: Organization
likedBy: [User]
comments: [Comment]
pinned: Boolean

Comment

Comment Model

text : string
createdAt: string
creator: User
post: string
likedBy: User
likeCount: string

Task

Task Model

title: string
description: string
createdAt: string
deadline: string
event: Event
creator: User

Message

Message Model

text: string
imageUrl: string
videoUrl: string
createdAt: string
creator: User
group: Group

DirectChat

DirectChat Model

users: [User]
messages: [DirectChatMessage]
creator: User
organization: Organization

DirectChatMessage

DirectChatMessage Model

directChatMessageBelongsTo: DirectChat
sender: User
receiver: User
createdAt: string
messageContent: string

Event

Event Model

title: string
description: string
attendees: string
location: string
recurring: string
allDay: string
startDate: string
endDate: string
startTime: string
endTime: string
recurrence: string
isPublic: boolean
isRegisterable: boolean
creator: User
registrants: [User]
admins: [User]
organization: Organization
tasks: [Task]

EventProject

Event Project Model

title: string
description: string
createdAt: string
event: Event
creator: User
tasks: [Task]

Group

Group Model

title: string
description: string
createdAt: string
organization: Organization
admins: [User]

GroupChat

GroupChat Model

title: string
users: [User]
messages: [GroupChatMessage]
creator: User
organization: Organization

GroupChatMessage

GroupChatMessage Model

groupChatMessageBelongsTo: GroupChat
sender: User
createdAt: string
messageContent: string

ImageHash

ImageHash Model

hashValue: string
fileName: string
numberOfUses: string