@grammyjs/menu
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -138,3 +138,3 @@ import { Context, Filter, InlineKeyboardButton, InlineKeyboardMarkup, LoginUrl, Middleware, MiddlewareObj } from "./deps.node.js"; | ||
/** A potentially async function that takes a context and returns a string */ | ||
declare type DynamicString<C extends Context> = ((ctx: C) => MaybePromise<string>); | ||
declare type DynamicString<C extends Context> = (ctx: C) => MaybePromise<string>; | ||
/** A potentially dynamic string */ | ||
@@ -291,4 +291,4 @@ declare type MaybeDynamicString<C extends Context> = string | DynamicString<C>; | ||
* Adds a new login button. This can be used as a replacement for the | ||
* Telegram Login Widget. You must specify an HTTP URL used to automatically | ||
* authorize the user. | ||
* Telegram Login Widget. You must specify an HTTPS URL used to | ||
* automatically authorize the user. | ||
* | ||
@@ -295,0 +295,0 @@ * @param text The text to display |
@@ -95,4 +95,4 @@ "use strict"; | ||
* Adds a new login button. This can be used as a replacement for the | ||
* Telegram Login Widget. You must specify an HTTP URL used to automatically | ||
* authorize the user. | ||
* Telegram Login Widget. You must specify an HTTPS URL used to | ||
* automatically authorize the user. | ||
* | ||
@@ -647,3 +647,3 @@ * @param text The text to display | ||
/** | ||
* Turns an optional and potentially dynamic string into a regular string for a | ||
* Turns an optional and potentially dynamic string into a regular string for a | ||
* given context object. | ||
@@ -650,0 +650,0 @@ * |
{ | ||
"name": "@grammyjs/menu", | ||
"description": "Interactive menus for grammY", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": "KnorpelSenf", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
53211