title: [Learning Notes] LINE Bot Developer Guide Explained - 6 Other Related Functions
published: false
date: 2021-07-18 00:00:00 UTC
tags:
canonical_url: http://www.evanlin.com/line-bot-guide-6/
---

## Foreword:
Hello everyone, I am Evan Lin, a Senior Development Technology Promotion Engineer at LINE Taiwan. Today's article will explain in detail the "LINE Bot Developer Guide" slide document. This document is from the [Development guidelines](https://developers.line.biz/en/docs/partner-docs/development-guidelines/) slides. Considering that it has not been officially announced and localized in Chinese in Taiwan. This time, we are working with the headquarters to prepare the Chinese version, and we are also using this series of articles to explain it, hoping to provide more developers with more understanding. The [Development guidelines](https://developers.line.biz/en/docs/partner-docs/development-guidelines/) document has a lot of content, and this slide will also be explained in five articles. This article is the sixth article, mainly explaining the matters that need attention regarding other related functions.
## Article Index:
#### Complete Slides Link: [https://speakerdeck.com/line\_developers\_tw2/line-bot-developer-guideline-chinese](https://speakerdeck.com/line_developers_tw2/line-bot-developer-guideline-chinese)
I hope you can continue to follow:
1. [About LINE Bot](https://www.evanlin.com/2021-05-25-line-bot-guide-1/)
2. [Notes on Receiving Requests Using Webhook URL](https://www.evanlin.com/line-bot-guide-2/)
3. [Notes on Sending API Requests](https://dev.to/evanlin/line-bot-3-api-1jhn-temp-slug-126169)
4. [LINE Login (This Article)](https://dev.to/evanlin/line-bot-4-line-login-38gg-temp-slug-1876989)
5. [LINE Login (Supplement)](https://dev.to/evanlin/line-bot-5-line-login-96e-temp-slug-2865000)
6. [Other Related Functions (This Article)](http://www.evanlin.com/line-bot-guide-6/)
This article will focus on the first paragraph, which is Page 47 ~ Page 30.
## Other Related Functions
<script async="" data-slide="53" data-id="0e9f6182ae864568a5940cbad5ef4bec" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
In this note, the following related items will be brought out.
-
LINE URL scheme
- LIFF (LINE Front-end Framework)
- Permission Management
- How to use stickers
- About sending and receiving Emoji
The following will begin to explain each page in detail:
## LINE URL scheme
<script async="" data-slide="54" data-id="0e9f6182ae864568a5940cbad5ef4bec" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
Many developers often receive similar inquiries as follows:
- How to let users directly add OA friends?
- How to directly open a chat window with OA?
- How to let users open the location sharing function?
- How to open the option to upload photos?
- How to quickly open the settings screen? Can users better adjust some options?
These questions are often asked by developers. Perhaps everyone feels that these functions are related to LINE-related settings or options. In fact, there is also an official way to allow developers to interact with users. That is URL Scheme, which can be done through the following methods:
1.
`https://line.me/R/oaMessage/{ACCOUNT_ID}/?{TEXT_MESSAGE}`
Click the link to open the official account's chat screen, and the specified text message will appear in the input field. If the official account has not been added as a friend, the chat window will display the add friend screen. If the message to be filled in contains multiple bytes, please use UTF-8 for URL encoding.
Example: [https://line.me/R/oaMessage/linejpen/?%e3%81%93%e3%82%93%e3%81%ab%e3%81%a1%e3%81%af](https://line.me/R/oaMessage/@linejpen/?%E3%81%93%E3%81%AB%E3%81%A1%E3%81%AF)
2.
`https://line.me/R/ti/p/{ACCOUNT_ID}`
Click the link to enter the add friend screen of any official account. If the page is opened from a PC, a QRCode will be displayed.
Example: [https://line.me/R/ti/p/linenews](https://line.me/R/ti/p/@linenews)
3.
`https://line.me/R/msg/text/?{TEXT_MESSAGE}`
`https://line.me/R/share?text={TEXT_MESSAGE}`
Open the sharing screen and share the specified text message. If the message to be filled in contains multiple bytes, please use UTF-8 for URL encoding.
Example: [https://line.me/R/msg/text/?%e3%81%93%e3%82%93%e3%81%ab%e3%81%a1%e3%81%af](https://line.me/R/msg/text/?%E3%81%93%E3%81%AB%E3%81%A1%E3%81%AF)
4.
`https://line.me/R/nv/location/`
On the chat screen with the user, the screen for sharing location information will be opened. This LINE URL scheme does not support forms other than 1-1 and Bot chats or `LIFF Apps`.
#### Reference Articles:
- [Using LINE features with the LINE URL scheme](https://developers.line.biz/en/docs/line-login/using-line-url-scheme)
## LIFF (LINE Front-end Framework)
<script async="" data-slide="55" data-id="0e9f6182ae864568a5940cbad5ef4bec" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
LIFF (LINE Frontend Framework) has many powerful functions, and it is also a development kit that allows web developers to quickly combine many LINE functions. Especially the functions that LIFF v2 can use in external browsers and the related functions of Share Target Picker, there are many articles and functions that can be used. It is recommended that you refer to them:
#### Reference Articles:
-
[Migrate your LIFF: From Replace to Concatenate Mode](https://engineering.linecorp.com/zh-hant/blog/liff-replace-to-concatenate/)
-
[Mei-Chu Hackathon Pre-Competition Enterprise Workshop – LIFF shareTargetPicker](https://engineering.linecorp.com/zh-hant/blog/meichu-liff-share-target-picker-workshop/)
-
[Let's start writing unit tests for LIFF apps using Cypress](https://engineering.linecorp.com/zh-hant/blog/cypress-liff-unit-test/)
-
[Open the unlimited potential of LINE LIFF v2 — liff.shareTargetPicker](https://engineering.linecorp.com/zh-hant/blog/start-liff-v2-sharetargetpicker-power/)
-
[Introducing LIFF's ShareTargetPicker in Vue3 to share FlexMessage messages with LINE friends](https://engineering.linecorp.com/zh-hant/blog/how-to-use-liff-in-vue3/)
-
[Use liff.isApiAvailable() to allow older versions of LINE App to run new LIFF functions](https://engineering.linecorp.com/zh-hant/blog/liff-isapiavailable/)
-
[Share Target Picker: New features in LIFF (LINE Frontend Framework)](https://engineering.linecorp.com/zh-hant/blog/share-target-picker-liff/)
-
[Share Target Picker has been released, and sharing messages through LIFF will be more convenient](https://engineering.linecorp.com/zh-hant/blog/liff-share-target-picker/)
## Permission Management
<script async="" data-slide="56" data-id="0e9f6182ae864568a5940cbad5ef4bec" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
Permission control is very important for each Channel (whether it is LINE Login, Messaging API or LIFF).
**Set Permissions**
You can set the permissions to edit/view/test for the channel.
- Admin: Can perform all operations related to the channel.
- Member: Can view basic information such as the name and icon of the channel, as well as statistical information.
- Tester: Can view the name of the channel. In addition, you can perform testing on a channel that is not public. ※ Users with administrator permissions will automatically become testers and can perform testing on the terminal.
Here are some related suggestions:
- Please control the permissions well, and do not casually give all project participants Admin permissions.
- For tester needs or external colleagues, it is recommended to use Tester.
#### Reference Articles:
- [Managing Roles](https://developers.line.biz/en/docs/line-developers-console/managing-roles/)
## How to use stickers
<script async="" data-slide="57" data-id="0e9f6182ae864568a5940cbad5ef4bec" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
Official accounts can send the following 2 types of stickers.
- Official default stickers
- Please confirm the ID mapping table from here. **[Click here to view the mapping table](https://developers.line.me/media/messaging-api/sticker_list.pdf)**
-
Stickers provided by the company and authorized by the company
When sending this type of sticker, the company needs to set its stickers as a whitelist before sending them.
For application methods and related compliance regulations, please consult the responsible business personnel.
Regarding the relevant APIs for using stickers in chatbots, you can refer to the following articles:
-
[LINE Developer Community Project: Chatbot Developer Meetup 29 – April Platform Update and Sticker Lottery Example Sharing](https://engineering.linecorp.com/zh-hant/blog/chatbot-meetups-29/)
-
[Using LINE Notify to send stickers and upload images](https://engineering.linecorp.com/zh-hant/blog/using-line-notify-to-send-stickers-and-upload-images/)
-
[Try to create a Chatbot for Sticker-Driven Conversations](https://engineering.linecorp.com/zh-hant/blog/sticker-driven-conversations-chatbot/)
## About sending and receiving Emoji
<script async="" data-slide="58" data-id="0e9f6182ae864568a5940cbad5ef4bec" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
The recommended Emojis are the following 2 types: Unicode emoji and LINE emoji.
For more information, please refer to the LINE Developers documentation. [https://developers.line.biz/en/reference/messaging-api/#text-message](https://developers.line.biz/en/reference/messaging-api/)
Sendable LINE emoji list:
https://d.line-scdn.net/r/devcenter/sendable\_line\_emoji\_list.pdf
Here are also relevant developer explanation articles for your reference, which include how to send emojis through code, as well as how to identify the emojis sent by users, making your chatbot more lively:
-
[Some details about LINE Emoji (taking Golang as an example)](https://engineering.linecorp.com/zh-hant/blog/line-emoji-with-golang/)
-
[“How ML Powers LINE Services” How machine learning makes LINE's services closer to users](https://engineering.linecorp.com/zh-hant/blog/how-ml-powers-line-services/)
-
[LINE Developer Community Project: 2020/05/27 Chatbots 19 @online and 2020 May LINE Platform Update Summary Report](https://engineering.linecorp.com/zh-hant/blog/2020-05-27-chatbots19/)
## Conclusion:
The above is the supplement and sharing of the sixth part of the "LINE Bot Developer Guide". If you want to know more, you can check the complete slides or find other articles to understand.
Want to know more about developer activities? Join the "LINE Developer Official Community" official account immediately, and you can receive the first-hand Meetup activities, or push notifications of the latest news related to the developer program. ▼
"LINE Developer Official Community" Official Account ID: @line\_tw\_dev 
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)