Simple, it uses fragment to check for the username availability, once it becomes available it will use the telegram api to either create a new channel or claim it to your account username, depending ...