Page Summary
-
The AuthorType object represents the author of a question or answer and includes their display name, profile photo URL, and user type.
-
The
typefield uses the AuthorType enum to specify whether the author is a regular user, a Local Guide, or a merchant, avoiding theAUTHOR_TYPE_UNSPECIFIEDvalue.
Represents the author of a question or answer
| JSON representation | |
|---|---|
{
"displayName"
:
string
,
"profilePhotoUrl"
:
string
,
"type"
:
enum (
|
|
| Fields | |
|---|---|
displayName
|
The display name of the user |
profilePhotoUrl
|
The profile photo URL of the user. |
type
|
The type of user the author is. |
AuthorType
Enum for the type of user the author is.
| Enums | |
|---|---|
AUTHOR_TYPE_UNSPECIFIED
|
This should not be used. |
REGULAR_USER
|
A regular user. |
LOCAL_GUIDE
|
A Local Guide |
MERCHANT
|
The owner/manager of the location |

