telegramme
v0.3.1
Published
***
Downloads
30
Maintainers
Readme
Telegramme - simple Vue.js form to send telegram message from vue-application
You can send message to me by Demo
Also you can use telegramme to get messages from your site to your telegram-chatbot ;-)
Based on Telegram Api: see method here
Project setup
- [X] Install with npm:
npm i telegramme
- [X] Import component in your project:
import TelegramMe from 'telegramme'
- [X] Init component in your project:
export default {
name: 'your-app',
components: {
TelegramMe
}
}
- [X] Set TelegramMe component:
<TelegramMe
BotApi=String // Your Bot ID
chatID=String // Your Chat ID
title=String
sendButton=String
repeatButton=String
sendFromPlaceholder=String
subjectPlaceholder=String
messagePlaceholder=String
successNotification=String
/>
Settings
- [X] Need to create a chat-bot: https://tlgrm.ru/docs/bots/api#authorizing-your-bot