1.1.7 • Published 2 years ago

teletypes v1.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Teletypes

Machine parsed types for the Telegram Bot API

Self-updating repository with telegram types. You can open an issue if there any issues with this repository.

Getting started

  1. Install package from npm npm install teletypes
  2. See usage below

Simple usage example

import { TelegramTypes as T, TelegramMethods as M } from 'teletypes'

const msg: T.Message = {
  message_id: 0,
  date: 0,
  chat: { id: 0, types: 'yes' }
};

const fn: M.getMe = () => { return {
    id: 0,
    is_bot: true,
    first_name: 'yes'
}; };
1.1.7

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

4 years ago