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:
dialog_id: int
Response:
{
ID: int,
Type: string, # "group", "channel"
Members: int,
Author: ShortUserModel,
DialogDude: ShortUserModel,
Name: string,
Link: string,
Description: string,
Avatar: int,
Verify: string,
Private: bool,
LastMessage: MessageModel,
Timestamp: int
}
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:
Some endpoints contain a ShortDialogModel, which contains basic information about the dialog
{
ID: int,
Type: string, # "group", "channel"
Name: string
}
Example:
{
ID: 56,
Type: "channel",
Name: "Yurba"
}