public function transformTextCard(AbstractMessage $message)
    {
        return [
            'msgtype'  => 'textcard',
            'textcard' => [
                'title'       => $message->get('title'),
                'description' => $message->get('description'),
                'url'         => $message->get('url'),
                'btntxt'      => $message->get('btntxt'),
            ],
        ];
    }
public function transformTextCard(AbstractMessage $message)
    {
        return [
            'msgtype'  => 'textcard',
            'textcard' => [
                'title'       => $message->get('title'),
                'description' => $message->get('description'),
                'url'         => $message->get('url'),
                'btntxt'      => $message->get('btntxt'),
            ],
        ];
    }
public function transformTextCard ( AbstractMessage $ message ) { return [ 'msgtype' => 'textcard' , 'textcard' => [ 'title' => $ message -> get ( 'title' ) , 'description' => $ message -> get ( 'description' ) , 'url' => $ message -> get ( 'url' ) , 'btntxt' => $ message -> get ( 'btntxt' ) , ] , ] ; }
Transform textcard message.

@return array
Transform textcard message .