code: def get_link_page_text(link_page):
          
          text = ''
          for i, link in enumerate(link_page):
              capped_link_text = (link['text'] if len(link['text']) <= 20
                                  else link['text'][:19] + '…')
              text += '[{}] [{}]({})\n'.format(i, capped_link_text, link['href'])
          return text
docs: Construct the dialog box to display a list of links to the user.