isTelegramProfileUrl method

bool isTelegramProfileUrl({
  1. String? userName,
})

Check string is telegram profile url

Implementation

bool isTelegramProfileUrl({String? userName}) {
  var o = telegramProfileUrl;
  if (o == null) return false;
  return (userName == null || o.userName == userName);
}