public static function sendMessage($message, $media = [], $options = [])
    {
        self::initialize();

        $mediaIds = [];
        foreach ($media as $item) {
            $res = self::request(
                'https://upload.twitter.com/1.1/media/upload.json',
                'POST',
                null,
                ['media' => $item]
            );
            $mediaIds[] = $res->media_id_string;
        }
        return self::request(
            'statuses/update',
            'POST',
            $options + ['status' => $message, 'media_ids' => implode(',', $mediaIds) ?: null]
        );
    }