#include <chattypes.h>
BadgeVersion - Information about a specific version of a badge.
◆ Action
| Enumerator |
|---|
| None | |
| SubscribeToChannel | |
| VisitUrl | |
| Turbo | |
◆ BadgeVersion()
| ttv::chat::BadgeVersion::BadgeVersion |
( |
| ) |
|
◆ FindImage()
Finds the closest matching image for the given scale. Returns: TTV_EC_SUCCESS if found and copies into result. TTV_EC_NOT_AVAILABLE if no images available.
◆ clickAction
| Action ttv::chat::BadgeVersion::clickAction |
The action to take when a user invokes the badge via a click.
◆ clickUrl
| std::string ttv::chat::BadgeVersion::clickUrl |
The url to visit if clickAction is "visit_url".
◆ description
| std::string ttv::chat::BadgeVersion::description |
◆ images
| std::vector<BadgeImage> ttv::chat::BadgeVersion::images |
◆ name
| std::string ttv::chat::BadgeVersion::name |
◆ title
| std::string ttv::chat::BadgeVersion::title |
The documentation for this struct was generated from the following file:
- modules/chat/chat_common/include/twitchsdk/chat/chattypes.h