a complete implementation of telegram messaging service