@pipedream/telegram_bot_api 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import base from "../common/webhooks.mjs";
|
|
2
|
+
import sampleEmit from "./test-event.mjs";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
...base,
|
|
5
6
|
key: "telegram_bot_api-channel-updates",
|
|
6
7
|
name: "New Channel Updates (Instant)",
|
|
7
8
|
description: "Emit new event each time a channel post is created or updated.",
|
|
8
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.4",
|
|
10
|
+
|
|
9
11
|
type: "source",
|
|
10
12
|
dedupe: "unique",
|
|
11
13
|
methods: {
|
|
@@ -33,4 +35,5 @@ export default {
|
|
|
33
35
|
this.$emit(event, this.getMeta(event, channelPost));
|
|
34
36
|
},
|
|
35
37
|
},
|
|
38
|
+
sampleEmit,
|
|
36
39
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"update_id": 385734946,
|
|
3
|
+
"channel_post": {
|
|
4
|
+
"message_id": 3,
|
|
5
|
+
"sender_chat": {
|
|
6
|
+
"id": -1201511298490,
|
|
7
|
+
"title": "Cloudflow testing",
|
|
8
|
+
"username": "cloudflowtest2018",
|
|
9
|
+
"type": "channel"
|
|
10
|
+
},
|
|
11
|
+
"chat": {
|
|
12
|
+
"id": -1201511298490,
|
|
13
|
+
"title": "Cloudflow testing",
|
|
14
|
+
"username": "cloudflowtest2018",
|
|
15
|
+
"type": "channel"
|
|
16
|
+
},
|
|
17
|
+
"date": 1787954349,
|
|
18
|
+
"text": "Hello"
|
|
19
|
+
}
|
|
20
|
+
}
|