mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	- 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
		
			
				
	
	
		
			7 lines
		
	
	
		
			173 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			173 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class Webhooks::TelegramController < ActionController::API
 | 
						|
  def process_payload
 | 
						|
    Webhooks::TelegramEventsJob.perform_later(params.to_unsafe_hash)
 | 
						|
    head :ok
 | 
						|
  end
 | 
						|
end
 |