Messenjer API
Panel ulangan Telegram, WhatsApp yoki Instagram akkaunt bilan qila oladigan hamma narsa — REST orqali: bitta kalit, bitta javob formati, bo'limma-bo'lim.
Telegram: stikerlar, papkalar, Business, raw
Stiker to'plamlari, saqlangan GIF'lar, chat papkalari, Telegram Business va connector'ning har bir endpointiga o'tkazgich.
tg/{path} o'tkazgichi connector'ning har bir endpointini ochadi (Stars, sovg'alar, qo'ng'iroqlar, mini-ilovalar, botlar, maxfiy chatlar, xom TL metodlar): GET uchun channels:read, yozish uchun channels:write kerak. POST tg/raw {method, params} istalgan TL metodni nomi bilan chaqiradi.
Base URL: https://chatvendor.net/api/v1 · har javob {"success": true, "data": …}
GET
/channels/{id}/stickers/sets
Installed sticker sets
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
Javob 200 · StickerSet[]
id stringtitle stringshort_name stringcount integerofficial booleananimated booleanemojis boolean
curl https://chatvendor.net/api/v1/channels/1/stickers/sets \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
GET
/channels/{id}/stickers/sets/{name}
Stickers of a set (each with a ref to send)
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
namepath · stringmajburiySet short name
Javob 200 · StickerSetContents
set StickerSetstickers Media[]
curl https://chatvendor.net/api/v1/channels/1/stickers/sets/{name} \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
GET
/channels/{id}/stickers/gifs
Saved GIFs (each with a ref to send)
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
Javob 200 · Media[]
type string: photo | image | document | video | video_note | voice | audio | sticker | gif | webpageref stringmime stringsize integerfile_name stringwidth integerheight integerduration numberemoji string
curl https://chatvendor.net/api/v1/channels/1/stickers/gifs \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
GET
/channels/{id}/folders
Chat folders
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
Javob 200 · Folder[]
id integertitle stringemoticon stringinclude_peers integer[]exclude_peers integer[]
curl https://chatvendor.net/api/v1/channels/1/folders \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
POST
/channels/{id}/folders
Create a chat folder
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
So'rov tanasi (application/json)
titlestringmajburiyemoticonstringincludestring[]excludestring[]contactsbooleannon_contactsbooleangroupsbooleanbroadcastsbooleanbotsbooleanexclude_mutedbooleanexclude_readbooleanexclude_archivedbooleanJavob 200 · Folder
id integertitle stringemoticon stringinclude_peers integer[]exclude_peers integer[]
curl -X POST https://chatvendor.net/api/v1/channels/1/folders \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-H "Content-Type: application/json" \
-d '{"title":"…"}'
PATCH
/channels/{id}/folders/{folder}
Edit a chat folder
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
folderpath · integermajburiyFolder id
Javob 200 · Folder
id integertitle stringemoticon stringinclude_peers integer[]exclude_peers integer[]
curl -X PATCH https://chatvendor.net/api/v1/channels/1/folders/42 \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
DELETE
/channels/{id}/folders/{folder}
Delete a chat folder
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
folderpath · integermajburiyFolder id
Javob 200
OK
curl -X DELETE https://chatvendor.net/api/v1/channels/1/folders/42 \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
GET
/channels/{id}/business
Telegram Business settings (hours, location, greeting/away, intro, quick replies)
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
Javob 200 · Business
work_hours object|nulllocation object|nullgreeting object|nullaway object|nullintro object|nullquick_replies QuickReply[]
curl https://chatvendor.net/api/v1/channels/1/business \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
GET
/channels/{id}/business/quick-replies
Quick-reply shortcuts
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
Javob 200 · QuickReply[]
id integershortcut stringcount integer
curl https://chatvendor.net/api/v1/channels/1/business/quick-replies \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
POST
/channels/{id}/business/quick-replies
Add a message to a quick-reply shortcut (Premium)
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
So'rov tanasi (application/json)
shortcutstringmajburiytextstringmajburiyJavob 200
OK
curl -X POST https://chatvendor.net/api/v1/channels/1/business/quick-replies \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-H "Content-Type: application/json" \
-d '{"shortcut":"…","text":"…"}'
POST
/channels/{id}/business/quick-replies/{shortcut}/send
Send a quick reply to a chat
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
shortcutpath · integermajburiyShortcut id
So'rov tanasi (application/json)
peerstringmajburiyJavob 200 · ChatMessage[]
id integerchat_id integersender_id integersender_name stringout booleandate string (date-time)text stringmedia objectreply_to integertopic_id integerbuttons object[][]
curl -X POST https://chatvendor.net/api/v1/channels/1/business/quick-replies/42/send \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-H "Content-Type: application/json" \
-d '{"peer":"…"}'
GET
/channels/{id}/business/links
Business chat links (t.me/m/…)
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
Javob 200 · BusinessLink[]
link stringslug stringtitle stringtext stringviews integer
curl https://chatvendor.net/api/v1/channels/1/business/links \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
POST
/channels/{id}/business/links
Create a business chat link (Premium)
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
So'rov tanasi (application/json)
textstringmajburiytitlestringJavob 200 · BusinessLink
link stringslug stringtitle stringtext stringviews integer
curl -X POST https://chatvendor.net/api/v1/channels/1/business/links \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-H "Content-Type: application/json" \
-d '{"text":"…","title":"…"}'
GET
/channels/{id}/tg/{path}
Passthrough to every connector endpoint (read): stars, gifts, calls, mini apps, secret chats, folders, stats… — see the connector catalogue in the docs
channels:read
Ruxsat: channels:read
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
pathpath · stringmajburiyConnector path, e.g. stars, gifts/catalog, calls, chats/{peer}/call, secret, raw/methods
Javob 200
The connector response under data
curl https://chatvendor.net/api/v1/channels/1/tg/{path} \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
POST
/channels/{id}/tg/{path}
Passthrough to every connector endpoint (write): JSON body or multipart; POST tg/raw {method, params} calls any TL method
channels:write
Ruxsat: channels:write
Parametrlar
idpath · integermajburiyChannel id (from GET /channels)
pathpath · stringmajburiyConnector path, e.g. gifts/send, dialogs/{peer}/todo, bot/send/{peer}, secret/{chat_id}/messages, raw
multipart/form-data — maydonlar yuqoridagi tavsifda.
Javob 200
The connector response under data
curl -X POST https://chatvendor.net/api/v1/channels/1/tg/{path} \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-F "file=@photo.jpg" -F "caption=…"