mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	- Ability to configure line bots as a channel in chatwoot - Receive a message sent to the line bot in chatwoot - Ability to reply to line users from chatwoot fixes: #2738
		
			
				
	
	
		
			7 lines
		
	
	
		
			250 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			250 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class Webhooks::LineController < ActionController::API
 | 
						|
  def process_payload
 | 
						|
    Webhooks::LineEventsJob.perform_later(params: params.to_unsafe_hash, signature: request.headers['x-line-signature'], post_body: request.raw_post)
 | 
						|
    head :ok
 | 
						|
  end
 | 
						|
end
 |