After a typically wild and exuberant matchpoint auction you end up in one of your favourite spots: 1NT. The defense kicks off with the ♠3, which goes to the ace. The ♠4 comes back, you ask, and the opponents play 2nd/4th leads, with the ten treated as an honour. You first decision is what to play now, and after some consideration you elect to play the 8, there are two good things that could happen if you do this: 1) it forces the queen 2) if the win with the T or 9, they have to play the right suit back, which isn't exactly clear. Your second decision is what to throw from dummy, which must clearly be a heart.
The 8 fetches the 10, and your LHO goes into a huddle before producing the ♣7. From the lead it is clear that spades are 4-4, you decide that LHO's most likely shape is 4342, as they might have led a heart if they were 4432, and they probably would lead a diamond if the were 4252. The club runs round to your 8, and you run the ♣Q to the King. Back comes a heart, which LHO wins with the King, and another heart is returned. You win in dummy and are somewhat surprised when RHO pitches a club. You now know everyones shape: LHO had ?Txx Kxxx ??? 7x, you cash a club and LHO throws a spade, so you now know that the spade queen is with RHO, and if they have a top diamond honour they will be squeezed.
You just run your club and then your hearts (pitching a diamond from hand), this is the ending with one heart to cash.
What can East throw on the last heart? A spade is immediately fatal, after a small diamond you can play a diamond to the Ten (maybe east didn't unblock from Jxxx) and they will be endplayed. After a top diamond you can cash the ♠K and lead towards the ♦Q and winkle an eighth trick. Interesting that the should always pitch a top diamond to give you a guess about whether to play them for AK or just one honour, although restricted choice means that if they rate you they will play for single honour. There are also a few other diamond suit combinations that you can gain a trick from (you didn't miss the 7 and 6 of diamonds - did you?), but I'll leave that as an exercise to the reader.