libtd-ktx / kotlinx.telegram.coroutines / getMessageLinkInfo
getMessageLinkInfo
suspend fun
TelegramFlow
.getMessageLinkInfo(url:
String
?):
MessageLinkInfo
Suspend function, which returns information about a public or private message link.
Parameters
url
- The message link in the format "https://t.me/c/…", or
"tg://privatepost?…", or "https://t.me/username/…", or
"tg://resolve?…".
Return MessageLinkInfo Contains information about a link to a message in a chat.