This question has options. Does the word "be" have the same definition in the next two sentences?

I shall be writing to you soon.

We liked to chat while we were eating.

Available choices: -different meanings; -the same meaning;
the same meaning