@apidog/multibot-sdk-ts
Advanced tools
Comparing version 0.1.1 to 0.1.2
import { Location, User, InlineKeyboard } from '.'; | ||
import { MessageEntity } from './message'; | ||
import { ParseMode } from './send'; | ||
export interface InlineQuery { | ||
@@ -186,3 +188,33 @@ id: string; | ||
} | ||
export declare type InputMessageContent = object; | ||
export declare type InputTextMessageContent = { | ||
message_text: string; | ||
parse_mode?: ParseMode; | ||
entities?: MessageEntity[]; | ||
disable_web_page_preview?: boolean; | ||
}; | ||
export declare type InputLocationMessageContent = { | ||
latitude: number; | ||
longitude: number; | ||
horizontal_accuracy?: number; | ||
live_period?: number; | ||
heading?: number; | ||
proximity_alert_radius?: number; | ||
}; | ||
export declare type InputVenueMessageContent = { | ||
latitude: number; | ||
longitude: number; | ||
title: string; | ||
address: string; | ||
foursquare_id?: string; | ||
foursquare_type?: string; | ||
google_place_id?: string; | ||
google_place_type?: string; | ||
}; | ||
export declare type InputContactMessageContent = { | ||
phone_number: string; | ||
first_name: string; | ||
last_name?: string; | ||
vcard?: string; | ||
}; | ||
export declare type InputMessageContent = InputTextMessageContent | InputLocationMessageContent | InputVenueMessageContent | InputContactMessageContent; | ||
export declare type InlineQueryResult = InlineQueryResultCachedAudio | InlineQueryResultCachedDocument | InlineQueryResultCachedGif | InlineQueryResultCachedMpeg4Gif | InlineQueryResultCachedPhoto | InlineQueryResultCachedSticker | InlineQueryResultCachedVideo | InlineQueryResultCachedVoice | InlineQueryResultArticle | InlineQueryResultAudio | InlineQueryResultContact | InlineQueryResultGame | InlineQueryResultDocument | InlineQueryResultGif | InlineQueryResultLocation | InlineQueryResultMpeg4Gif | InlineQueryResultPhoto | InlineQueryResultVenue | InlineQueryResultVideo | InlineQueryResultVoice; |
import { User, Chat, Markup, PhotoSize, Video, Audio, Document, Animation, Voice, Sticker, Location, Venue, Contact, Poll, Game, Dice, ProximityAlertTriggered } from '.'; | ||
export interface Message { | ||
message_id: number; | ||
from?: User; | ||
sender_chat: Chat; | ||
from: User; | ||
sender_chat?: Chat; | ||
date: number; | ||
@@ -7,0 +7,0 @@ chat: Chat; |
{ | ||
"name": "@apidog/multibot-sdk-ts", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Telegram and VK bot SDK for TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163410
2509