Adding new operations into messaging api and adding samples related to those operations