I read in a grammar guide that "っていう can be used at the end of a sentence in casual language when making a point about something, especially when saying that a result is different from what you'd expect." An example they give is だから「ありがとう」って言うと怒られちゃうっていう。 (So he gets angry at me when I say "Th...