GoogleApi.ContentWarehouse.V1.Model.SocialCommonSegments
Table of Contents ▼
Jump to a specific part of the page:
Description
Segments (go/social-segments) represent structured social content, e.g. the contents of a G+ stream post or chat message. A single post or message may consist of a sequence of segments, each representing a type of content, e.g. plain text, hash tag, mention, etc. Segments correspond approximately to units of content delimited by HTML tags, so that a piece of bolded text would be a distinct Segment, a link would be a distinct Segment, and so forth. A single Segment may have multiple such qualifiers; e.g. it may be a bold link; in this case, information about all such qualifiers will be encoded in the Segment proto.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
segments
(type:list(GoogleApi.ContentWarehouse.V1.Model.SocialCommonSegment)
, default:nil
)
-
Type
segments: [GoogleApi.ContentWarehouse.V1.Model.SocialCommonSegment.t()] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SocialCommonSegments