Skip to content

get message link info

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally