mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Updated create-bot-construct-url-indented.md file with guidelines on how to URL-encode stream name and topic name. The hyperlink added will solve the issue for those who use emoji in stream name or topic name. Tweaked by tabbott to edit the copy and update the non-indented version as well. Fixes #16430.
		
			
				
	
	
		
			16 lines
		
	
	
		
			709 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			709 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
    {!create-a-bot-indented.md!}
 | 
						|
 | 
						|
    Construct the URL for the {{ integration_display_name }}
 | 
						|
    bot using the bot's API key and the desired stream name:
 | 
						|
 | 
						|
    {!webhook-url.md!}
 | 
						|
 | 
						|
    Modify the parameters of the URL above, where `api_key` is the API key
 | 
						|
    of your Zulip bot, and `stream` is the [URL-encoded](https://www.urlencoder.org/)
 | 
						|
    stream name you want the notifications sent to. If you do not specify a
 | 
						|
    `stream`, the bot will send notifications via PMs to the creator of the bot.
 | 
						|
 | 
						|
    If you'd like this integration to always send to a specific topic,
 | 
						|
    just include the (URL-encoded) topic as an additional parameter
 | 
						|
    (E.g. for `your topic`, append `&topic=your%20topic` to the URL).
 |