import { UserData } from "../utils/telegram";
interface TelegramUserLinkProps {
u: UserData
}
export function TelegramUserLink({u}: TelegramUserLinkProps) {
if(u.username) return (
{u.username}
)
else if(u.last_name) return (
{u.first_name} {u.last_name}
)
else return (
u.first_name
)
}