Skip to content

Zalo — Nhãn ​

Danh sách nhãn (List tags) — zalo.list_tags ​

List all user tags of the OA.

Tác độngRủi roCần duyệtIdempotentScopes
NONElowkhôngcó—

Input

Không có input.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectZalo returns a list here; the declared object type cannot hold it yet.

Gắn nhãn cho người dùng (Tag user) — zalo.tag_user ​

Add a tag to a user. Zalo creates the tag if it does not exist yet.

Tác độngRủi roCần duyệtIdempotentScopes
WRITEmediumcókhông—

Input

FieldNhãnKiểuBắt buộcMô tả
user_idMã người dùngstringcóZalo user ID of the OA follower.
tag_nameTên nhãnstringcóTag name.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectNot returned: Zalo replies only error and message.

Gỡ nhãn khỏi người dùng (Untag user) — zalo.untag_user ​

Remove a tag from a user.

Tác độngRủi roCần duyệtIdempotentScopes
WRITEmediumcókhông—

Input

FieldNhãnKiểuBắt buộcMô tả
user_idMã người dùngstringcóZalo user ID of the OA follower.
tag_nameTên nhãnstringcóTag name.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectNot returned: Zalo replies only error and message.

Xóa nhãn (Delete tag) — zalo.delete_tag ​

Delete a tag from the OA and from every user that has it.

Tác độngRủi roCần duyệtIdempotentScopes
WRITEhighcókhông—

Input

FieldNhãnKiểuBắt buộcMô tả
tag_nameTên nhãnstringcóTag name.

Field thêm: bỏ qua.

Output

FieldNhãnKiểuMô tả
dataKết quảobjectNot returned: Zalo replies only error and message.