{"id":326,"date":"2022-06-06T15:46:08","date_gmt":"2022-06-06T19:46:08","guid":{"rendered":"https:\/\/jarin.ir\/whatsapp\/blog\/?p=326"},"modified":"2022-09-11T23:06:00","modified_gmt":"2022-09-11T18:36:00","slug":"send-whatsapp-message-by-csharp","status":"publish","type":"post","link":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 )"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp\" alt=\"\u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e\" class=\"wp-image-327\" width=\"646\" height=\"387\" srcset=\"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp 711w, https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp-300x180.webp 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u0627\u062d\u062a\u0645\u0627\u0644\u0627 \u0634\u0645\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633 \u0633\u06cc \u0634\u0627\u0631\u067e \u0647\u0633\u062a\u06cc\u062f \u0648 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u0641\u06a9\u0631 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 , \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0648 \u06cc\u0627 \u062d\u062a\u06cc \u0648\u0628\u0633\u0627\u06cc\u062a\u06cc \u0627\u06cc\u062c\u0627\u062f \u0646\u0645\u0648\u062f \u06a9\u0647 \u062f\u0631 \u0645\u0648\u0627\u0642\u0639 \u0644\u0627\u0632\u0645 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062f\u0627\u062e\u0644 \u0648\u0627\u062a\u0633\u0627\u067e \u067e\u06cc\u0627\u0645 \u0627\u0631\u0633\u0627\u0644 \u0646\u0645\u0627\u06cc\u06cc\u062f . \u062f\u0631 \u06af\u0630\u0634\u062a\u0647 \u062a\u0646\u0647\u0627 \u0631\u0627\u0647 \u0627\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <a dideo-checked=\"true\" href=\"https:\/\/jarin.ir\/whatsapp\/blog\/whatsapp-api\/\">\u0648\u0628 \u0633\u0631\u0648\u06cc\u0633 \u0648\u0627\u062a\u0633\u0627\u067e<\/a> \u0628\u0648\u062f\u0647 \u06a9\u0647 \u0627\u0644\u0628\u062a\u0647 \u0648 \u0645\u062a\u0627\u0633\u0641\u0627\u0646\u0647 \u0627\u0631\u0633\u0627\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0634\u0645\u0627\u0631\u0647 \u0647\u0627\u06cc \u0627\u06cc\u0631\u0627\u0646\u06cc ( \u06a9\u062f \u06a9\u0634\u0648\u0631 98 ) \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u0648 \u06a9\u0627\u0645\u0644\u0627 \u0647\u0645 \u063a\u06cc\u0631 \u0645\u0645\u06a9\u0646 \u0634\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0627\u0645\u0627 \u062d\u062a\u06cc \u0628\u0627 \u0628\u0633\u062a\u0647 \u0634\u062f\u0646 \u0627\u06cc\u0646 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 \u0631\u0627\u0647 \u0647\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u0648\u062c\u0648\u062f \u0622\u0645\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646 \u0628\u0647 \u062a\u0646\u0647\u0627 \u0631\u0627\u0647 \u0645\u0637\u0645\u0626\u0646 \u0622\u0646 \u06cc\u0639\u0646\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <a dideo-checked=\"true\" href=\"https:\/\/jarin.ir\/whatsapp\/\">\u067e\u0646\u0644 \u0648\u0627\u062a\u0633\u0627\u067e<\/a> \u0627\u0634\u0627\u0631\u0647 \u0646\u0645\u0648\u062f . \u067e\u0646\u0644 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631\u0648\u0627\u0642\u0639 \u06cc\u06a9 \u0633\u0627\u0645\u0627\u0646\u0647 \u062a\u062d\u062a \u0648\u0628 \u0628\u0648\u062f\u0647 \u06a9\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u0627\u0632 \u0634\u0645\u0627\u0631\u0647 \u0647\u0627\u06cc \u062e\u0648\u062f \u0627\u0634\u062e\u0627\u0635 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0646\u0645\u0648\u062f\u0647 \u0627\u0633\u062a .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0627\u06cc\u0646 \u067e\u0646\u0644 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u062f\u06cc\u06af\u0631\u06cc \u0645\u0627\u0646\u0646\u062f <a dideo-checked=\"true\" href=\"https:\/\/jarin.ir\/whatsapp\/blog\/whatsapp-send-bulk-message\/\">\u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u06af\u0631\u0648\u0647\u06cc \u0648\u0627\u062a\u0633\u0627\u067e<\/a> \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 <a dideo-checked=\"true\" href=\"https:\/\/jarin.ir\/whatsapp\/blog\/ads-in-whatsapp\/\">\u062a\u0628\u0644\u06cc\u063a\u0627\u062a \u062f\u0627\u062e\u0644 \u0648\u0627\u062a\u0633\u0627\u067e<\/a> \u0631\u0627 \u0645\u0647\u06cc\u0627 \u0646\u0645\u0648\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0645\u0646\u0638\u0648\u0631 \u062a\u0633\u062a \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 \u0648 \u0633\u0627\u06cc\u0631 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u0628\u0647 \u0635\u0648\u0631\u062a \u0631\u0627\u06cc\u06af\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0631\u0627 \u0634\u0631\u0648\u0639 \u0646\u0645\u0627\u06cc\u06cc\u062f .<\/p>\n\n\n\n<a class=\"button button-blog\" href=\"https:\/\/jarin.ir\/whatsapp\/\" target=\"_blank\" dideo-checked=\"true\" rel=\"noopener\">\n\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631\u0628\u0627\u0631\u0647 \u067e\u0646\u0644 \u0648\u0627\u062a\u0633\u0627\u067e\n<\/a>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0622\u0645\u0648\u0632\u0634 \u0627\u062a\u0635\u0627\u0644 \u0648\u0627\u062a\u0633\u0627\u067e \u0628\u0647 \u0633\u06cc \u0634\u0627\u0631\u067e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0627\u0644 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0646\u0644 \u0648 \u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e \u0645\u06cc\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 . \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0646\u06a9\u062a\u0647 \u062a\u0648\u062c\u0647 \u0646\u0645\u0648\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u067e\u0646\u0644 \u0648\u0627\u062a\u0633\u0627\u067e \u062a\u0647\u06cc\u0647 \u0646\u0645\u0648\u062f\u0647 \u0648 \u067e\u0633 \u0627\u0632 \u0622\u0646 \u062e\u0637 \u0648\u0627\u062a\u0633\u0627\u067e \u062e\u0648\u062f\u062a\u0627\u0646 \u0631\u0627 \u062f\u0627\u062e\u0644 \u0622\u0646 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0633\u067e\u0633 \u0634\u0645\u0627\u0631\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644 \u067e\u0646\u0644 , \u0631\u0645\u0632 \u067e\u0646\u0644 \u0648 \u0634\u0645\u0627\u0631\u0647 \u062e\u0637 \u0648\u0627\u062a\u0633\u0627\u067e \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0631\u0627 \u06cc\u0627\u062f\u062f\u0627\u0634\u062a \u0646\u0645\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0627\u062f\u0627\u0645\u0647 \u0645\u0631\u0627\u062d\u0644 \u0622\u0645\u0648\u0632\u0634 \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u062f :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0627\u062e\u0644 C Sharp \u06a9\u0627\u0641\u06cc\u0633\u062a \u06cc\u06a9 POST Request \u0628\u0647 \u0622\u062f\u0631\u0633 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 \u0632\u06cc\u0631 \u0627\u0631\u0633\u0627\u0644 \u0646\u0645\u0627\u06cc\u06cc\u062f :<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\">http:\/\/whatspanel.ir\/Api\/SendMessage.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0647 \u0645\u0646\u0638\u0648\u0631 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0628\u0627\u06cc\u062f 4 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0645\u0647\u0645 \u0632\u06cc\u0631 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0646\u0645\u0627\u06cc\u06cc\u062f :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>phoneNumber <\/strong>: \u0634\u0645\u0627\u0631\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644 \u067e\u0646\u0644 \u062e\u0648\u062a\u0627\u0646 \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u0646\u0645\u0627\u06cc\u06cc\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>passWord <\/strong>: \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u067e\u0646\u0644 \u062e\u0648\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>destPhoneNumbers <\/strong>: \u0634\u0645\u0627\u0631\u0647 \u0647\u0627\u06cc \u06af\u06cc\u0631\u0646\u062f\u0647 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0648\u0627\u0631\u062f \u0646\u0645\u0648\u062f\u0647 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0628\u0647 \u0686\u0646\u062f \u0634\u0645\u0627\u0631\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0634\u0645\u0627\u0631\u0647 \u0647\u0627 \u0628\u0627 \u0639\u0644\u0627\u0645\u062a ; \u0627\u0632 \u0647\u0645 \u062c\u062f\u0627 \u0646\u0645\u0627\u06cc\u06cc\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>text <\/strong>: \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0646\u06cc\u0632 \u0628\u0627\u06cc\u062f \u0645\u062a\u0646 \u067e\u06cc\u0627\u0645 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f . \u0647\u0645\u0686\u0646\u06cc\u0646 \u062f\u0631 \u0635\u0648\u0631\u062a \u062a\u0645\u0627\u06cc\u0644 \u0628\u0647 \u0627\u0631\u0633\u0627\u0644 \u0639\u06a9\u0633 \u0648 \u06cc\u0627 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627\u06cc\u062f \u0627\u0628\u062a\u062f\u0627 \u062f\u0627\u062e\u0644 \u0633\u0627\u0645\u0627\u0646\u0647 \u06cc\u06a9 \u0628\u0633\u062a\u0647 \u067e\u06cc\u0627\u0645 \u0627\u06cc\u062c\u0627\u062f \u0646\u0645\u0648\u062f \u0648 \u0633\u067e\u0633 \u0627\u0628\u062a\u062f\u0627 \u0639\u0644\u0627\u0645\u062a # \u0648 \u0633\u067e\u0633 \u06a9\u062f \u0628\u0633\u062a\u0647 \u067e\u06cc\u0627\u0645 \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06cc\u0639\u0646\u06cc \u0628\u0647 \u062c\u0627\u06cc \u0645\u062a\u0646 \u067e\u06cc\u0627\u0645 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>lines <\/strong>: \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0634\u0645\u0627\u0631\u0647 \u062e\u0637 \u0627\u0631\u0633\u0627\u0644\u06cc \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f . \u0627\u06cc\u0646 \u062e\u0637 \u062f\u0631\u0648\u0627\u0642\u0639 \u0647\u0645\u0627\u0646 \u0641\u0631\u0633\u062a\u0646\u062f\u0647 \u067e\u06cc\u0627\u0645 \u0645\u06cc\u0628\u0627\u0634\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u062a\u0639\u062f\u0627\u062f \u067e\u06cc\u0627\u0645 \u0647\u0627\u06cc \u0632\u06cc\u0627\u062f \u0627\u0633\u062a \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0686\u0646\u062f \u0634\u0645\u0627\u0631\u0647 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u062c\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0647\u0627 \u0628\u0627 \u0639\u0644\u0627\u0645\u062a ; \u0627\u0631\u0633\u0627\u0644\u06cc \u0647\u0627\u06cc \u062e\u0648\u062f\u062a\u0627\u0646 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f .<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0627\u062e\u0644 C# ( \u0633\u06cc \u0634\u0627\u0631\u067e ) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>static async Task&lt;ResponseMsgSendJson> SendMsg()\n        {\n            \/\/Fill body of post request\n            var values = new Dictionary&lt;string, string>\n              {\n                  { \"phoneNumber\", \"09121111111\" },   \/\/your user name\n                  { \"passWord\", \"12345678\" }, \/\/your password\n                { \"destPhoneNumbers\", DestinationNumber }, \/\/ destination number(s)\n                { \"text\", Message },    \/\/Massege\n                { \"lines\", \"09133333333\" } \/\/ Your registered Whats-App line number(s)\n              };\n\n            var content = new FormUrlEncodedContent(values);\n\n            \/\/url for send message\n            var response = await client.PostAsync(\"http:\/\/whatspanel.ir\/Api\/SendMessage.php\", content);\/\/ wait for send request\n\n            var responseString = await response.Content.ReadAsStringAsync();\/\/wait for get response\n\n            \/\/deserialize json response\n            ResponseMsgSendJson jsonDes = JsonConvert.DeserializeObject&lt;ResponseMsgSendJson>(responseString);\n\n            return jsonDes;\n        }<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u0646\u0645\u0648\u0646\u0647 \u062f\u0631\u06cc\u0627\u0641\u062a \u0648\u0636\u0639\u06cc\u062a \u067e\u06cc\u0627\u0645 \u0627\u0631\u0633\u0627\u0644\u06cc<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0647\u0645\u0686\u0646\u06cc\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u062c\u0630\u0627\u0628 \u0627\u06cc\u0646 \u0633\u0627\u0645\u0627\u0646\u0647 \u0627\u0645\u06a9\u0627\u0646 \u062e\u0648\u0627\u0646\u062f\u0646 \u0648\u0636\u0639\u06cc\u062a \u067e\u06cc\u0627\u0645 \u0627\u0631\u0633\u0627\u0644\u06cc \u0645\u06cc\u0628\u0627\u0634\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0647 \u0627\u06cc\u0646 \u0645\u0646\u0638\u0648\u0631 \u0628\u0627\u06cc\u062f \u06cc\u06a9 Request \u0628\u0647 \u0622\u062f\u0631\u0633 \u0632\u06cc\u0631 \u0627\u0631\u0633\u0627\u0644 \u0646\u0645\u0648\u062f \u062a\u0627 \u062f\u0631 \u062c\u0648\u0627\u0628 \u0622\u0646 \u0648\u0636\u0639\u06cc\u062a \u067e\u06cc\u0627\u0645 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0627\u0631\u0633\u0627\u0644 \u0634\u0648\u062f .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0627\u06cc\u0646 Request \u0647\u0645 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>phoneNumber <\/strong>: \u0634\u0645\u0627\u0631\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0633\u0627\u0645\u0627\u0646\u0647 \u062b\u0628\u062a \u0646\u0627\u0645 \u06a9\u0631\u062f\u0647<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>passWord <\/strong>: \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u067e\u0646\u0644<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>messageId : <\/strong>\u0634\u0645\u0627\u0631\u0647 \u067e\u06cc\u0627\u0645 \u0627\u0631\u0633\u0627\u0644 \u0646\u0645\u0648\u062f\u0647 \u06a9\u0647 \u062f\u0631 \u062c\u0648\u0627\u0628 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u062f\u0631\u06cc\u0627\u0641\u062a \u0648\u0636\u0639\u06cc\u062a \u067e\u06cc\u0627\u0645 \u0646\u06cc\u0632 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>static async Task&lt;ResponseMsgStatusJson> GetMsgStatus(string msgId)\n        {\n            \/\/fill post request body\n            var values = new Dictionary&lt;string, string>\n              {\n                  { \"phoneNumber\", \"09121111111\" }, \/\/your user name\n                  { \"passWord\", \"12345678\" }, \/\/ your password\n                { \"messageId\", msgId }, \/\/ the message id given by send massage request\n              };\n\n            var content = new FormUrlEncodedContent(values);\n\n            \/\/wait for send request\n            var response = await client.PostAsync(\"http:\/\/whatspanel.ir\/Api\/MessageStatus.php\", content);\n\n            \/\/wait for response\n            var responseString = await response.Content.ReadAsStringAsync();\n            \/\/some possible resonses\n            \/\/{\"messageStatus\":\"approve\",\"messageReport\":&#091;],\"status\":100}\n            \/\/{\"messageStatus\":\"approve\",\"messageReport\":&#091;{\"DestPhoneNumber\":\"0913xxxxxxx\",\"Status\":\"sending\"}],\"status\":100}\n            try\n            {\n                ResponseMsgStatusJson jsonDes = JsonConvert.DeserializeObject&lt;ResponseMsgStatusJson>(responseString);\n                return jsonDes;\n            }\n            catch\n            {\n                return null;\n            }\n        }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u06a9\u062f \u06a9\u0627\u0645\u0644 \u06cc\u06a9 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648 \u067e\u0633 \u0627\u0632 \u0622\u0646 \u062e\u0648\u0627\u0646\u062f\u0646 \u0648\u0636\u0639\u06cc\u062a \u067e\u06cc\u0627\u0645 \u0627\u0631\u0633\u0627\u0644\u06cc \u0634\u062f\u0647 \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0627\u0633\u062a :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net.Http;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace jarin_whatsapp_csharp\n{\n    \n\n\n    internal class Program\n    {\n\n        private static string DestinationNumber=\"09122222222\"; \/\/ Destination Number you want to send to!\n        private static string Message = \"Hello World!\"; \/\/Message you want to send\n\n\n        private static readonly HttpClient client = new HttpClient();\n        static async Task Main(string&#091;] args)\n        {\n            ResponseMsgSendJson jsonDes = await SendMsg(); \/\/ send message request\n            Console.WriteLine(string.Format(\"Status:{0}\", jsonDes.status)); \/\/ write status to console\n\n            if (jsonDes.status == \"100\") \/\/ If the status is 100 it means every thing is ok!\n            {\n                int timeout = 120; \/\/ About 120 seconds wait for sending message\n                while (true)\n                {\n                    ResponseMsgStatusJson jsonDes2 = await GetMsgStatus(jsonDes.code);\/\/ Get status of message request\n                    Console.WriteLine(jsonDes2.ToString()); \/\/ Write request response to console\n                    if (jsonDes2.status==\"100\" &amp;&amp; jsonDes2.messageReport != null &amp;&amp; jsonDes2.messageReport.Count > 0) \/\/ If any report is present\n                    {\n                        \/\/If our destination phone number reached!\n                        if (jsonDes2.messageReport.Find(x => x.DestPhoneNumber == DestinationNumber &amp;&amp; x.Status == \"sent\") != null)\n                        {\n                            Console.WriteLine(\"ALL OK!!!!\");\n                            break;\n                        }\n                    }\n                    await Task.Delay(1000);\/\/ 1 s delay for next request\n                    timeout--;\n                    if(timeout==0)\/\/Check for timeout\n                    {\n                        Console.WriteLine(\"Timeout!\");\n                        break;\n                    }\n                }\n\n            }\n\n            Console.ReadLine();\n        }\n\n\n        class ResponseMsgSendJson\n        {\n            public string code;\n            public string status;\n        }\n\n        static async Task&lt;ResponseMsgSendJson> SendMsg()\n        {\n            \/\/Fill body of post request\n            var values = new Dictionary&lt;string, string>\n              {\n                  { \"phoneNumber\", \"09121111111\" },   \/\/your user name\n                  { \"passWord\", \"12345678\" }, \/\/your password\n                { \"destPhoneNumbers\", DestinationNumber }, \/\/ destination number(s)\n                { \"text\", Message },    \/\/Massege\n                { \"lines\", \"09133333333\" } \/\/ Your registered Whats-App line number(s)\n              };\n\n            var content = new FormUrlEncodedContent(values);\n\n            \/\/url for send message\n            var response = await client.PostAsync(\"http:\/\/whatspanel.ir\/Api\/SendMessage.php\", content);\/\/ wait for send request\n\n            var responseString = await response.Content.ReadAsStringAsync();\/\/wait for get response\n\n            \/\/deserialize json response\n            ResponseMsgSendJson jsonDes = JsonConvert.DeserializeObject&lt;ResponseMsgSendJson>(responseString);\n\n            return jsonDes;\n        }\n\n\n        class messageReport\n        {\n            public string DestPhoneNumber;\n            public string Status;\n        }\n\n\n        class ResponseMsgStatusJson\n        {\n            public string messageStatus;\n            public List&lt;messageReport> messageReport;\n            public string status;\n\n            public override string ToString()\n            {\n                string reports = \"\";\n                if(messageReport != null &amp;&amp; messageReport.Count>0)\n                {\n                    foreach(var report in messageReport)\n                    {\n                        reports+=string.Format(\"{0}:{1} | \",report.DestPhoneNumber,report.Status);\n                    }\n                }\n                else\n                {\n                    reports = \"No Reports\";\n                }\n\n                string str = string.Format(\"Status:{0} , MsgStatus:{1} , reports:{{{2}}}\",status ,messageStatus,reports);\n                \n                return str;\n            }\n        }\n\n\n        static async Task&lt;ResponseMsgStatusJson> GetMsgStatus(string msgId)\n        {\n            \/\/fill post request body\n            var values = new Dictionary&lt;string, string>\n              {\n                  { \"phoneNumber\", \"09121111111\" }, \/\/your user name\n                  { \"passWord\", \"12345678\" }, \/\/ your password\n                { \"messageId\", msgId }, \/\/ the message id given by send massage request\n              };\n\n            var content = new FormUrlEncodedContent(values);\n\n            \/\/wait for send request\n            var response = await client.PostAsync(\"http:\/\/whatspanel.ir\/Api\/MessageStatus.php\", content);\n\n            \/\/wait for response\n            var responseString = await response.Content.ReadAsStringAsync();\n            \/\/some possible resonses\n            \/\/{\"messageStatus\":\"approve\",\"messageReport\":&#091;],\"status\":100}\n            \/\/{\"messageStatus\":\"approve\",\"messageReport\":&#091;{\"DestPhoneNumber\":\"0913xxxxxxx\",\"Status\":\"sending\"}],\"status\":100}\n            try\n            {\n                ResponseMsgStatusJson jsonDes = JsonConvert.DeserializeObject&lt;ResponseMsgStatusJson>(responseString);\n                return jsonDes;\n            }\n            catch\n            {\n                return null;\n            }\n        }\n\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0641\u0642\u0637 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 , \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0628\u06cc\u0627\u0646 \u0627\u06cc\u0646 \u0646\u06a9\u062a\u0647 <strong>\u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645<\/strong> \u0627\u0633\u062a \u06a9\u0647 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0628\u062e\u0634 NuGet \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 <strong>\u062d\u062a\u0645\u0627 <\/strong>\u0646\u0635\u0628 \u0646\u0645\u0627\u06cc\u06cc\u062f :<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Newtonsoft.Json<\/li><li>System.Net.Http<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0627\u0644 \u0628\u0627 \u062e\u06cc\u0627\u0644 \u0631\u0627\u062d\u062a \u0628\u062f\u0648\u0646 \u062a\u0648\u062c\u0647 \u0628\u0647 <a href=\"https:\/\/jarin.ir\/whatsapp\/blog\/whatsapp-ban\/\">\u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e<\/a> , \u0627\u0631\u0633\u0627\u0644\u06cc \u0647\u0627\u06cc \u062e\u0648\u062f\u062a\u0627\u0646 \u062f\u0627\u062e\u0644 \u0648\u0627\u062a\u0633\u0627\u067e \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f .<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;326&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;4&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;3.7&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0627\u0645\u062a\u06cc\u0627\u0632 \u062f\u0647\u06cc\u062f \ud83d\ude03&quot;,&quot;legend&quot;:&quot;\u0627\u0632 \u062b\u0628\u062a \u0646\u0638\u0631 \u0645\u0645\u0646\u0648\u0646\u06cc\u0645 \u2764\ufe0f&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 )&quot;,&quot;width&quot;:&quot;104.8&quot;,&quot;_legend&quot;:&quot;\u0627\u0632 \u062b\u0628\u062a \u0646\u0638\u0631 \u0645\u0645\u0646\u0648\u0646\u06cc\u0645 \u2764\ufe0f&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 104.8px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            \u0627\u0632 \u062b\u0628\u062a \u0646\u0638\u0631 \u0645\u0645\u0646\u0648\u0646\u06cc\u0645 \u2764\ufe0f    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u062d\u062a\u0645\u0627\u0644\u0627 \u0634\u0645\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633 \u0633\u06cc \u0634\u0627\u0631\u067e \u0647\u0633\u062a\u06cc\u062f \u0648 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u0641\u06a9\u0631 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 , \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0648 \u06cc\u0627 \u062d\u062a\u06cc \u0648\u0628\u0633\u0627\u06cc\u062a\u06cc \u0627\u06cc\u062c\u0627\u062f \u0646\u0645\u0648\u062f \u06a9\u0647 \u062f\u0631 \u0645\u0648\u0627\u0642\u0639 \u0644\u0627\u0632\u0645 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062f\u0627\u062e\u0644 \u0648\u0627\u062a\u0633\u0627\u067e \u067e\u06cc\u0627\u0645 \u0627\u0631\u0633\u0627\u0644 \u0646\u0645\u0627\u06cc\u06cc\u062f . \u062f\u0631 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-326","post","type-post","status-publish","format-standard","hentry","category-5"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 ) - \u062c\u0627\u0631\u06cc\u0646<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0636\u0648\u0639 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# c sharp \u0648 \u0631\u0627\u0647\u0646\u0645\u0627 \u06a9\u0627\u0645\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a .\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 ) - \u062c\u0627\u0631\u06cc\u0646\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0636\u0648\u0639 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# c sharp \u0648 \u0631\u0627\u0647\u0646\u0645\u0627 \u06a9\u0627\u0645\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a .\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/\" \/>\n<meta property=\"og:site_name\" content=\"\u062c\u0627\u0631\u06cc\u0646\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-06T19:46:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-11T18:36:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp\" \/>\n<meta name=\"author\" content=\"\u0627\u062f\u0645\u06cc\u0646\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0627\u062f\u0645\u06cc\u0646\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/\"},\"author\":{\"name\":\"\u0627\u062f\u0645\u06cc\u0646\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/#\\\/schema\\\/person\\\/2d33c423f9c1cd9ceba0bc38c9a6fd5b\"},\"headline\":\"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 )\",\"datePublished\":\"2022-06-06T19:46:08+00:00\",\"dateModified\":\"2022-09-11T18:36:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/\"},\"wordCount\":28,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/whatsapp-c-sharp.webp\",\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/\",\"url\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 ) - \u062c\u0627\u0631\u06cc\u0646\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/whatsapp-c-sharp.webp\",\"datePublished\":\"2022-06-06T19:46:08+00:00\",\"dateModified\":\"2022-09-11T18:36:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/#\\\/schema\\\/person\\\/2d33c423f9c1cd9ceba0bc38c9a6fd5b\"},\"description\":\"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0636\u0648\u0639 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# c sharp \u0648 \u0631\u0627\u0647\u0646\u0645\u0627 \u06a9\u0627\u0645\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a .\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/whatsapp-c-sharp.webp\",\"contentUrl\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/whatsapp-c-sharp.webp\",\"width\":711,\"height\":426},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/send-whatsapp-message-by-csharp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 )\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/\",\"name\":\"\u062c\u0627\u0631\u06cc\u0646\",\"description\":\"\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0645\u0637\u0644\u0628 \u0631\u0627\u06cc\u06af\u0627\u0646\u06cc \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u06af\u0631\u0627\u0645\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/#\\\/schema\\\/person\\\/2d33c423f9c1cd9ceba0bc38c9a6fd5b\",\"name\":\"\u0627\u062f\u0645\u06cc\u0646\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Jarin-Logo-96x96.jpg\",\"url\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Jarin-Logo-96x96.jpg\",\"contentUrl\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Jarin-Logo-96x96.jpg\",\"caption\":\"\u0627\u062f\u0645\u06cc\u0646\"},\"url\":\"https:\\\/\\\/jarin.ir\\\/whatsapp\\\/blog\\\/author\\\/main\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 ) - \u062c\u0627\u0631\u06cc\u0646","description":"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0636\u0648\u0639 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# c sharp \u0648 \u0631\u0627\u0647\u0646\u0645\u0627 \u06a9\u0627\u0645\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a .","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 ) - \u062c\u0627\u0631\u06cc\u0646","og_description":"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0636\u0648\u0639 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# c sharp \u0648 \u0631\u0627\u0647\u0646\u0645\u0627 \u06a9\u0627\u0645\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a .","og_url":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/","og_site_name":"\u062c\u0627\u0631\u06cc\u0646","article_published_time":"2022-06-06T19:46:08+00:00","article_modified_time":"2022-09-11T18:36:00+00:00","og_image":[{"url":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp","type":"","width":"","height":""}],"author":"\u0627\u062f\u0645\u06cc\u0646","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0627\u062f\u0645\u06cc\u0646","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"7 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#article","isPartOf":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/"},"author":{"name":"\u0627\u062f\u0645\u06cc\u0646","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/#\/schema\/person\/2d33c423f9c1cd9ceba0bc38c9a6fd5b"},"headline":"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 )","datePublished":"2022-06-06T19:46:08+00:00","dateModified":"2022-09-11T18:36:00+00:00","mainEntityOfPage":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/"},"wordCount":28,"commentCount":0,"image":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#primaryimage"},"thumbnailUrl":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp","articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/","url":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 ) - \u062c\u0627\u0631\u06cc\u0646","isPartOf":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#primaryimage"},"image":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#primaryimage"},"thumbnailUrl":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp","datePublished":"2022-06-06T19:46:08+00:00","dateModified":"2022-09-11T18:36:00+00:00","author":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/#\/schema\/person\/2d33c423f9c1cd9ceba0bc38c9a6fd5b"},"description":"\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0636\u0648\u0639 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# c sharp \u0648 \u0631\u0627\u0647\u0646\u0645\u0627 \u06a9\u0627\u0645\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f \u0622\u0646 \u067e\u0631\u062f\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a .","breadcrumb":{"@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#primaryimage","url":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp","contentUrl":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/whatsapp-c-sharp.webp","width":711,"height":426},{"@type":"BreadcrumbList","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/send-whatsapp-message-by-csharp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/jarin.ir\/whatsapp\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0648\u0627\u062a\u0633\u0627\u067e \u062f\u0631 \u0633\u06cc \u0634\u0627\u0631\u067e c# \u0628\u0627 \u0648\u0628\u0633\u0631\u0648\u06cc\u0633 ( \u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 )"}]},{"@type":"WebSite","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/#website","url":"https:\/\/jarin.ir\/whatsapp\/blog\/","name":"\u062c\u0627\u0631\u06cc\u0646","description":"\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0645\u0637\u0644\u0628 \u0631\u0627\u06cc\u06af\u0627\u0646\u06cc \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u06af\u0631\u0627\u0645\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jarin.ir\/whatsapp\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Person","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/#\/schema\/person\/2d33c423f9c1cd9ceba0bc38c9a6fd5b","name":"\u0627\u062f\u0645\u06cc\u0646","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/Jarin-Logo-96x96.jpg","url":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/Jarin-Logo-96x96.jpg","contentUrl":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-content\/uploads\/2022\/06\/Jarin-Logo-96x96.jpg","caption":"\u0627\u062f\u0645\u06cc\u0646"},"url":"https:\/\/jarin.ir\/whatsapp\/blog\/author\/main\/"}]}},"_links":{"self":[{"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/posts\/326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/comments?post=326"}],"version-history":[{"count":7,"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/posts\/326\/revisions"}],"predecessor-version":[{"id":609,"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/posts\/326\/revisions\/609"}],"wp:attachment":[{"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/categories?post=326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jarin.ir\/whatsapp\/blog\/wp-json\/wp\/v2\/tags?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}