import re





def 				UpperCAmelCase						(    lowercase							):







				"""simple docstring"""



				__lowercase 			=							re.compile(r'''^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$'''							)
				if match := re.search(lowercase							,			lowercase							):
								return match.string == phone
				return False


if __name__ == "__main__":
		print(indian_phone_validator("""+918827897895"""))
import requests





def 				UpperCAmelCase						(    lowercase							,			lowercase							):







				"""simple docstring"""



				__lowercase 			=							{'''Content-Type''': '''application/json'''}
				__lowercase 			=							requests.post(lowercase							,			json={'''text''': message_body}							,			headers=lowercase							)
				if response.status_code != 200:
								__lowercase 			=							(
								    '''Request to slack returned an error '''
								    F"{response.status_code}, the response is:\n{response.text}"
								)
								raise ValueError(lowercase							)


if __name__ == "__main__":
		# Set the slack url to the one provided by Slack when you create the webhook at
		# https://my.slack.com/services/new/incoming-webhook/
		send_slack_message("""<YOUR MESSAGE BODY>""", """<SLACK CHANNEL URL>""")