Ukraine has banned use of the Telegram messaging app on official devices used by government officials, military personnel and critical workers because it believes its enemy Russia can spy on both messages and users, a top security body said on Friday.