src/Api/MessageThread.php
public function favorite() : void
    {
        $data = (object)[
            'favoriteDetail' => (object)[
                'favoriteFlag' => true
            ]
        ];

        $this->putJson(sprintf(self::MESSAGE_THREAD_ENDPOINT . 'users/me/threads/%s/favorites', $this->messageThreadId), $data);
    }
public function favorite() : void
    {
        $data = (object)[
            'favoriteDetail' => (object)[
                'favoriteFlag' => true
            ]
        ];

        $this->putJson(sprintf(self::MESSAGE_THREAD_ENDPOINT . 'users/me/threads/%s/favorites', $this->messageThreadId), $data);
    }
public function favorite ( ) : void { $ data = ( object ) [ 'favoriteDetail' => ( object ) [ 'favoriteFlag' => true ] ] ; $ this -> putJson ( sprintf ( self :: MESSAGE_THREAD_ENDPOINT . 'users/me/threads/%s/favorites' , $ this -> messageThreadId ) , $ data ) ; }
Favorite the MessageThread.

@return void
Favorite the MessageThread .