Combining thinger.io with telegram notification

Hi,i'm very new in arduino programming. my first project create temperature monitoring system with nodemcu and DHT11 sensor. So my plan to this system is show the temperature and humidity using thinger.io and if temperature above normal,will send notification through telegram.
so i just create separate sketch to try each modul has working. first one i create sketch to send data to thinger .io and it's working, second sketch i create to test telegram notification. The problem is,when i try to combine both sketch,telegram notification is not working.But when i disable all code related to thinger,telegram notification working.

below for code

#include "CTBot.h"
#include "DHT.h"
#include <ThingerESP8266.h>

#define DHTPIN D7
#define DHTTYPE DHT11
#define USERNAME "xx" //Username thinger.io
#define DEVICE_ID "xx" 
#define DEVICE_CREDENTIAL "xx"
#define SSID "Redmi" 
#define SSID_PASSWORD "xx"
ThingerESP8266 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

DHT dht(DHTPIN, DHTTYPE);
CTBot myBot;
String ssid = "xx";
String pass = "xx";
String token = "xx";
const int id = -354535414;
int counter,i;
float hum,temp;

void setup() 
{
  Serial.begin(9600);
  Serial.println("Starting TelegramBot...");
  myBot.wifiConnect(ssid, pass);
  myBot.setTelegramToken(token);

  if (myBot.testConnection()) 
  {
    Serial.println("wifi terhubung");
  } else 
  {
    Serial.println("wifi tidak terhubung");
  }

  myBot.sendMessage(id, "notification test");
  Serial.println("Pesan Terkirim");

  dht.begin();
  delay(5000);
  
  thing.add_wifi(SSID, SSID_PASSWORD);
  thing["dht11"] >> [](pson& out)
  {
    out["humidity"] = hum;
    out["celsius"] = temp;
  };
}


void loop() 
{   
  thing.handle();   
  float h = dht.readHumidity(); 
  float t = dht.readTemperature();
  float f = dht.readTemperature(true);
 
  hum = h;
  temp = t;
  
  delay(5000);
  Serial.print("temperature  : ");
  Serial.print(t);
  Serial.println(" *C");
  delay(3000);
  
     if(t>24)
     {
      myBot.sendMessage(id, "check your server");
     }
   
   

}