@@ -125,7 +125,6 @@ https://devdocs.line.me/en/#multicast
125
125
126
126
line_bot_api.multicast([' to1' , ' to2' ], TextSendMessage(text = ' Hello World!' ))
127
127
128
-
129
128
get\_ profile(self, user\_ id, timeout=None)
130
129
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
131
130
@@ -142,6 +141,40 @@ https://devdocs.line.me/en/#bot-api-get-profile
142
141
print (profile.picture_url)
143
142
print (profile.status_message)
144
143
144
+ get\_ group\_ member\_ profile(self, group\_ id, user\_ id, timeout=None)
145
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146
+
147
+ Gets the user profile of a member of a group that
148
+ the bot is in. This can be the user ID of a user who has
149
+ not added the bot as a friend or has blocked the bot.
150
+
151
+ https://devdocs.line.me/en/#get-group-room-member-profile
152
+
153
+ .. code :: python
154
+
155
+ profile = line_bot_api.get_group_member_profile(group_id, user_id)
156
+
157
+ print (profile.display_name)
158
+ print (profile.user_id)
159
+ print (profile.picture_url)
160
+
161
+ get\_ room\_ member\_ profile(self, room\_ id, user\_ id, timeout=None)
162
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
163
+
164
+ Gets the user profile of a member of a room that
165
+ the bot is in. This can be the user ID of a user who has
166
+ not added the bot as a friend or has blocked the bot.
167
+
168
+ https://devdocs.line.me/en/#get-group-room-member-profile
169
+
170
+ .. code :: python
171
+
172
+ profile = line_bot_api.get_room_member_profile(room_id, user_id)
173
+
174
+ print (profile.display_name)
175
+ print (profile.user_id)
176
+ print (profile.picture_url)
177
+
145
178
get\_ message\_ content(self, message\_ id, timeout=None)
146
179
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
147
180
0 commit comments