mirror of
				https://gitlab.com/ceda_ei/Zeeth-Naaw-Bot
				synced 2025-11-04 04:10:04 +01:00 
			
		
		
		
	Add disable notification to pin message.
This commit is contained in:
		@@ -30,7 +30,7 @@ function pin_message($message_id) {
 | 
			
		||||
  global $bot_api;
 | 
			
		||||
  global $chat_id;
 | 
			
		||||
  $url = 'https://api.telegram.org/bot' . $bot_api . '/pinChatMessage';
 | 
			
		||||
  $post_msg = array('chat_id' => $chat_id, 'message_id' => $message_id );
 | 
			
		||||
  $post_msg = array('chat_id' => $chat_id, 'message_id' => $message_id, 'disable_notification' => 'true' );
 | 
			
		||||
  $options = array(
 | 
			
		||||
    'http' => array(
 | 
			
		||||
      'header' => "Content-type: application/x-www-form-urlencoded\r\n",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user