1

着信フック コネクタを介して Microsoft チームに投稿するスクリプトを正常に作成しましたが、メッセージを投稿すると、潜在的なアクションは常に [もっと見る] タグの後ろに隠されます。これを常に表示させる方法はありますか?

参照用のコード:

$data = array(
        '@type' => "MessageCard",
        '@context' => "http://schema.org/extensions",
        'themeColor' => "1B2C58",
        'summary' => "BOT has closed a sale!",
        'sections' => array(
        0 => array(
            'activityTitle' => $username . " has closed a sale!",
            'facts' => array(
            0 => array(
                'name' => "Customer",
                'value' => $accname), 
            1 => array(
                'name' => "Product",
                'value' => $interestTitle . " - " . $opTypeArray[$opType] . $extra), 
            2 => array(
                'name' => "Sales Value",
                'value' => $value . " (excl. VAT)"), 
            3 => array(
                'name' => "Purchase order",
                'value' => $poInput),
                ),
            'markdown' => True
            ),
        ),
        'potentialAction' => array(
            0 => array(
                '@type' => "ActionCard",
                'name' => "Add a comment",
                'inputs' => array(
                0 => array(
                    '@type' => "TextInput",
                    'id' => "comment",
                    'title' => "Enter your comment",
                    'isMultiline' => true),
                    ),
                    ),
            1 => array(
                '@type' => "OpenUri",
                'name' => "View Opportunity on ADM",
                'targets' => array(
                0 => array(
                    'os' => "default",
                    'uri' => "https://...." . $ops),
                    ),
                    ),
            2 => array(
                '@type' => "OpenUri",
                'name' => "View Quotation",
                'targets' => array(
                0 => array(
                    'os' => "default",
                    'uri' => "https://....". $newUrl),
                        ),
                    ),
                ),
            );
4

1 に答える 1