• Gets information about a bot the current uzer owns (or the current bot)

    Parameters

    • client: ITelegramClient
    • params: { bot?: InputPeerLike; langCode?: string }
      • Optionalbot?: InputPeerLike

        When called by a user, a bot the user owns must be specified. When called by a bot, must be empty

      • OptionallangCode?: string

        If passed, will retrieve the bot's description in the given language. If left empty, will retrieve the fallback description.

    Returns Promise<tl.bots.RawBotInfo>