import 'package:wikipedia_api/api.dart';
Name | Type | Description | Notes |
---|---|---|---|
id | String | Unique ID of the announcement | |
type | String | The type of announcement. Possible values are "survey" or "fundraising" | |
startTime | String | The date to begin showing the announcement | |
endTime | String | The date to stop showing the announcement | |
platforms | List | An array of platforms to display the announcement. Possible values are "iOSApp" or "AndroidApp" | [default to const []] |
text | String | The text of the announcement | |
image | String | The URL of the image for the announcement | [optional] |
action | Action | [optional] | |
captionHTML | String | HTML to display below the announcement. Usually a privacy statment and link to a policy | [optional] |
countries | List | An array of country codes in which to display the announcement. Clients should derive the country from 'GeoIP' portion of the Set-Cookie header | [default to const []] |