Preparing search index...
The search index is not available
tgrm
tgrm
MethodReturn
Type alias MethodReturn<K>
Method
Return
<
K
>
:
ReturnType
<
Methods
[
K
]
>
The return type of a given method from
Methods
Type Parameters
K
extends
keyof
Methods
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
tgrm
Telegram
Chat
ChannelChat
GroupChat
PrivateChat
SupergroupChat
ChatFullInfo
ChannelChat
GroupChat
PrivateChat
SupergroupChat
InlineKeyboardButton
AbstractInlineKeyboardButton
CallbackButton
GameButton
LoginButton
PayButton
SwitchInlineButton
SwitchInlineChosenChatButton
SwitchInlineCurrentChatButton
UrlButton
WebAppButton
KeyboardButton
CommonButton
RequestChatButton
RequestContactButton
RequestLocationButton
RequestPollButton
RequestUsersButton
WebAppButton
Message
CaptionableMessage
CommonMessage
MediaMessage
ServiceMessage
AnimationMessage
AudioMessage
BoostAddedMessage
ChannelChatCreatedMessage
ChatBackgroundSetMessage
ChatSharedMessage
ConnectedWebsiteMessage
ContactMessage
DeleteChatPhotoMessage
DiceMessage
DocumentMessage
ForumTopicClosedMessage
ForumTopicCreatedMessage
ForumTopicEditedMessage
ForumTopicReopenedMessage
GameMessage
GeneralForumTopicHiddenMessage
GeneralForumTopicUnhiddenMessage
GiveawayCompletedMessage
GiveawayCreatedMessage
GiveawayMessage
GiveawayWinnersMessage
GroupChatCreatedMessage
InvoiceMessage
LeftChatMemberMessage
LocationMessage
MessageAutoDeleteTimerChangedMessage
MigrateFromChatIdMessage
MigrateToChatIdMessage
NewChatMembersMessage
NewChatPhotoMessage
NewChatTitleMessage
PaidMediaMessage
PassportDataMessage
PhotoMessage
PinnedMessageMessage
PollMessage
ProximityAlertTriggeredMessage
RefundedPaymentMessage
StickerMessage
StoryMessage
SuccessfulPaymentMessage
SupergroupChatCreated
TextMessage
UsersSharedMessage
VenueMessage
VideoChatEndedMessage
VideoChatParticipantsInvitedMessage
VideoChatScheduledMessage
VideoChatStartedMessage
VideoMessage
VideoNoteMessage
VoiceMessage
WebAppDataMessage
WriteAccessAllowedMessage
MessageEntity
AbstractMessageEntity
CommonMessageEntity
CustomEmojiMessageEntity
PreMessageEntity
TextLinkMessageEntity
TextMentionMessageEntity
Update
Channel
Edited
NonChannel
Private
Animation
ApiError
ApiSuccess
Audio
BackgroundFillFreeformGradient
BackgroundFillGradient
BackgroundFillSolid
BackgroundTypeChatTheme
BackgroundTypeFill
BackgroundTypePattern
BackgroundTypeWallpaper
Birthdate
BotCommand
BotCommandScopeAllChatAdministrators
BotCommandScopeAllGroupChats
BotCommandScopeAllPrivateChats
BotCommandScopeChat
BotCommandScopeChatAdministrators
BotCommandScopeChatMember
BotCommandScopeDefault
BotDescription
BotName
BotShortDescription
BusinessConnection
BusinessIntro
BusinessLocation
BusinessMessagesDeleted
BusinessOpeningHours
BusinessOpeningHoursInterval
CallbackGame
CallbackQuery
ChatAdministratorRights
ChatBackground
ChatBoost
ChatBoostAdded
ChatBoostRemoved
ChatBoostSourceGiftCode
ChatBoostSourceGiveaway
ChatBoostSourcePremium
ChatBoostUpdated
ChatInviteLink
ChatJoinRequest
ChatLocation
ChatMemberAdministrator
ChatMemberBanned
ChatMemberLeft
ChatMemberMember
ChatMemberOwner
ChatMemberRestricted
ChatMemberUpdated
ChatPermissions
ChatPhoto
ChatShared
ChosenInlineResult
Contact
Dice
Document
EncryptedCredentials
EncryptedPassportElement
ExternalReplyInfo
File
ForceReply
ForumTopic
ForumTopicClosed
ForumTopicCreated
ForumTopicEdited
ForumTopicReopened
Game
GameHighScore
GeneralForumTopicHidden
GeneralForumTopicUnhidden
Giveaway
GiveawayCompleted
GiveawayCreated
GiveawayWinners
InaccessibleMessage
InlineKeyboardMarkup
InlineQuery
InlineQueryResultArticle
InlineQueryResultAudio
InlineQueryResultCachedAudio
InlineQueryResultCachedDocument
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedPhoto
InlineQueryResultCachedSticker
InlineQueryResultCachedVideo
InlineQueryResultCachedVoice
InlineQueryResultContact
InlineQueryResultDocument
InlineQueryResultGame
InlineQueryResultGif
InlineQueryResultLocation
InlineQueryResultMpeg4Gif
InlineQueryResultPhoto
InlineQueryResultVenue
InlineQueryResultVideo
InlineQueryResultVoice
InlineQueryResultsButton
InputContactMessageContent
InputInvoiceMessageContent
InputLocationMessageContent
InputMediaAnimation
InputMediaAudio
InputMediaDocument
InputMediaPhoto
InputMediaVideo
InputPaidMediaPhoto
InputPaidMediaVideo
InputPollOption
InputSticker
InputTextMessageContent
InputVenueMessageContent
Invoice
KeyboardButtonPollType
KeyboardButtonRequestChat
KeyboardButtonRequestUsers
LabeledPrice
LinkPreviewOptions
Location
LoginUrl
MaskPosition
MenuButtonCommands
MenuButtonDefault
MenuButtonWebApp
Message
MessageAutoDeleteTimerChanged
MessageId
MessageOriginChannel
MessageOriginChat
MessageOriginHiddenUser
MessageOriginUser
MessageReactionCountUpdated
MessageReactionUpdated
OrderInfo
PaidMediaInfo
PaidMediaPhoto
PaidMediaPreview
PaidMediaVideo
PassportData
PassportElementErrorDataField
PassportElementErrorFile
PassportElementErrorFiles
PassportElementErrorFrontSide
PassportElementErrorReverseSide
PassportElementErrorSelfie
PassportElementErrorTranslationFile
PassportElementErrorTranslationFiles
PassportElementErrorUnspecified
PassportFile
PhotoSize
Poll
PollAnswer
PollOption
PreCheckoutQuery
ProximityAlertTriggered
ReactionCount
ReactionTypeCustomEmoji
ReactionTypeEmoji
ReactionTypePaid
RefundedPayment
ReplyKeyboardMarkup
ReplyKeyboardRemove
ReplyParameters
ResponseParameters
RevenueWithdrawalStateFailed
RevenueWithdrawalStatePending
RevenueWithdrawalStateSucceeded
SentWebAppMessage
SharedUser
ShippingAddress
ShippingOption
ShippingQuery
StarTransaction
StarTransactions
Sticker
StickerSet
Story
SuccessfulPayment
SwitchInlineQueryChosenChat
TextQuote
TransactionPartnerFragment
TransactionPartnerOther
TransactionPartnerTelegramAds
TransactionPartnerUser
Update
User
UserChatBoosts
UserFromGetMe
UserProfilePhotos
UsersShared
Venue
Video
VideoChatEnded
VideoChatParticipantsInvited
VideoChatScheduled
VideoChatStarted
VideoNote
Voice
WebAppData
WebAppInfo
WebhookInfo
WriteAccessAllowed
ApiMethods
ApiResponse
BackgroundFill
BackgroundType
BotCommandScope
Chat
ChatBoostSource
ChatFromGetChat
ChatFullInfo
ChatMember
InlineKeyboardButton
InlineQueryResult
InputMedia
InputMessageContent
InputPaidMedia
KeyboardButton
LanguageCode
MaybeInaccessibleMessage
MenuButton
MessageEntity
MessageOrigin
Opts
PaidMedia
ParseMode
PassportElementError
ReactionType
RevenueWithdrawalState
TransactionPartner
LanguageCodes
Client
ResolvedTelegramClientOptions
ClientResult
FormDataParameters
Method
MethodParameters
MethodReturn
Methods
PartialMessageEntity
TelegramClientOptions
TgrmFileId
buildFormDataFor
buildMessage
createClient
entity
normalizeOptions
request
The return type of a given method from Methods