New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gramio/types

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

@gramio/types - npm Package Compare versions

Comparing version 7.1.2 to 7.1.3

out/utils.d.ts

1

out/index.d.ts

@@ -6,1 +6,2 @@ export * from "./methods"

export * as TelegramObjects from "./objects"
export { APIMethodParams, APIMethodReturn } from "./utils"

256

out/methods.d.ts
/**
* Based on Bot API v7.1.0 (16.2.2024)
* Generated at 2/19/2024, 9:14:43 AM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators
* Generated at 2/22/2024, 2:00:23 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/
import {
CallAPIWithOptionalParams,
CallAPI,
CallAPIWithoutParams,
} from "./utils"
import * as Params from "./params"
import * as Objects from "./objects"
type CallAPI<T, R> = (params: T) => Promise<R>
type CallAPIWithoutParams<R> = () => Promise<R>
type CallAPIWithOptionalParams<T, R> = (params?: T) => Promise<R>
export type APIMethodParams<APIMethod extends keyof APIMethods> = Parameters<
APIMethods[APIMethod]
>[0]
export type APIMethodReturn<APIMethod extends keyof APIMethods> = Awaited<
ReturnType<APIMethods[APIMethod]>
>
export interface APIMethods {

@@ -23,3 +17,3 @@ /**

*
* {@link https://core.telegram.org/bots/api/#getupdates | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getupdates)
*/

@@ -35,3 +29,3 @@ getUpdates: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#setwebhook | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setwebhook)
*/

@@ -42,3 +36,3 @@ setWebhook: CallAPI<Params.SetWebhookParams, true>

*
* {@link https://core.telegram.org/bots/api/#deletewebhook | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletewebhook)
*/

@@ -49,3 +43,3 @@ deleteWebhook: CallAPIWithOptionalParams<Params.DeleteWebhookParams, true>

*
* {@link https://core.telegram.org/bots/api/#getwebhookinfo | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getwebhookinfo)
*/

@@ -56,3 +50,3 @@ getWebhookInfo: CallAPIWithoutParams<Objects.TelegramWebhookInfo>

*
* {@link https://core.telegram.org/bots/api/#getme | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getme)
*/

@@ -63,3 +57,3 @@ getMe: CallAPIWithoutParams<Objects.TelegramUser>

*
* {@link https://core.telegram.org/bots/api/#logout | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#logout)
*/

@@ -70,3 +64,3 @@ logOut: CallAPIWithoutParams<true>

*
* {@link https://core.telegram.org/bots/api/#close | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#close)
*/

@@ -77,3 +71,3 @@ close: CallAPIWithoutParams<true>

*
* {@link https://core.telegram.org/bots/api/#sendmessage | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendmessage)
*/

@@ -84,3 +78,3 @@ sendMessage: CallAPI<Params.SendMessageParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#forwardmessage | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#forwardmessage)
*/

@@ -94,3 +88,3 @@ forwardMessage: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#forwardmessages | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#forwardmessages)
*/

@@ -104,3 +98,3 @@ forwardMessages: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#copymessage | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#copymessage)
*/

@@ -111,3 +105,3 @@ copyMessage: CallAPI<Params.CopyMessageParams, Objects.TelegramMessageId>

*
* {@link https://core.telegram.org/bots/api/#copymessages | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#copymessages)
*/

@@ -121,3 +115,3 @@ copyMessages: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#sendphoto | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendphoto)
*/

@@ -130,3 +124,3 @@ sendPhoto: CallAPI<Params.SendPhotoParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendaudio | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendaudio)
*/

@@ -137,3 +131,3 @@ sendAudio: CallAPI<Params.SendAudioParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#senddocument | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#senddocument)
*/

@@ -144,3 +138,3 @@ sendDocument: CallAPI<Params.SendDocumentParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendvideo | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendvideo)
*/

@@ -151,3 +145,3 @@ sendVideo: CallAPI<Params.SendVideoParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendanimation | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendanimation)
*/

@@ -158,3 +152,3 @@ sendAnimation: CallAPI<Params.SendAnimationParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendvoice | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendvoice)
*/

@@ -165,3 +159,3 @@ sendVoice: CallAPI<Params.SendVoiceParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendvideonote | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendvideonote)
*/

@@ -172,3 +166,3 @@ sendVideoNote: CallAPI<Params.SendVideoNoteParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendmediagroup | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendmediagroup)
*/

@@ -182,3 +176,3 @@ sendMediaGroup: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#sendlocation | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendlocation)
*/

@@ -189,3 +183,3 @@ sendLocation: CallAPI<Params.SendLocationParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendvenue | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendvenue)
*/

