Chatwoot/db/migrate/20210828124043_add_telegram_channel.rb
Sojan Jose 671c5c931f
feat: Telegram Channel (#2901)
- Ability to configure telegram bots as a channel in chatwoot
- Receive a message sent to the telegram bot in chatwoot
- Ability to reply to telegram users from chatwoot
- Receive attachment messages in chatwoot

fixes: #1843
2021-09-10 00:00:52 +05:30

10 lines
278 B
Ruby

class AddTelegramChannel < ActiveRecord::Migration[6.1]
def change
create_table :channel_telegram do |t|
t.string :bot_name
t.integer :account_id, null: false
t.string :bot_token, null: false, index: { unique: true }
t.timestamps
end
end
end