|
|
@ -47,11 +47,6 @@ export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
HiddenInput,
|
|
|
|
HiddenInput,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
name: "telegram",
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
telegramGetUpdatesURL() {
|
|
|
|
telegramGetUpdatesURL() {
|
|
|
|
let token = "<YOUR BOT TOKEN HERE>"
|
|
|
|
let token = "<YOUR BOT TOKEN HERE>"
|
|
|
@ -62,9 +57,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
return `https://api.telegram.org/bot${token}/getUpdates`;
|
|
|
|
return `https://api.telegram.org/bot${token}/getUpdates`;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
async autoGetTelegramChatID() {
|
|
|
|
async autoGetTelegramChatID() {
|
|
|
|