A player puts some chips in the pot, and either says something, or doesn’t.
There are some pretty specific rules about how to interpret that action, and these rules are extremely consistent across the poker world.
If the player gives a clear verbal declaration, either before placing chips in the pot or simultaneous with that action, the verbal declaration takes precedence over the chips. The chips in the pot will be adjusted to match the verbal declaration.
If a player first puts chips in the pot, and then verbalizes a bet, the chips take precedence and determine what the player’s bet is. The verbalization is essentially ignored.
A player is never required to verbalize a bet, even when all in, unless the desired bet size cannot be communicated by the denominations of the chips in the player’s stack.