It’s opt-in, and also it doesn’t even come close to matching the descriptions in the bill.
> for the purpose of knowingly deceiving the person about the content of the communication in order to incentivize a purchase or sale of goods or services in a commercial transaction or to influence a vote in an election.
https://leginfo.legislature.ca.gov/faces/billTextClient.xhtm...
I'm not a lawyer, but it sounds like they're probably okay as long as the bot doesn't advertise anything or incite people to vote.