See Speech Acts:
In the philosophy of language and linguistics, a speech act is an utterance considered as an instance of action in a social context rather than as the mere expression of a proposition.
Types of speech act: following J. L. Austin's distinction in How to Do Things with Words (1955), many philosophers and linguists analyse ordinary utterances as involving at least three kinds of act: a locutionary act (producing a meaningful linguistic expression), an illocutionary act (performing an action such as asserting, questioning, or promising in saying that expression), and often a perlocutionary act (bringing about further effects on an addressee, such as convincing or alarming them).
A grammatical sentence composed of meaningful words is commonly thought to express a “content,” which is determined by what that sentence literally means together with features of the context of utterance. [...] For indicative sentences, such contents are typically called propositions. Propositions, then, are the contents of indicative sentences, are what such sentences express, and, further, are often thought to be the primary bearers of truth value.
Merely expressing the Proposition that it is snowing is not to make a move in a “language game”. Rather, such a move is only made by putting forth a Proposition with an illocutionary force such as assertion, conjecture, command, etc. [...] The force/content distinction also finds parallels in our understanding of mentality. Speech acts are not only moves in a “language game.” They also often purport to express of states of mind with analogous structural properties. An assertion that it is snowing purports to express the speaker’s belief that it is snowing.
Reference is a relation that obtains between a variety of representational tokens and objects or properties: typically, a name and the individual named.
In conclusion, we have two basic lingustic constructs: terms (names) that we use to refer to something and sentences (propositions) that we use to assert something.
But we can conflate the two. See Frege's assertion sign:
The sign ⊦ [also called judgement stroke] was used by Frege to put in front of sentences that are being asserted as true, as opposed to sentences that are involved in some process of reasoning, but are not themselves put forward as true.
The key-point is that for Frege (but modern logicians and philosophers do not agree) also sentence are names: they are name of truth-values.
Useful resource: Mark Jary, Assertion (2010, Palgrave)