Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/mod.ts>utils.parseUsername

MTProto API Client for Deno 🦕
Go to Latest
function utils.parseUsername
import { utils } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { parseUsername } = utils;

Parameters

username: string

Returns

{ username?: string; isInvite: boolean; }