method ApiMethods.getMe
ApiMethods.getMe(): UserFromGetMe

A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object.

Return Type

Usage

import { type ApiMethods } from "types";