<ol start="2">
<li dir="RTL" style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"><span style="direction:rtl"><span style="unicode-bidi:embed"><span style="font-family:SDF"><strong>استفاده از ربات</strong></span></span></span></li>
<li dir="RTL" style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"><span lang="FA" style="font-family: SDF; font-size: 13px;">در </span><span dir="LTR" style="font-family: SDF; font-size: 13px;">GitHub</span><span lang="FA" style="font-family: SDF; font-size: 13px;"> تلگرام <a href="https://github.com/TelegramBots/telegram.bot" rel="nofollow" target="_blank">کتابخانه</a> ای بر</span><span lang="FA" style="font-family: SDF; font-size: 13px;">ای تعامل با </span><span dir="LTR" style="font-family: SDF; font-size: 13px;">API</span><span lang="FA" style="font-family: SDF; font-size: 13px;">های موجود در تلگرام ارائه شده است</span></li>
</ol>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"> </p>
<pre style="margin: 0px; line-height: 125%; text-align: left;">
<span style="color: #0000ff;">public</span> <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> SendTextMessageToChannel(<span style="color: #2b91af;">string</span> botToken, <span style="color: #2b91af;">string</span> channelId, <span style="color: #2b91af;">string</span> message)</pre>
<li dir="RTL" style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"><span style="direction:rtl"><span style="unicode-bidi:embed"><span style="font-family:SDF"><strong>استفاده از ربات</strong></span></span></span></li>
<li dir="RTL" style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"><span lang="FA" style="font-family: SDF; font-size: 13px;">در </span><span dir="LTR" style="font-family: SDF; font-size: 13px;">GitHub</span><span lang="FA" style="font-family: SDF; font-size: 13px;"> تلگرام <a href="https://github.com/TelegramBots/telegram.bot" rel="nofollow" target="_blank">کتابخانه</a> ای بر</span><span lang="FA" style="font-family: SDF; font-size: 13px;">ای تعامل با </span><span dir="LTR" style="font-family: SDF; font-size: 13px;">API</span><span lang="FA" style="font-family: SDF; font-size: 13px;">های موجود در تلگرام ارائه شده است</span></li>
</ol>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"> </p>
<pre style="margin: 0px; line-height: 125%; text-align: left;">
<span style="color: #0000ff;">public</span> <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> SendTextMessageToChannel(<span style="color: #2b91af;">string</span> botToken, <span style="color: #2b91af;">string</span> channelId, <span style="color: #2b91af;">string</span> message)</pre>
GitHub
GitHub - TelegramBots/Telegram.Bot: .NET Client for Telegram Bot API
.NET Client for Telegram Bot API. Contribute to TelegramBots/Telegram.Bot development by creating an account on GitHub.
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"><span style="font-family:Yekan;"><strong>استفاده از ربات</strong></span></p>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"> </p>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;">استفاده از لینک (<a href="http://www.google.com">Link</a>)</p>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"> </p>
<pre style="margin: 0px; line-height: 125%; text-align: left;">
<span style="color: #0000ff;">public</span> <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> SendTextMessageToChannel(<span style="color: #2b91af;">string</span> botToken, <span style="color: #2b91af;">string</span> channelId, <span style="color: #2b91af;">string</span> message)</pre>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"> </p>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;">استفاده از لینک (<a href="http://www.google.com">Link</a>)</p>
<p style="margin-top: 0in; margin-right: 0.25in; margin-bottom: 8pt;"> </p>
<pre style="margin: 0px; line-height: 125%; text-align: left;">
<span style="color: #0000ff;">public</span> <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> SendTextMessageToChannel(<span style="color: #2b91af;">string</span> botToken, <span style="color: #2b91af;">string</span> channelId, <span style="color: #2b91af;">string</span> message)</pre>
ارسال متن به کانال:
پارامترهای موردنیاز عبارتند از
public static void SendTextMessageToChannel
پارامترهای موردنیاز عبارتند از
public static void SendTextMessageToChannel
ارسال متن به کانال:
پارامترهای موردنیاز عبارتند از
public static void SendTextMessageToChannel
پارامترهای موردنیاز عبارتند از
public static void SendTextMessageToChannel