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

    Parameters

    • client: ITelegramClient
    • params: {
          bio?: string;
          bot?: InputPeerLike;
          description?: string;
          langCode?: string;
          name?: string;
      }
      • Optionalbio?: string

        New bio text (displayed in the profile)

      • Optionalbot?: InputPeerLike

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

      • Optionaldescription?: string

        New description text (displayed when the chat is empty)

      • OptionallangCode?: string

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

      • Optionalname?: string

        New bot name

    Returns Promise<void>