Poq.SDK.Node

Home > @poq/sdk > ContentBlockResponse > (constructor)

ContentBlockResponse.(constructor)

Constructs a new instance of the ContentBlockResponse class

Signature:

constructor(params: {
        title: string;
        link: string;
        pictureUrl: string;
        width: number;
        height: number;
        type: number;
        isAvailableForLoggedIn: boolean;
        isAvailableForLoggedOut: boolean;
        customData: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { title: string; link: string; pictureUrl: string; width: number; height: number; type: number; isAvailableForLoggedIn: boolean; isAvailableForLoggedOut: boolean; customData: Record<string, unknown>; }