API C GossipInfo.GetNumOptions

Returns the number of conversation options available with this NPC.
 numOptions = C_GossipInfo.GetNumOptions()
==Returns==
:;numOptions:
==Details==
Prints options info.
local options = C_GossipInfo.GetOptions()
for _, info in pairs(options) do
	print(info.name, info.gossipOptionID)
end
To e.g. select the first option.
local options = C_GossipInfo.GetOptions()
C_GossipInfo.SelectOption(options[1].gossipOptionID)
To get the amount of options.
local numOptions = #C_GossipInfo.GetOptions()
==Patch changes==
==Details==
* This information is available when event fires.