8 lines
		
	
	
		
			243 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			243 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import logging
 | 
						|
 | 
						|
class BaseHandler:
 | 
						|
    logger = logging.getLogger(__name__)
 | 
						|
    entry_string: str
 | 
						|
 | 
						|
    async def entry_point(self, update, context) -> None:
 | 
						|
        self.logger.info(f"Chat ({update.message.chat_id}) said: {self.entry_string}") |