Get started
Accounts
Apps
Users
Relationships
Dialogs (Messages)
Tracks (MuseBase)
Photos
Posts
Comments
Safety
Other
Yurba CDN (cdn.yurba.one)
For Desktop Developers
Returns DialogModel.
Request URL params:
message_id: int
Response:
{
ID: int,
Author: ShortUserModel,
Dialog: ShortDialogModel,
Type: string,
Text: string,
Photos: []int,
ReplyTo: MessageModel,
Attachments: AttachmentModel,
Timestamp: int,
EditTimestamp: int,
Read: bool
}
Example:
{
ID: 56,
Type: "channel",
Members: 15,
Author: {
ID: 0,
Name: "",
Surname: "",
Link: "",
Avatar: 0,
Sub: 0,
Verify: "",
Ban: 0,
Emoji: "",
CosmeticAvatar: 0,
Online: {
Online: false,
LastBeen: 0,
Degree: ""
},
CommentsState: 0,
ViewAvatarState: 0,
RelationshipState: ""
},
DialogDude: null,
Name: "Yurba",
Link: "yurba_news",
Description: "Офіційний новинний канал Yurba",
Avatar: 0,
Verify: "Default",
Private: false,
LastMessage: {
ID: 10788,
Author: {
ID: 0,
Name: "",
Surname: "",
Link: "",
Avatar: 0,
Sub: 0,
Verify: "",
Ban: 0,
Emoji: "",
CosmeticAvatar: 0,
Online: {
Online: false,
LastBeen: 0,
Degree: ""
},
CommentsState: 0,
ViewAvatarState: 0,
RelationshipState: ""
},
Dialog: {
ID: 56,
Type: "channel",
Name: "Yurba"
},
Type: "message",
Text: "",
Photos: [-80, -82, -81, -83, -79],
ReplyTo: null,
Attachments: [],
Timestamp: 1724114227,
EditTimestamp: 0,
Read: true
},
Timestamp: 1713221679
}
Errors:
{
ID: int,
Type: string, # "track", "file"
Track: TrackModel
Timestamp: int
}
Example:
{
ID: 24,
Type: "track",
Track: {
ID: 5728,
Name: "Yessirskiii",
Author: "Clonnex",
Mine: false,
Release: "2024",
Size: "1.84",
Duration: 120,
Timestamp: 1724706144,
Cover: 1544,
Url: "https://cdn.yurba.one/musebase/5728.mp3"
},
Timestamp: 1724706212
}