Telegram MT v0.0.1-alpha MTProto.API.Messages

Working with Messages and Chats.

Summary

Functions

send_message(inputPeer, message)

Sends a text message.

  • peer - user or chat where a message will be sent.
  • message - message text.
  • random_id - unique client message ID required to prevent message resending.