Telegram auto forward
Deprecated
Pricing
$20.00/month + usage
Telegram auto forward
Deprecated
This actor forwards messages from a Telegram channel / group / user to another Telegram channel.
0.0 (0)
Pricing
$20.00/month + usage
2
Total users
2
Monthly users
2
Last modified
9 months ago
You can access the Telegram auto forward programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.2",
5 "x-build-id": "N5ARNBraKSp84okcf"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/chatty_quay~tg-forward/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-chatty_quay-tg-forward",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/chatty_quay~tg-forward/runs": {
50 "post": {
51 "operationId": "runs-sync-chatty_quay-tg-forward",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/chatty_quay~tg-forward/run-sync": {
93 "post": {
94 "operationId": "run-sync-chatty_quay-tg-forward",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "required": [
134 "watchList"
135 ],
136 "properties": {
137 "session": {
138 "title": "String Session",
139 "type": "string",
140 "description": "String Session from your Telegram account."
141 },
142 "watchList": {
143 "title": "Watch List",
144 "type": "array",
145 "description": "Monitor the message from given channel and forward them to the target channel. Format is `{{source}}:{{target}}`. Source and target can be the id or username. You can find it in telegram web version",
146 "items": {
147 "type": "object",
148 "required": [
149 "key",
150 "value"
151 ],
152 "properties": {
153 "key": {
154 "type": "string",
155 "title": "Key"
156 },
157 "value": {
158 "type": "string",
159 "title": "Value"
160 }
161 }
162 }
163 },
164 "hideSender": {
165 "title": "Hide Sender",
166 "type": "boolean",
167 "description": "Hide the sender of the message."
168 },
169 "storeMessage": {
170 "title": "Store Messages",
171 "type": "boolean",
172 "description": "Store the messages in the database.",
173 "default": false
174 },
175 "datasetName": {
176 "title": "Dataset Name",
177 "type": "string",
178 "description": "Name of the dataset where the messages will be stored. If not provided, the messages will push to direct output"
179 },
180 "messageType": {
181 "title": "Message Type",
182 "type": "array",
183 "description": "Select the type of message you want to forward.",
184 "items": {
185 "type": "string",
186 "enum": [
187 "TEXT",
188 "PHOTO",
189 "VIDEO",
190 "FILE"
191 ],
192 "enumTitles": [
193 "Text",
194 "Photo",
195 "Video",
196 "File"
197 ]
198 },
199 "default": [
200 "TEXT"
201 ]
202 }
203 }
204 },
205 "runsResponseSchema": {
206 "type": "object",
207 "properties": {
208 "data": {
209 "type": "object",
210 "properties": {
211 "id": {
212 "type": "string"
213 },
214 "actId": {
215 "type": "string"
216 },
217 "userId": {
218 "type": "string"
219 },
220 "startedAt": {
221 "type": "string",
222 "format": "date-time",
223 "example": "2025-01-08T00:00:00.000Z"
224 },
225 "finishedAt": {
226 "type": "string",
227 "format": "date-time",
228 "example": "2025-01-08T00:00:00.000Z"
229 },
230 "status": {
231 "type": "string",
232 "example": "READY"
233 },
234 "meta": {
235 "type": "object",
236 "properties": {
237 "origin": {
238 "type": "string",
239 "example": "API"
240 },
241 "userAgent": {
242 "type": "string"
243 }
244 }
245 },
246 "stats": {
247 "type": "object",
248 "properties": {
249 "inputBodyLen": {
250 "type": "integer",
251 "example": 2000
252 },
253 "rebootCount": {
254 "type": "integer",
255 "example": 0
256 },
257 "restartCount": {
258 "type": "integer",
259 "example": 0
260 },
261 "resurrectCount": {
262 "type": "integer",
263 "example": 0
264 },
265 "computeUnits": {
266 "type": "integer",
267 "example": 0
268 }
269 }
270 },
271 "options": {
272 "type": "object",
273 "properties": {
274 "build": {
275 "type": "string",
276 "example": "latest"
277 },
278 "timeoutSecs": {
279 "type": "integer",
280 "example": 300
281 },
282 "memoryMbytes": {
283 "type": "integer",
284 "example": 1024
285 },
286 "diskMbytes": {
287 "type": "integer",
288 "example": 2048
289 }
290 }
291 },
292 "buildId": {
293 "type": "string"
294 },
295 "defaultKeyValueStoreId": {
296 "type": "string"
297 },
298 "defaultDatasetId": {
299 "type": "string"
300 },
301 "defaultRequestQueueId": {
302 "type": "string"
303 },
304 "buildNumber": {
305 "type": "string",
306 "example": "1.0.0"
307 },
308 "containerUrl": {
309 "type": "string"
310 },
311 "usage": {
312 "type": "object",
313 "properties": {
314 "ACTOR_COMPUTE_UNITS": {
315 "type": "integer",
316 "example": 0
317 },
318 "DATASET_READS": {
319 "type": "integer",
320 "example": 0
321 },
322 "DATASET_WRITES": {
323 "type": "integer",
324 "example": 0
325 },
326 "KEY_VALUE_STORE_READS": {
327 "type": "integer",
328 "example": 0
329 },
330 "KEY_VALUE_STORE_WRITES": {
331 "type": "integer",
332 "example": 1
333 },
334 "KEY_VALUE_STORE_LISTS": {
335 "type": "integer",
336 "example": 0
337 },
338 "REQUEST_QUEUE_READS": {
339 "type": "integer",
340 "example": 0
341 },
342 "REQUEST_QUEUE_WRITES": {
343 "type": "integer",
344 "example": 0
345 },
346 "DATA_TRANSFER_INTERNAL_GBYTES": {
347 "type": "integer",
348 "example": 0
349 },
350 "DATA_TRANSFER_EXTERNAL_GBYTES": {
351 "type": "integer",
352 "example": 0
353 },
354 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
355 "type": "integer",
356 "example": 0
357 },
358 "PROXY_SERPS": {
359 "type": "integer",
360 "example": 0
361 }
362 }
363 },
364 "usageTotalUsd": {
365 "type": "number",
366 "example": 0.00005
367 },
368 "usageUsd": {
369 "type": "object",
370 "properties": {
371 "ACTOR_COMPUTE_UNITS": {
372 "type": "integer",
373 "example": 0
374 },
375 "DATASET_READS": {
376 "type": "integer",
377 "example": 0
378 },
379 "DATASET_WRITES": {
380 "type": "integer",
381 "example": 0
382 },
383 "KEY_VALUE_STORE_READS": {
384 "type": "integer",
385 "example": 0
386 },
387 "KEY_VALUE_STORE_WRITES": {
388 "type": "number",
389 "example": 0.00005
390 },
391 "KEY_VALUE_STORE_LISTS": {
392 "type": "integer",
393 "example": 0
394 },
395 "REQUEST_QUEUE_READS": {
396 "type": "integer",
397 "example": 0
398 },
399 "REQUEST_QUEUE_WRITES": {
400 "type": "integer",
401 "example": 0
402 },
403 "DATA_TRANSFER_INTERNAL_GBYTES": {
404 "type": "integer",
405 "example": 0
406 },
407 "DATA_TRANSFER_EXTERNAL_GBYTES": {
408 "type": "integer",
409 "example": 0
410 },
411 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
412 "type": "integer",
413 "example": 0
414 },
415 "PROXY_SERPS": {
416 "type": "integer",
417 "example": 0
418 }
419 }
420 }
421 }
422 }
423 }
424 }
425 }
426 }
427}
Telegram auto forward OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Telegram auto forward from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: