Audio By Carbonatix
The BBC has been given photos of Twitter office space that has been converted into bedrooms, which San Francisco authorities are probing as a possible building code violation.
One image shows a room with a double bed, including a wardrobe and slippers.
An ex-worker said new Twitter boss Elon Musk has been staying at the headquarters since he bought the firm.
He last month emailed all Twitter staff saying they "will need to be extremely hardcore" to succeed.
San Francisco's Department of Building Inspection has confirmed it is investigating potential violations following a complaint.
Mr Musk said the city was attacking companies for providing beds to "tired employees".
In a now-deleted tweet, Mr Musk posted that he would work and sleep in the office "until the org is fixed".
The BBC has also been given pictures of sofas at Twitter being used as beds.
Another conference room has an alarm clock, and a picture placed over a made-up bed.

"It looks like a hotel room," said one former worker. They went on to say that Mr Musk regularly sleeps at the Twitter HQ in San Francisco.
Twitter did not immediately respond to a request for comment from the BBC.
Last month Mr Musk - who completed his Twitter takeover in October - emailed all staff at the company saying they would need to work "long hours at high intensity".
"Only exceptional performance will constitute a passing grade," he wrote.
California state senator Scott Wiener told the BBC on Wednesday: "He's now making them [workers] sleep at Twitter.
"It's clear that he doesn't really care about people. He doesn't care about the people who work for him."
A Department of Building Inspection official told the BBC's US partner CBS News: 'We need to make sure the building is being used as intended."

In a reply to a journalist on Twitter, Mr Musk posted that the city should prioritise protecting children from the consequences of opioid drug misuse.
'Office armchairs'
Forbes broke the story of "sad little conference-room sleeping quarters at the company's recently depopulated headquarters", noting it was an apparent improvement on the improvised sleeping-bag-on-the-floor arrangement posted on Twitter by one employee.
The bedrooms, Bloomberg reported, are also said to accommodate staff from Tesla and other Musk-owned businesses brought in to work at Twitter, "some of whom travel to Twitter for work meetings", sources told the publication.
Department of Building Inspection official Patrick Hannan told the San Francisco Chronicle it investigated all complaints and there were different rules for residential buildings, even those used for short-term stays.
In May 2020, before Mr Musk's takeover, Twitter told employees they could work from home "forever" if they so wished because its remote-working measures during Covid lockdowns had been a success.
Last month Mr Musk said remote working would end.
Latest Stories
-
From Young Nurse to Hypertension Champion: Betty Twumasi Ankrah’s Journey
44 minutes -
Ghana to mark Africa Safer Internet Day on February 10
1 hour -
‘A Tax For Galamsey’: Dr Manteaw warns NDC against shielding ‘galamsey’ DCEs
2 hours -
When a TV is not a vote but the Gospel according to the television set
3 hours -
Ghana can significantly expand domestic revenue without raising tax rates -UGBS Finance Professor
3 hours -
Policeman killed in bloody robbery on Zebilla–Widnaba road
3 hours -
Cedi under seasonal pressure as Q1 demand intensifies; one dollar equals GH¢11.80 at forex bureaus
3 hours -
Roads Minister rejects Minority’s claim of downgrading Suame Interchange Project
3 hours -
Eco-Africa Network demands dismissal of culpable officials in explosive JoyNews exposé
4 hours -
Ayawaso East vote-buying: Party will take decision after committee findings – NDC
4 hours -
Ayawaso Zongo Chiefs warn of possible chaos if NDC annuls disputed primary
4 hours -
I didn’t see failure as an option: Chicago Fire forward Shokalook
4 hours -
TI-Ghana condemns alleged vote-buying in Ayawaso East NDC primary
4 hours -
Karim Zito resigns as Asante Kotoko head coach following MTN FA Cup elimination
4 hours -
“Is your cell phone bugged?” Why privacy may be an Illusion in the age of smart devices
5 hours
