code: public function addField($title, $value, $short = false)
      {
          $this->fields[] = [
              'title' => $title,
              'value' => $value,
              'short' => $short
          ];
      }
docs: Add a field to the attachment list.
  @param $title
  @param $value
  @param bool $short