Skip to content

Yurba.js / @yurbajs/types / Message

Interface: Message

TODO LIST FOR ALL TYPES:

📝 CORE ENTITIES: [x] Photo [x] Add payload methods [x] Add delete methods [x] Post [x] Add payload methods [x] Add edit methods [x] Add delete methods [x] Message [x] Add payload methods [x] Add edit methods [x] Add delete methods [x] Comments [x] Add payload methods [x] Add delete methods [x] Dialog [x] Add payload methods [x] Add edit methods [x] Add delete methods

📎 ATTACHMENTS: [x] Files (Attachments) [x] Add payload methods [x] Add delete methods [ ] Videos (Attachments) [ ] Add payload methods [ ] Add edit methods [ ] Add delete methods [x] Music (Attachments) [x] Add payload methods [x] Add delete methods

🔍 FEATURES: [x] Search

[ ] Goling (Settings) [ ] Add types [ ] Add methods

[ ] Shop

👥 SOCIAL: [X] Friends [x] Notifications // need to add gift model

Properties

Attachments

Attachments: Attachment[]


Author

Author: Author


Dialog

Dialog: DialogInfo


EditTimestamp

EditTimestamp: number


ID

ID: number


Photos

Photos: number[]


Read

Read: boolean


ReplyTo

ReplyTo: null | Message


Text

Text: string


Timestamp

Timestamp: number


Type

Type: MessageType


Views

Views: number