[SOLVED] Open telegram channel in android

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under
CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.


In my app want to use Intent to open specific telegram channel or telegram group. i search in SF but i can’t find anything.i try to implement but i only can open all messenger apps that user can choose but not telegram or specific telegram group or channel. if find href=”https://stackoverflow.com/questions/30055201/android-send-telegram-message-to-a-specific-number”>this on sf but it’s not answer to my question.

    Intent myIntent = new Intent(Intent.ACTION_SEND);
    myIntent.putExtra(Intent.EXTRA_TEXT, msg);//
    mUIActivity.startActivity(Intent.createChooser(myIntent, "Share with"));


Intent for opening a Telegram channel or user :

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("tg://resolve?domain=partsilicon"));

Answered By – Sadegh Ghanbari

people found this article helpful. What about you?