Adds more than one native button to the message.

@param array $buttons

@return $this
332800
public function setButtons(array $buttons)
    {
        collect($buttons)->map(function ($button) {
            $this->setButton($button);
        });

        return $this;
    }
4849
public function add($agentId, array $buttons)
    {
        return $this->parseJSON('json', [self::API_CREATE, ['button' => $buttons], JSON_UNESCAPED_UNICODE, ['agentid' => $agentId]]);
    }
1302484
public function addTags(array $tags)
    {
        $this->tagsChanges['added'] = array_unique(
            array_merge($this->tagsChanges['added'], $tags)
        );

        return $this;
    }
12438
public function tags(array $tags)
    {
        $this->tags = array_unique(array_merge($this->tags, $tags));

        return $this;
    }
422012
public function add(array $buttons, array $matchRule = [])
    {
        if (!empty($matchRule)) {
            return $this->json(self::API_CONDITIONAL_CREATE,  [
                'button' => $buttons,
                'matchrule' => $matchRule,
            ]);
        }
        return $this->json(self::API_CREATE,['button' => $buttons]);
    }
1359033
public function addIcons($icons){
		foreach ( $this->content as $index=>$item ) {
			if($item instanceof HtmlButton && isset($icons[$index]))
				$item->addIcon($icons[$index]);
		}
		return $this;
	}
92834
protected function addMessages($method, array $messages)
    {
        // If there was exactly 1 message, it wasn't put in an array of messages.
        if (array_key_exists('code', $messages)) {
            $messages = array($messages);
        }
        foreach ($messages as $message) {
            call_user_func(array($this, $method), $message);
        }
        return $this;
    }
157988
public function addFieldButtons($buttons,$visibleHover=true,$callback=null){
		$this->addField($this->getCallable("getFieldButtons",[$buttons,$visibleHover],$callback));
		return $this;
	}
770985
public function tag($tags)
    {
        $tags = array_slice((array)$tags, 0, 3);
        foreach ($tags as $tag) {
            $this->messageBuilder->addTag($tag);
        }

        return $this;
    }
445247
public function addRules(array $rules)
    {
        foreach ($rules as $rule) {
            if (is_array($rule)) {
                $this->addRules($rule);
            } else {
                $this->addRule($rule);
            }
        }

        return $this;
    }
660454
public function setBindings(array $bindings)
    {
        foreach ($bindings as $key => $binding) {
            if (0 < strpos($key, '$') && $key !== $k = preg_replace('/[ \t]*\$/', ' $', $key)) {
                unset($bindings[$key]);
                $bindings[$key = $k] = $binding;
            }
            if (!$binding instanceof BoundArgument) {
                $bindings[$key] = new BoundArgument($binding);
            }
        }

        $this->bindings = $bindings;

        return $this;
    }
240386
public function setLinks(array $links)
    {
        $this->links = new ArrayIterator();

        foreach ($links as $linkIdent => $link) {
            $this->addLink($linkIdent, $link);
        }

        return $this;
    }
956019
public function setMessages(array $messages)
    {
        $this->unsetMessages();
        foreach ($messages as $message) {
            $this->appendMessage($message);
        }

        return $this;
    }
838786
public function campaign($campaigns)
    {
        $campaigns = array_slice((array)$campaigns, 0, 3);
        foreach ($campaigns as $campaign) {
            $this->messageBuilder->addCampaignId($campaign);
        }

        return $this;
    }
663042
public function addButtonsToLine($line, $buttons)
    {
        if (func_num_args() > 2) {
            $buttons = func_get_args();
            array_shift($buttons);
        }
        if (!is_array($buttons)) {
            $buttons = [$buttons];
        }
        foreach ($buttons as $button) {
            $this->buttons[$line][] = $button;
        }
        return $this;
    }
1134204
private function validateButtons($buttons)
    {
        if ($buttons === false)
            return $buttons;

        foreach($buttons as $q=>$w)
        {
            $buttons[$q] = ButtonReactManager::validateButton($w,$this->getTranslator(),$this->getTemplateManager());
        }
        return $buttons;
    }
1342520
public function setButton(\Assurrussa\GridView\Interfaces\ButtonInterface $button): ButtonsInterface
    {
        $this->_buttons[] = $button;

        return $this;
    }