Click or drag to resize

Telegram

ArthaChitra lets you share messages to a Telegram channel via a sharp script code. A sample code will be like

Example
C#
private bool isTelegram = false;

  protected override void OnBarUpdate()
  {
      if (this.State == State.Realtime && !this.isTelegram)
      {
          this.Share(Social.SocialType.Telegram, "Hello from indicator...");
          this.isTelegram = true;
      }

To share any message on Telegram you need the following:

Once you have the above details, you need to configure ArthaChitra as mentioned below:

  • In Main View menu bar goto Settings > Social
  • In the new dialog click on Telegram in the 'Available types' list box and click on the Add button
  • Select the newly added script from the 'Selected values' listbox and configure the same as below
  • Enter the details as stated below
    • API Key - Enter your Telegram Bot API Key
    • Chat Id - Enter the name of your Telegram Channel
    • Max error count - ArthaChitra will stop calling Telegram after 'n' consecutive failed messages, where 'n' is the defined input. You have to restart ArthaChitra if you wish resending the messages again.
Telegram

Please do note: Telegram do have a throttling policy. Please click here to know more about it.