Table of Contents

Class AppsQrcodeRequest

Namespace
SKIT.FlurlHttpClient.ByteDance.MicroApp.Models
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll

表示 [POST] /apps/qrcode 接口的请求。

public class AppsQrcodeRequest : ByteDanceMicroAppRequest, ICommonRequest
Inheritance
AppsQrcodeRequest
Implements
ICommonRequest
Inherited Members

Constructors

AppsQrcodeRequest()

public AppsQrcodeRequest()

Properties

AccessToken

获取或设置字节小程序的 AccessToken。

注意:部分第三方平台的接口中该字段表示授权方的 AuthorizerAccessToken。

[JsonPropertyName("access_token")]
public override string? AccessToken { get; set; }

Property Value

string

AppName

获取或设置宿主名称。

[JsonPropertyName("appname")]
public string? AppName { get; set; }

Property Value

string

BackgroundColor

获取或设置二维码背景颜色信息。

[JsonPropertyName("background")]
public AppsQrcodeRequest.Types.Color? BackgroundColor { get; set; }

Property Value

AppsQrcodeRequest.Types.Color

EncodedPath

获取或设置 URL 编码后的小程序启动路径。

[JsonPropertyName("path")]
public string? EncodedPath { get; set; }

Property Value

string

LineColor

获取或设置二维码线条颜色信息。

[JsonPropertyName("line_color")]
public AppsQrcodeRequest.Types.Color? LineColor { get; set; }

Property Value

AppsQrcodeRequest.Types.Color

RequireSetIcon

获取或设置是否展示小程序 Icon。

[JsonPropertyName("set_icon")]
public bool? RequireSetIcon { get; set; }

Property Value

bool?

Width

获取或设置二维码宽度(单位:像素)。

[JsonPropertyName("width")]
public int? Width { get; set; }

Property Value

int?