Logo
Explore Help
Sign In
discourse/discourse-chat-integration
1
0
Fork 0
You've already forked discourse-chat-integration
mirror of https://github.com/discourse/discourse-chat-integration.git synced 2025-10-27 11:58:37 +00:00
Code Issues Packages Projects Releases Wiki Activity
discourse-chat-integration/lib/discourse_chat/provider/telegram/telegram_provider.rb

12 lines
266 B
Ruby
Raw Normal View History

Added filtering logic for multiple providers, along with many RSpec tests. General structure of the filter rules is taken from discourse-slack-official, but re-written to be more robust and easier to understand.
2017-06-27 19:21:27 +01:00
module DiscourseChat
module Provider
module TelegramProvider
Allow providers to be disabled, and tidy up translations
2017-07-03 15:53:26 +01:00
include Provider
Added filtering logic for multiple providers, along with many RSpec tests. General structure of the filter rules is taken from discourse-slack-official, but re-written to be more robust and easier to understand.
2017-06-27 19:21:27 +01:00
PROVIDER_NAME = "telegram".freeze
Allow providers to be disabled, and tidy up translations
2017-07-03 15:53:26 +01:00
PROVIDER_ENABLED_SETTING = :chat_integration_telegram_enabled
Added filtering logic for multiple providers, along with many RSpec tests. General structure of the filter rules is taken from discourse-slack-official, but re-written to be more robust and easier to understand.
2017-06-27 19:21:27 +01:00
end
end
Automatically mount provider’s engines at /chat-integration/{provider_name} Provider controllers are automatically disabled when the provider is disabled (works the same way as plugin controllers)
2017-07-05 15:03:02 +01:00
end
require_relative "telegram_command_controller.rb"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 38ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API