Protected ReadonlyclientСтворити новий діалог
Назва діалогу (макс. 330 символів)
Тип діалогу (тільки Channel або Group)
Optionaloptions: { description?: string }Додаткові опції
Optionaldescription?: stringОпис діалогу (макс. 330 символів)
Створений діалог
Методи для роботи з учасниками діалогу
Додати користувача до діалогу
Отримати учасників діалогу
Видалити користувача з діалогу
ProtectedbuildBuild paginated endpoint URL
Base endpoint
Optionalpage: numberPage number
Optionallimit: numberItems per page
Formatted endpoint with pagination
ProtectedhandleHandle API errors with consistent error mapping
Optionalendpoint: stringProtectedrequestExecute request with automatic error handling and type safety
HTTP method
API endpoint
Optionaldata: anyRequest data
Optionalconfig: RequestConfigRequest configuration
Promise resolving to typed response
ProtectedvalidateValidate parameter constraints
Value to validate
Validation constraints
Parameter name for error messages
ProtectedvalidateValidate dialog ID
ProtectedvalidateValidate page number
ProtectedvalidateProtectedvalidateValidate string length
Ресурс для роботи з діалогами