Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typegram

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typegram - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

34

message.d.ts

@@ -555,18 +555,24 @@ import { Boolean, Float, Integer, String, True } from "./alias";

/** This object represents a point on the map. */
export interface Location {
/** Longitude as defined by sender */
longitude: Float;
/** Latitude as defined by sender */
latitude: Float;
/** The radius of uncertainty for the location, measured in meters; 0-1500 */
horizontal_accuracy?: Float;
/** Time relative to the message sending date, during which the location can be updated, in seconds. For active live locations only. */
live_period?: Integer;
/** The direction in which user is moving, in degrees; 1-360. For active live locations only. */
heading?: Integer;
/** Maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only. */
proximity_alert_radius?: Integer;
export namespace Location {
export interface CommonLocation {
/** Longitude as defined by sender */
longitude: Float;
/** Latitude as defined by sender */
latitude: Float;
/** The radius of uncertainty for the location, measured in meters; 0-1500 */
horizontal_accuracy?: Float;
}
export interface LiveLocation extends CommonLocation {
/** Time relative to the message sending date, during which the location can be updated, in seconds. For active live locations only. */
live_period: Integer;
/** The direction in which user is moving, in degrees; 1-360. For active live locations only. */
heading: Integer;
/** Maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only. */
proximity_alert_radius?: Integer;
}
}
/** This object represents a point on the map. */
export type Location = Location.CommonLocation | Location.LiveLocation;
/** This object represents a venue. */

@@ -573,0 +579,0 @@ export interface Venue {

{
"name": "typegram",
"version": "3.0.1",
"version": "3.0.2",
"description": "Type declarations for the Telegram API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -136,3 +136,3 @@ # Types for the Telegram API

Note that interfaces other than the ones mentioned above are unaffected by the customization through `MyInputFile`.
They can simply continued to be imported directly from `typegram`.
They can simply continue to be imported directly from `typegram`.

@@ -139,0 +139,0 @@ ## Where Do the Types Come from

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc