mirror of https://github.com/louislam/uptime-kuma
				
				
				
			feat: add message thread id for telegram nonfiction
							parent
							
								
									06dc61b343
								
							
						
					
					
						commit
						1bfb290718
					
				| 
						 | 
				
			
			@ -13,6 +13,7 @@ class Telegram extends NotificationProvider {
 | 
			
		|||
                params: {
 | 
			
		||||
                    chat_id: notification.telegramChatID,
 | 
			
		||||
                    text: msg,
 | 
			
		||||
                    message_thread_id: notification.telegramMessageThreadID,
 | 
			
		||||
                },
 | 
			
		||||
            });
 | 
			
		||||
            return okMsg;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,11 @@
 | 
			
		|||
            </button>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        <label for="message_thread_id" class="form-label">{{ $t("Message Thread ID") }}</label>
 | 
			
		||||
        <input id="message_thread_id" v-model="$parent.notification.telegramMessageThreadID" type="text" class="form-control">
 | 
			
		||||
        <p class="form-text">Message Thread ID: Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only</p>
 | 
			
		||||
 | 
			
		||||
        <div class="form-text">
 | 
			
		||||
            {{ $t("supportTelegramChatID") }}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue