

{"id":100256,"date":"2021-09-30T09:00:06","date_gmt":"2021-09-30T03:30:06","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=100256"},"modified":"2026-06-01T14:05:14","modified_gmt":"2026-06-01T08:35:14","slug":"python-send-messages-on-telegram","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/","title":{"rendered":"How to Send Messages on Telegram using Python"},"content":{"rendered":"<p>Telegram is a communication application used by millions of people across the world. Telegram also provides API support which enables us to create bots and automate sending messages as well. Thus in this project, we will send messages to a telegram user using python.<\/p>\n<h3>Python Telegram message sender project:<\/h3>\n<p>Here, we create a simple telegram message sender using tkinter and telethon<\/p>\n<h3>Project Prerequisites:<\/h3>\n<p>Telethon is a library that serves to use the API of Telegram. It is easy to follow and hence does not require any prerequisite knowledge. Tkinter contains widgets, thus we use it to create the GUI of the application.<br \/>\nIt is available in python by default. Import to see if it is available<\/p>\n<p>import tkinter<\/p>\n<p>If the package is available for use, it will not show any error. If not, Linux users can install it using the command<\/p>\n<p>sudo apt-get install python3-tkinter.\u00a0 Windows users can reinstall python.<\/p>\n<h3>Download Telegram Message Sender Project Code:<\/h3>\n<p>You can download the source code for the project to Send message to Telegram user using Python from the given link: <a href=\"https:\/\/drive.google.com\/file\/d\/1lPQzqa34bI1rUtDqVU46iDPulQA4BUKx\/view?usp=drive_link\"><strong>Python Telegram Message Sender<\/strong><\/a><\/p>\n<h3>Project File Structure:<\/h3>\n<p>Below is the flow of the Python project to Send message to Telegram user:<\/p>\n<p>1. Obtaining the API ID and Hash code<br \/>\n2. Importing libraries<br \/>\n3. Creating the sender function<br \/>\n4. Creation of the application interface<\/p>\n<h4>1. Obtaining the API ID and Hash code:<\/h4>\n<p>To obtain the hash code and the API ID visit Telegram API link. In the resulting page, key in your phone number with the country code and provide the confirmation code or the passcode obtained through telegram after selecting the Next button.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/create-telegram-account.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-102017\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/create-telegram-account.png\" alt=\"create telegram account\" width=\"1366\" height=\"738\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/create-telegram-account.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/create-telegram-account-768x415.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>In the next page, type in the requested details. These details do not impact your API hash and ID values.<\/p>\n<p>Finally you will obtain your API ID and Hash codes.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-api-id.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-102018\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-api-id.png\" alt=\"telegram api id\" width=\"1366\" height=\"738\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-api-id.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-api-id-768x415.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<h4>2. Importing libraries:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#DataFlair Tutorial for sending messages to telegram users using python\r\n#Import necessary modules\r\nfrom telethon import TelegramClient, events, sync\r\nfrom tkinter import *\r\nfrom tkinter import messagebox\r\n<\/pre>\n<p><strong>Code Explanation:<\/strong><\/p>\n<ul>\n<li>from telethon import TelegramClient, events, sync: Telethon allows us to send a message to a telegram user either by phone number or by the username. For further understanding of the python library, refer to Telethon Documentation<\/li>\n<li>from tkinter import *: To make use of tkinter widgets for creating the user interface, we import tkinter<\/li>\n<li>from tkinter import messagebox: Messagebox contains dialog boxes to prompt the user with some information, error or warning.<\/li>\n<\/ul>\n<h4>3. Creating the sender function:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#Sender function\r\ndef send_message():\r\n   #API details\r\n   user_details = user_entry.get()\r\n   message_content = message_entry.get(\"1.0\",\"end-1c\")\r\n  \r\n   #Raise a warning if no input is given\r\n   if (len(user_details) &lt;=0) &amp; (len(message_content)&lt;=1):\r\n       messagebox.showerror(message = \"ENTER USER DETAILS\" )\r\n   else:\r\n #These API codes wont work, hence create your own\r\n       api_id = 1234567\r\n       api_hash = '1234567890abcdefghijklmopqrt123'\r\n       #Initialise telegram client with API codes\r\n       client = TelegramClient('session_name', api_id, api_hash)\r\n       #Start the process\r\n       client.start()\r\n       #Send the message\r\n       client.send_message(user_details, message_content)\r\n       messagebox.showinfo(message = \"MESSAGE SENT (:\" )\r\n<\/pre>\n<p><strong>Code explanation:<\/strong><\/p>\n<ul>\n<li><strong>def send_message():<\/strong> Declaration of the sender function, send_message<\/li>\n<li><strong>user_details<\/strong> <strong>= user_entry.get():<\/strong> Since user_entry is an Entry widget, we use get() to obtain the user input.<\/li>\n<li><strong>message_content = message_entry.get(&#8220;1.0&#8243;,&#8221;end-1c&#8221;):<\/strong> Message_entry is a Text widget. Thus we extract its contents by specifying the start index (\u201c1.0\u201d) and the finishing index (\u201cend-1c\u201d)<\/li>\n<li><strong>if (len(user_details) &lt;=0) &amp; (len(message_content)&lt;=1):<\/strong> The length of an empty entry widget is 0 and that of a text widget is 1. Here we check if the user provided all the necessary inputs.<\/li>\n<li><strong>messagebox.showerror(message = &#8220;ENTER USER DETAILS&#8221; ):<\/strong> If the condition hold True ie. the user fails to provide either of the two or both the inputs, then we raise an error prompt. Showerror displays an error prompt and the parameter message contains the message the prompt must show.<\/li>\n<li><strong>api_id and api_hash:<\/strong> API ID and API Hash are the results from step 1.<\/li>\n<li><strong>client = TelegramClient(&#8216;session_name&#8217;, api_id, api_hash):<\/strong> TelegramClient initialises a telegram client to communicate with the telegram API. Session_name is a name for the current interaction and api_is and api_hash are the initialised variables.<\/li>\n<li><strong>client.start():<\/strong> The client-API interaction commences here.<\/li>\n<li><strong>client.send_message(user_details, message_content):<\/strong> To send the message to the desired user, you use either the username or the phone number with country code (user_details) and the message to be sent (message_content)<\/li>\n<li><strong>messagebox.showinfo(message = &#8220;MESSAGE SENT (:&#8221; ):<\/strong> To notify the user of a successful message transmission.<\/li>\n<\/ul>\n<h4>4. Creation of the application interface:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#Define the user interface\r\ntelegram_mess = Tk()\r\ntelegram_mess.geometry(\"400x300\")\r\ntelegram_mess.title(\"DataFlair's Telegram Message Sender\")\r\n \r\nbg_img = PhotoImage(file = \"\/home\/deepika\/Downloads\/internship\/telegram_deepika\/pictures\/bg_image.png\")\r\n # Show image using label\r\nlabel1 = Label(telegram_mess, image = bg_img, bd=0)\r\nlabel1.pack()\r\n \r\n#Application Title in the window\r\ntitle_label  = Label(telegram_mess, text=\"DataFlair's Telegram Message Sender\", bg=\"#1d8bd6\")\r\ntitle_label.place(x=80,y=10)\r\n \r\n#Input for user entry\r\nuser_label = Label(telegram_mess, text=\"ENTER USER DETAILS:\", bg=\"#2591D9\")\r\ninfo_label = Label(telegram_mess, text=\"Note: Phone number with code or username with @\", bg=\"#2C99DC\")\r\nuser_label.place(x=0,y=40)\r\ninfo_label.place(x=0,y=70)\r\nuser_entry = Entry(telegram_mess, width=20)\r\nuser_entry.place(x=160,y=40)\r\n \r\n#Message input\r\nmessage_label = Label(telegram_mess, text=\"ENTER MESSAGE:\", bg =\"#35A1DF\")\r\nmessage_label.place(x=0,y=100)\r\nmessage_entry = Text(telegram_mess, width=30, height=3)\r\nmessage_entry.place(x=130,y=99)\r\n \r\n#send button\r\nsend_button = Button(telegram_mess, text=\"Send Button\", command=send_message, relief= RAISED)\r\nsend_button.place(relx=0.5,rely=0.59, anchor=CENTER)\r\ntelegram_mess.mainloop()\r\n<\/pre>\n<p><strong>Code explanation:<\/strong><\/p>\n<ul>\n<li><strong>telegram_mess:<\/strong> To use the tkinter widgets, we call the constructor and assign it to telegram_mess. This is also the window of the application. Set the window dimensions using geometry(widthxheight) and set a title using title().<\/li>\n<li><strong>bg_img = PhotoImage():<\/strong> To add a background image, we use the PhotoImage function in tkinter. This function reads PNG images.<\/li>\n<li>label1: Display the image using a label. A label contains text and images that cannot be copied or edited. The parameter image contains the image and bd=0 implies no border. Pack() positions the element in the first row below the top margin.<\/li>\n<li><strong>title_label, user_label, info_label, message_label:<\/strong> These labels are created using the Label() widget. It contains a text parameter where the text is added and the window of the application where it must reside, and bg: the background colour of the label. It defaults to gray85. Use a colour picker to get the codes for background colours<\/li>\n<li><strong>title_label.place(), info_lable.place(), user_label.place(), message_label.place():<\/strong> A widget can be shown only if it has a position. Thus we use place, another positioning function like pack(), to fix the position of the widget. The parameters are x and y, where x is the distance from the left margin and y is the distance from the top margin.<\/li>\n<li><strong>user_entry:<\/strong> An Entry widget allows the user to provide the input. The window of the application and the width of the entry widget is given as parameters<\/li>\n<li><strong>message_entry:<\/strong> We use text widgets to allow for multiple line user input. The parameters are the same as an entry widget with an additional height parameter<\/li>\n<li><strong>send_button:<\/strong> Button() creates a button with the parameters, window of the application, text: name of the button, command: the function to call, relief: styling of the button. RAISED creates a shadow effect for the button. Besides positioning the widget with x and y parameters which are nothing but pixel values, we can use relx and rely. Relx and rely are distances from the left and y margins respectively, but they are in percentages. Thus relx=0.50 implies to place the widget at 50% of the distance from the left margin. This option is very useful because it positions the widget based on a set percentage of the window row and column size irrespective of the window size. Anchor tag is an alignment tag.<\/li>\n<li><strong>telegram_mess.mainloop():<\/strong> When the app is run, widgets and functions above mainloop() will be visible. The rest are simply ignored. Thus when a user selects exit, the control flows out of mainloop and the app terminates.<\/li>\n<\/ul>\n<p><strong>NOTE:<\/strong> Telegram will ask to provide a phone number and a code sent to this number to authorise access while running it for the first time. This will occur at the command line. You can also verify the added device containing the short name given for the application in the first step.<\/p>\n<h3>Python Telegram Message Sender Output:<\/h3>\n<p>Provide a username (with \u2018@\u2019) or phone number (with \u201c+countrycode\u201d) and view the message sent from your end to the user.<\/p>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-message-sender-python-output.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-102020\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-message-sender-python-output.png\" alt=\"telegram message sender python output\" width=\"1366\" height=\"738\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-message-sender-python-output.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/telegram-message-sender-python-output-768x415.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/h3>\n<h3>Summary<\/h3>\n<p>Thus we created a simple telegram message sender in python. The project introduces the use of Telegram APIs and one simple application of it. We also learnt tkinter to create GUI in python.<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:2587,&quot;href&quot;:&quot;https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/1lPQzqa34bI1rUtDqVU46iDPulQA4BUKx\\\/view?usp=drive_link&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20260601083459\\\/https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/1lPQzqa34bI1rUtDqVU46iDPulQA4BUKx\\\/view?usp=drive_link&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-06-02 07:17:24&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-06 08:48:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-10 04:20:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-16 23:06:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-20 12:54:14&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-20 12:54:14&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Telegram is a communication application used by millions of people across the world. Telegram also provides API support which enables us to create bots and automate sending messages as well. Thus in this project,&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":102021,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[25077,25078,25321,25076,25079,25320],"class_list":["post-100256","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-project-to-send-message-to-telegram-user-using-python","tag-python-project-to-send-message-to-telegram-user","tag-python-telegram","tag-send-message-to-telegram-user-using-python","tag-send-message-to-telegram-user-using-python-source-code","tag-telegram-bot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Send Messages on Telegram using Python - DataFlair<\/title>\n<meta name=\"description\" content=\"Develop project to Send message to Telegram user using Python in easy steps. Source code is provided for your help.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Send Messages on Telegram using Python - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Develop project to Send message to Telegram user using Python in easy steps. Source code is provided for your help.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-30T03:30:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-01T08:35:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/python-send-messages-telegram.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Send Messages on Telegram using Python - DataFlair","description":"Develop project to Send message to Telegram user using Python in easy steps. Source code is provided for your help.","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:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/","og_locale":"en_US","og_type":"article","og_title":"How to Send Messages on Telegram using Python - DataFlair","og_description":"Develop project to Send message to Telegram user using Python in easy steps. Source code is provided for your help.","og_url":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-09-30T03:30:06+00:00","article_modified_time":"2026-06-01T08:35:14+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/python-send-messages-telegram.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"How to Send Messages on Telegram using Python","datePublished":"2021-09-30T03:30:06+00:00","dateModified":"2026-06-01T08:35:14+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/"},"wordCount":1192,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/python-send-messages-telegram.jpg","keywords":["project to Send message to Telegram user using Python","python project to Send message to Telegram user","python telegram","Send message to Telegram user using Python","Send message to Telegram user using Python source code","telegram bot"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/","url":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/","name":"How to Send Messages on Telegram using Python - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/python-send-messages-telegram.jpg","datePublished":"2021-09-30T03:30:06+00:00","dateModified":"2026-06-01T08:35:14+00:00","description":"Develop project to Send message to Telegram user using Python in easy steps. Source code is provided for your help.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/python-send-messages-telegram.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/python-send-messages-telegram.jpg","width":1200,"height":628,"caption":"python send messages telegram"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/python-send-messages-on-telegram\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Python Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/python\/"},{"@type":"ListItem","position":3,"name":"How to Send Messages on Telegram using Python"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=100256"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100256\/revisions"}],"predecessor-version":[{"id":148671,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100256\/revisions\/148671"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/102021"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=100256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=100256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=100256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}