How to use the telegram.link.type function in telegram

To help you get started, we’ve selected a few telegram examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pmarrapese / tg-logsaver / lib / TelegramUser.js View on Github external
static _newInputPeer(type, props) {
    props = props || {};

    return new tg.type[`InputPeer${type}`]({
      props: props
    });
  }
}