SAN FRANCISCO — A lawsuit lobbed at Twitter Inc. in federal court Friday alleges that the company misled investors about trends in user engagement with its social media platform.

The securities fraud class action, brought by attorneys at Robbins Geller Rudman & Dowd, claims that Twitter executives painted an exceedingly rosy estimate toward the end of 2014 of its average “monthly active users” growing to more 550 million in the near term. Twitter had just 288 million in the final quarter of that year.