In practice
US law and carrier rules both care about consent. Under the TCPA and FCC rules, informational messages generally need prior express consent, while telemarketing sent with an autodialer or an artificial or prerecorded voice needs prior express written consent: a signed agreement, which can be electronic, that clearly authorizes the specific business to send marketing messages.
Carriers add their own expectations through the CTIA Messaging Principles. The opt-in should be clear about who is sending, what kind of messages, how often, that message and data rates may apply, and how to opt out. 10DLC and toll-free reviewers check that the opt-in flow is visible and matches these points.
Platforms should store when, where and how each contact opted in, per business, because that record is what a carrier or court will ask for.