@@ -196,3 +190,3 @@ sendVenue: CallAPI<Params.SendVenueParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendcontact | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendcontact)
*/

@@ -203,3 +197,3 @@ sendContact: CallAPI<Params.SendContactParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendpoll | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendpoll)
*/

@@ -210,3 +204,3 @@ sendPoll: CallAPI<Params.SendPollParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#senddice | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#senddice)
*/

@@ -221,3 +215,3 @@ sendDice: CallAPI<Params.SendDiceParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#sendchataction | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendchataction)
*/

@@ -228,3 +222,3 @@ sendChatAction: CallAPI<Params.SendChatActionParams, true>

*
* {@link https://core.telegram.org/bots/api/#setmessagereaction | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setmessagereaction)
*/

@@ -235,3 +229,3 @@ setMessageReaction: CallAPI<Params.SetMessageReactionParams, true>

*
* {@link https://core.telegram.org/bots/api/#getuserprofilephotos | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getuserprofilephotos)
*/

@@ -245,3 +239,3 @@ getUserProfilePhotos: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#getfile | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getfile)
*/

@@ -252,3 +246,3 @@ getFile: CallAPI<Params.GetFileParams, Objects.TelegramFile>

*
* {@link https://core.telegram.org/bots/api/#banchatmember | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#banchatmember)
*/

@@ -259,3 +253,3 @@ banChatMember: CallAPI<Params.BanChatMemberParams, true>

*
* {@link https://core.telegram.org/bots/api/#unbanchatmember | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unbanchatmember)
*/

@@ -266,3 +260,3 @@ unbanChatMember: CallAPI<Params.UnbanChatMemberParams, true>

*
* {@link https://core.telegram.org/bots/api/#restrictchatmember | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#restrictchatmember)
*/

@@ -273,3 +267,3 @@ restrictChatMember: CallAPI<Params.RestrictChatMemberParams, true>

*
* {@link https://core.telegram.org/bots/api/#promotechatmember | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#promotechatmember)
*/

@@ -280,3 +274,3 @@ promoteChatMember: CallAPI<Params.PromoteChatMemberParams, true>

*
* {@link https://core.telegram.org/bots/api/#setchatadministratorcustomtitle | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchatadministratorcustomtitle)
*/

@@ -290,3 +284,3 @@ setChatAdministratorCustomTitle: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#banchatsenderchat | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#banchatsenderchat)
*/

@@ -297,3 +291,3 @@ banChatSenderChat: CallAPI<Params.BanChatSenderChatParams, true>

*
* {@link https://core.telegram.org/bots/api/#unbanchatsenderchat | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unbanchatsenderchat)
*/

@@ -304,3 +298,3 @@ unbanChatSenderChat: CallAPI<Params.UnbanChatSenderChatParams, true>

*
* {@link https://core.telegram.org/bots/api/#setchatpermissions | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchatpermissions)
*/

@@ -311,3 +305,3 @@ setChatPermissions: CallAPI<Params.SetChatPermissionsParams, true>

*
* {@link https://core.telegram.org/bots/api/#exportchatinvitelink | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#exportchatinvitelink)
*/

@@ -318,3 +312,3 @@ exportChatInviteLink: CallAPI<Params.ExportChatInviteLinkParams, string>

*
* {@link https://core.telegram.org/bots/api/#createchatinvitelink | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#createchatinvitelink)
*/

@@ -328,3 +322,3 @@ createChatInviteLink: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#editchatinvitelink | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editchatinvitelink)
*/

@@ -338,3 +332,3 @@ editChatInviteLink: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#revokechatinvitelink | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#revokechatinvitelink)
*/

@@ -348,3 +342,3 @@ revokeChatInviteLink: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#approvechatjoinrequest | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#approvechatjoinrequest)
*/

@@ -355,3 +349,3 @@ approveChatJoinRequest: CallAPI<Params.ApproveChatJoinRequestParams, true>

*
* {@link https://core.telegram.org/bots/api/#declinechatjoinrequest | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#declinechatjoinrequest)
*/

@@ -362,3 +356,3 @@ declineChatJoinRequest: CallAPI<Params.DeclineChatJoinRequestParams, true>

*
* {@link https://core.telegram.org/bots/api/#setchatphoto | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchatphoto)
*/

@@ -369,3 +363,3 @@ setChatPhoto: CallAPI<Params.SetChatPhotoParams, true>

*
* {@link https://core.telegram.org/bots/api/#deletechatphoto | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletechatphoto)
*/

@@ -376,3 +370,3 @@ deleteChatPhoto: CallAPI<Params.DeleteChatPhotoParams, true>

*
* {@link https://core.telegram.org/bots/api/#setchattitle | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchattitle)
*/

@@ -383,3 +377,3 @@ setChatTitle: CallAPI<Params.SetChatTitleParams, true>

*
* {@link https://core.telegram.org/bots/api/#setchatdescription | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchatdescription)
*/

@@ -390,3 +384,3 @@ setChatDescription: CallAPI<Params.SetChatDescriptionParams, true>

*
* {@link https://core.telegram.org/bots/api/#pinchatmessage | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#pinchatmessage)
*/

@@ -397,3 +391,3 @@ pinChatMessage: CallAPI<Params.PinChatMessageParams, true>

*
* {@link https://core.telegram.org/bots/api/#unpinchatmessage | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unpinchatmessage)
*/

@@ -404,3 +398,3 @@ unpinChatMessage: CallAPI<Params.UnpinChatMessageParams, true>

*
* {@link https://core.telegram.org/bots/api/#unpinallchatmessages | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unpinallchatmessages)
*/

@@ -411,3 +405,3 @@ unpinAllChatMessages: CallAPI<Params.UnpinAllChatMessagesParams, true>

*
* {@link https://core.telegram.org/bots/api/#leavechat | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#leavechat)
*/

@@ -418,3 +412,3 @@ leaveChat: CallAPI<Params.LeaveChatParams, true>

*
* {@link https://core.telegram.org/bots/api/#getchat | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getchat)
*/

@@ -425,3 +419,3 @@ getChat: CallAPI<Params.GetChatParams, Objects.TelegramChat>

*
* {@link https://core.telegram.org/bots/api/#getchatadministrators | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getchatadministrators)
*/

@@ -435,3 +429,3 @@ getChatAdministrators: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#getchatmembercount | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getchatmembercount)
*/

@@ -442,3 +436,3 @@ getChatMemberCount: CallAPI<Params.GetChatMemberCountParams, number>

*
* {@link https://core.telegram.org/bots/api/#getchatmember | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getchatmember)
*/

@@ -452,3 +446,3 @@ getChatMember: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#setchatstickerset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchatstickerset)
*/

@@ -459,3 +453,3 @@ setChatStickerSet: CallAPI<Params.SetChatStickerSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#deletechatstickerset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletechatstickerset)
*/

@@ -466,3 +460,3 @@ deleteChatStickerSet: CallAPI<Params.DeleteChatStickerSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#getforumtopiciconstickers | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getforumtopiciconstickers)
*/

@@ -473,3 +467,3 @@ getForumTopicIconStickers: CallAPIWithoutParams<Objects.TelegramSticker[]>

*
* {@link https://core.telegram.org/bots/api/#createforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#createforumtopic)
*/

@@ -483,3 +477,3 @@ createForumTopic: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#editforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editforumtopic)
*/

@@ -490,3 +484,3 @@ editForumTopic: CallAPI<Params.EditForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#closeforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#closeforumtopic)
*/

@@ -497,3 +491,3 @@ closeForumTopic: CallAPI<Params.CloseForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#reopenforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#reopenforumtopic)
*/

@@ -504,3 +498,3 @@ reopenForumTopic: CallAPI<Params.ReopenForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#deleteforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deleteforumtopic)
*/

@@ -511,3 +505,3 @@ deleteForumTopic: CallAPI<Params.DeleteForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#unpinallforumtopicmessages | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unpinallforumtopicmessages)
*/

@@ -521,3 +515,3 @@ unpinAllForumTopicMessages: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#editgeneralforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editgeneralforumtopic)
*/

@@ -528,3 +522,3 @@ editGeneralForumTopic: CallAPI<Params.EditGeneralForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#closegeneralforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#closegeneralforumtopic)
*/

@@ -535,3 +529,3 @@ closeGeneralForumTopic: CallAPI<Params.CloseGeneralForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#reopengeneralforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#reopengeneralforumtopic)
*/

@@ -542,3 +536,3 @@ reopenGeneralForumTopic: CallAPI<Params.ReopenGeneralForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#hidegeneralforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#hidegeneralforumtopic)
*/

@@ -549,3 +543,3 @@ hideGeneralForumTopic: CallAPI<Params.HideGeneralForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#unhidegeneralforumtopic | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unhidegeneralforumtopic)
*/

@@ -556,3 +550,3 @@ unhideGeneralForumTopic: CallAPI<Params.UnhideGeneralForumTopicParams, true>

*
* {@link https://core.telegram.org/bots/api/#unpinallgeneralforumtopicmessages | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#unpinallgeneralforumtopicmessages)
*/

@@ -568,3 +562,3 @@ unpinAllGeneralForumTopicMessages: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#answercallbackquery | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#answercallbackquery)
*/

@@ -575,3 +569,3 @@ answerCallbackQuery: CallAPI<Params.AnswerCallbackQueryParams, true>

*
* {@link https://core.telegram.org/bots/api/#getuserchatboosts | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getuserchatboosts)
*/

@@ -585,3 +579,3 @@ getUserChatBoosts: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#setmycommands | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setmycommands)
*/

@@ -592,3 +586,3 @@ setMyCommands: CallAPI<Params.SetMyCommandsParams, true>

*
* {@link https://core.telegram.org/bots/api/#deletemycommands | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletemycommands)
*/

@@ -602,3 +596,3 @@ deleteMyCommands: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#getmycommands | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getmycommands)
*/

@@ -612,3 +606,3 @@ getMyCommands: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#setmyname | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setmyname)
*/

@@ -619,3 +613,3 @@ setMyName: CallAPIWithOptionalParams<Params.SetMyNameParams, true>

*
* {@link https://core.telegram.org/bots/api/#getmyname | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getmyname)
*/

@@ -629,3 +623,3 @@ getMyName: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#setmydescription | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setmydescription)
*/

@@ -639,3 +633,3 @@ setMyDescription: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#getmydescription | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getmydescription)
*/

@@ -649,3 +643,3 @@ getMyDescription: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#setmyshortdescription | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setmyshortdescription)
*/

@@ -659,3 +653,3 @@ setMyShortDescription: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#getmyshortdescription | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getmyshortdescription)
*/

@@ -669,3 +663,3 @@ getMyShortDescription: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#setchatmenubutton | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setchatmenubutton)
*/

@@ -679,3 +673,3 @@ setChatMenuButton: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#getchatmenubutton | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getchatmenubutton)
*/

@@ -689,3 +683,3 @@ getChatMenuButton: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#setmydefaultadministratorrights | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setmydefaultadministratorrights)
*/

@@ -699,3 +693,3 @@ setMyDefaultAdministratorRights: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#getmydefaultadministratorrights | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getmydefaultadministratorrights)
*/

@@ -709,3 +703,3 @@ getMyDefaultAdministratorRights: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#editmessagetext | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editmessagetext)
*/

@@ -719,3 +713,3 @@ editMessageText: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#editmessagecaption | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editmessagecaption)
*/

@@ -729,3 +723,3 @@ editMessageCaption: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#editmessagemedia | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editmessagemedia)
*/

@@ -739,3 +733,3 @@ editMessageMedia: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#editmessagelivelocation | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editmessagelivelocation)
*/

@@ -749,3 +743,3 @@ editMessageLiveLocation: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#stopmessagelivelocation | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#stopmessagelivelocation)
*/

@@ -759,3 +753,3 @@ stopMessageLiveLocation: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#editmessagereplymarkup | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#editmessagereplymarkup)
*/

@@ -769,3 +763,3 @@ editMessageReplyMarkup: CallAPIWithOptionalParams<

*
* {@link https://core.telegram.org/bots/api/#stoppoll | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#stoppoll)
*/

@@ -785,3 +779,3 @@ stopPoll: CallAPI<Params.StopPollParams, Objects.TelegramPoll>

*
* {@link https://core.telegram.org/bots/api/#deletemessage | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletemessage)
*/

@@ -792,3 +786,3 @@ deleteMessage: CallAPI<Params.DeleteMessageParams, true>

*
* {@link https://core.telegram.org/bots/api/#deletemessages | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletemessages)
*/

@@ -799,3 +793,3 @@ deleteMessages: CallAPI<Params.DeleteMessagesParams, true>

*
* {@link https://core.telegram.org/bots/api/#sendsticker | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendsticker)
*/

@@ -806,3 +800,3 @@ sendSticker: CallAPI<Params.SendStickerParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#getstickerset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getstickerset)
*/

@@ -816,3 +810,3 @@ getStickerSet: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#getcustomemojistickers | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getcustomemojistickers)
*/

@@ -826,3 +820,3 @@ getCustomEmojiStickers: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#uploadstickerfile | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#uploadstickerfile)
*/

@@ -836,3 +830,3 @@ uploadStickerFile: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#createnewstickerset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#createnewstickerset)
*/

@@ -843,3 +837,3 @@ createNewStickerSet: CallAPI<Params.CreateNewStickerSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#addstickertoset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#addstickertoset)
*/

@@ -850,3 +844,3 @@ addStickerToSet: CallAPI<Params.AddStickerToSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#setstickerpositioninset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setstickerpositioninset)
*/

@@ -857,3 +851,3 @@ setStickerPositionInSet: CallAPI<Params.SetStickerPositionInSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#deletestickerfromset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletestickerfromset)
*/

@@ -864,3 +858,3 @@ deleteStickerFromSet: CallAPI<Params.DeleteStickerFromSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#setstickeremojilist | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setstickeremojilist)
*/

@@ -871,3 +865,3 @@ setStickerEmojiList: CallAPI<Params.SetStickerEmojiListParams, true>

*
* {@link https://core.telegram.org/bots/api/#setstickerkeywords | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setstickerkeywords)
*/

@@ -878,3 +872,3 @@ setStickerKeywords: CallAPI<Params.SetStickerKeywordsParams, true>

*
* {@link https://core.telegram.org/bots/api/#setstickermaskposition | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setstickermaskposition)
*/

@@ -885,3 +879,3 @@ setStickerMaskPosition: CallAPI<Params.SetStickerMaskPositionParams, true>

*
* {@link https://core.telegram.org/bots/api/#setstickersettitle | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setstickersettitle)
*/

@@ -892,3 +886,3 @@ setStickerSetTitle: CallAPI<Params.SetStickerSetTitleParams, true>

*
* {@link https://core.telegram.org/bots/api/#setstickersetthumbnail | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setstickersetthumbnail)
*/

@@ -899,3 +893,3 @@ setStickerSetThumbnail: CallAPI<Params.SetStickerSetThumbnailParams, true>

*
* {@link https://core.telegram.org/bots/api/#setcustomemojistickersetthumbnail | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setcustomemojistickersetthumbnail)
*/

@@ -909,3 +903,3 @@ setCustomEmojiStickerSetThumbnail: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#deletestickerset | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#deletestickerset)
*/

@@ -917,3 +911,3 @@ deleteStickerSet: CallAPI<Params.DeleteStickerSetParams, true>

*
* {@link https://core.telegram.org/bots/api/#answerinlinequery | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#answerinlinequery)
*/

@@ -924,3 +918,3 @@ answerInlineQuery: CallAPI<Params.AnswerInlineQueryParams, true>

*
* {@link https://core.telegram.org/bots/api/#answerwebappquery | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#answerwebappquery)
*/

@@ -934,3 +928,3 @@ answerWebAppQuery: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#sendinvoice | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendinvoice)
*/

@@ -941,3 +935,3 @@ sendInvoice: CallAPI<Params.SendInvoiceParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#createinvoicelink | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#createinvoicelink)
*/

@@ -948,3 +942,3 @@ createInvoiceLink: CallAPI<Params.CreateInvoiceLinkParams, string>

*
* {@link https://core.telegram.org/bots/api/#answershippingquery | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#answershippingquery)
*/

@@ -955,3 +949,3 @@ answerShippingQuery: CallAPI<Params.AnswerShippingQueryParams, true>

*
* {@link https://core.telegram.org/bots/api/#answerprecheckoutquery | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#answerprecheckoutquery)
*/

@@ -964,3 +958,3 @@ answerPreCheckoutQuery: CallAPI<Params.AnswerPreCheckoutQueryParams, true>

*
* {@link https://core.telegram.org/bots/api/#setpassportdataerrors | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setpassportdataerrors)
*/

@@ -971,3 +965,3 @@ setPassportDataErrors: CallAPI<Params.SetPassportDataErrorsParams, true>

*
* {@link https://core.telegram.org/bots/api/#sendgame | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#sendgame)
*/

@@ -978,3 +972,3 @@ sendGame: CallAPI<Params.SendGameParams, Objects.TelegramMessage>

*
* {@link https://core.telegram.org/bots/api/#setgamescore | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#setgamescore)
*/

@@ -990,3 +984,3 @@ setGameScore: CallAPI<

*
* {@link https://core.telegram.org/bots/api/#getgamehighscores | [Documentation]}
* [Documentation](https://core.telegram.org/bots/api/#getgamehighscores)
*/

@@ -993,0 +987,0 @@ getGameHighScores: CallAPI<

{
"name": "@gramio/types",
"version": "7.1.2",
"version": "7.1.3",
"homepage": "https://github.com/gramiojs/types",

@@ -5,0 +5,0 @@ "readme": "https://github.com/gramiojs/types",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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